LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to boot two os! (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-boot-two-os-4175422570/)

hgdcjq 08-17-2012 03:49 AM

how to boot two os!
 
I ever have installed Debian linux at my computer , which resides at /dev/sda1 (boot) ,and /dev/sda2(root).
However,today I installed slackware at /dev/sda3(boot), /devsda5(root) ,/dev/sda6(swap) ,during which I just installed Lilo on the very start of /dev/sda3 . The install script told me that I can make it known to my bootloader on MBR,
but I just don't know how to do it .:o
So when I reboot ,it start into Debian ,how can I make GRUB(on MBR) recognize my slackware? any one help? really appreciate!!

Doc CPU 08-17-2012 04:18 AM

Hi there,

Quote:

Originally Posted by hgdcjq (Post 4756433)
I ever have installed Debian linux at my computer, which resides at /dev/sda1 (boot), and /dev/sda2(root). However, today I installed slackware at /dev/sda3(boot), /devsda5(root), /dev/sda6(swap), during which I just installed Lilo on the very start of /dev/sda3. The install script told me that I can make it known to my bootloader on MBR, but I just don't know how to do it .:o
So when I reboot, it start into Debian, how can I make GRUB (on MBR) recognize my slackware? any one help? really appreciate!!

typically, all you need is to issue this instruction:

Code:

sudo update-grub
GRUB will automatically scan the hard disk for installed operating systems, and recreate the boot menu using these entries.

[X] Doc CPU

hgdcjq 08-17-2012 05:18 AM

Tanks ,problem solved!!


All times are GMT -5. The time now is 11:00 AM.