Saturday, May 4, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 435  / 1 Year ago, mon, november 28, 2022, 1:21:53

I have Ubuntu running as a vm in VirtualBox at the moment, but in the future, if I want to dual-boot it with Windows or another OS installed on my hard-drive, what partitioning method should I use to make room for it?



1)Manually partition my hard drive via disk management in Windows (or the equivalent in another OS), making appropriate room for the main partition upon which Ubuntu will be installed and swap space;



2)Partition via the Ubuntu installer options;



3)Use gparted or another free tool like it.



I am uncertain as to why I would want to use one over the other.



Lastly, am I correct to think that it would be the acme of foolishness to try to partition drives within a virtual machine (since that partitioning would be inherently limited to the limitations set upon it by the virtualization software, e.g., VirtualBox)?



Thanks!



P.S. Oh, and I am also planning on not modifying the MBR of Windows if I ever do dual-boot with Ubuntu, using instead a piece of free software (like easyBCD or something) to avoid the headaches of Grub being overwritten by a Windows update.


More From » partitioning

 Answers
6

It all depends on what your current partitioning scheme is and what you want it to look like with Ubuntu installed. If you are familiar with GParted, I would highly recommend running that from the LiveCD and setting up partitions before starting the installer.




P.S. Oh, and I am also planning on not modifying the MBR of Windows if I ever do dual-boot with Ubuntu, using instead a piece of free software (like easyBCD or something) to avoid the headaches of Grub being overwritten by a Windows update.




In that case, use Windows' Disk Management to move/shrink all Windows partitions to the LEFT of the hard disk. You can then start directly with the Ubuntu Installer's partitioner -- create an extended partition in the free space, within which you can create all your Ubuntu partitions, and be sure to install Grub to the extended partition (typically something like /dev/sda5) and NOT to the MBR (/dev/sda).




am I correct to think that it would be the acme of foolishness to try to partition drives within a virtual machine




No. The hard disk in a virtual machine is like any other, so feel free to partition it, dual-boot your virtual machine, triple-boot it even! The only limitation is that of performance compared to a real hard disk, imposed by a combination of Virtualbox and the underlying physical hardware.


[#37382] Wednesday, November 30, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rmiend

Total Points: 292
Total Questions: 101
Total Answers: 111

Location: Azerbaijan
Member since Tue, Aug 9, 2022
2 Years ago
rmiend questions
Tue, Jan 18, 22, 23:52, 2 Years ago
Sat, Sep 17, 22, 15:44, 2 Years ago
;