Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

mount ufs on linux.. help

807557Jan 24 2007 — edited Mar 15 2007
you may think this problem is more related to Linux forum.. but i feel this is right place for this..

i have solaris 10 and Fedora core 6..
i'm currently in FC 6.
trying to mount ufs partition of solaris on linux..

[root@localhost ]# uname -a
Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux

[root@localhost ]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2 12096 be Solaris boot
Partition 1 does not end on cylinder boundary.
/dev/sda2 2 2552 20480544 bf Solaris
/dev/sda3 2553 2564 96390 83 Linux
/dev/sda4 2565 9729 57552862+ 5 Extended
/dev/sda5 2565 9729 57552831 8e Linux LVM

i tried mount

mount -t ufs -o -r -o ufstype=sunx86 /dev/sda2 /mnt/b/
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

dmesg | tail -5
ufs was compiled with read-only support, can't be mounted as read-write

Comments

Dude!
Answer
VirtualBox can run VMs created by VMware Workstation or Server.

RHEL/CentOS/OEL:
# sudo yum install qemu

Ubuntu, Debian:
# sudo apt-get install qemu

1. Convert a VMWare Image to VirtualBox Image:
# qemu-img convert vmware.vmdk /tmp/vbox.bin

2. Use VBoxManage to convert image:
# VBoxManage convertdd /tmp/vbox.bin vbox.vdi

- Start Virtual Box
- Goto File > Virtual Disk Manager
- Click Add.  Locate and select the copied .vmdk file. Click OK.
- Create a New VM as usual using the added vmdk file
- Boot the VM


To convert virtualbox image in to vmware image you can use following:

1. Convert .vdi file in to .raw file
# VBoxManage internalcommands converttoraw vbox.vdi vbox.raw

2. Convert .raw file into .vmdk
# qemu-img convert -O vmdk vbox.raw test.vmdk
Marked as Answer by 732975 · Sep 27 2020
732975
Genius! Thank you Markus!
I've used VMware fusion (which is for mac, as you know it), but will that make any difference from the ones
created by VMware Workstation or Server ?

Edited by: user1175367 on Jul 28, 2010 3:49 PM
732975
comments as above.
Dude!
I do not use WMware Fusion on my Macbook Pro anymore since I needed Firewire support and therefore use rEFlt with native triple boot now.

Q.app, which is Qemu for MacOSX. It can be found here:
http://www.kju-app.org/

Qemu supports the following formats: qcow2 vvfat vpc bochs dmg cloop vmdk qcow host_device raw
# qemu-img.exe convert -O vmdk hdd.vdi hdd.vmdk

VMware provides a tool called VMware Converter. VMware Converter eases interoperability among VMware hosted products (Workstation, VMware Server, VMware Player, and Fusion), VirtualCenter-managed ESX Server 3.x and 2.5.x, and unmanaged ESX Server 3.x.

http://www.vmware.com/support/converter/doc/releasenotes_conv302.html

It's for Windows platform only, but below can be used to convert a Windows system running inside Virtualbox to WMware fusion on Mac.
http://www.vmware.com/download/fusion/windows_to_mac.html
732975
thank you
1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 12 2007
Added on Jan 24 2007
6 comments
411 views