LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   debian disappeared my ubuntu! (https://www.linuxquestions.org/questions/ubuntu-63/debian-disappeared-my-ubuntu-512994/)

aquaboot 12-22-2006 06:25 PM

debian disappeared my ubuntu!
 
Hi All,

I was screwing around with kernel rebuild on debian (I have three disk drives with winxp on one, debian on one and ubuntu on the other) and was prompted to reboot. When I did, only winxp and debian showed in the boot menu. How can I get back into ubuntu and have it reinstall ITS menu.lst? I want to reinstall debian anyway (no biggie); just want ubuntu's grub to do its thing and recognize all three OSes- I want the grub menu to be ubuntu's, not debian's like it is now.

Many Thanks,

ab

blackhole54 12-22-2006 09:17 PM

If Debian boots using GRUB, then when the boot menu comes up you can type c to get to the GRUB command line. You can then use the root, kernel, and if needed initrd commands to specify how to boot to Ubuntu, and then issue the boot command to actually do it. Once in Ubuntu, I think you can, as root type

grub-install /dev/hda

to reinstall Ubuntu's GRUB. However, I would strongly advise you to check the grub-install man pages before doing this.

EDIT: If you don't know what parameters to use with GRUB commands, mount the relevant Ubuntu partition while in Debian and look at what Ubuntu's menu.lst file shows for booting Ubuntu.

aquaboot 12-23-2006 01:21 AM

Excellent. I'll give this a shot.

Thanks Much,

ab


All times are GMT -5. The time now is 10:48 AM.