Maybe I am a bit stubber but I had decide to give it a 2nd go b4 I compile GRUB, because from past experience i will run into problrm while compiling stiuff d
I decide to install mandrake again and this time I set the partition as follow
/boot 50MB hda1
/ 2.9GB hda5
/swap 109MB hda6
/home 2.9GB hda7
and I get through to stage 2 but stucked whenI select the linux to boot up at the grub menu with this error message :
kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=mount
Error 13 : Invalid or unsupported executable format
So I use the boot disk to boot up into desktop and run the GRUB shell and guess what It work in the GRUB shell ??!!?? what's going on ?
=======================================
The following is what I do in the shell :
grub> root (hd0,
Possible partitions are:
Partition num: 0, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
Partition num: 6, Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0,0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal)
Running "install /grub/stage1 (hd0,0) /grub/stage2 p /grub/menu.lst "... succeeded Done.
grub> kernel (hd0,0)/vmlinuz root=/dev/hda5
[Linux-bzImage, setup=0x1400, size=0xd58da]
grub> initrd (hd0,0)/initrd.img
[Linux-initrd @ 0x3d1000, 0x1e649 bytes
grub> boot
and it just exit to the normal xterm shell so I assume it works
====================================
The following are some informations in the system:
$ more /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/hda
$ mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev type devfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/cdrom type supermount (ro,dev=/dev/hdd,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
$ more /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
i18n (hd0,0)/grub/messages
keytable (hd0,0)/us.klt
altconfigfile (hd0,0)/grub/menu.once
default 0
title linux
kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=mount
initrd (hd0,0)/initrd.img
title floppy
root (fd0)
chainloader +1
title failsafe
kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=nomount failsafe
initrd (hd0,0)/initrd.img