LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 07-25-2012, 09:10 AM   #1
Hosenfeld
LQ Newbie
 
Registered: May 2012
Posts: 3

Rep: Reputation: Disabled
Mounting VHD with minix


Hello,
sorry if I put this thread in wrong category, but I figured out that this one is the closest match.

I am trying to mount VHD file (20MB, fixed size, minix file system) to be able to copy files into it.

I tried (offset 40448 is for virtual box headers)
Code:
# mount -t minix -o loop,offset=40448 MinixDist.vdi /mnt
but it returns
Code:
mount: wrong fs type, bad option, bad superblock on /dev/loop1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
The suggested command from above returns
Code:
[535741.932059] vboxdrv: Found 32 processor cores.
[535741.938847] vboxdrv: fAsync=0 offMin=0x2dc offMax=0x17194
[535741.939315] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[535741.939320] vboxdrv: Successfully loaded version 4.1.18 (interface 0x00190000).
[535742.156339] vboxpci: IOMMU not found (not registered)
[540255.522529] SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts
[617986.183901] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[617986.196252] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[617986.207128] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[617986.216391] ISOFS: Unable to identify CD-ROM format.
[617986.225389] FAT-fs (loop1): bogus number of reserved sectors
[617986.225396] FAT-fs (loop1): Can't find a valid FAT filesystem
[617986.241237] hfs: can't find a HFS filesystem on dev loop1.
[617986.251303] hfs: unable to find HFS+ superblock
[617992.403405] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop1.
[618045.617854] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop1.
[621257.207649] nbd: registered device at major 43
[621406.365284] tun: Universal TUN/TAP device driver, 1.6
[621406.365287] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[621428.943778] MINIX-fs: mounting unchecked file system, running fsck is recommended
[621428.943787] SELinux: initialized (dev nbd0, type minix), not configured for labeling
[621499.445638] MINIX-fs: mounting unchecked file system, running fsck is recommended
[621499.445650] SELinux: initialized (dev nbd0, type minix), not configured for labeling
[629634.642535] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[629634.653211] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[629634.666108] EXT4-fs (loop1): VFS: Can't find ext4 filesystem
[629634.677909] ISOFS: Unable to identify CD-ROM format.
[629634.691489] FAT-fs (loop1): bogus number of reserved sectors
[629634.691497] FAT-fs (loop1): Can't find a valid FAT filesystem
[629634.702273] hfs: can't find a HFS filesystem on dev loop1.
[629634.716390] hfs: unable to find HFS+ superblock
[629645.315200] VFS: Can't find a Minix filesystem V1 | V2 | V3 on device loop1.
 
Old 07-25-2012, 04:21 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,139

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
It is not a minix filesystem, it is a virtual hard drive. You need support for or a way to use a vdi in your OS first. Then if the OS supports the internal filesystem you can then access it.

http://bethesignal.org/blog/2011/01/...box-vdi-image/
 
1 members found this post helpful.
Old 07-26-2012, 02:55 AM   #3
Hosenfeld
LQ Newbie
 
Registered: May 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks, mounting works. Still I am not able to write to the mounted disk.
 
Old 07-26-2012, 03:21 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,139

Rep: Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364Reputation: 1364
Not you can mount the vdi and can read it but can't write to it? How hard would it be to just boot the VM?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
partitioning qemu-img; share your wisdom and what you got on vhd? linus72 Linux - General 3 06-14-2009 10:41 AM
Possible to transfer files to/from portable vhd from/to PC? linus72 Linux - Newbie 2 05-26-2009 09:22 PM
Ubuntu freezing at boot on qemulator vhd-how to fix? linus72 Linux - Newbie 0 05-17-2009 08:41 PM
Expanding a VHD's size? Mark_667 Linux - Software 0 12-11-2008 11:42 AM
help with mounting on Minix? r_b Linux - Newbie 0 02-07-2002 01:38 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration