Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Gentoo and windows on the same drive
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
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Tue Aug 08, 2017 8:00 pm    Post subject: [SOLVED] Gentoo and windows on the same drive Reply with quote

I need to load window 8.1 on an existing computer that already has Gentoo.
I looking for the best / easiest way to do this.

1. My understanding is that it would easiest to install windows first on a empty drive then re-partition the drive to create the space needed for the gentoo installation.
If this is correct...then great.

2. I was going to use fsarchiver to backup the current gentoo installation and restore it after re-partitioning the drive.

3. What is the best method dual-booting...grub?

Thanks


Last edited by davidbrooke on Thu Aug 10, 2017 2:01 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7557
Location: Goose Creek SC

PostPosted: Wed Aug 09, 2017 12:37 am    Post subject: Reply with quote

uefi or legacy bios?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
ilnanny
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2017
Posts: 98
Location: Italy/Taranto

PostPosted: Wed Aug 09, 2017 4:14 am    Post subject: Reply with quote

If you want to hurry you will agree
  Make a backup with a 'clonezilla' live cd, it is configurable and fast,
  Install windows
  And restore the backup
_________________
== Lila-HD-icon-theme ==
https://github.com/ilnanny/Lila-HD-icon-theme
Back to top
View user's profile Send private message
R0b0t1
Apprentice
Apprentice


Joined: 05 Jun 2008
Posts: 255

PostPosted: Wed Aug 09, 2017 6:28 pm    Post subject: Reply with quote

My experience with the Windows installer is that it will treat the space you give it in a couple of different ways based on the following conditions:

  1. If you give it a whole drive or the rest of the free space on a drive, it sets up an EFI partition, recovery partition (space permitting, this can be ~3-6GB), and a main partition. From memory there is one more but I can't remember what it is for.
  2. If you partition and format that partition manually it will only use that partition. Doing this I have been able to prevent it from creating partitions automatically, even when it has an entire drive.
The advice to install Windows first seems to come from the behavior in #1 above, but you can mimic that behavior (at least now you can) by selecting free space and continuing with the installation. The harder part seems to be chainloading the Windows bootloader from GRUB.
Back to top
View user's profile Send private message
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Thu Aug 10, 2017 2:01 am    Post subject: Reply with quote

Here is what I ended up doing:
1. Used fsarchiver to create a backup of my existing gentoo installation
2. Booted the windows 8.1 usb stick in "legacy bios"
3. Installed windows (only 2 partitions were created: 350 MB partition and the rest of the drive in the other partition)
4. Used gparted to create the new gentoo partition and a swap partition from the existing main windows partition
5. Used SystemRescueCd (which has fsarchiver) to restore gentoo installation to new gentoo partition.
6. Used SystemRescueCd to install grub on gentoo installation

Now I can dual boot into gentoo or windows 8.1

Thanks for all the input!
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