problem booting other Linux OS using GRUB
Hi all,
I've three linux OS on my deskop apart from winxp. I use grub to boot different OS. Right now, I have RH9, FC2 and Slackware 10. Few days back, something went wrong and i've to reinstall my OS's. I formatted my drive like this. hda - 120 gb hdb - 40 gb /dev/hda - winxp ntfs /dev/hdb1 - /boot -- for RH9 - 100 MB - primary /dev/hdb2 - / -- for RH9 - 5 GB - primary /dev/hdb3 - /home - 20 GB - primary /dev/hdb4 - extended /dev/hdb5 - swap - 1 GB /dev/hdb6 - /boot -- for FC2 - 100 MB /dev/hdb7 - / -- for FC2 - 5 GB /dev/hdb8 - I created this partition for /boot for slackware but when i installed slackware it asked for only one partition (i.e for / ) so this partition is empty. Its 100 MB and ext2 /dev/hdb9 - / -- for slackware 10 - about 6 GB. Now, If i want to boot FC2, i've something like this in grub.conf title FC2 (hd1,4) ---- should i use hd1,3 or hd1,4 ??? kernel /vmlinuz** ro root=/dev/hdb7 hdc=ide-scsi hdd=ide-scsi initrd /initrd***.img title slackware 10 (hd1,4) kernel /vmlinuz** ro root=/dev/hdb9 hdc=ide-scsi hdd=ide-scsi interestingly enough i started RH9 and mounted slackware partition and i could not find initrd...so i'm confused what should be the initrd entry for slackware in grub... Right now i can only boot RH9. Before something messed up my computer I had dual boot linux (RH9 & FC2) with winxp and it worked pretty well. I played with grub then and go it right. But right now, I dont seem to get a handle on it. Sorry, I'm at work and writing this off my head...so excuse me if this sounds jumbled up. Any pointers...tips??? Thanks, |
grub uses 0-up numbering for both drives and partitions, while linux uses a-up for drives and 1-up for partitions. Therefore grub's hd(1,4) corresponds to linux's hdb5, your swap partition.
I think you should have: title FC2 (hd1,5) kernel /vmlinuz** ro root=/dev/hdb7 hdc=ide-scsi hdd=ide-scsi initrd /initrd***.img title slackware 10 (hd1,8) Good luck! |
Thanks jamuz,
Figured out already!!!! I realized my mistake after posting...and since nobody answered...I didnt bother to close the case.. I am sorry for that... case closed. |
All times are GMT -5. The time now is 09:11 AM. |