Hi Alexander,
Solaris partition is not a filesystem holder. It's more like Extended
partition. It contains slices.

What you want to do is
# prtvtoc /dev/rdsk/c5d0s0
to see what slices are used and mount the slice.
Or if it's a ZFS filesystem then you can try:
# zpool import
to see what zpools are available.

Regards,
Milan Cermak

Alexander Bubnov wrote:
> Hello,
> 
> My MBR is erased by linux install manager. And I would like to see
> grub settings on solaris partition to add them to linux grub menu, but
> I cannot mount solaris partitions under opensolaris live cd.
> 
> 
> -bash-3.2# format
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>        0. c5d0 <DEFAULT cyl 16966 alt 2 hd 255 sec 63>
>           /[EMAIL PROTECTED],0/[EMAIL PROTECTED],5/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED],0
> 
> 
> 
> -bash-3.2# fdisk /dev/rdsk/c5d0p0
> 
> 
>   Partition   Status    Type          Start   End   Length    %
>       =========   ======    ============  =====   ===   ======   ===
>           1                 Solaris2          1  16969    16969     56
>           2       Active    Linux native   16970  30069    13100     43
>           3                 EXT-DOS        30070  30400     331      1
> 
> I created /1 directory for mounting
> 
> -bash-3.2# mount /dev/dsk/c5d0p0 /1
> mount: /dev/dsk/c5d0p0 is not this fstype
> -bash-3.2# mount /dev/dsk/c5d0p1 /1
> mount: /dev/dsk/c5d0p1 is not this fstype
> -bash-3.2# mount /dev/dsk/c5d0p2 /1
> mount: /dev/dsk/c5d0p2 is not this fstype
> -bash-3.2# mount /dev/dsk/c5d0p3 /1
> mount: /dev/dsk/c5d0p3 is not this fstype
> 
> 
> -bash-3.2# mount -Fufs /dev/dsk/c5d0p0 /1
> mount: /dev/dsk/c5d0p0 is not this fstype
> -bash-3.2# mount -Fufs /dev/dsk/c5d0p1 /1
> mount: /dev/dsk/c5d0p1 is not this fstype
> -bash-3.2# mount -Fufs /dev/dsk/c5d0p2 /1
> mount: /dev/dsk/c5d0p2 is not this fstype
> -bash-3.2# mount -Fufs /dev/dsk/c5d0p3 /1
> mount: /dev/dsk/c5d0p3 is not this fstype
> 
> -bash-3.2# dmesg | tail
> Jul 30 04:09:39 opensolaris last message repeated 1 time
> Jul 30 04:09:39 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x0)
> Jul 30 04:10:10 opensolaris last message repeated 2 times
> Jul 30 04:33:26 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x0)
> Jul 30 04:33:44 opensolaris last message repeated 1 time
> Jul 30 04:33:46 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x696c7356)
> Jul 30 04:33:47 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x0)
> Jul 30 04:34:05 opensolaris last message repeated 2 times
> Jul 30 04:34:09 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x696c7356)
> Jul 30 04:34:10 opensolaris ufs: [ID 717476 kern.notice] NOTICE:
> mount: not a UFS magic number (0x0)
> 
> 
> What is wrong? How can I mount an opensolaris's partition under
> opensolaris? Which FS type is used for opensolaris?
> 


-- 
* There is an ancient curse saying: 'Interesting times on you.' *
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to