PDA

View Full Version : Boot issue


Maeldun
18th July 2005, 07:30 PM
I installed fedora successfully, I am using acronis but it does not recognize it so I disabled his os selector, reinstalled with grub and grub saw xp in the setup and linux was the primary os, after installation when I rebooted it went straight to xp. any ideas?

Maeldun
18th July 2005, 10:11 PM
Ok, now I got fedora to boot after tinkering with grub, when I select it to boot windows it doesnt boot does that mean I gotta redo windows now?

gertbor
18th July 2005, 10:22 PM

I think that you post your grub file someone will help you. Or not maybe :-)
gertbor

Maeldun
19th July 2005, 01:33 AM
# 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 (hd0,4)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,4)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=Fedora rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1




thank is my grub

Maeldun
19th July 2005, 02:08 AM
by the way I just noted the error I get when I select to boot XP in grub


Error 21: Selected disk does not exist


thanks for the help in advance

Captn
19th July 2005, 02:48 AM
# 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 (hd0,4)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,4)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=Fedora rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1




thank is my grub


This is mine, not sure if it helps. But I hope it might.


# 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 (hd0,1)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.12-1.1398_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.12-1.1398_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.12-1.1398_FC4.img
title Fedora Core (2.6.12-1.1398_FC4smp)
root (hd0,1)
kernel /vmlinuz-2.6.12-1.1398_FC4smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.12-1.1398_FC4smp.img
title Fedora Core (2.6.12-1.1390_FC4)
root (hd0,1)
kernel /vmlinuz-2.6.12-1.1390_FC4 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.12-1.1390_FC4.img
title Fedora Core (2.6.12-1.1390_FC4smp)
root (hd0,1)
kernel /vmlinuz-2.6.12-1.1390_FC4smp ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.12-1.1390_FC4smp.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1

jim
19th July 2005, 02:56 AM
you need to map the drives to swap em around

so you choose Fc and XP boots>??
open grub.conf file
comment out windows section with # marks and add the following


title Why do I boot into this?? Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,0)
chainloader +1

you can remove the "why do i boot into this?? " section if you wish
save the file and reboot and see if it works

Maeldun
19th July 2005, 03:02 AM
you need to map the drives to swap em around

so you choose Fc and XP boots>??
open grub.conf file
comment out windows section with # marks and add the following


you can remove the "why do i boot into this?? " section if you wish
save the file and reboot and see if it works

no I choose other(which I renamed to Windows XP) and I get error 21 Selected disk does not exist, when I choose fedora, fedora boots fine which is what I am in right now. Do you still want me to edit the grub.conf file ?

jim
19th July 2005, 03:03 AM
yup try it out

Maeldun
19th July 2005, 03:42 AM
yup try it out


did that got error 21: selected disk does not exist

steve941
19th July 2005, 06:56 AM
# 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 (hd0,4)
# kernel /vmlinuz-version ro root=/dev/sda6
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
root (hd0,4)
kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=Fedora rhgb quiet
initrd /initrd-2.6.11-1.1369_FC4.img
title Windows XP
rootnoverify (hd1,0)
chainloader +1




thank is my grub

do you have xp on another hd?
according to grub it looks like you do
rootnoverify (hd1,0)
that's saying hd 1 instead of hd 0
and if you don't have another hd then
that's probably why you got that error
try something like
rootnoverify (hd0,1) -- depends on your config

Metil
19th July 2005, 06:18 PM
I installed fedora successfully, I am using acronis but it does not recognize it so I disabled his os selector, reinstalled with grub and grub saw xp in the setup and linux was the primary os, after installation when I rebooted it went straight to xp. any ideas?

Have you tried to install GRUB on the boot partition instead of MBR and then install OS Selector? It worked for me. Just my $0.02 ;)

Maeldun
20th July 2005, 06:20 PM
do you have xp on another hd?
according to grub it looks like you do
rootnoverify (hd1,0)
that's saying hd 1 instead of hd 0
and if you don't have another hd then
that's probably why you got that error
try something like
rootnoverify (hd0,1) -- depends on your config

I trued 0,0 and 0,1

for 0,0 I got an error, for 0,1 it showed the commands and just sat there so I rebooted but no luck

Maeldun
20th July 2005, 06:21 PM
Have you tried to install GRUB on the boot partition instead of MBR and then install OS Selector? It worked for me. Just my $0.02 ;)


I always tried on MBR but before it was writing to another disk so I went ot advanced config for it during install and changed the drive order, then grub started working and thats when xp quit booting

steve941
20th July 2005, 11:46 PM
i guess you could try 0,2 .. It really depends what partition is windows and I can't say for your setup..
but you are probably going to have to reinstall grub

Maeldun
21st July 2005, 06:12 AM
i guess you could try 0,2 .. It really depends what partition is windows and I can't say for your setup..
but you are probably going to have to reinstall grub


this is my fdisk -l the part that matters at least

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 10684 85819198+ 7 HPFS/NTFS
/dev/sda2 10685 14593 31399042+ 5 Extended
/dev/sda5 10685 10699 120456 83 Linux
/dev/sda6 10700 14199 28113718+ 83 Linux
/dev/sda7 14200 14593 3164773+ 82 Linux swap / Solaris


here is my grub.conf again the part that matters

title Why do I boot into this?? Windows
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd0,1)
chainloader +1


according to my eyes the settings are right therefore could the partition be corrupt?

Maeldun
21st July 2005, 06:33 AM
ok guys took out of the two map commands, changed the (0,1) to (0,0) and voila xp booted, Thanks to everyone who attempted to help me out I appreciate it!