LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-13-2004, 09:00 AM   #1
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Rep: Reputation: 30
Winxp won't boot thanx to GRUB


Ok, I guess this is a typical question, but i'm a *complete* newbie.
I press select Windows XP in GRUB and press enter. It just [showsrootnoverify (hd0,0) chainloader +1]. I tried using Red Hat's tutorial on fixing the problem, but I understood jack sh*t(pardon my french).
My GRUB.conf is.
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,6)
#          kernel /boot/vmlinuz-version ro root=/dev/hda7
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,6)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.8-1.521)
	root (hd0,6)
	kernel /boot/vmlinuz-2.6.8-1.521 ro root=LABEL=/ rhgb quiet
	initrd /boot/initrd-2.6.8-1.521.img
title Fedora Core (2.6.5-1.358)
	root (hd0,6)
	kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
	initrd /boot/initrd-2.6.5-1.358.img
title Windows XP
	rootnoverify (hd0,0)
	chainloader +1
I'm running Fedora Core 2, KDE and for some reason, when I boot, I gotta select wether I wanna boot kernel 2.6.5 or 2.6.8.
I usually select .8.

Also, a guy told me to execute the following command in the console:
Code:
[root@online root]# sfdisk -d /dev/hda
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
# partition table of /dev/hda
unit: sectors

/dev/hda1 : start=       63, size= 92164842, Id= 7, bootable
/dev/hda2 : start= 92164905, size= 68661810, Id= f
/dev/hda3 : start=        0, size=        0, Id= 0
/dev/hda4 : start=        0, size=        0, Id= 0
/dev/hda5 : start= 92164968, size= 10233342, Id= b
/dev/hda6 : start=102398373, size=  2634597, Id=82
/dev/hda7 : start=105033033, size= 55504512, Id=83
[root@online root]#
Sorry for not searching the forum for this topic, but I did look at many sites with people asking the same thing. I tried everything there, but nothing worked.

Last edited by DaBlade; 09-13-2004 at 09:03 AM.
 
Old 09-13-2004, 09:07 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
This is a known bug Check out this link for further details.

/edit Don't panic ... this can be fixed /edit

Baldrick

Last edited by Baldrick65; 09-13-2004 at 09:08 AM.
 
Old 09-13-2004, 09:12 AM   #3
kostason
Member
 
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105

Rep: Reputation: 15
hi
I think it is probably the Fedora dualboot bug (for more details "http://lwn.net/Articles/86835/").
Try the following.

- boot with the Fedora 1st cd into rescue mode (make sure that in bios the 1st booting device is CDROM, insert the 1st CD of the FEDORA and on the boot prompt type "linux rescue", follow the instructions).
-after it boots run the command "chroot /mnt/sysimage"

now you are ready to run the command that will fix your MBR.
Just type "sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda" and press enter.
this should work!!!!
 
Old 09-13-2004, 09:15 AM   #4
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
I installed fedora with the "tettnang" DVD iso(burned it on Windoze with CDBurnerXP), so I haven't got a "first" cd, just "one" cd.
 
Old 09-13-2004, 09:21 AM   #5
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
Originally posted by DaBlade
I installed fedora with the "tettnang" DVD iso(burned it on Windoze with CDBurnerXP), so I haven't got a "first" cd, just "one" cd.
Same thing

Baldrick
 
Old 09-13-2004, 09:53 AM   #6
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
Umm...it just ran a bunch of stuff, and at the end, it said "you may now safely reboot".
I did, and I'm back at square one.
 
Old 09-13-2004, 09:59 AM   #7
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
I'll try again.
 
Old 09-13-2004, 10:09 AM   #8
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
Nope. I still get
showsrootnoverify (hd0,0)
chainloader +1
 
Old 09-13-2004, 10:53 AM   #9
rm6990
Member
 
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469

Rep: Reputation: 30
Did you follow the link mentioned above, make sure you try some of those things. And whatever you do, do not start deleting everything off of your harddrive, the problem is fixable.
 
Old 09-13-2004, 11:51 AM   #10
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
I read the text, but I can't figure out where to put the MyPartitionTable.txt
And I gotta get back windoze by 24:00 tonight, otherwise I gotta format the HDD.
My dad needs winderz for his own stuff, and it took me ages to convince him that everything's gonna be fine.
 
Old 09-13-2004, 01:20 PM   #11
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
Don't take this as spamming please, but I need help urgent! It's 20:19, so I got less than 4 hours to get windows back up and running. :-(
 
Old 09-13-2004, 01:29 PM   #12
proudclod
Member
 
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381

Rep: Reputation: 30
seriously, boot off the cd, and follow these TO THE WORD (print them out)

boot with the Fedora 1st cd into rescue mode (make sure that in bios the 1st booting device is CDROM, insert the 1st CD of the FEDORA and on the boot prompt type "linux rescue", follow the instructions).
-after it boots run the command "chroot /mnt/sysimage"

now you are ready to run the command that will fix your MBR.
Just type "sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda" and press enter.

XP will automagically work again
 
Old 09-13-2004, 02:15 PM   #13
DaBlade
Member
 
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381

Original Poster
Rep: Reputation: 30
It didn't work. I still get that damn
rootnoverify (hd0,0)
chainloader +1
message... my headache's gonna kill me...
Does anyone else have a tip? :-(
 
Old 09-13-2004, 03:20 PM   #14
TheAlteredState
LQ Newbie
 
Registered: Sep 2004
Location: South Africa
Distribution: Ubuntu Feisty Fawn
Posts: 11

Rep: Reputation: 0
How do I delete grub? Don't want Linux on this machine anymore, got a whole new PC specially for it! But now how do I get my plain old XP boot back? I remember last time I did something like format /mbr or something! I dunno! Jus please help get this damn grub away!
 
Old 09-13-2004, 03:26 PM   #15
caid
Member
 
Registered: Dec 2002
Location: NZ
Distribution: slack current
Posts: 61

Rep: Reputation: 15
fdisk /MBR
 
  


Reply



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
Dual boot WinXP/Debian, grub error booting WinXP ChemBot Linux - General 5 02-22-2007 04:13 PM
Using GRUB to boot WinXP Northy Linux - Newbie 4 09-19-2005 05:12 AM
/boot mysteriously empty, but i can still boot into Linux/WinXP via grub. hypoglycemic Linux - Software 4 07-18-2005 05:42 AM
lilo and grub won't boot winXP mshahwan Linux - Software 2 10-21-2004 07:57 PM
Using GRUB to boot RedHat and WinXP monroepq Linux - Newbie 6 05-28-2002 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 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