LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Booting Problems (https://www.linuxquestions.org/questions/linux-newbie-8/booting-problems-217129/)

kuba 08-13-2004 09:17 AM

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

_


Eagle_Seven 08-13-2004 09:23 AM

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.

kuba 08-13-2004 09:36 AM

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

_


masand 08-13-2004 01:31 PM

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

regards

kuba 08-14-2004 03:21 AM

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?

jomen 08-14-2004 04:13 AM

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

masand 08-14-2004 04:21 AM

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

jax8 08-14-2004 04:21 AM

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

kuba 08-15-2004 04:23 PM

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

jomen 08-15-2004 04:44 PM

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...

masand 08-16-2004 05:10 AM

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


All times are GMT -5. The time now is 03:11 AM.