Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-04-2005, 08:10 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 4
Rep:
|
Another Grub Q.
Hello all,
I have recently installed FC3 on a 40G Drive on the primary IDE channel. On a separate Sata 74G i have XP. Upon installation of FC3 i accepted the GRUB default config. When i try to boot the XP partition it just spits out what is in the config file, like so:
rootnoverify (hd0,4)
chainloader +1
I was just messing with GRUB so the config file is now messed up but none of the options i've tried have worked, i followed the GRUB guide written here on the forums and tried some different configs with no luck.
I did the "cat (hd4,0)/[tab][tab]" and it read:
Error 17, Cannot mount selected partition
Further reading and i found this means the partition exists but the filesystem cannot be recognized by GRUB.
Is there a command i can type in the console to show my HDD setup so i can copy paste it here?
Thanks.
Current GRUB Config.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd0,4)
chainloader +1
Last edited by Skandia; 03-04-2005 at 08:17 PM.
|
|
|
03-04-2005, 08:50 PM
|
#2
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Quote:
hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd0,4)
chainloader +1
|
That won't work as you have it configured as Fedora and Windows both pointing to (hd0,4)
First off, I would comment out the hiddemenu part so you can see the boot menu like this....
#hiddenmenu
Now, as root user run the command: fdisk -l and post the results back here please.
|
|
|
03-04-2005, 09:00 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Posts: 4
Original Poster
Rep:
|
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 2 4865 39070080 f W95 Ext'd (LBA)
/dev/hda5 * 2 4865 39070048+ 83 Linux
Disk /dev/hdb: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 2 14596 117234337+ f W95 Ext'd (LBA)
/dev/hdb5 2 14596 117234306 7 HPFS/NTFS
Disk /dev/hdc: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 2 9733 78172290 f W95 Ext'd (LBA)
/dev/hdc5 2 9733 78172258+ 7 HPFS/NTFS
Disk /dev/hdf: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdf1 * 1 14596 117242338+ 7 HPFS/NTFS
Disk /dev/hdh: 120.0 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdh1 * 1 14595 117234306 7 HPFS/NTFS
Disk /dev/sda: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9038 72597703+ 7 HPFS/NTFS
sda1 is the HDD with XP on it. Thanks.
|
|
|
03-04-2005, 09:50 PM
|
#4
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
Quote:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9038 72597703+ 7 HPFS/NTFS
sda1 is the HDD with XP on it. Thanks.
|
Try this for the grub.conf
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,4)
# kernel /boot/vmlinuz-version ro root=/dev/hda5
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,4)/boot/grub/splash.xpm.gz
#hiddenmenu
title Fedora Core (2.6.9-1.667)
root (hd0,4)
kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-1.667.img
title Windows XP Home
rootnoverify (hd2,0)
map (hd2) (hd0)
map (hd0) (hd2)
makeactive
chainloader +1
|
|
|
03-05-2005, 05:45 AM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 4
Original Poster
Rep:
|
I tried to boot XP from the install Disc but it couldn't recognize any boot instructions. I went into the repair console of the XP install and no boot partition was found.
Somehow GRUB has messed it all up. I have uninstalled FC3 and will re-install it later when i've done some more research.
|
|
|
03-05-2005, 06:26 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286
|
Quote:
Originally posted by Skandia
Somehow GRUB has messed it all up. I have uninstalled FC3 and will re-install it later when i've done some more research.
|
Make your next reasearch better than the previous.
Grub is *VERY* unlikely to be the cause of your problems.
Mickey mouse GUI installers demanded by users who want their distros to look like Windoze are a MUCH more likely candidate.
|
|
|
03-06-2005, 02:43 AM
|
#7
|
LQ Newbie
Registered: Mar 2005
Posts: 4
Original Poster
Rep:
|
Quote:
Originally posted by syg00
Make your next reasearch better than the previous.
Grub is *VERY* unlikely to be the cause of your problems.
Mickey mouse GUI installers demanded by users who want their distros to look like Windoze are a MUCH more likely candidate.
|
I don't care how it looks i need it for Uni. I didnt expect accepting GRUB defaults would not let me boot back into XP.
|
|
|
03-06-2005, 04:18 AM
|
#8
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,286
|
Quote:
Originally posted by Skandia
I don't care how it looks i need it for Uni. I didnt expect accepting GRUB defaults would not let me boot back into XP.
|
Neither would I.
The fault is not you - nor grub.
Blame Fedora.
My previous comment was directed at your blaming of grub, not your being the victim of Fedora.
Grub is very robust - the Fedora installer seems significantly less so.
|
|
|
All times are GMT -5. The time now is 03:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|