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

help-circle



  • DryTomatoes4@lemm.eetoLinux@lemmy.mlSystemD
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Ah my mistake. I’m just generally curious about what distros use an alternative to systemd (not that I have any issues with systemd myself but I like variety).

    So I googled what init system Slackware uses and read this page.

    http://slackware.com/config/init.php (no https)

    They mention several scripts on that page and that’s why I thought they use scripts.

    But I haven’t actually used the Slackware yet. Suppose I should though since I’m interested.




  • 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.






  • 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 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.)