Create disk format for guest system

This is for discussing general topics about how to use VirtualBox.
Post Reply
edwardleung
Posts: 15
Joined: 27. Jan 2012, 16:44
Primary OS: Other
VBox Version: OSE other
Guest OSses: Windows and Linux

Create disk format for guest system

Post by edwardleung »

Hello to you,

Which following method ( file type ) is recommend for creating the guest on host ( Windows / Linux ) ?
1, VDI
2, VMDK
3, VHD
4, HDD

Thanks !

Edward.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Create disk format for guest system

Post by Perryg »

VDI is the native (default) format for VirtualBox. Unless you have a specific reason to chose something else you should stay with the default.
edwardleung
Posts: 15
Joined: 27. Jan 2012, 16:44
Primary OS: Other
VBox Version: OSE other
Guest OSses: Windows and Linux

Re: Create disk format for guest system

Post by edwardleung »

How can we split into around 2GB size for each file ?

Thanks !
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Create disk format for guest system

Post by stefan.becker »

Not supported with vdi.

Possible in vmdk format from VMWARE. No idea, if VBOX can do this at creation point, never tested.

For what do you need 2 GB pieces?
edwardleung
Posts: 15
Joined: 27. Jan 2012, 16:44
Primary OS: Other
VBox Version: OSE other
Guest OSses: Windows and Linux

Re: Create disk format for guest system

Post by edwardleung »

If the VDI support 2GB pieces :
1, Backup the data in USB or other fat32.
2, It is sample to do the VM data backup in another location in schedule.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Create disk format for guest system

Post by stefan.becker »

If you have problems with backup, then use a filesystem like ntfs. FAT32 is crappy old garbage.

Its always better to have one vdi file. No snapshots, no clones, no 2 GB pieces.

You may use the search function. You will not often found problems with crashed vdi files. But there are much topics for clones, snapshots etc.

If i will test something, i copy the whole vdi file to a recovery medium.
edwardleung
Posts: 15
Joined: 27. Jan 2012, 16:44
Primary OS: Other
VBox Version: OSE other
Guest OSses: Windows and Linux

Re: Create disk format for guest system

Post by edwardleung »

Hello,

Do you means the usb token support with ntfs format by today ?

Thanks !
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Create disk format for guest system

Post by stefan.becker »

Yes, why not using NTFS for external hard discs?

Every OS like Windows, Mac or Linux supports NTFS.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Create disk format for guest system

Post by mpack »

Windows does not make it easy to use NTFS on portable media, so I don't agree with Stefan on this.

However...

Backup tools are available which will split a large hdd file into 2GB chunks for backup purposes. There is no need to hamstring VirtualBox with your backup needs. Also disk imaging tools such as Acronis will pack the entire source disk image into one humungous image file which it will split if needed to store on FAT32 backup media. Again there is no reason to inflict the shortcomings of the backup media onto VirtualBox.

So, use VDI.
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: Create disk format for guest system

Post by Sasquatch »

I think the user meant by making a backup, he just copies the files from one location to another and that other location just happens to be a FAT32 drive.

If you're really concerned about the max file size of the destination location, then you can always use 7zip, Quickpar or similar to split the file into multiple chunks to restore later on. All archiving software has options to make split files while compressing.
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.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Create disk format for guest system

Post by stefan.becker »

mpack wrote:Windows does not make it easy to use NTFS on portable media, so I don't agree with Stefan on this.
Why not? Just for interest, i only use ntfs with windows and linux with ext3/4.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Create disk format for guest system

Post by mpack »

stefan.becker wrote:
mpack wrote:Windows does not make it easy to use NTFS on portable media, so I don't agree with Stefan on this.
Why not? Just for interest, ...
Well, for example (1) NTFS isn't even offered as a format option for a portable drive, as long as the drive is optimized for quick removal. (2) Since quick removal isn't an option it means that absent mindedly removing the drive may corrupt it, not an attractive feature in a backup drive.
Post Reply