Thursday, January 17, 2008

Solaris specific

Using fdisk make 'Sun disklable'

  • fdisk /dev/sdb
    • s (create new empty Sun disklable)
    • d (delete (linux) partitions)
    • n (add a new partition)
    • l (list known partition types)
Something like:
  • /dev/sdb1.......0....279...140616..2..SunOS root
  • /dev/sdb2..u..279....580...151704..3..SunOS swap
  • /dev/sdb3.......0..17660..8900640..5..Whole disk
  • /dev/sdb7.....580...1629...528696..4..SunOS usr
  • /dev/sdb8....1629..17660..8079624..8..SunOS home
To mount sdb8 :
  • mount /dev/sdb8 /mnt -t ufs -o ufstype=sun,ro

No comments: