Hello all, sorry for such a newbish question, as I should probably know how to properly partition a hard drive, but I really don’t know where to start. So what I’m looking to do is install a Debian distro, RHEL, and Arch. Want to go with Mint LMDE, Manjaro, and Fedora. I do not need very much storage, so I don’t think space is an issue. I have like a 500+ something GB ssd and the few things that I do need to store are in a cloud. I pretty much use my laptop for browsing, researching, maybe streaming videos, and hopefully more programming and tinkering as I learn more; that’s about all… no gaming or no data hoarding.

Do I basically just start off installing one distro on the full hard drive and then when I go to install the others, just choose the “run alongside” option? or would I have to manually partition things out? Any thing to worry about with conflicts between different types of distros, etc.? hoping you kind folks can offer me some simple advice on how to go about this without messing up my system. It SEEMS simple enough and it might be so, but I just don’t personally know how to go about it lol. Thanks alot!!

  • Lvxferre@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    All those distros are compatible with grub, and come with their own copies of it. You just need to install your distros, and then when you say “I want THIS ONE to manage boot”, you follow this tutorial. (It’s supposed to help you reinstalling grub after Windows, but it works fine for grub after another Linux instal).

    Or, if you want to be lazy - install last the distro that you want to manage boot, then tell it “screw the current boot, reinstall it”.

    I wouldn’t bother with a bootloader partition. The bootloader runs fine from any distro partition, and it’s small enough so you don’t need to worry about it wasting space.

    swap

    I’ve been running my system without swap whatsoever for quite some time, and it runs fine. But if you’re planning to use hibernation or similar, reserve the same amount of swap space as you have RAM; for example if you have 8GB RAM then at least 8GB swap.

    IMPORTANT: if hibernating a distro, don’t boot another distro, otherwise the hibernation data will get wiped.

    • Macaroni9538@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      11 months ago

      Perfect! I will be disabling hibernation in Bios. Also, how exactly do you choose a default bootloader when each distro automatically installs their own? not sure on that process. Or do things like display managers matter? or is Xorg or Wayland pretty much good for all three?

      • Lvxferre@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        11 months ago

        Also, how exactly do you choose a default bootloader when each distro automatically installs their own?

        I’d probably let Debian or LMDE do it simply because I’m more used to those distros, but you can simply roll a die if you want.

        Or, if you already chose which distro should manage boot, and you want to know how to do it - the tutorial in the link does the trick. I’ll adapt and copypaste a simplified version here:

        how to let the distro of your choice manage boot
        1. Install all distros the way that you want. Make sure that you know in which partition each is installed.

        2. Pick the distro of your choice to manage boot. Let’s say that it’s Foobar Linux, and it’s installed in /dev/sda69. (why 69? Because it’s funny, so you’ll remember to replace it with the right number later on.)

        3. Boot in some live USB. The distro in that USB doesn’t matter.

        4. Open a terminal. Type the following junk in it:

          sudo sudo mount /dev/sda69 /mnt for i in /sys /proc /run /dev; do sudo mount --rbind “$i” “/mnt$i”; done sudo chroot /mnt update-grub

        5. This should be enough. Now restart your computer without the live USB, and your Foobar Linux should be managing the boot.

        And just now I realised that some random distro might decide to take over the boot, once it updates kernel (as it triggers updating grub). So when installing the other distros, look for some configuration that allows you to not install grub in it. (It’s also possible to remove it after the installation of the distro.)

        Or do things like display managers matter? or is Xorg or Wayland pretty much good for all three?

        That’s a per-distro choice, you could go with Wayland for some and Xorg for others. I would probably go with Xorg for all three because it works for me.

        • Macaroni9538@lemmy.mlOP
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          Thanks! still a tad confusing for me, but it’s something to work with at least. so you only mount the one that you want to handle the bootloader? what about the storage drive? do I just mount all the partitions to that drive and they will all automatically save to that storage drive? I ought to look up diagrams and such just to see it visually I think. Also, someone mentioned creating the partition first. how would that work out if you’re still running a distro? would rebooting wipe that out and keep the partition in tact and then you work from there? or do you just partition as you go along with each install?

          • Lvxferre@lemmy.ml
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

            I think that this might help you, since you said that you mentioned diagrams:

            The numbers after /dev/sda will change depending on how you partition your SSD, as well as their order, and I’m assuming that your username will be “macaroni” for simplicity, but look at the idea. (Also, you don’t need to mount your personal files partition in /home/macaroni/storage. It could be mounted anywhere you want, even /randomjunk/catpix/dogpix/mypartition.)

            If I recall correctly you don’t need to mount the partition with grub (the bootloader), but do check it with other users as I’m not sure of that. Once you update grub in that distribution, it’ll automatically detect “look! There are other systems here! I’ll add them to the boot options!”.

            Also, someone mentioned creating the partition first. how would that work out if you’re still running a distro?

            You should only create, delete or modify partitions of your SSD from a live USB. Never do it while the system installed in your SSD is running. Those partitions will stay even after you reboot.

            I recommend creating the partitions first, then installing your distros. This way you’ll have better control on how to organise your partitions. For example, if you decide to install Arch on the third partition, you can simply say it “hey, you shall be installed in /dev/sda3”, no matter the order that you’re installing Arch vs. other distros.