Michael Schwendt thank you for your advice! I understood grub much better now!
And I serve my problem by the help of and other guy, he told me to edit the /etc/fstab ,and specify the / mount point as the /dev/hdbx,but now label! It make sence,I thingk! Thank you for your help again! ======= 2003-06-08 13:21:00 Michael Schwendt wrote:======= >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >On Sun, 8 Jun 2003 10:23:28 +0800, winglion wrote: > >> As what I had learned form IBM-developwork >> the param kernel in grub menu should be : >> kernel /boot/vmlinuz-2.4..... root=/dev/hdxx(or root=/LABEL=/ >> (I am not quite sure of the root param, as I always use /dev/hdb7 in manual;) >> but I found the menu generate by redaht8 or 9 >> is : >> kernel /vmlinuz-2.4...... root=...... >> >> I don't understand why it change to /vmlinuz.... > >Because a /boot partition is used. On the boot partition which >is mounted on /boot, the absolute path name of the kernel image >is /vmlinuz-2.4..... The /boot partition is specified with >GRUB's root(hd?,?) command. > >GRUB's "root" partition is the /boot partiton. ;o) > >> But I think it may lead to my trouble; >> ------------------------------------------ >> here is my problem: >> I plus an other harddesk which contain a RH8 to a box >> that have a RH9. >> RH9 is in hdb, / is hdb7 and /boot is hdb6. >> rh8 is in hdc, it's / is hdc5 and /boot is hdc1; >> I want to boot in to RH9 : >> the gurb menu of RH9 gen by redhat is like this: >> root (hd0,5) (the hdb1 is a fat32 with winxp ,grub is in mbr) >> kernel /vmlinuz-2.4.20-8 ro root=/LABEL=/ >> initrd /initrd-2.4.20-8.img >> >> this can't boot correctly as I plus the hdc on the box, > >Should be: root=LABEL=/ > >> It told me multi / is found ,and stop in the syslog as many faild >> had been given before! >> well, I try to boot manual,I type this: >> root (hd0,5) >> kernel /boot/vmlinuz-2.4.20-8 root=/dev/hdb7 >> grub told me file not found > >As explained above, the file "vmlinuz-2.4.20-8" is on your /boot >partition, hence you would type: > > root (hd0,5) > kernel /vmlinuz-2.4.20-8 root=/dev/hdb7 > >Or: > > kernel (hd0,5)/vmlinuz-2.4.20-8 root=/dev/hdb7 > >> If I try : >> kernel /vmlinuz-2.4.20-8 root=/dev/hdb7 >> it pass! then with the same initrd param >> It start to boot but with the same faild at the end! >> >> so how can I boot correctly it I had two hd with LABEL /? >> Any advice would be appreciate! > >- -- >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.2 (GNU/Linux) > >iD8DBQE+4xxF0iMVcrivHFQRAtX7AJ4xTgp0MW+mXGaDB5qtJwUzfrIsEACfRGHX >gFNAilKiXdyguK7ceY/WtX0= >=X5Ha >-----END PGP SIGNATURE----- winglion [EMAIL PROTECTED] 2003-06-09 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list