PDA

View Full Version : [all variants] How can I (auto)mount my OpenSolaris partition in Ubuntu?



the8thstar
July 4th, 2008, 11:15 PM
Hello,

I'm looking for a way to (auto)mount my OpenSolaris partition in Ubuntu. However, the instructions I followed on a tutorial do not work

For clarification,


root@the8thstar-laptop:/home/the8thstar# sudo fdisk -l

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

Device Boot Start End Blocks Id System
/dev/sda1 1 811 6514326 83 Linux
/dev/sda2 812 5776 39881362+ 83 Linux
/dev/sda3 * 5777 8528 22105440 7 HPFS/NTFS
/dev/sda4 8529 9729 9647032+ bf Solaris


root@the8thstar-laptop:/home/the8thstar# dmesg | grep sda
[ 20.728848] sd 2:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[ 20.728861] sd 2:0:0:0: [sda] Write Protect is off
[ 20.728864] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 20.728879] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 20.728924] sd 2:0:0:0: [sda] 156301488 512-byte hardware sectors (80026 MB)
[ 20.728933] sd 2:0:0:0: [sda] Write Protect is off
[ 20.728936] sd 2:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 20.728951] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 20.728954] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 20.810366] sda1 sda2 sda3 sda4
[ 20.840595] sda4: <solaris: [s0] sda5 [s1] sda6 [s2] sda7 [s8] sda8 >
[ 20.840738] sd 2:0:0:0: [sda] Attached SCSI disk
[ 106.616026] EXT3 FS on sda1, internal journal
[ 107.255618] EXT3 FS on sda2, internal journal

The command mount doesn't work either:


mount -t ufs -o ro /dev/sdaX /mnt (X is either 5, 6, 7 or 8 in this example)
mount: wrong fs type, bad option, bad superblock on /dev/sda8,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Am I missing some packages?

How can I edit fstab to do an automount for me?

Also, is there a way to include to have Grub recognize this partition?

the8thstar
July 5th, 2008, 12:41 AM
Bump

bab1
July 5th, 2008, 01:08 AM
Try:

http://www.cyberciti.biz/faq/howto-mount-ufs-partitions-under-linux/

the8thstar
July 6th, 2008, 12:16 PM
Her is MY problem I guess:


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).

I need to recompile the kernel. The question is: HOW?