|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Problem booting Debian after installing Ubuntu 9.10
Try the new Yahoo! India Homepage. Click here. |
|
|
|
Re: Problem booting Debian after installing Ubuntu 9.10On Fri,06.Nov.09, 14:04:02, Dimple Patel wrote:
> Hello, > > I have a dual-boot system with Ubuntu 9.10 and Debian 5.01. I did a > fresh installation of Ubuntu 9.10. After that though Debian > 5.0.1 installation is shown in the boot menu, am unable to boot into > Debian. > > I get a message saying "error: You need to load the kernel first". Can > anyone help solve this problem? Or do i need to do a fresh install of > Debian again? And if I do, will there be any problem booting into > Ubuntu 9.10 after that? First you need to choose which OS should manage your "main" boot loader. Since Ubuntu is already doing it, it might be easier to keep it that way, but it will require some changes on the Ubuntu side as well. Assuming you let Ubuntu manage the boot loader, you still have to poke at its configuration. Please show the relevant boot loader configs both from Debian and Ubuntu. For Debian it will be the file /boot/grub/menu.lst and a quick google search shows Ubuntu is using grub2, so it will be /boot/grub/grub.cfg. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic |
|
|
|
Re: Problem booting Debian after installing Ubuntu 9.10On Fri, Nov 06, 2009 at 03:34:02AM EST, Dimple Patel wrote:
> Hello, > I have a dual-boot system with Ubuntu 9.10 and Debian 5.01. I did a > fresh installation of Ubuntu 9.10. After that though Debian 5.0.1 > installation is shown in the boot menu, am unable to boot into Debian. > > I get a message saying "error: You need to load the kernel first". Can > anyone help solve this problem? Or do i need to do a fresh install of > Debian again? Probably not. My guess is that this is caused by Ubuntu 9.10 shipping grub2 and the change in hd/sd numbering. You can confirm this by checking the version of grub above the menu. If it's the grub2 that ships with Karmic Koala you should see: GNU GRUB version 1.97 One difference is that grub2 counts partitions from one, while legacy grub counts from zero - ie. if your root partition is /dev/hda5, grub has it as (hd0,4) while grub2 has the more sensible (hd0,5). Assuming you know which partition is your debian's root, you could verify this outlandish speculation of mine by booting to the grub menu, moving the cursor to the debian entry, hitting 'e', and checking the partition specified by the 'set root=' statement. If it's pointing to the wrong partition, change it to the correct one, hit Ctrl-x and debian should take off. If I'm right about this, and to make the change permanent, you'll have to boot into ubuntu and fiddle the stuff in /etc/grub.d/ to reflect the change and then run update-grub to recreate /boot/grub/grub.cfg. CJ -- To UNSUBSCRIBE, email to debian-user-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
|
Re: Problem booting Debian after installing Ubuntu 9.10Dimple Patel wrote:
> I have a dual-boot system with Ubuntu 9.10 and Debian 5.01. > I did a fresh installation of Ubuntu 9.10. After that though > Debian 5.0.1 installation is shown in the boot menu, am > unable to boot into Debian. > I get a message saying "error: You need to load the kernel > first". Can anyone help solve this problem? Or do i need to > do a fresh install of Debian again? And if I do, will there be > any problem booting into Ubuntu 9.10 after that? Your Debian /boot/grub/grub.cfg stanza should be: If Debian's /boot is not a separate partition from /: menuentry "Debian 5.01..." { insmod ext2 set root=[hd(x,y) of /] search --no-floppy --fs-uuid --set [UUID of /] linux /boot/vmlinuz-2.6.30-2-686 root=[/dev/sdZ of /] ro initrd /boot/initrd.img-2.6.30-2-686 } If Debian's /boot is a separate partition from /: (note that there isn't any "/boot" in the last two lines) menuentry "Debian 5.01..." { insmod ext2 set root=[hd(x,y) of /boot] search --no-floppy --fs-uuid --set [UUID of /boot] linux /vmlinuz-2.6.30-2-686 root=[/dev/sdZ of /] ro initrd /initrd.img-2.6.30-2-686 } (Assuming that you are not using dmraid, mdraid, or lvm.) -- To UNSUBSCRIBE, email to debian-user-REQUEST@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |