[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: You have to load the kernel first
From: |
shirish |
Subject: |
Re: error: You have to load the kernel first |
Date: |
Mon, 11 Feb 2008 00:38:04 +0530 |
On Feb 10, 2008 6:29 PM, Robert Millan <address@hidden> wrote:
> On Sat, Feb 09, 2008 at 09:01:20PM +0530, shirish wrote:
> > Hi all,
> > First of congratulations on having a help-grub mailing list.
> >
> > Now on the issue, I'm running grub 1.96
> >
> > I did the grub-install '(hd0)" which happened without an error.
> >
> > Now I get both grub legacy 0.97 as well as grub 1.96 menus and both
> > equally good-looking menus with one difference.
> >
> > The grub 0.97 boots while if I try booting from 1.96 this is the output :-
> >
> > Booting 'Debian GNU/Linux linux 2.6.24-7-generic'
> >
> > error: You need to load the kernel first.
> >
> > Press any key to continue.
> >
> > pressing any key brings me back to the grub 1.96 menu.
>
> Sounds like the "linux" command failed for some reason. Could you run it
> manually and see if it reports an error?
>
> --
> Robert Millan
>
> <GPLv2> I know my rights; I want my phone call!
> <DRM> What use is a phone call… if you are unable to speak?
> (as seen on /.)
>
Hi all,
Robert, I had to do try lot of combos of stuff before I could get it right.
First of all I changed the /boot/grub/device.map
address@hidden:~$ cat /boot/grub/device.map
(fd0) /dev/fd0
(hd1) /dev/sda
(hd0) /dev/sdb
This is because on the BIOS it is IDE 1 (Secondary master) & this has
all the GNU/Linux stuff 80 GIB HDD.
Then I did again a sudo update-grub
which resulted into /boot/grub/grub.cfg giving the following menu
entry & it works :-
menuentry "Debian GNU/Linux, linux 2.6.24-7-generic" {
linux (hd0,1)/boot/vmlinuz-2.6.24-7-generic root=/dev/sdb1 ro
initrd (hd0,1)/boot/initrd.img-2.6.24-7-generic
While I don't get the Ubuntu splashscreen I get to the GUI login
prompt so that's good.
Unfortunately this has resulted into GRUB 0.96 not working :-
title Debian GNU/Linux, kernel 2.6.24-7-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-7-generic
root=UUID=7eedd8c9-0471-4a63-af65-939402ec5b4e ro quiet splash
initrd /boot/initrd.img-2.6.24-7-generic
savedefault
I changed the root entry to (hd0,1) but this didn't help a bit. Any
help, advice, comments are appreciated.
--
Regards,
Shirish Agarwal
This email is licensed under http://creativecommons.org/licenses/by-nc/3.0/
065C 6D79 A68C E7EA 52B3 8D70 950D 53FB 729A 8B17