About Linux FAQ

Browse More FAQs:

Linux Mount Solaris x86 UNIX UFS Partitions

Posted by Vivek Gite [Last updated: May 18, 2008]

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:

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!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , , ,

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.