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.
|
|
|
09-13-2004, 10:00 AM
|
#1
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Rep:
|
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 10:03 AM.
|
|
|
09-13-2004, 10:07 AM
|
#2
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
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 10:08 AM.
|
|
|
09-13-2004, 10:12 AM
|
#3
|
Member
Registered: Aug 2004
Location: Greece
Distribution: Fedora Core 2, DeLi Linux 0.6.1, Slackware 10.0
Posts: 105
Rep:
|
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!!!!
|
|
|
09-13-2004, 10:15 AM
|
#4
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
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.
|
|
|
09-13-2004, 10:21 AM
|
#5
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
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
|
|
|
09-13-2004, 10:53 AM
|
#6
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
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.
|
|
|
09-13-2004, 10:59 AM
|
#7
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
I'll try again.
|
|
|
09-13-2004, 11:09 AM
|
#8
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
Nope. I still get
showsrootnoverify (hd0,0)
chainloader +1
|
|
|
09-13-2004, 11:53 AM
|
#9
|
Member
Registered: Aug 2004
Location: Canada
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Posts: 469
Rep:
|
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.
|
|
|
09-13-2004, 12:51 PM
|
#10
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
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.
|
|
|
09-13-2004, 02:20 PM
|
#11
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
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. :-(
|
|
|
09-13-2004, 02:29 PM
|
#12
|
Member
Registered: May 2004
Distribution: Fedora Core 2
Posts: 381
Rep:
|
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
|
|
|
09-13-2004, 03:15 PM
|
#13
|
Member
Registered: Aug 2004
Distribution: Debian Sid
Posts: 381
Original Poster
Rep:
|
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? :-(
|
|
|
09-13-2004, 04:20 PM
|
#14
|
LQ Newbie
Registered: Sep 2004
Location: South Africa
Distribution: Ubuntu Feisty Fawn
Posts: 11
Rep:
|
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!
|
|
|
09-13-2004, 04:26 PM
|
#15
|
Member
Registered: Dec 2002
Location: NZ
Distribution: slack current
Posts: 61
Rep:
|
fdisk /MBR
|
|
|
All times are GMT -5. The time now is 11:48 AM.
|
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
|
|