TerryE wrote:If your VDI is of type static then you can use a loop mount to mount the VDI in your host using ntfs-3g and just accesses it like any other file system.
If it is a dynamic VDI then you can create a temporary VM using a liveCD. Then temporarily release your VDI from your XP VM and assign it to this VM. When you boot the live CD you can then open a command shell and do
Code: Select all
sudo -i
mkidir /xp
mount -t ntfs3g /dev/hda1 /xp
cd /xp
#You can now access and edit the XP VDI
If you want to move files to and from the host, there are various ways: e.g. a second static VDI which you can then loop mount on your host; good old ftp ...
Thanks again for your reply..
Got one more question (sorry..)
I did some research.. and did the followings: (there is a folder called 'a' under media)
1. I moved to where vdi file is stored.
2. sudo losetup /dev/loop0 Winxp.vdi <-- passed (because there was no error message)
3. sudo mount -t ntfs3g /dev/loop0 /media/a
mount: unknown filesystem type 'ntfs3g'
4. sudo mount -t ntfs /dev/loop0 /media/a
NTFS signature is missing.
Failed to mount '/dev/loop0': Invalid argument
The device '/dev/loop0' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
5. so I even tried
sudo losetup /dev/hda1 Winxp.vdi
/dev/hda1: No such file or directory
still not working. What went wrong???
Here is the information about my harddisk justi n case you need it.
sudo fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000344bc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 12 96358+ 83 Linux
/dev/sda2 13 1288 10249470 83 Linux
/dev/sda3 1289 10212 71682030 83 Linux
/dev/sda4 10213 30401 162168142+ 5 Extended
/dev/sda5 10213 26704 132471958+ 7 HPFS/NTFS
/dev/sda6 26705 30401 29696121 7 HPFS/NTFS
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000bb49e
Device Boot Start End Blocks Id System
/dev/sdb1 1 91201 732572001 83 Linux