Linux Mount Solaris x86 UNIX UFS Partitions
Q. How do I mount Solaris 10 / OpenSolaris x86 parition under Linux to access file system?
A. Solaris (and may other UNIX like) operating system use UFS (Unix file system) file system. You can use regular mount command to mount partition. mount command will not recognize the type of ufs automatically. You must specify the type of ufs by mount option:
- old : Old format of ufs, this is the default, read only. (Don’t forget to give the -r option.)
- 44bsd : For filesystems created by a BSD-like system like NetBSD,FreeBSD, and OpenBSD
- sun : For filesystems created by SunOS or Solaris on Sparc.
- sunx86 : For filesystems created by Solaris on x86.
- hp : For filesystems created by HP-UX, read-only.
- nextstep : For filesystems created by NeXTStep (read only).
- nextstep-cd : For NextStep CDROMs (block_size == 2048),
- openstep : For filesystems created by OpenStep (currently read only). The same filesystem type is also used by Mac OS X.
WARNING! These examples may requires Linux kernel recompile to support UFS file system. The UFS filesystem support is not enabled by default. You must compile the kernel with support for the UFS file system. (look for CONFIG_UFS_FS=m and CONFIG_UFS_FS_WRITE=y options). First create, mount directory:
# mkdir /mnt/solaris
Now, use mount command as follows:
# mount -t ufs -o ro,ufstype=sunx86 /dev/sdXY /mnt/solaris
# mount -t ufs -o ro,ufstype=sunx86 /dev/sdb1 /mnt/solaris
This will mount the first partition /dev/sdb1. Read mount command man page for further information:
$ man mount
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux: How do I list all USB devices?
- USB drive not being recognized under Linux
- Mount NFS filesystem in two different directories on same system
- kpartx: Linux Create Device Maps From Partition Tables ( mpath devices for partitions )
- Linux Hard Disk Format Command
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: filesystem type, filesystems, hp ux, linux mount, mac os x, mkdir command, mount command, mount linux, Mount UFS partitions, solaris x86, ufs file system, unix file system



Recent Comments
Today ~ 1 Comment
Today ~ 3 Comments
Today ~ 57 Comments
Yesterday ~ 9 Comments
Yesterday ~ 7 Comments