Problem with mkfs.ext2, losetup, shared folders
Posted: 23. Feb 2016, 01:34
Hello,
although I'm not sure that this problems is already described, I'm going to post it here:
HOST: Windows 7 x64 SP 1/2 (Latest updates), AMD Processor, 4GB Mem
VM: VirualBox Version 5.0.14 r105127
Guest: Ubuntu 12.04.05 LTS 32 Bit
Problem:
I have shared a folder on a NTFS drive (share: /media/sf_E_DRIVE...), created there an 1 GByte binary with
made then with
a loop device and did then a
Till now it worked so far...
As I tried to access the bin file as ext2 file sytem image with
I got an error message something like
What's wrong?
although I'm not sure that this problems is already described, I'm going to post it here:
HOST: Windows 7 x64 SP 1/2 (Latest updates), AMD Processor, 4GB Mem
VM: VirualBox Version 5.0.14 r105127
Guest: Ubuntu 12.04.05 LTS 32 Bit
Problem:
I have shared a folder on a NTFS drive (share: /media/sf_E_DRIVE...), created there an 1 GByte binary with
Code: Select all
dd if=/dev/zero of=/media/sf_EDRIVE/file.bin bs=1G count=1Code: Select all
losetup /dev/loop4 /media/sf_EDRIVE /file.binCode: Select all
mkfs.ext2 /dev/loop4
mkdir /fsimage
As I tried to access the bin file as ext2 file sytem image with
Code: Select all
mount /dev/loop4 /fsimageCode: Select all
error mount: You have to specify th filesystem trype