Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Insatalling win after gentoo?
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
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Jan 10, 2016 5:27 pm    Post subject: Insatalling win after gentoo? Reply with quote

I thought to manage only with gentoo in my old laptop, but due to this unsolved problem, I should add win xp as well:
https://forums.gentoo.org/viewtopic-t-1036550-highlight-.html
I know the opposite way much easier - first win then gentoo -
however gentoo run very nice on the laptop so I want to find out best way to install win without any damage to gentoo.
I saw some posts in regards - first to ensure enough room for win -
how much room win xp needs? should I resize partition with fdisk or there is a gui more friendly?
Is it worth to install gparted?
I see that after installing win need to chroot with LiveCD and run grub.
Please advise if you have any tips!
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1368
Location: Montréal

PostPosted: Sun Jan 10, 2016 7:03 pm    Post subject: Reply with quote

About resizing, what I do is to reduce the filesystem size first to the desire size with the appropriate tool (ex. resize2fs). Than I reduce the partition size with Fdisk to a bit bigger size than the filesystem resized size. Than I expand the filesystem with the tool to fit to the total size of the partition. Everything must be done with all the filesystems on the disk unmounted.

This is a manual way who work if you want to free space at the 'right' of the resized partition. If you want to free space at the 'left' of it, you have to backup the partitions data to create a new partitions table and filesystems than, copy data where you want, manually speaking again. All depend of the actual partitions table and what you want to do.

Per experience XP is better to be at the beginning of the disk on the first partition before anything else. This may not be mandatory but, if you change the partitions table before XP partition after Windows have been install, it may not like it.

I would allow 10 gigabytes for XP who will erase the Grub bootloader in a DOS/MBR partitions table. Grub have to be reinstall with the grub-install command executed in the Gentoo partition in chroot. Alternatively, you can backup Grub in the MBR with the dd command and restore it after XP have been install with dd again.

Maybe you don't need XP, what would be better for you. :D
_________________
Paul
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