Sign in with
Sign up | Sign in
Your question

New to Dualbooting and Need Help Partitioning (Ubuntu)

Tags:
  • Windows
  • Partition
  • Ubuntu
Last response: in Linux/Free BSD
Share
October 16, 2014 5:35:12 PM

Okay, the Windows 10 technical preview looks intriguing so I am going to dualboot that along with Ubuntu on my computer, but I do not know where to start. I know that I have to burn Windows 10 onto the disk and all that, but the hard drive partitioning is where I am at a loss. Here is what I have partition-wise in Ubuntu:


So there are my partitions, and it seems I have 3 of them. I am guessing that the OS is installed on Partition 1 and the programs and files on Partition 2 (correct me if wrong). Partition 3 I am unsure. Here is what I want to know:

1) How many new partitions must I create for Windows 10?
2) Can I reduce the maximum possible size of partition 2 to make more room for a new partition?
3) What is really the difference in all these partitions? I mean their purposes.
4) In general, what must I do in order to dualboot Win 10?

I am experienced in computers, but I never dualbooted before. Thanks!

More about : dualbooting partitioning ubuntu

October 17, 2014 3:46:58 AM

Use the program gparted to shrink partitions.
You have /boot on sda1 which just contains boot files and your kernel. The rest of your OS is entirely on sda2. Sda3 is your swap file, "virtual memory" that exists on your HDD in case you accidentally fill up your RAM.
m
0
l
October 17, 2014 5:57:51 AM

Thxs skittle! After I shrink sda2, will I only need one new partition for Windows, and what should I name it? It's hard finding tutorials online for partitioning in Ubuntu for Windows, most tutorials are the other way around.
m
0
l
Related resources
October 17, 2014 7:41:15 AM

After you shrink your root (/) partition, boot into windows installer and simply install it to the free space you just created, you don't need to create a partition with gparted here (or if you do, simply format the empty partition as NTFS).

Windows will overwrite the GRUB code in MBR with its own. To get back into Linux you will need to boot into an Ubuntu LiveCD and use the boot repair tool.

Probably it is easier to test Windows 10 in VirtualBox, VMware or KVM instead ;) 
m
0
l
October 17, 2014 5:52:33 PM

skittle said:
After you shrink your root (/) partition, boot into windows installer and simply install it to the free space you just created, you don't need to create a partition with gparted here (or if you do, simply format the empty partition as NTFS).

Windows will overwrite the GRUB code in MBR with its own. To get back into Linux you will need to boot into an Ubuntu LiveCD and use the boot repair tool.

Probably it is easier to test Windows 10 in VirtualBox, VMware or KVM instead ;) 


Why would I need a liveCD? Wouldn't I get a boot menu when I start up the computer and then select which OS I want to boot to?
m
0
l
October 17, 2014 8:25:02 PM

Basically what happens:
Ubuntu has its own boot loader, GRUB. Its writes information to MBR that points to the /boot partition to find the boot files.

When you install Windows the MBR will be over written with windows boot loader. Windows is not aware of Linux or GRUB so you will not be able to boot into your Linux unless you reinstall GRUB to the MBR. Easiest way to do this is via Ubuntu liveCD/USB.

PS this is why recommended dualboot process is to install windows *first* because grub will detect windows!
m
0
l
October 18, 2014 2:02:24 AM

Bootrepair doesn't come with Ubuntu, you have to install it but it is easy as pie to use.
https://help.ubuntu.com/community/Boot-Repair

Installing Win10 in a virtual box works to a point. There is no "guest additions" yet so no USB or shared folders.
m
0
l
October 18, 2014 6:54:48 AM

Okay thx guys! Would there be a difference if the computer had two hard drives rather than one? Meaning one OS on each hard drive? Just curious, because then all this stuff is probably simpler I'm guessing that you can just select which hard drive to boot to. Also, if you have two hard drives, one for Ubuntu one for Windows, then in Ubuntu could you read files off the Windows hard drive?
m
0
l
!