LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-31-2005, 07:25 PM   #1
atv087
Member
 
Registered: Jan 2005
Posts: 30

Rep: Reputation: 15
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
 
Old 02-01-2005, 10:37 AM   #2
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 31
Windows won't boot ? How sad

Try (in command line) "cfdisk" , see what your partition setup is
and modify grub as needed.


 
Old 02-01-2005, 11:13 AM   #3
atv087
Member
 
Registered: Jan 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
Old 02-01-2005, 11:24 AM   #4
joe83
Member
 
Registered: Sep 2003
Location: Kennesaw GA
Distribution: Slackware-current , Slack81Zip, Smoothwall v2
Posts: 427

Rep: Reputation: 31
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.


 
Old 02-01-2005, 12:52 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
it's easier if you just post the output of this command:

fdisk -l

also post your grub.conf file...
 
Old 02-01-2005, 02:43 PM   #6
atv087
Member
 
Registered: Jan 2005
Posts: 30

Original Poster
Rep: Reputation: 15
[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
 
Old 02-01-2005, 04:29 PM   #7
rickh
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: Reputation: 62
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.
 
Old 02-01-2005, 04:54 PM   #8
atv087
Member
 
Registered: Jan 2005
Posts: 30

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub wont boot windows xp sonesay Red Hat 1 04-27-2005 12:14 AM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 09:55 PM
lilo wont boot windows? spade Slackware 1 03-17-2004 03:53 PM
Unistalled Linux and now Windows wont Boot SirEarAlot Linux - Software 2 10-06-2003 05:16 PM
Grub help - Windows XP wont boot! Kennifer Linux - Software 8 06-09-2003 12:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration