Mount Solaris Express CE's partition in FC7
I have got three OSs (Windos2003, Solaris Express CE, FC7) , I am looking to mount solrais partition through FC7
This what I had done : [root@localhost mnt]# mkdir /mnt/SOL [root@localhost mnt]# cat /etc/fstab Code:
LABEL=/ / ext3 defaults 1 1 Code:
[root@localhost ~]# fdisk -l [root@localhost SOL]# mount -oufstype=sunx86 /dev/sda3 /mnt/sol [root@localhost SOL]# mount -o ro -t ufs /dev/sda3 /mnt/SOL mount: /dev/sda3 already mounted or /mnt/SOL busy I found similar threads here : http://www.opensolaris.org/jive/thre...ssageID=120615 http://www.unixguide.net/sun/x86faq/9.23.shtml |
Output for FC7 /boot/menu.lst
Code:
# grub.conf generated by anaconda |
Your fstab is mounting the Solaris partition as Linux swap ... :confused: !!
This is a good way to destroy your Solaris installation. Moreover, you try to mount that primary partition while you should instead mount ufs slices. You need to check also if ufs support is there in your distribution. Have a look at the O/S boot messages (dmesg) to see if the slices are detected by the Linux kernel. |
I'm surprised it even mounted as swap. What does "swapon -s" display; whilst you're in dmseg, have a look for any swap related messages as well.
|
Quote:
|
Quote:
Code:
Filename Type Size Used Priority Quote:
Code:
[root@localhost ~]# dmesg | grep solaris |
Whoa !!!.
O.K., delete the line for /dev/sda3 (for swap) out of fstab, and do a "swapoff /dev/sda3" from your (running) Linux system. After that, it's over to jlliagre for advice regarding Solaris |
Quote:
Code:
LABEL=/ / ext3 defaults 1 1 |
Yep - looks o.k.
|
I hope swapoff isn't going to do destructive actions.
Anyway, you should then try to mount sda9 (s0) and sda12 (s7) which are likely Solaris "/" and "/export". |
Quote:
Could you please let me know what the exact command for mounting sda9 (s0) and sda12 (s7) which are likely Solaris "/" and "/export". I just want to give a try and see |
Something like (I haven't a machine to check right now):
Code:
mount -t -ufs -o ufstype=sun,ro /dev/sda9 /mnt/solaris |
Quote:
Looks like it's unused anyway - at least when that display was done. |
Yes. I would be interested to know why the Solaris partition was set as swap in the first place. This used to be an issue with older versions when the Solaris partition id (0x82) was clashing with Linux swap.
Now Solaris id is 0xbf so there is no reason for this confusion to appear outside user mistake or Linux distribution hostile behavior ... I hope what happened is the former guess. |
Without changing the /etc/fstab, and without using swapoff command, I was able to mount. This is what i have done:
Code:
[root@localhost ~]# mount -o ro -t ufs /dev/sda9 /mnt/SOL |
All times are GMT -5. The time now is 09:26 PM. |