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.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by mikaelstaldal
That might be the case. I don't understand Solaris device names.
c<controller number>d<disk number>p<partition number> means it's a disk with no target, either IDE or SATA in PATA emulation mode.
c<controller number>t<target number>d<disk number>p<partition number> means a disk with a target (SCSI ID) or SATA when a supported controller is used.
p0 mean the whole disk
the command "grep -i sata /boot/solaris/devicedb/master" should show you the supported SATA controllers on your Solaris release.
Is there a setting in your BIOS to toggle your SATA interface to PATA emulation / non RAID mode or something like this ?
Yes, there is some kind of mode for compatibility with older operating systems (is OpenSolaris an "older operating system"?). When I activated that, I got different results:
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Okay, that's better now. Solaris properly see your disk.
You have 20 GB available to create partition #2. I would suggest you to create this partition under Linux (that would be /dev/sda2) and give it the Solaris2 id (0xbf) then see if Nexenta installer agree to install itself there (/dev/rdsk/c0d0p2).
Okay, that's better now. Solaris properly see your disk.
You have 20 GB available to create partition #2. I would suggest you to create this partition under Linux (that would be /dev/sda2) and give it the Solaris2 id (0xbf) then see if Nexenta installer agree to install itself there (/dev/rdsk/c0d0p2).
I have done that now, and it installed without any errors. However, now I cannot boot Nexenta. I answered NO on the question about installing GRUB in MBR, since I didn't want to loose ability to boot Linux.
How can I make my Linux-GRUB to boot Nexenta?
I have tried this,
Code:
title Nexenta OS "Elatte" [Chainload]
root (hd0,1)
makeactive
chainloader +1
boot
but I get
Code:
Error 13: Invalid or unsupported executable format
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by mikaelstaldal
I have done that now, and it installed without any errors. However, now I cannot boot Nexenta. I answered NO on the question about installing GRUB in MBR
That was a mistake.
Quote:
since I didn't want to loose ability to boot Linux.
There was no reason to suspect this, grub can boot linux.
Quote:
How can I make my Linux-GRUB to boot Nexenta?
You can't.
Quote:
I have tried this,
Code:
title Nexenta OS "Elatte" [Chainload]
root (hd0,1)
makeactive
chainloader +1
boot
Ok, that is not technically having Linux grub booting linux, just Linux grub passing the control to whatever boot loader is on that partition, if any. That could have been:
with Solaris grub, which have then really booted Solaris O/S
Quote:
but I get
Code:
Error 13: Invalid or unsupported executable format
Indeed, the grub delivered with Linux distros doesn't include Sun's contributions, and so has no driver for the ufs filesystem nor does it understand what a VTOC is.
I never tried that, but I believe you can fix that by running Sun's installgrub:
Code:
installgrub stage1 stage2 /dev/rdsk/c0t1d0s0
And edit you Solaris /boot/grub/menu.lst to have you linux entry so you can switch back to Linux.
Make sure Solaris one is correct.
Alternatively, you may want to replace your Linux grub by the Solaris one by adding the "-m" option (MBR) to the installgrub command.
Now I have installed it again and allowed it to install GRUB in MBR. I ended up with a defunct GRUB (it only displayed "GRUB" and did not accept any keyboard input). I couldn't boot Nextenta nor Linux
Quote:
Originally Posted by jlliagre
does it understand what a VTOC is.
Neither do I.
Quote:
Originally Posted by jlliagre
I never tried that, but I believe you can fix that by running Sun's installgrub:
I ran Sun's installgrub with -m. That made GRUB work, but I dit only get the GRUB command line, not any menu. Now I can boot my Linux manually, but still not Nexenta, it can't find the kernel. It doesn't seems to be able to read the Nextenta partition properly.
I tried to boot from the install CD and mount the Nexenta partition, but it didn't work.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by mikaelstaldal
Now I have installed it again and allowed it to install GRUB in MBR. I ended up with a defunct GRUB (it only displayed "GRUB" and did not accept any keyboard input). I couldn't boot Nextenta nor Linux
Ouch, too bad ...
Quote:
Neither do I.
Well, the label is a kind of table of "subpartitions", named slices, which all reside inside a primary partition. This is conceptually not very different than extended partitions, and Linux, with ufs support, treat them mostly the same.
Quote:
I ran Sun's installgrub with -m. That made GRUB work, but I dit only get the GRUB command line, not any menu. Now I can boot my Linux manually, but still not Nexenta, it can't find the kernel. It doesn't seems to be able to read the Nextenta partition properly.
What is your active partition ?
Quote:
I tried to boot from the install CD and mount the Nexenta partition, but it didn't work.
How did you try to mount it ?
Did you succeeded doing it before or was it the first time you did that ?
What was the error ?
Is your linux distro seeing the nexenta slices ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.