Fedora This forum is for the discussion of the Fedora Project. |
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.
|
|
01-31-2005, 07:25 PM
|
#1
|
Member
Registered: Jan 2005
Posts: 30
Rep:
|
windows wont boot
hey sorry for the trouble but i had bought a new hard drive and put fedora core 3 on it
after that i reformatted my windows drive and did linux rescue
then chroot /mnt/sysimage
then /sbin/grub-install /dev/hda2
now when i start my computer it says loading windows in 3 ..2..1..0.. seconds in the grub screen and unless i click a key and boot fedora it will keep doing that
what did i do wrong and how can i fix it
thanks jay
|
|
|
02-01-2005, 10:37 AM
|
#2
|
Member
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427
Rep:
|
Windows won't boot ? How sad
Try (in command line) "cfdisk" , see what your partition setup is
and modify grub as needed.
|
|
|
02-01-2005, 11:13 AM
|
#3
|
Member
Registered: Jan 2005
Posts: 30
Original Poster
Rep:
|
ok how do i modify grub
i know the windows partition is hda2
but it just keeps saying loading windows 3 2 1 0 and then it flashes and does it again
how will changing it do anything
|
|
|
02-01-2005, 11:24 AM
|
#4
|
Member
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427
Rep:
|
Did you check with cfdisk?
If so, which partition has the bootable flag?
please show output of cfdisk and I might be able to help.
|
|
|
02-01-2005, 12:52 PM
|
#5
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
it's easier if you just post the output of this command:
fdisk -l
also post your grub.conf file...
|
|
|
02-01-2005, 02:43 PM
|
#6
|
Member
Registered: Jan 2005
Posts: 30
Original Poster
Rep:
|
[root@localhost ~]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 784 6297448+ 7 HPFS/NTFS
/dev/hda2 * 785 16868 129194730 7 HPFS/NTFS
Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes[root@localhost ~]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 784 6297448+ 7 HPFS/NTFS
/dev/hda2 * 785 16868 129194730 7 HPFS/NTFS
Disk /dev/hdb: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 14946 119949322+ 8e Linux LVM
[root@localhost ~]#
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 14946 119949322+ 8e Linux LVM
[root@localhost ~]#
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667smp)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667smp ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667smp.img
title Fedora Core-up (2.6.9-1.667)
root (hd1,0)
kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.9-1.667.img
title WINDOWS
rootnoverify (hd1,1)
chainloader +1
also i tried chancing it to rootnoverify (hd2,0) and that didnt work either
|
|
|
02-01-2005, 04:29 PM
|
#7
|
Senior Member
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250
Rep:
|
Edit /boot/grub/grub.conf
Where it says 'Default=2' ... Change it to 'Default=0'
Now if you WANT to boot to Windows (horrors), you'll have to hit the down arrow twice.
Personal recommendation: Comment out the 2nd Linux Kernal section in grub.conf ... and delete any kernals older than your 2nd one from /boot/
Oops! Now that I re-read your problem description, that's probably not it ... Oh well, it might help somebody by accident.
........
A note: Comparing your rootnoverify statement to mine...
Yours: rootnoverify (hd1,1)
Mine: rootnoverify (hd0,0)
Last edited by rickh; 02-01-2005 at 04:43 PM.
|
|
|
02-01-2005, 04:54 PM
|
#8
|
Member
Registered: Jan 2005
Posts: 30
Original Poster
Rep:
|
well my windows hard drive is listed as hda2 so i figured that would make it hd1 partition 1
but it keeps reloading the grub that way ive also tried adding extra to the entry grub.conf
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,1)
chainloader +1
but that didnt work it just says
Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
Grub_
and then it just sticks there
it does the same with a combination of different numbers like hd 0,1 or 0,0 or 1,0 or 1,1 they all do the same either reload or no partition found
or with the extra i added to grub.conf it freezes
any ideas
|
|
|
All times are GMT -5. The time now is 04:20 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
|
|