[osol-discuss] mount solaris2 partitions
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 StatusType Start End Length% = == = === == === 1 Solaris2 1 1696916969 56 2 ActiveLinux native 16970 3006913100 43 3 EXT-DOS30070 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? -- /BR, Alexander ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] mount solaris2 partitions
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 StatusType Start End Length% = == = === == === 1 Solaris2 1 1696916969 56 2 ActiveLinux native 16970 3006913100 43 3 EXT-DOS30070 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
Re: [osol-discuss] mount solaris2 partitions
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. If you're talking about OpenSolaris 2008.05, you likely have a ZFS based filesystem. What is wrong? How can I mount an opensolaris's partition under opensolaris? Which FS type is used for opensolaris? Since they are likely ZFS datasets, you need to use ZFS to mount them. Something like: pfexec zpool import -f -R /tmp/rpool rpool -- Shawn Walker ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org
Re: [osol-discuss] mount solaris2 partitions
Thank you very match for help. I have done it! 2008/7/30 Shawn Walker [EMAIL PROTECTED]: 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. If you're talking about OpenSolaris 2008.05, you likely have a ZFS based filesystem. What is wrong? How can I mount an opensolaris's partition under opensolaris? Which FS type is used for opensolaris? Since they are likely ZFS datasets, you need to use ZFS to mount them. Something like: pfexec zpool import -f -R /tmp/rpool rpool -- Shawn Walker -- /BR, Alexander ___ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org