View previous topic :: View next topic |
Author |
Message |
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Mon Sep 05, 2005 6:20 am Post subject: Gentoo Installed, but now Windows doesn't boot.. |
|
|
I get a blue screen saying inaccessible boot device... is this somethign gentoo has caused? Or do I have to reinstall Win2k now? _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
ekutay l33t
Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Mon Sep 05, 2005 6:22 am Post subject: |
|
|
What is your boot configuration? Do you use lilo, grup or the NT loader to boot your system? _________________ -- erol |
|
Back to top |
|
|
signature16 Tux's lil' helper
Joined: 31 Aug 2005 Posts: 79
|
Posted: Mon Sep 05, 2005 6:41 am Post subject: |
|
|
dont reinstall windows....it will erase the mbr.
if you put the windows cd in and start up their is a repair option. im not quite sure what it does but its worked for me before |
|
Back to top |
|
|
olger901 l33t
Joined: 17 Mar 2005 Posts: 625
|
Posted: Mon Sep 05, 2005 11:04 am Post subject: |
|
|
Check if your grub configuration is set properly
Note: In grub hd0,0 is in fact hda1 so set it to for example 0,4 if your windows partition is /dev/hda
title=Windows XP
rootnoverify(hd0,0)
makeactive
chainloader +1 |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Mon Sep 05, 2005 3:36 pm Post subject: |
|
|
I use grub,
Drive0-Gentoo
Drive1-Windows
Drive2-Extra Storage.
Title Windows 2k
root (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)
I use the map, else Windows won't start up... _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
DrBob n00b
Joined: 05 Sep 2005 Posts: 2 Location: England
|
Posted: Mon Sep 05, 2005 3:40 pm Post subject: |
|
|
Rukie wrote: | I use grub,
Drive0-Gentoo
Drive1-Windows
Drive2-Extra Storage.
Title Windows 2k
root (hd1,0)
makeactive
chainloader +1
map (hd0) (hd1)
map (hd1) (hd0)
I use the map, else Windows won't start up... |
afaik, that "root (hd1,0)" should be a "rootnoverify (hd1,0)"
And the syntax for "Title" is "Title=Windows 2k" |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Mon Sep 05, 2005 5:24 pm Post subject: |
|
|
Actually, you don't need the = sign with grub
Also, I use root because its a vfat partition..
I used it so linux has better support for reading whats on the drive.
_________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
bltngshp n00b
Joined: 20 Jan 2005 Posts: 54
|
Posted: Mon Sep 05, 2005 5:57 pm Post subject: |
|
|
I'm dual booting Windows 2000 and Gentoo with Grub on my laptop. I have no problems. This is my Windows Entry in grub.conf
Code: | #Windows 2000
title=Windows 2000
rootnoverify (hd0,1)
makeactive
chainloader +1 | But I'm using NTFS for that partition, and if you'll please forgive me I don't know why a vfat partition would require something different. Also I'm not certain if it's important but I do have the Windows partition maked as the active partition for the drive.
But it does occur to me that your Windows partition is on a completely different hard drive. Isn' there some way to configure grub to pass the boot job to another bootable device. In other words make a grub entry that doesn't boot a partition but tells it to boot whatever is on the mbr on another hard drive or configure it to boot a CD-ROM (a throw back to the days when CD-ROMS didn't boot from BIOS)? |
|
Back to top |
|
|
kawsper Tux's lil' helper
Joined: 09 Nov 2004 Posts: 128 Location: Copenhagen, Denmark
|
Posted: Mon Sep 05, 2005 6:51 pm Post subject: |
|
|
Remember that Windows want to have the bootable flag. I have experienced the same as you. And this did solve it. _________________ Laptop: Zepto 2314W, Pentium M 730, 512 Mb Pc-3200
Server 1: Athlon XP 3200+ | Asus A7V880 | 768 Mb DDR Pc-3200
Server 2: Pentium III Coppermine | Unknown MB | 64 Mb
All running Gentoo
www.hyggenet.org - IRC-Network for the pleasant atmosphere. |
|
Back to top |
|
|
drwook Veteran
Joined: 30 Mar 2005 Posts: 1324 Location: London
|
Posted: Mon Sep 05, 2005 7:07 pm Post subject: |
|
|
My money's on you needing to put in 'map' lines - windows hates to be on anything but the primary master in my experience. |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Mon Sep 05, 2005 8:03 pm Post subject: |
|
|
I have map lines... and I'm pretty sure there is a bootflag on the partition windows is on...
vfat = fat32 _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Mon Sep 05, 2005 8:55 pm Post subject: |
|
|
Hi Rukie!
Did you install GRUB into (hd1,0) by mistake? If not, did you move the Windows XP disk from master to slave? If so, does it boot if you put it as master? _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Sep 06, 2005 3:00 am Post subject: |
|
|
grub is installed into the right partition (hd0,0) but I could have changed win 2k from master to slave.. not sure.. have to check _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Tue Sep 06, 2005 3:03 am Post subject: |
|
|
Ok it might not be the case for you but i just created a dual boot windows XP and gentoo
windows XP hda2
gentoo(Root) hda6
gentoo(boot) hda3
all that i did was
Title=Gentoo
root(hd0,5)
kernel / kernel name and few command(s)
initrd /initrd name
Title=windows XP
root (hd0,1)
makeactive
chainloader +1
since you have two hard drives you ll have to map them for sure. thats something i had to do when i had gentoo on my desktop with two hard drives.
Now this time round my dual boot wasn't working for some strange reasons.
the windows partition wont work if i dont have a space between root and (hd0,5) and gentoo doesnt work if there is any space between them.
Also rootnoverify (hd#,#) is if you didnt use genkernel. for genkernel you just use root (hd#,#).thats what i read in install.txt (i dont trust it anymore by the way i have screwed up my portage tree big time ).
Hope it helps. _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Tue Sep 06, 2005 3:10 am Post subject: |
|
|
Also forgot to tell you one thing.
if you think it's not GRUB and something is wrong with your windows you can always use dos FDISK to fix your MBR and try to boot to see if windows is not corrupt.
get dos FDISK (not the one on livecd or rescue disk) and copy it on a bootable floppy and on prompt run this command
Fdisk /MBR
after this GRUB will be wiped from the MBR. But you can always reboot usin live cd and reinstall GRUB on MBR again. _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Tue Sep 06, 2005 4:06 am Post subject: |
|
|
What about the MBR on other hard drives, do they matter? _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Tue Sep 06, 2005 4:44 am Post subject: |
|
|
The MBR for the disk which is flagged for boot matters.
edit: ok i misunderstood your question. the command that i gave you works like that if you have only one hard drive. You 'll have to find out how to fix the MBR of a specific drive. shouldnt be problem though.I'll see if i can find it out for you
When i had two different hardrives i was using jumper seeting to achieve that. It can also be done using BIOS settings (i havent done it though).
You can set the jumpers to make one master and the other slave. or you can set both of them on AUTO(CABLE) select (if they have this feature) and attach them to the bus in the order you want them to boot.
hope it helps _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Tue Sep 06, 2005 6:15 am Post subject: |
|
|
ok here is the link that explains it
http://support.microsoft.com/kb/q69013/
Quote: | NOTE: The fdisk /mbr command only re-writes the MBR on the system drive (DISK-0) using BIOS calls. You cannot specify any other drive for the fdisk /mbr command to operate on other than DISK-0. |
system drive for fdisk wud be your windows drive if it is the first one in boot order. And just to be on the safe side you can always unplug your other harddrive
WARNING!!! be careful ..double check..make sure etc etc i dont wanna go to my grave with the regret that i led a decent gentoo fellow into frying his harddrive..or exploding it _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
bltngshp n00b
Joined: 20 Jan 2005 Posts: 54
|
Posted: Tue Sep 06, 2005 3:49 pm Post subject: |
|
|
I'm sorry. I still don't see why grub mounting the partition as opposed to grub not mounting the partition (root versus rootnoverify) would make any difference in Windows 2k on a vfat partition. I'm almost wondering if grub mounting that partition is causing it to be hidden from Windows. If this was the case, wouldn't it just be:
|
|
Back to top |
|
|
Taladar Guru
Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Tue Sep 06, 2005 3:59 pm Post subject: |
|
|
You only need rootnoverify if there is no filesystem driver for grub for the filesystem on the partition. |
|
Back to top |
|
|
Rukie l33t
Joined: 26 Jan 2004 Posts: 692 Location: SE Wi, Home of cheese and cowtippers.......
|
Posted: Fri Sep 09, 2005 1:59 am Post subject: |
|
|
I tried unhide, it didn't work.. _________________ Gentoomania! Support the Open Source!
http://www.rukie.ath.cx |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Fri Sep 09, 2005 10:40 am Post subject: |
|
|
Rukie,
have you tried booting from the Windows disk? Does it work? If not, you'll probably have to fix Windows by booting with the install cd, opening the recovery console and running fixboot. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Fri Sep 09, 2005 9:33 pm Post subject: |
|
|
If you are refering to Windows install CD.
it asks for adminstrative password (for windows XP you need to check for win2k).
and if you dint have your adminstrative password you r in bad luck.
It' ll be better to use Dos Fdisk on a bootable floppy. _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Sat Sep 10, 2005 1:51 pm Post subject: |
|
|
maglomanic wrote: | If you are refering to Windows install CD.
it asks for adminstrative password (for windows XP you need to check for win2k).
and if you dint have your adminstrative password you r in bad luck.
It' ll be better to use Dos Fdisk on a bootable floppy. |
AFAIK, that will only work to fix the mbr with fdisk /mbr, wich can be done on the Windows XP recovery console by running fixmbr. I'm suggesting that if the problem isn't with the MBR, but with the Windows partition, he will have to run fixboot. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
maglomanic Tux's lil' helper
Joined: 28 Jun 2004 Posts: 93
|
Posted: Sun Sep 11, 2005 1:17 am Post subject: |
|
|
I fixed the whole windows partition and the only thing it asked for was serial number. and for that you dont have to go to recovery console. i did it using windows XP installation cd. _________________ The question is always "how" and not "why" |
|
Back to top |
|
|
|