-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 18 Mar 2003 9:44:44 +0800, winglion wrote:
> >Run "grub-install /dev/hdb &> output.txt", then post the file > >"output.txt". Please also include the output of "rpm -V grub" > >in a similar way. > > This is the output of "grub-install /dev/hdb &> output.txt" : > The file /boot/grub/stage1 not read correctly. This an error message from the grub-install script when it verifies whether the boot loader images read by GRUB itself are the same than as read by your operating system from local file-system. If you have specified a wrong GRUB root device or GRUB reads wrong data due to geometry mismatch or anything like that, the sanity check fails. > rpm -V grub didn't output any thing! Which means the package verified fine, at least. > This is the grub's output I use "grub &>gruboutput.txt" and type the command blindly: > ----------------------------------------------------------- > Probing devices to guess BIOS drives. This may take a long time. > GRUB version 0.92 (640K lower / 3072K upper memory) > Minimal BASH-like line editing is supported. For the first word, TAB;4Hlists > possible command completions. > Anywhere else TAB lists the possible[6;4Hcompletions of a device/filename. ] > grub> root (hd0,5) > 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)"... 22 sectors are embedded. > succeeded > Running "install /boot/grub/stage1 (hd0) (hd0)1+22 p (hd0,5)/boot/grub/stage2 > /boot/grub/grub.conf"... failed > Error 12: Invalid device requested > grub> find /boot/vmlinuz-2.4.18-14 > (hd0,5) > grub> find /boot/grub/stage1 > (fd0) > (hd0,5) > grub> quit > --------------------------------------------------------------- > you can see the it recognize the (hd0,5)-my / fine, but just can't finish the > install! > The file you told me to check out is exactly where they are (hd0,5) is /dev/hdb6 which is your swap partition according to the partition table you posted earlier: > this is the partition tabel I got,using parted command: > Disk geometry for /dev/hdb: 0.000-38166.679 megabytes > Disk label type: msdos > Minor Start End Type Filesystem Flags > 1 0.031 9546.438 primary FAT boot, lba > 2 9546.438 38162.219 extended lba > 5 9546.500 14543.217 logical ext3 > 6 14543.249 15539.436 logical linux-swap > 7 15539.467 16041.467 logical ext3 > 8 16041.498 19092.875 logical FAT > 9 19092.907 28639.313 logical FAT > 10 28639.345 38162.219 logical FAT I would have expected you to install GRUB with root=(hd0,4). Why GRUB thinks that (hd0,5) is ext2, is beyond me. Maybe the partition type has been set wrongly. Check with "fdisk -l /dev/hdb" since "parted" displays the installed file-system. But since you had mentioned the initial installation worked, maybe you played with the BIOS settings and disabled LBA or anything like that. There's nothing further I can do when you insist on specifying your swap partition as GRUB root device. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+dvx+0iMVcrivHFQRAp+uAJ9WflZzfIX9LDH0ZQdQhqnmBmiDuQCfd3Wy 0LkLBa92kHjmdYXNknPCMc0= =tjCJ -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list