LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 12-08-2004, 03:02 AM   #1
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
Angry Linux...Grub...Rootnoverify: A Nightmare


I have a dual boot system with Windows XP and Fedora Core 1 on separate hard drives.

Windows begins to load...and then the entire box restarts. Linux runs fine.

I have tried a few of the suggestions I have found here, none of them worked.
These suggestions mostly entailed editing grub boot commands....boot commands is that what they're called? I don't know. Because I'm a complete n00b.

I can't even figure out how to alter the /boot/grub/grub.conf from within linux.
Anyway I have to get the Doze back. I can't not.

If you can't offer any help on the grub issue...please tell me how to go back to strictly a Windows box.

Any help is deeply appreciated.

The way a starving junkie appreciates a turkey with stuffed with heroin.

By the way I will answer your questions in this thread as I will be checking back here every 7 minutes.

I'm a total junkie for my computer, including windows, and I don't know how to work the needle.

SinisterPurpose.
 
Old 12-08-2004, 03:28 AM   #2
javeree
Member
 
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
For your peace of mind, getting back the windows box is normally no problem.

Take your Windows XP CD and boot from it (this might require you to first change a setting in BIOS). When the CD boots it will offer you the option to start a recovery console. Choose that. You will be asked an administrator password, but just pressing enter will get you along. You will get a command prompt. execute the command "fixmbr" to restore the windows boot code in the MBR.

If you don't have windows XP, you can also boot from a Win98 boot floppy and do "fdisk /mbr"

However, I would advise you to stick with grub for a while and try to alter the grub.conf or menu.grub (depending on your distribution) file. Linux has an ediitor called vi. I thinnks it's a very awkward one, but I know just enough to edit small files like these. If you want something more intuitive try "joe <yourfile>". I am not at my linux box, so I can't help you by sending my file as an example and get you going from there. I am sure some other guys around here can help you before I do. In addition, doing a search on "grub dual" in this board will probably already get you far.
 
Old 12-08-2004, 03:30 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You can get windblows back using your install cd. If you want to continue to use Linux then make sure you have a boot disk or you can again also use the install cd. Your M$ cd should over-write the mbr and put its own boot loader back.
 
Old 12-08-2004, 04:51 AM   #4
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
What have you been typing into the grub.conf file? I use lilo, but grub is almost the same thing. In order to configure lilo to boot windows I simply type
other = /dev/hda1
label = Windows
table = /dev/hda
Then I go into /usr/sbin and run lilo. This last step is what actually updates the boot loader. So, you may not only need to type in the correct script for grub.conf, you may also have to run grub -install in sbin again. Do a google search. You'll find tuns of information.
 
Old 12-08-2004, 10:52 AM   #5
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
This is my windows grub.conf section. If you have two separate drives, and your windows drive is not listed as the first in the BIOS boot order, doze can give you problems.

Type typing "nano /boot/grub/menu.lst" in a root console to edit your config file. If nano doesn't work, try "pico" Sort of a text-based notepad.

Code:
title Windows 2k Pro
        map (hd0) (hd1)
        map (hd1) (hd0)
        rootnoverify (hd1,0)
        chainloader +1
Good luck!
 
Old 12-08-2004, 01:26 PM   #6
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, so here's my update: Running the Recovery does not work . It asks Which Windows installation I want to load there is room for ONE CHARACTER to be typed, but it doesn't matter which I type, anything typed or if I just hit enter, The box restarts.

More information on the windows:

I choose Windows XP from Grub loader, small vertical bars appear at the bottom of the screen and fill up slowly, Then I get the screen that says Windows XP with the MS flag, the running blue lines, everything normal. The lines run and drivers are loading (I know this because at some point the light on the laser mouse comes on) then the screen goes black and the box restarts.

I feel I should mention that this all started when I downloaded the Red Hat update files, after that there were two linux kernals listed in the box I have since deleted the older one from the grub file, I must admit I changed the grub file mostly with intuition after considering the suggestions made here. I will post what my grub file looks like momentarily.

I'll put up the grub file now.

SinisterPurpose

P.S. much thanks for all the help, just this experience has made me want to use linux even more. All the help there is and the support of this community has been overwhelming. It's the people that make linux what it is, not the code.
 
Old 12-08-2004, 01:30 PM   #7
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
\boot\grub\grub.conf as promised:

