LinuxQuestions.org
Help answer threads with 0 replies.
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 08-13-2004, 10:17 AM   #1
kuba
Member
 
Registered: Feb 2004
Posts: 39

Rep: Reputation: 15
Booting Problems


I have a problem. I can boot only into linux after I upgraded my kernel. Windows doesn't work.
I'm using the Gurb boot loader.

Here's the gurb.cfg file
Code:
# 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/hdb3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Linux Fedora Core 2 (2.6.7-1.494.2.2)
	root (hd1,0)
	kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.7-1.494.2.2.img
title Linux Fedora Core 2 (2.6.5-1.358)
	root (hd1,0)
	kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.5-1.358.img
title Windows Xp
	rootnoverify (hd0,0)
	chainloader
And here's what it says when I try to boot into windwos
Code:
  Booting 'Windows Xp'
rootnoverify (hd0,0)
chainloader +1

_
 
Old 08-13-2004, 10:23 AM   #2
Eagle_Seven
Member
 
Registered: Aug 2004
Distribution: Suse 9.1 Pro
Posts: 54

Rep: Reputation: 15
YOur Winows XP Menu script is incomplete

In the splash menu config, under Windows XP, type:

rootnoverify (hd0,0)
makeactive
chainloader +1
boot

you didn't give it the commands to actually start windows, so it stops mid boot.

This will boot almost any windows, 9x --> XP

Use a text editor to edit the grub.cfg, like emacs, joe, mc, or vi.

Last edited by Eagle_Seven; 08-13-2004 at 10:24 AM.
 
Old 08-13-2004, 10:36 AM   #3
kuba
Member
 
Registered: Feb 2004
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Eagle_Seven
YOur Winows XP Menu script is incomplete

In the splash menu config, under Windows XP, type:

rootnoverify (hd0,0)
makeactive
chainloader +1
boot

you didn't give it the commands to actually start windows, so it stops mid boot.

This will boot almost any windows, 9x --> XP

Use a text editor to edit the grub.cfg, like emacs, joe, mc, or vi.
Thanks for answering my question so fast. But it doesn't work
Now it says this:
Code:
  Booting 'Windows Xp'
rootnoverify (hd0,0)
makeactive
chainloader +1
boot

_
 
Old 08-13-2004, 02:31 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
boot with a win98 cd or windows floopy and from fdisk at the promt see if ur windows partiton is set to active

regards
 
Old 08-14-2004, 04:21 AM   #5
kuba
Member
 
Registered: Feb 2004
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by masand
boot with a win98 cd or windows floopy and from fdisk at the promt see if ur windows partiton is set to active

regards
Yes it is.
I noticed another thing, when I tried to boot with my partition magic rescue disk it said that there is a partition table error.
Can anyone help me?
 
Old 08-14-2004, 05:13 AM   #6
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
of course - after you edited you /etc/grub.conf to be correct now (I can just assume it is correct, because I do not use grub and thus am not able to verivy if it is) you need to run:

grub-install /dev/hda

to commit the changes you made to the disk (to update the boot-loader)

The same witht lilo - another boot-loader - after changing the configuration you have to commit the changes by issuing: lilo -v

only then the changes take effect
 
Old 08-14-2004, 05:21 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
i think partiton table incorrect does not imply that there is some problem in the MBR???
i think there is something went wrong while partitoning the harddisk

try using fdisk to read ur partiton table

regards
 
Old 08-14-2004, 05:21 AM   #8
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
is you windows drive a slave?

try this for the windows part

title Windows XP Professional
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1
makeactive
boot
 
Old 08-15-2004, 05:23 PM   #9
kuba
Member
 
Registered: Feb 2004
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jomen
of course - after you edited you /etc/grub.conf to be correct now (I can just assume it is correct, because I do not use grub and thus am not able to verivy if it is) you need to run:

grub-install /dev/hda

to commit the changes you made to the disk (to update the boot-loader)

The same witht lilo - another boot-loader - after changing the configuration you have to commit the changes by issuing: lilo -v

only then the changes take effect
I've done it. It didn't help. I get thesame effect.

Quote:
is you windows drive a slave?
Nope. my windows drive is master.
But my linux drive (also containing /boot) is a slave.

I don't know if it helps but I didn't say my distro yet. It's Fedora core2

Last edited by kuba; 08-15-2004 at 05:37 PM.
 
Old 08-15-2004, 05:44 PM   #10
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
As I said - I'm not using grub and I'm not familiar with its setup...
I was just wondering, why the line saying

#boot=/dev/hda

is in the config-file, but is commented out


could this be your problem?

check the manual page if this is supposed to be like that...
 
Old 08-16-2004, 06:10 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
since u haven't used grub so u need to uncomment the line
#boot=/dev/hda

or whatever or device is hdb,hdc etc etc


regards
gaurav
 
  


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
OK, Booting problems rogan999 Linux - Newbie 1 01-10-2004 04:08 PM
problems booting up hobylinux Linux - Newbie 5 09-05-2003 12:17 PM
booting problems linux_guy2003 Linux - Newbie 1 06-21-2003 01:35 PM
Problems booting Daniel(0_0) Linux - Newbie 1 01-24-2002 11:14 PM
Booting Problems Allan G3YRT Linux - Software 3 11-24-2001 07:00 PM

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

All times are GMT -5. The time now is 08:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration