Ask Your Question
0

Install Win7 after Fedora22

asked 2015-10-09 13:01:51 -0500

lindsaymacvean gravatar image

updated 2015-10-17 11:36:49 -0500

mether gravatar image

I need to install win7 on my computer because I have a course that requires visual studio as the IDE.

I considered trying to run it as a virtual machine or trying to doing some PXE magic to network boot it from a raspberry pi NAS setup I have.

In the end I have decided to just install Windows on my laptop harddrive and dual boot with my fedora.

Does this mean I have to wipe my fedora 22 install or can I just resize my partition and install windows on a separate virtual drive??

This is the current output of fdisk -l and to be honest I don't really understand the whole mapper/ drives and why my current setup seems to have two main partitions so any pointers towards tutorials would be really appreciated.

Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000aa5fe

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1  *       2048   1026047   1024000   500M 83 Linux
/dev/sda2       1026048 250068991 249042944 118.8G 83 Linux


Disk /dev/mapper/luks-4e71cc62-e29d-4cef-b0d2-af66367de2bb: 118.8 GiB, 127507890176 bytes, 249038848 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/fedora-swap: 3.8 GiB, 4043309056 bytes, 7897088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/fedora-root: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/fedora-home: 65 GiB, 69776441344 bytes, 136282112 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-09 14:10:13 -0500

aeperezt gravatar image

Well you could resize your Fedora to Install Windows, how ever when you install windows it will remove grub to set its own booting tool which will not see Linux partitions and Fedora. So you must learn how to reinstall grub so you can install it after that and have it do the booting job and the dual boot.

Since it is for a class will recomend to use it on a Virtual machine.

edit flag offensive delete link more

Comments

Thanks for the answer would you be able to expand a bit more Why is there 3 mapper drives on my fdisk list (are these needed or is this a quirk of something I did when I installed it)? Can I just resize /dev/sda2/ to 60GB and this will leave unpartitioned space for me to install windows? Whats the best tool to resize my partition?

lindsaymacvean gravatar imagelindsaymacvean ( 2015-10-09 14:53:20 -0500 )edit

You have 2 regular partitions and 3 LVM partitions swap, root and home, you could reduce home partition. To reduce LVM partitions you could use Disk utility or Gparted careful make a backup of your data before playing with the partitions.

aeperezt gravatar imageaeperezt ( 2015-10-09 15:15:12 -0500 )edit

ok backing up data now, im going to try the resize and see if I can boot the windows installer and install on the unused space. Many thanks :)

lindsaymacvean gravatar imagelindsaymacvean ( 2015-10-09 15:32:20 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-09 13:01:51 -0500

Seen: 326 times

Last updated: Oct 09 '15