Linux Host: Safe to create VM Guests on NTFS partition?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
AlexG
Posts: 3
Joined: 30. Jun 2009, 03:50
Primary OS: Ubuntu 8.04
VBox Version: OSE other
Guest OSses: Wind XP

Linux Host: Safe to create VM Guests on NTFS partition?

Post by AlexG »

My system:
- Ubuntu 8.04.2 Hardy Heron (2.6.24-24-generic)
- Installed VirtualBox v2.2.4 r47978 for HH8.04 .
- 4 Gb Ram with dual boot partitions:
- Vista: 180Gb free
- Linux: 110Gb free
- Ubuntu always mounts the NTFS via "fuseblk" mount.

I have a dual boot system with 110Gb on the Linux side and 180Gb (NTFS) on
the Vista side. I hardly ever use the Vista partition (but I still want
to keep a MS OS just in case) , and I thought one way to make use of the idle
NTFS disk is to create VM guests on the NTFS partition.

Questions:
1. Is it safe to create VMs on a mounted NTFS partition?
2. Is there a speed penalty for using fuseblk?
3. Has anyone done this before?

Thanks in advance,

AlexG


PS: VirtualBox is one of the best Open Source software that I've ever seen.
Thanks to the team who created and released it to the public. I am in sheer awe!
TerryE
Volunteer
Posts: 3572
Joined: 28. May 2008, 08:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
Contact:

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by TerryE »

It will work BUT the ntfs-3g driver is slow compared to the native Ext3 FS. Why not just shrink the NTFS Partition and either extend the Ext3 partition or add another Ext3 one?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
AlexG
Posts: 3
Joined: 30. Jun 2009, 03:50
Primary OS: Ubuntu 8.04
VBox Version: OSE other
Guest OSses: Wind XP

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by AlexG »

TerryE wrote:It will work BUT the ntfs-3g driver is slow compared to the native Ext3 FS. Why not just shrink the NTFS Partition and either extend the Ext3 partition or add another Ext3 one?
I thought that there would be the performance hit when using NTFS.

Re: re-partitioning, I don't want to lose what I have on the Linux side. What would be the best/safest [re-]partitioning tool?

Thanks.
baf
Volunteer
Posts: 829
Joined: 27. Sep 2008, 06:18
Primary OS: Mac OS X Leopard
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux,xp,win7
Location: Luleå or Skellefteå, Sweden

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by baf »

I like gparted. But if it is important get/borrow an external disk and make an image before you do anything. Then nothing will go wrong.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
fixedwheel
Volunteer
Posts: 1699
Joined: 13. Sep 2008, 02:18

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by fixedwheel »

the best/safest [re-]partitioning tool?
fdisk, resize2fs, tune2fs, fsck, ntfsresize ... all available on a linux live CD (edit, found this ext3 tutorial, usage of ntfsresize is quite similar ...)

if your partition layout is 255 Heads and 63 Sectors you can go the easy way and use gparted, but from my experience gparted messes up with existing other Head&Sector number schemes (overwrites them to 255, 63), in most cases linux did not care about and continued to work but Windows was broken :arrow: check first with fdisk
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by Sasquatch »

I use Paragon Partition Manager most of the times for partition changes. You have to pay for it though, and comes in two 'versions'. One that you install on Windows and apply changes from there, which are done after a reboot, and one that you burn to a CD and use like a Linux LiveCD, where you can perform disk changes directly.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
graysky
Posts: 58
Joined: 14. Apr 2009, 22:44
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: WIndowsXP, Linux64

Re: Linux Host: Safe to create VM Guests on NTFS partition?

Post by graysky »

I do this using the ntfs-3g driver... I don't think it's noticeably slower than my ext4 partitions when running a guest OS.
Post Reply