-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 16 Mar 2003 16:44:14 +0800, winglion wrote:
> I setup the redhat 8 on the first extended partition at first. > After using the disk druid to create the filesystem, my hard disk > map like this: > hdb0--------fat32 There is no /dev/hdb0. Consider posting your partition table as printed by "parted /dev/hdb print" or "fdisk -l /dev/hdb". Also post /boot/grub/device.map so we can see whether your /dev/hdb is GRUB's (hd0). > hdb7--------ext3 / > hdb8---------swap > hdb9---------ext3 /home > freespace > hdb5----------fat32 > hdb6----------fat32 > A few days later, I format the freespace as fat32 in winxp. > Then, I restart my pc, and the grub fail to display the menu. > I had to boot up manually using root(hdx,x) command! > > It is fine to boot both winxp and redhat 8---redhat 8 can't find > the swap partition at the first time, but I fixed it by editing > the fstab file! > The problem seems come from the partition list, when I try to > use the redhat cd to fix this problem, it show me the partition > list like this: > hdb0--------fat32 > hdb5--------ext3 / > hdb6---------swap > hdb7---------ext3 /home > hdb8,hdb9,hd10----fat32 > > Then I boot into redhat and try to reinstall grub in the MRB! > I edit the grub.conf and change this two line > root=(hd0,4) > kernel=/boot/vmlinuz-2.4.18-14 root=/dev/hdb5 > then start the grub: > root(hd0,5) This is wrong, because your /boot directory is on /dev/hdb5. Hence it must be root=(hd0,4) which is /dev/hd5. (hd0,6) would be your swap partition /dev/hdb6. > setup(hd0) You install GRUB with "grub-install DEVICE", where DEVICE can be /dev/hdxxx or in GRUB's own device naming scheme. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+dIOm0iMVcrivHFQRAk1VAJ979JNvK4HfZmUwaGNGRKLA0i7pHACfS8d2 DYkYtji5LzWW3c+am1Qm7fI= =ljI8 -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list