Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing windows after a gentoo install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Nuwanda
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2004
Posts: 115

PostPosted: Thu Aug 26, 2004 9:32 am    Post subject: Installing windows after a gentoo install Reply with quote

i installed gentoo on my laptop a while back, and only set 3 partiotions (boot, swap, root). i now want windows also to be installed on the same laptop. i know this has probably been asked a hundred time before so cud someone please point me to a guide/thread?
_________________
Linux User #363313
Got BOINC?
Fluxbox kix ass!
Back to top
View user's profile Send private message
bakreule
Apprentice
Apprentice


Joined: 27 Aug 2003
Posts: 233
Location: Paris, France

PostPosted: Thu Aug 26, 2004 9:49 am    Post subject: Reply with quote

Lots of people have installed Gentoo onto an exisiting Windows system, but I've never heard of anyone going the other way around....

At any rate, it shouldn't be that difficult. Assuming you have a free partition, just go ahead and run the Windows CD and install as normal. If you want to be able to copy files back and forth between Gentoo & Windows, specifiy Fat32, as write support for NTFS in Linux is still shaky (read-only support is solid though). I've never installed XP personally, but I've heard it doesn't give you the choice and forces NTFS.

After Windows is done with all its rebooting, patching, upgrading and more patching, reboot onto the Gentoo Live CD. Reinstall Grub as per the Gentoo installation manual.

That should be it.....
Back to top
View user's profile Send private message
Joggl
Apprentice
Apprentice


Joined: 14 Mar 2004
Posts: 155
Location: Austria

PostPosted: Thu Aug 26, 2004 9:55 am    Post subject: Reply with quote

you could not install windows when gentoo is already existing, because your pc only support 3 partitions!

you have to install windows first and then make with the other discspace a extended partition in which you make the boot, ... partitions!
Back to top
View user's profile Send private message
meteor
n00b
n00b


Joined: 30 Oct 2002
Posts: 54
Location: Old School Europe

PostPosted: Thu Aug 26, 2004 10:29 am    Post subject: Reply with quote

It is certainly possible, while I also recommend installing Windows previous to Gentoo. Just be careful and be aware the Windows typically will overwrite the MBR, so you'll have to fix this after the install. Good luck.
Back to top
View user's profile Send private message
bakreule
Apprentice
Apprentice


Joined: 27 Aug 2003
Posts: 233
Location: Paris, France

PostPosted: Thu Aug 26, 2004 3:09 pm    Post subject: Reply with quote

Quote:
you could not install windows when gentoo is already existing, because your pc only support 3 partitions!


Ummm, what?

PC's support 4 primary partitions. The 4th partition can be tagged as an "Extended" partition. You can then put lots and lots of smaller partitions in this one. They show up in Linux as hdx5, hdx6, etc, and they work perfectly well in Windows.

P.S. I'm a Tux's Little Helper!!!! W00T!!!
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Aug 26, 2004 3:15 pm    Post subject: Reply with quote

This should provide all the information you need

http://gentoo-wiki.com/HOWTO_Install_Windows_after_Gentoo
Back to top
View user's profile Send private message
Nuwanda
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2004
Posts: 115

PostPosted: Thu Aug 26, 2004 5:01 pm    Post subject: Reply with quote

foloowing the instructions in the guide, i keep getting stuck at the resizing partion part of it
i emerge ext2resize and copy to the /tmp/ dir as mentioned but when i use ext2resize, i get an error '-bash: ext2resize: command not found'
_________________
Linux User #363313
Got BOINC?
Fluxbox kix ass!
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Thu Aug 26, 2004 5:16 pm    Post subject: Reply with quote

try
/tmp/ext2resize
/tmp isn't in your PATH variable so when you try to execute it it can't find ext2resize
Back to top
View user's profile Send private message
scorpido
n00b
n00b


Joined: 26 Aug 2004
Posts: 1

PostPosted: Thu Aug 26, 2004 9:21 pm    Post subject: Reply with quote

Quote:
you could not install windows when gentoo is already existing, because your pc only support 3 partitions!

you have to install windows first and then make with the other discspace a extended partition in which you make the boot, ... partitions!


Is this the only way
_________________
Inconsequential is incommunicable
Back to top
View user's profile Send private message
Joggl
Apprentice
Apprentice


Joined: 14 Mar 2004
Posts: 155
Location: Austria

PostPosted: Thu Aug 26, 2004 9:24 pm    Post subject: Reply with quote

its not the only way, but the easiest!!!
Back to top
View user's profile Send private message
Nuwanda
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2004
Posts: 115

PostPosted: Fri Aug 27, 2004 9:40 am    Post subject: Reply with quote

BlackEdder wrote:
try
/tmp/ext2resize
/tmp isn't in your PATH variable so when you try to execute it it can't find ext2resize


worked! thanks m8
_________________
Linux User #363313
Got BOINC?
Fluxbox kix ass!
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Aug 27, 2004 10:21 am    Post subject: Reply with quote

