|
Chainloading is not generally necessary for multi-booting linux distros. It is usually used for loading non-linux OS's using the linux bootloader ie. Windows. That being said, if you want to dual-boot or multi-boot linux distros you first need to know a bit about which bootloader you have installed as methods vary somewhat between bootloaders. Could be Grub-legacy, Grub2 or lilo. Not sure which one Ubuntu uses as I don't use Ubuntu. If you are real new to linux, I'd recommend using your package manager to find out which one you have installed then use your favorite search engine to find info on multi-booting with that bootloader. You could also read the man pages for your bootloader- open a terminal and type in 'man '. You could start by checking out tutorials on this site: Sorry couldn't be more helpful but step by step process depends on a few factors including but not limited to which bootloader you have installed and partition layout. Plus you'll likely learn it better if you do a little research on your own. |
|||
|
|
Chainloading is when a boot loader loads another boot loader to begin the boot process. When using GRUB with a Linux distro and Windows dual boot, for example, with GRUB being installed on the Master Boot Record it must load the Windows Boot Loader to boot Windows. Boot to Grub Now, if you have a Linux only system, GRUB can boot each of them directly without chainloading just by modifying the main distribution's grub configuration (installs typically take care of that automatically) and reapplying it. However, you can, if you so choose, elect to install GRUB in the root partition of each new install. In that case you would have to chainload from your MBR install of GRUB to the GRUB located on a specific root partition. |
|||
|
|
I forgot to answer part of your question. This is not necessary when booting multiple linux distros since both Grub and lilo can be configured to boot any number of linux distros. This is known as a dual-boot or multi-boot configuration. Incidently, many- though not all- modern linux distros include scripts that look for other OS's and add them to the boot menu during install so that you don't need to do anything and your previously installed OS's will show up in your boot menu. A lot depends on your current harddrive/partition configuration, installed bootloaders and their configuration as to how well those scripts may work. |
|||
|
|
Chainloading simple allows your bootloader (usually grub) to boot a second bootloader. In Linux, it's commonly used to use grub to dual boot a Windows install with a grub-1 entry like this (would load Windows from the second partition of the first hard disk device): title Doze Chainloading can also load a second instance of grub. This is useful for times when you run a second Linux install and then choose to have the installation install it's bootloader to the partition of the install rather than to the disk's MBR. Remember, the MBR can only have one bootloader installed to it at at time, so second or third OS instances shouldn't over-write the MBR. If this is what you are wanting, then a grub-1 entry for chainloading Linux would look similar to above, with the exception of the not-required makeactive line: title Some other Linux That will simply bring up the bootloader installed from the second Linux install you did, assuming it is on sda2. Alternatively, you could select to use no bootloader during the second Linux install and simply use your first grub instance to load your second distribution by adding an entry in your menu.lst/grub.conf. Either way, the important thing to remember is when using multiple operating systems on one system, do not clobber the MBR entry with each install and do make sure that whatever bootloader you have on the MBR is capable of either chainloading additional bootloaders or can be configured to boot your additional operating systems directly. |
|||
|
|
4
Answers
|
|
10
Answers
|
|
10
Answers
|
|
27
Answers
|
|
27
Answers
|
|
1
Answer
|
|
1
Answer
|
|
1
Answer
|
|
0
Answers
|
|
1
Answer
|
| How do I change the sound theme in KDE and XFCE? | Audio/Video |
| Which OS is best for app development? | Applications |
| Can I run video in Linux? | Internet |
| 'Could not open lock file...' Where to fix this? | Systems Management |
| How can i link the output of a motion game in a phone to a real car or a robo car? | Phones |
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board