Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing WIndows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Phenomic69
n00b
n00b


Joined: 20 Jun 2003
Posts: 56

PostPosted: Mon Dec 22, 2003 11:48 pm    Post subject: Installing WIndows Reply with quote

I was really into gentoo over the summer and got a good system up and running on my second harddrive, right now i am dual booting with grub which only shows up for a second and windows is the default i havent went into gentoo since the summer because i havent had time but I do want to keep it because it works extremely well. Anyhow, i need to reinstall windows and I forgot all my linux stuff so I am wondering is there anyway to easily install windows xppro without overwriting my masterbootrecord so that grub will still dual boot. I forgot so much that i couldnt really use my gentoo install disc to get into gentoo and fix it so that it will use grub. Does anyone know how i can easily keep grub as my bootloader even when i reinstall windows?[/b]
Back to top
View user's profile Send private message
at_chaos
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 149
Location: EU|Austria

PostPosted: Mon Dec 22, 2003 11:58 pm    Post subject: Reply with quote

Hi,

you said that you have windows on your first hdd (hda)? and gentoo on you second (hdb)? Is grub on hda or hdb?

I think windows overwrites your mbr (in your case hda) and there is no way out. You just have to reinstall grub after you installed windows if you have grub on hda. But try to save your grub.conf -> it is in /boot/grub.conf <- and recap the installation docs so that you how to configure and install grub ;)

hope that helps a little bit
_________________
if you stand still, you move backward


Last edited by at_chaos on Tue Dec 23, 2003 12:01 am; edited 1 time in total
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Mon Dec 22, 2003 11:59 pm    Post subject: Impossible Reply with quote

Installing Windows without it mucking with the MBR is an absolute impossibility without 3rd party booting software like System Commander, etc.
Back to top
View user's profile Send private message
Phenomic69
n00b
n00b


Joined: 20 Jun 2003
Posts: 56

PostPosted: Tue Dec 23, 2003 12:08 am    Post subject: Reply with quote

Last time i resinstalled windows with gentoo i knew how to reinstall grub but i was a little confused because it seemed /boot was already mounted whenusing the install cd but the stuff in /boot wasn't the stuff that i had put in there, it seemed like it was the cd's /boot. So could someone please explain really quick how to get the right thing m ounted.

BTW, Windows is hda and gentoo is hdb if i remember correctly.
Back to top
View user's profile Send private message
xoomix
Guru
Guru


Joined: 02 Jan 2003
Posts: 489

PostPosted: Tue Dec 23, 2003 12:24 am    Post subject: Really quick way Reply with quote

after getting the shell prompt from the live cd mount /dev/hd? to /mnt/gentoo then mkdir /mnt/gentoo/boot then mount /dev/hd? to /mnt/gentoo/boot


Al in the install doc of course :)
Back to top
View user's profile Send private message
Phenomic69
n00b
n00b


Joined: 20 Jun 2003
Posts: 56

PostPosted: Tue Dec 23, 2003 12:36 am    Post subject: Reply with quote

Thanks, that was what i was asking for but i remeber i had to do something like chroot to get it to work, is that necessary and waht does it do??
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Tue Dec 23, 2003 1:00 am    Post subject: Reply with quote

You dont have to chroot etc. Just boot from live cd do grub
Code:
grub> root = (hdx,y)
Grub> setup hd(0)

Where x = drive containing /boot and y the partition that is or (if you do not have separate boot partition) contains /boot
Reboot and it will be installed again :D
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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