i alse read that guide... but i never understood why it's so complicated... can i just install winxp in a primary partition at the end of the disk and gentoo in a logical one at the beginning?
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Aug 27, 2004 10:37 am    Post subject: Reply with quote

Th difficulty described in the guide is only when you have no free hd space available, if you have the free space you should be able to install windows on that. (Although I think win98 has to have the first parttion, winXP shouldn't have that restriction any more)
Back to top
View user's profile Send private message
Manix
n00b
n00b


Joined: 27 Aug 2004
Posts: 5
Location: Oulu, Finland

PostPosted: Fri Aug 27, 2004 10:46 am    Post subject: Reply with quote

bakreule wrote:
I've never installed XP personally, but I've heard it doesn't give you the choice and forces NTFS.


I had to install XP a few weeks ago and if I remember correctly it does present that option.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Fri Aug 27, 2004 11:05 am    Post subject: Reply with quote

Think it depends if you have the home or pro thingie
Back to top
View user's profile Send private message
Manix
n00b
n00b


Joined: 27 Aug 2004
Posts: 5
Location: Oulu, Finland

PostPosted: Fri Aug 27, 2004 11:34 am    Post subject: Reply with quote

BlackEdder wrote:
Think it depends if you have the home or pro thingie


Ah yes, it was XP Home Edition. Don't know about the Pro version.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3435
Location: Gainesville, Florida

PostPosted: Fri Aug 27, 2004 2:59 pm    Post subject: Reply with quote

Yes- XP Pro has the Fat32 option.

wrc1944
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11
Back to top
View user's profile Send private message
stkaplan
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2004
Posts: 108

PostPosted: Fri Aug 27, 2004 7:00 pm    Post subject: Reply with quote

I have XP Pro, and it only gives me the FAT option if I make my partition small enough. (Less than 32G, I think.) I dunno if that's a FAT limitation or what, but it's definitely size-based.
Back to top
View user's profile Send private message
aych
Guru
Guru


Joined: 20 May 2004
Posts: 304

PostPosted: Fri Aug 27, 2004 8:59 pm    Post subject: Reply with quote

if u need to fdisk a vfat first.. windows seems to be able to handle that quite nicely same as linux. thats how i did mine. remember ur grub config cuz windows will overwrite the MBR and u'll need a cd to get into linux again.
hint: press f5 during windows install while its loading all the drivers.. u can choose a faster config setting :p
Back to top
View user's profile Send private message
wo0zy
n00b
n00b


Joined: 13 Jan 2004
Posts: 43
Location: Greifswald, Germany

PostPosted: Fri Aug 27, 2004 11:17 pm    Post subject: Reply with quote

i have a big problem, i have gentoo installed. and today i reinstalled my winXP and now, when i boot into my livecd and try to reinstall grub i get this message
Quote:
>grub setup (hd0) Error17 can't mount partition


i did not entered chroot, is this my fault??

how can i boot into my lovely gentoo?
Back to top
View user's profile Send private message
Griswold
Apprentice
Apprentice


Joined: 26 Aug 2004
Posts: 212

PostPosted: Fri Aug 27, 2004 11:25 pm    Post subject: Reply with quote

I did the same thing recently, reinstalled xp onto my hd after i had gentoo installed. Windows complained about not enough partitions (probably because the 8meg one it leaves might count as a 5th) So, i just went into gentoo and mounted my /boot, edited grub.conf, copyed my /boot partition into the / filesystem, made sure it would reboot correctly, then deleted the /boot partition which let me install windows. Then i just reinstalled grub as ususal w/ the LiveCD chroot thing.

grub

root (hd0,3)
setup (hd0)
quit

PS. make sure u enter chroot before typing "grub." :wink:
Back to top
View user's profile Send private message
wo0zy
n00b
n00b


Joined: 13 Jan 2004
Posts: 43
Location: Greifswald, Germany

PostPosted: Fri Aug 27, 2004 11:27 pm    Post subject: Reply with quote

what steps are needed for chroot?

i entered chroot but there is no emerge and no grub?!
Back to top
View user's profile Send private message
Griswold
Apprentice
Apprentice


Joined: 26 Aug 2004
Posts: 212

PostPosted: Sat Aug 28, 2004 1:11 am    Post subject: Reply with quote

To chroot into gentoo w/ a live cd do this:

mount /dev/hda3 /mnt/gentoo (or whatever your / partition is if it isnt /dev/hda3)
mount /dev/hda2 /mnt/gentoo/boot (or whatever your /boot partition is, if u have one)
mount -t proc none /mnt/gentoo/proc
mount any other partitions u may need if u have made them.
mounting swap is optional, use the handbook to look up how to do it. (http://gentoo.org/doc/en/handbook/handbook-x86.xml)
chroot /mnt/gentoo /bin/bash
env-update

I assume u know how to reinstall grub from here, if not, just go to the handbook or post back in this forum for more help. Just remember if u copyied your /boot into the / partition, use the / partition for root (hd0,3) or wahtever. If u didn't, then continue w/ the regular /boot partition for root (hd0,3). Obviosly, (hd0,3) can be something else like (hd0,1) or something. Good luck. :)
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
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