Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,4)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=15
splashimage =(hd0,4)/grub/splash.xpm.gz
#hiddenmenu
# This is new kernel
title Fedora 7 (2.6.23.1-21.fc7)
root (hd0,4)
kernel /vmlinuz-2.6.23.1-21.fc7 ro root=LABEL=/ rhgb quiet
initrd /initrd-2.6.23.1-21.fc7.img
#I commented these below lines, because I used "Yumex" to update my system on 17-11-07
#title Fedora Core 7(2.6.21-1.3194.fc7)
# root (hd0,4)
# kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
# initrd /initrd-2.6.21-1.3194.fc7.img
# I say that windows partion is on sda1
title W2K3 Server
rootnoverify (hd0,0)
chainloader +1
makeactive
#I say that solaris partion is on sda3
title Solaris Express CE
rootnoverify (hd0,2)
chainloader +1
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Your fstab is mounting the Solaris partition as Linux swap ... !!
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.
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
I hope swapoff isn't going to do destructive actions.
Before doing this
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
I hope swapoff isn't going to do destructive actions.
Has happened at every shutdown, so I can't see any (further) damage eventuating. Merely causes swapped-out (physical rather than swap-cache) pages to be swapped back into storage, and the swap extent freed.
Looks like it's unused anyway - at least when that display was done.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
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
[root@localhost ~]# cd /mnt/SOL
[root@localhost SOL]# ls
bin devices home lost+found net proc tmp
boot etc kernel media opt sbin usr
dev export lib mnt platform system var
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.