Return to

The small linux problem thread



Illegal under DMCA.




The DMCA is my favorite legislation to



Wasn’t it changed recently so you could break DRM to fix your machine?

Edit, an link


Is the device that the drm content was delivered on broken?

if so, I’d argue that breaking the drm to get the content you purchased, is acceptable.


Upgraded my Fedora workstation to 29.

No problems, big or small, just sayin’ :grin: It’s that time.



The first ibm fedora release



So, one of my long time goals with my fileserver has always been to have a simple backup solution. Plug a USB hard drive into the front of the case, walk away, come back later and it’s done sort of simple.

I have a rsync script that works fine with my two USB hard drives, and I run it from my desktop from time to time. I have done some research and understand how to make a UDEV rule to launch a script, so I am pretty sure I can modify what I have to accomplish the main goal.

For the cherry on top, I’d like to do one final thing: gracefully unmount the USB hard drive when rsync is done and make the PC speaker beep incessantly until it is unplugged. Anyone have an idea on doing this?

I’ll probably have some time this weekend to work on this. If I can muster up the desire. I also have to relearn how to replace a drive in a ZFS pool.


OK so I have Fedora 28 with some RPMFusion repos and the jerbear Mesa+DXVK repo. Am I asking for trouble if I hit the upgrade button?


dnsmasq question:

I have a router configured with dnsmasq, which is working fine except that when I query the router’s hostname, I get the loopback address ( I can add a static entry for it, but host router.whatever.tld still returns both the static address and Arguably, there’s never a good reason for any DNS server to return a 127 address at all.

Is there a solution here?


Is your OS installed on an LVM volume? If you’re uncertain, just take a snapshot and record which kernel you’re running, so you can revert if it goes to shit.

Did it get any bluer?


Actually, it isn’t. The root partition is installed straight to an ext4 partition. /home is installed to a separate ext4 partition. I’ve always felt that LVM adds an extra layer of complexity (that I don’t really understand) in the event that the filesystem needs repair.


To me, LVM is the easiest way to add snapshot capabilities to a bare metal Linux system, which is ideally what you want here.

For a plain ext4 partition on the drive, I believe the best thing is to dd the drive either to another drive or an image file which you can restore from in case the upgrade goes badly.


dd’ing now to external USB drive. God, I love pigz…


Adding this for posterity sake


dd if=/dev/sdX | gzip -c | dd of=Backup.img.gz


dd if=Backup.img.gz | gzip -d | dd of=/dev/sdX


I almost never use dd without compression because why not - CPU’s are too fast not to.


For compression I performed:

dd if=/dev/sda | pigz --fast > /backup-path/Backup.img.gz

For decompression I think I’d use:

gunzip /backup-path/Backup.img.gz | dd of=/dev/sda

dd will accept stdin, right?


Yeah, dd accepts stdin. Your methods are probably the most efficient option for compressed dd backup/restore.


idk try it.

echo “Hello World!” | dd | cat