Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Installed, but now Windows doesn't boot..
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Sep 05, 2005 6:20 am    Post subject: Gentoo Installed, but now Windows doesn't boot.. Reply with quote

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
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Mon Sep 05, 2005 6:22 am    Post subject: Reply with quote

What is your boot configuration? Do you use lilo, grup or the NT loader to boot your system?
_________________
-- erol
Back to top
View user's profile Send private message
signature16
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2005
Posts: 79

PostPosted: Mon Sep 05, 2005 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message
olger901
l33t
l33t


Joined: 17 Mar 2005
Posts: 625

PostPosted: Mon Sep 05, 2005 11:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Sep 05, 2005 3:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
DrBob
n00b
n00b


Joined: 05 Sep 2005
Posts: 2
Location: England

PostPosted: Mon Sep 05, 2005 3:40 pm    Post subject: Reply with quote

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" :P
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Sep 05, 2005 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
bltngshp
n00b
n00b


Joined: 20 Jan 2005
Posts: 54

PostPosted: Mon Sep 05, 2005 5:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
kawsper
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2004
Posts: 128
Location: Copenhagen, Denmark

PostPosted: Mon Sep 05, 2005 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
drwook
Veteran
Veteran


Joined: 30 Mar 2005
Posts: 1324
Location: London

PostPosted: Mon Sep 05, 2005 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Mon Sep 05, 2005 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Sep 05, 2005 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Tue Sep 06, 2005 3:00 am    Post subject: Reply with quote

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 :o
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Tue Sep 06, 2005 3:03 am    Post subject: Reply with quote

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
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Tue Sep 06, 2005 3:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Tue Sep 06, 2005 4:06 am    Post subject: Reply with quote

What about the MBR on other hard drives, do they matter?
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Tue Sep 06, 2005 4:44 am    Post subject: Reply with quote

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
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Tue Sep 06, 2005 6:15 am    Post subject: Reply with quote

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
View user's profile Send private message
bltngshp
n00b
n00b


Joined: 20 Jan 2005
Posts: 54

PostPosted: Tue Sep 06, 2005 3:49 pm    Post subject: Reply with quote

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:
Code:
unhide (hd1,0)
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Tue Sep 06, 2005 3:59 pm    Post subject: Reply with quote

You only need rootnoverify if there is no filesystem driver for grub for the filesystem on the partition.
Back to top
View user's profile Send private message
Rukie
l33t
l33t


Joined: 26 Jan 2004
Posts: 692
Location: SE Wi, Home of cheese and cowtippers.......

PostPosted: Fri Sep 09, 2005 1:59 am    Post subject: Reply with quote

I tried unhide, it didn't work..
_________________
Gentoomania! Support the Open Source!
http://www.rukie.ath.cx
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Fri Sep 09, 2005 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Fri Sep 09, 2005 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sat Sep 10, 2005 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
maglomanic
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 93

PostPosted: Sun Sep 11, 2005 1:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum