• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: August 21st, 2023

help-circle







  • I’ve definitely made similar errors dual booting. I don’t know what your budget or hardware is like but if you can fit a second hard drive in your computer it is very worthwhile for distro hopping.

    The second hard drive will let you install whatever boot loader the USB installer wants to install without overwriting the bootloader on the first hard drive.

    Modern grub is pretty magical and should detect both OSs either way.

    But yeah that’s why there are so many warnings in every Linux distro about installing grub. You do not want to mess with a currently working bootloader.

    This is mostly because the bootloader needs to be in a very specific location on the hard drive and so you can’t just install it anywhere. Which means you have to overwrite the old boot loader if you choose to install a new one.






  • I found Gentoo more helpful than LFS because with LFS you compile about 80 packages from source one at a time but you don’t learn too much about the packages.

    LFS gave me much more awareness of what packages actually come with a Linux install but Gentoo taught me more about configuring and booting a Linux system.

    Although I’d definitely recommend both to anyone wanting to learn. I’d do Gentoo first then LFS.

    Edit: LFS is also a masterclass in cross compiling so if that’s something you’re curious about LFS is the way to go.


  • So eggs is great for Debian with my Gnome stuff.

    As for xorriso I have a LFS dir that very much resembles a Linux root dir (without a DE or any distro specific software) and I can chroot into it mounting /dev, /sys, /run, /proc from my host system.

    I would like to compress that LFS dir into an iso combined with a boot loader.

    That LFS dir is on a separate partition and does have a boot loader installed on that partition’s hard drive. But I’d rather boot it in a virtual machine and I didn’t want to give the vm raw hard drive access.

    I hope that helps but I’m happy to answer more questions.

    Booting into a live CD isn’t a hard requirement because I can probably just use eggs after I get it to boot in a vm.

    Edit: also thanks for the insight about xorriso I had real trouble finding much info about the differences between the three.

    Edit 2: I’m going to run LFS on the same exact same hardware it compiled on so I can probably use grub installed on my host system.

    That said I did try using grub-mkimage on my host system and when passing that iso into mkisofs -b I still couldn’t get a boot. (No bootable medium found.)




  • Viruses don’t need to be .exes by the way. There were spectre/meltdown proofs of concept that only ever used front end JavaScript.

    Because the modern style of CPU attack (zenbleed too) usually side chains access to private memory (where your authentication details exist) they can get full system control without executing any .exes.

    That computer would need a firewall disabling all incoming traffic, the latest bios firmware patches and js disabled on Firefox to be close to safe. And that’s the base level stuff.

    Edit: changed VPN to firewall. That was silly.