luthis

@luthis@lemmy.nz

This profile is from a federated server and may be incomplete. Browse more on the original instance.

luthis,

To break from the trend (because I recommend Mint as well),

Check out the options on distrowatch.com, test out any live distros you can. When you have some understanding of GRUB then dual boot, and then triple.

Inevitably, you’re going to end up using Arch because it’s so easily managed and you get to choose each component. But it’s better if you have experience with the different components first. I completely missed out on learning RPM (package manager), I went from Mint (apt) to Arch (pacman). I did resurrect a lot of old laptops and desktops with various different distros though, and I learned Gnome and xfce, LXDE, MATE, and i3, xmonad…

There’s a lot to learn but it’s all fun, and it’s all different. When you go to a tiling window manager, you’ll understand why Windows adopted (albeit shittily) tiling in it’s latest version.

luthis,

Arch is for advanced people

I’d say mid… the Arch install process has got a lot simpler over the years and the wiki a lot better.

If you can google duckle effectively, I reckon even a sharp-minded beginner could handle it.

It's funny how google pretends the music on YouTube isn't straight up piracy and everyone just goes along with it

Most people have extremely weird ideas of what’s considered piracy and what isn’t. Downloading a video game rom is piracy, but if you pay money to some Chinese retailer for an SD card containing the roms, that’s somehow not piracy. Exploiting the free trial on a streaming site by using prepaid visa cards is somehow not...

luthis,

I was under the assumption that Youtube had to pay artists for their music being on there? Is that not what is happening?

And if not, how has Youtube not been cease and desisted/sued into absolute oblivion?

luthis,

Live music isn’t what I’m referring to though, it’s the ripped and uploaded albums

luthis,

So does that mean albums ripped and uploaded to Youtube do result in royalties being paid to the artists?

What about in the case where there are no ads?

luthis,

I’m so dam good at that challenge.

luthis,

Yeah, metal as fuck WiFi regressions!

luthis,

You could try kdenlive.org and www.openshot.org

I haven’t done much editing, but they are fairly popular and decent tools. They also come as an AppImage, which means they pretty much ‘just work.’

And handbrake.fr gets a mention for transcoding.

luthis,

As a protonvpn user on linux (arch) I can say that it is totally fine for me. I am using Gnome though.

luthis,

Note that there isn’t a Linux version of the protondrive app. … I know! what the fuck right?

Secondly, I would just shove Linux Mint onto a USB and use that as a live distro with persistence for a while, just to get used to things. I’m not a fan of debian(/-based) or apt, but it works.

luthis,

How did you get on with this? I was looking to do this myself.

It’s that one step closer to having a customised disposable distro

luthis,

I comment less times per month than days per month so… it’s not that.

luthis,

Pretty sure it was the onions.

luthis,

Great tips, thanks!

I’m using ext4 across everything I think.

Can you enable superblocks after you’ve already formatted the drive?

Fdisk saves the offsets so keeping a record of that at least sounds like a good idea.

luthis,

For fun and learning. It’s just another tool to go with file level backup.

And the backup for this is 40mb and really fast, but backing up files even when compressed would be hundreds of GB, maybe terabytes, and then you’re paying for that amount of storage online somewhere, uploading for hours…

luthis,

Oh you’re right it does work… well fuck knows what I was doing wrong before.

Yeah this is a backup in case I like, mv file to /dev/sda1 or something.

Not a backup of the files, but a backup of the structure.

luthis,

Ok time to investigate ZFS

luthis, (edited )

The script takes the drives as arguments:


<span style="color:#323232;">$ pwd
</span><span style="color:#323232;">/usr/lib/systemd/system
</span><span style="color:#323232;">$ cat drive_backup.service 
</span><span style="color:#323232;">[Unit]
</span><span style="color:#323232;">Description=backup fdisk + e2image
</span><span style="color:#323232;">Wants=drive_backup.timer
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Service]
</span><span style="color:#323232;">Type=oneshot
</span><span style="color:#323232;">ExecStart=/usr/bin/backup_meta_data.sh /dev/sdc1 /dev/sdb1
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Install]
</span><span style="color:#323232;">WantedBy=multi-user.target
</span>

Set to run at 3:40am every day, but probably could be once weekly really.


<span style="color:#323232;">$ cat drive_backup.timer 
</span><span style="color:#323232;">[Unit]
</span><span style="color:#323232;">Description=timer to run drive backup
</span><span style="color:#323232;">Requires=drive_backup.service
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Timer]
</span><span style="color:#323232;">Unit=drive_backup.service
</span><span style="color:#323232;">OnCalendar=*-*-* 03:40:00
</span><span style="color:#323232;">
</span><span style="color:#323232;">[Install]
</span><span style="color:#323232;">WantedBy=timers.target
</span>

Should be fairly self-explanatory.


<span style="color:#323232;">$ cat /usr/bin/backup_meta_data.sh
</span><span style="color:#323232;">#!/bin/bash
</span><span style="color:#323232;">
</span><span style="color:#323232;">working_dir=/home/st/drive_recovery/working
</span><span style="color:#323232;">backup_dir=/home/st/drive_recovery
</span><span style="color:#323232;">backup_date=$(date +%Y%m%d-%H%M)
</span><span style="color:#323232;">
</span><span style="color:#323232;">mkdir -p $working_dir
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo fdisk -x > $working_dir/$backup_date.fdisk
</span><span style="color:#323232;">
</span><span style="color:#323232;">for var in "$@"
</span><span style="color:#323232;">do
</span><span style="color:#323232;">	clean=$(echo $var | sed 's;/;-;g')
</span><span style="color:#323232;">	sudo e2image $var $working_dir/$backup_date.$clean
</span><span style="color:#323232;">done
</span><span style="color:#323232;">
</span><span style="color:#323232;">sudo 7z a $backup_dir/$backup_date.archive $working_dir/"$backup_date"*
</span><span style="color:#323232;">sudo rm $working_dir/"$backup_date"*
</span>

How to automatically assign classes in GRUB?

Hi, I'm not the most expert user, but I've been messing with my latest linux install for a few months. I costumized the look of the GRUB, but whenever the kernel gets updated and the grub.cfg gets regenerated, the classes of two entries do not generate (efi and submenu), leaving the entries with no icons (which are determined by...

luthis,

Yeah definitely share your config! I’ve only just scratched the surface with wxHexEditor

Does `cp -v` print out the file name when it starts copying it or when it's done?

So if I had a cp -v operation fail, is the last file name it printed out the last successful file copy, or is it the failed partially copied file? If you had to ensure all files are copied correctly without overwriting anything, would deleting the last filename that was printed from the destination folder delete the partially...

luthis,

All hail the rsync!

We thank the rsync for it’s unwavering reliability.

Amen.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #