LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   CentOS & Ubuntu dual-boot (https://www.linuxquestions.org/questions/ubuntu-63/centos-and-ubuntu-dual-boot-589845/)

jhwilliams 10-06-2007 05:11 AM

CentOS & Ubuntu dual-boot
 
I was running gusty, then installed centos 4.5, including it's version of grub. (I'm typing from CentOS right now.) I added the ubuntu entry back to menu.lst:
Quote:

root (hd0,0)
kernel /vmlinuz-2.6.22-12-generic
initrd /initrd.img-2.6.22-12-generic
but it does not boot up properly. It stalls for a while, then dumps to initramfs. At this point, I'd rather have ubuntu back than have both OS's. How can I get it to boot again? /boot is /dev/hda1, ubuntu's / is /dev/hda5 and centos' / is /dev/hda6

thank you!

reddazz 10-06-2007 07:02 AM

You did not enter details of your root partition in the kernel parameters section. The entry should be something like
Code:

title Ubuntu
    root (hd0,0)
    kernel /vmlinuz-2.6.22-12-generic root=/dev/hdX
    initrd /initrd.img-2.6.22-12-generic

Replace /dev/hdX with your root partition.


All times are GMT -5. The time now is 09:24 AM.