# 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/hdb2
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
password --md5 $1$qxcRtluF$2ZFawcTjvxJwZlWdjUmUw0
title Windoze XP
root (hd0,0)
chainloader +1
title Fedora Core (2.4.22-1.2199.nptl)
root (hd1,0)
kernel /vmlinuz-2.4.22-1.2199.nptl ro root=LABEL=/ rhgb
initrd /initrd-2.4.22-1.2199.nptl.img

I don't know If I mentioned it but I deleted the older of the two kernals from this file
 
Old 12-08-2004, 03:31 PM   #8
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Sounds like Windblows has committed suicide (got corrupted) which is not uncommon. Your Win Xp CD is supposed to have a recovery mode which should sort the problem out. Don't know XP as I have never used it. Refused rent it from M$ at that price.
 
Old 12-08-2004, 05:03 PM   #9
javeree
Member
 
Registered: Jun 2004
Location: Belgium
Posts: 49

Rep: Reputation: 15
Yes,

this is definitely not a grub issue anymore. If the windows flags come up, it means that grub handed over control to windows ... which then fails miserably. You didn't by accident overwrite some part of your windows partition while installing one of both Linuxes did you ?

Anyway, I fear that you face a complete re-install of Windows :<(
 
Old 12-08-2004, 05:38 PM   #10
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
Maybe not a complete reinstall

If you can restore the windows boot loader and get into safe mode, the problem may solve itself. As I am a newb at linux, I do not know how to do this. I bet someone knows how though. Don't reinstall just yet.
 
Old 12-08-2004, 05:39 PM   #11
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
Not a Complete Reinstall

I got the Recovery to run, had to remember to let the windows hard drive load in cmos. I am a stupid luser.

my windows is now back up and running....fully, all files intact.

so I am now going to get Mandrake Linux

How do I insure these issues do not reappear?

Also, did I overwrite on the windows partition? I don't believe so....could the redhat update perhaps have done this when I installed the updated kernal? I don't remember being asked anything about this during up2date.

Plus winblows worked after the update....for a time.

I am going to get the Mandrake version and hopefully install it tonight. If you have any advice in regards to Mandrake put them up please.

Thanks again for everything.
Mad Penguin Props.

SinisterPurpose.
 
Old 12-08-2004, 05:39 PM   #12
binarybob0001
Member
 
Registered: Dec 2004
Distribution: Debian Wheezy
Posts: 441

Rep: Reputation: 30
That was dumb reply

Sorry, I guess someone already told you that .
 
Old 12-08-2004, 06:56 PM   #13
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
I didn't have to completely reinstall Windows I got it to recover
Thanks for all your help I'm going to be downloading Mandrake and try using that as fedora became a casualty of the windows reinstall.

Any advice on Mandrake install with XP is appreciated

Thaks again everyone

SinisterPurpose.
 
Old 12-09-2004, 02:26 AM   #14
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Quote:
Originally posted by SinisterPurpose
Thanks for all your help I'm going to be downloading Mandrake and try using that as fedora became a casualty of the windows reinstall.

Any advice on Mandrake install with XP is appreciated

Thaks again everyone

SinisterPurpose.
Your Fedora is still there you just cannot see it. Use your install cd to get in. All you have to remember is what partition it was on. Fedora will get you back in and then you just have to write the grub file back to the mbr.
 
Old 12-09-2004, 08:52 AM   #15
SinisterPurpose
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora
Posts: 8

Original Poster
Rep: Reputation: 0
It's Ok Mandrake was more my first choice anyway

It seems like you can pick up Fedora Core 1 CD's like candy at a parade.
I know Fedora is still there, I guess I just wanted to try Mandrake as I have not become overly attached to Fedora.

Thanks though, I really do appreciate all the help this community provides.

Oh by the way does anyone want to know why this cascading failure happened, I'm not for sure on this but my theory is three word long: SERVICE PACK 2.

I'm still accepting suggestions for Mandrake.

Thanks,
SinisterPurpose
 
  


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
why are diacritics such a nightmare in linux? solusrex Linux - Software 0 07-28-2005 09:14 PM
Linux Windows Networking Nightmare kamowa Linux - Networking 7 03-31-2005 11:43 AM
Games under Linux - Support nightmare maamold Linux - General 10 01-13-2005 01:59 PM
Booting windows XP rootnoverify Chaniloader L murugesan Linux - Software 11 03-22-2004 10:53 PM
linux install nightmare jjpetrucelli Linux - General 4 09-27-2003 03:25 PM


All times are GMT -5. The time now is 06:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration