Booting more than one linux - GRUB and \boot partition questions
I've found some similar topics, so apologies for starting yet another one :o But I've not found exactly what I wanted, so I decided to start yet another thread...
I'm dual booting with Windows at the moment. But what if I wanted to have not just one linux distribution alongside windows, but two, three, four or whatever? Or even if the number of linux distributions alongside my Windows would errr... change frequently? I'm still a bit confused what exactly the MBR is, but that's where I've got GRUB installed right now I think. But even though that's where it is, I have some sort of grub file in which I can edit the grub menu in the \boot parition of my current linux distro and I do want to have access to it. I know that my current distro asks during installation if I want GRUB installed in the MBR or in the \boot partition. So is that what I want to do? Should I have a /boot partition and share it between all the distros on my computer? But then each time I install a new distro, what do I do? Do I tell the installer to use the /boot parition as it is (without formatting it) and then manually add entries to the grub menu file or do I format it every time I install a new distro? Is this even what I want to do? But then having a seperate \boot folder in 4 different linuxes and a grub menu file in each of them sounds like a rather ridiculous idea too ;) Hope someone understands my (probably badly phrased) questions and can come up with an answer that I can understand ;) |
Just take a look at your /boot/grub/grub.conf
If you want to install multiple Linux Distros all you have to do is change the grub.conf accordantly. i.e. You have to tell grub where is your linux kernel is installed, & where is the relevant root partition. You can share same boot partition with multiple distros. But make sure that your new distro wont overwrite your existing /boot files... Some times you may have to copy the kernel manually (depending on your distro). Just check these chapters of Gentoo Handbook http://www.gentoo.org/doc/en/handboo...p=10#doc_chap2 http://www.gentoo.org/doc/en/handboo...ap=7#doc_chap3 |
Quote:
Quote:
|
all of your linux distros will have their own /boot partition,... BUT there will not be a bootloader in there. It'll just have kernel images. So, what you do is set up the bootloader in the mbr, and edit the text file accordingly. If you wanna add another distro, you add it to whtaever distros has the grub menu.lst you boot from. Make sure you point Grub ot THAT paritition's /boot/kernel (the parition of the new distro)
|
Quote:
For Ex, if you got a shared /boot, Kernel images will be some thing like /boot/vmlinuz-2.6.11-1.14_FC3 <-- Fedora /boot/kernel-2.6.11-gentoo-r3 <-- Gentoo So you have to edit grub.conf accordantly For above kernels you can use following grub.conf Code:
default 0 Quote:
Installing a source based distro like gentoo will be good experience for you:-) |
Thanks kesara :) I think I get it now :)
And yeah... I'm thinking of installing a more geeky distro to learn a bit more. Though for now I'm thinking about Slackware since it's sounds very "clean" - i.e. I'll learn linux according to the standards. But I'm thinking about Gentoo and Arch too, but not all at once ;) Quote:
|
Quote:
If you want to install new distro in separate boot partitions make sure to change grub.conf's root (hdx,y) accordantly. |
Quote:
Quote:
I tend to not make a separate /boot partition, but that is generally a pretty good practice. Mine is a little more convoluted, but I have my main distro, and a partition that gets changed a lot (Its my playtime parititon). So I choose to used eachs insalliation's /boot partition as location for it's own kernel. If you wanna do that, you have to make sure to point grub to that particular parition when you are booting it. a la [code] title=Distro Whatever kernel (hd0,X)/boot/kernel-image And pass whatever options you need. This seems to work well for me. |
Thanks to both of you :)
Your help is much appreciated :) |
All times are GMT -5. The time now is 11:07 PM. |