Can't boot new kernel image

Tim Johnson tim at johnsons-web.com
Sun Jul 19 23:15:18 UTC 2009


* Goh Lip <g.lip at gmx.com> [090719 09:51]:
> Tim Johnson wrote:
> 
> >>> If unsure about partition number, at grub command, enter
> >>> "find boot/grub/stage1". Output will show partitions with grub.
> >   Boot partition is hd0 
> 
> 
> Tim, the above bothers me slightly.
> The output shouldn't be just hd0.
> 
> Since you can boot into hardy, albeit the older kernel,
> can you go to a terminal, type in
> 
> sudo grub
>            {the 'sudo' MUST be there;otherwise output will be different}
> 
> at grub prompt, ie., >grub, type in
> 
> find boot/grub/stage1
>            {again, please, verify output is (hd0,x), not just (hd0)}
> 
> 
> IF you get an output (hd0,x),
> still at grub prompt, >grub, type in
> 
> root (hd0,x)   {followed by}
> setup (hd0)    {followed by}
> quit
> 
> 
> Reboot. If error message persist or clears, please let us know.
Here is copy of command line session following your directions as I
understand them:
grub> find /boot/grub/stage1
 (hd0,0)
 (hd0,4)

grub> root (hd0,0)

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
#.....
Now will reboot, and will let you all know what happens.
-- 
Tim 
tim at johnsons-web.com
http://www.akwebsoft.com




More information about the kubuntu-users mailing list