grub not working after livecd install (moved from wrong list)

Markus Mahlberg markus.mahlberg at web.de
Mon Dec 20 04:15:29 PST 2004


Steve Prior wrote:

> I finished a Livecd install about an hour ago and can't get the system to
> boot. I know the alfs profile on the CD doesn't install the bootloader, so
> after the alfs finished I went through chap 8.4 and setup grub.
> 
> My partitions are as follows:
> /dev/hda2               6          68      506047+  82  Linux swap /
> Solaris
> /dev/hda3   *          69        4982    39471705   83  Linux

How big is hda1? 5 blocks? Seems a bit odd to me...

> On the grub command line I entered:
> 
> grub> root (hd0,2)
>   Filesystem type is ext2fs, partition type 0x83
> 
> 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,2)/boot/grub/stage2
> /boot/grub/menu.lst"... succeeded
> Done.
> 
> My /boot/grub/menu.1st (whihc I believe to be correct) is:
> 
> 
> # Begin /boot/grub/menu.lst
> 
> # By default boot the first menu entry.
> default 0
> 
> # Allow 30 seconds before booting the default.
> timeout 30
> 
> # Use prettier colors.
> color green/black light-green/black
> 
> # The first entry is for LFS.
> title LFS 6.0
> root (hd0,2)
> kernel /boot/lfskernel-2.6.8.1 root=/dev/hda3

Looks good. 

> 
> But when I rebooted the system I see a quick grub message I don't have
> time to read and then the system reboots.
I experienced this behaviour when i exceeded the 1024 cylinder limit.
To solve this problem I need more information. Could you please post
an "fdisk -l"? Is your grub-version 0.95? Your kernel .config file might
help as well.

Regards,

Markus



More information about the lfs-support mailing list