LinuxQuestions.org
Visit Jeremy's Blog.
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 10-04-2004, 06:18 AM   #1
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
Thumbs down bootloader prob, can't boot in Win XP


hi all. i've got a big prob. I installed Win XP on hda1 and red hat on hdb?, i had grub installed on hda, and now i can't boot into win, i got something with chainloader or somethin like that, how can i fix this without formatting or erasing everything? plz make a good explanation because i'm a total noob in linux
 
Old 10-04-2004, 06:32 AM   #2
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 262

Rep: Reputation: 30
ok, first of all don't panic, I'm sure we will be able to help you.

First of all, what *exactly* happens when you boot? Does Grub boot into RH ok? Does Windows appear as an option in the boot menu?

Also, if you post the output of your /etc/grub.conf (it may be /boot/grub.conf depending on distro's) into your post using the "code" tags, it will help a great deal.
 
Old 10-05-2004, 02:59 AM   #3
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
when the computer starts up i have two options: dos or red hat. I can boot into red hat but if i boot dos i get

Booting DOS
rootnoverify (hd0,4)
chainloader +1

i can't open the grub.conf because it's locked and i don't have permissions to open it
 
Old 10-05-2004, 06:23 AM   #4
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 262

Rep: Reputation: 30
can you not log in as root and just do
Code:
$ less grub.conf
???

Without seeing the full file (and also your /etc/fstab file would help) it is very hard to diagnose, as my grub.conf also has

rootnoverify (hd0,4)
chainloader +1

in it, but it boots fine. (hd is different though due to my partitioning structure)

The more information we have, the easier it will be to try and find the problem.

Last edited by morrolan; 10-05-2004 at 06:42 AM.
 
Old 10-05-2004, 11:00 AM   #5
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
ok here's the fstab thing

label=/ / ext3 defaults 1 1
label=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb8 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0


and the grub.conf

# kernel /vmlinuz-version ro root=/dev/hdb7
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,5)/grub/splash.xpm.gz
title red hat linux (2.4.20-8)
root (hd1,5)
kernel /vmlinuz-2.4.20-8 ro root=label=/ hdc=ide-scsi noapic
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,4)
chainloader +1

hope it will help u
 
Old 10-05-2004, 11:02 AM   #6
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
shit my post is completely screwed up! sorry for that
 
Old 10-05-2004, 12:01 PM   #7
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Hi bof (is that meant to be French?),

First of all, maybe you didn't think of this, so: do you have Windows emergency repair disks?

See my post in this thread:
http://www.linuxquestions.org/questi...hreadid=238285
That post explains how to see what partitions are where using Knoppix. However, you can run fdisk (but to view only and not to write partitions) from your current RedHat installation without using Knoppix. This way you can be sure what is where, which will be useful with GRUB.

You should definitely read the GRUB documentation if you have problems:
http://www.gnu.org/software/grub/

Please go to /boot/grub and show us the contents of menu.lst. (I don't even have an /etc/grub.conf on my machine.)

It might be a good idea now to make a bootable rescue floppy now (and test it) in case you mess up the MBR in the near future.
 
Old 10-05-2004, 12:34 PM   #8
morrolan
Member
 
Registered: Sep 2003
Location: Manchester UK
Posts: 262

Rep: Reputation: 30
/etc/grub.conf or /boot/grub.conf is essentially the same file as menu.lst, except some distro's keep it in /etc for tidyness reasons.
 
Old 10-05-2004, 01:45 PM   #9
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
no i don't have win emergencyrepair disks.what is mbr? and what must i do when i found what is where on the partitions?
 
Old 10-06-2004, 01:10 PM   #10
bof
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
it's okj guys the prob is solved i had to edit something in the bootloader at startup, nothing really hard. thx for all the support guys!
 
  


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
Recover grub bootloader after win install! teronslair Linux - Newbie 15 03-07-2010 01:25 AM
SuSE bootloader will not boot Win XP orange400 Linux - Software 4 01-02-2005 03:04 PM
Win 2K / Mandrake 10 Dual Boot Bootloader issues SamRaimi Mandriva 5 11-02-2004 03:28 PM
LILO, new kernal and Win NT bootloader Andy@DP Red Hat 2 04-07-2004 03:15 PM
NForce 2 hd controller with WD 60gb. Prob in Win; Linux? RedHatMasta Linux - Hardware 1 02-06-2004 06:29 PM


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