LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 11-17-2007, 08:49 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
Exclamation Solaris 10 11/06 error


hi,
i am new to solaris and just started to install the solaris 10 11/06 x86, the partition for solaris installation is the first primary partition of primary IDE master, the slices was cusmtomized for 2 one / 14 GB and other swap 1300 MB, the installation process completed 100% but then hanged with this error messages:
Installing boot information:
-Updating boot enviroment configuration
-Installing boot blocks (c0d0)
-Installing boot blocks (/dev/rdsk/c0d0s0)
connot open/stat device /dev/rdsk/c0d0s2
ERROR: installboot (1M) failed
ERROR: could not install boot blocks\par
I add the solaris to the fedora grub as:
title Solaris
rootnoverify (hd0,0)
makeactive
chainloader +1

but grub can't boot the solaris with message like not executable format.
any one can help please how to install solaris grub to the mbr from the solaris dvd? i need help step by step with the correct slices parameters.
 
Old 11-18-2007, 09:50 AM   #2
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by shams View Post
hi,
i am new to solaris and just started to install the solaris 10 11/06 x86, the partition for solaris installation is the first primary partition of primary IDE master, the slices was cusmtomized for 2 one / 14 GB and other swap 1300 MB, the installation process completed 100% but then hanged with this error messages:
Installing boot information:
-Updating boot enviroment configuration
-Installing boot blocks (c0d0)
-Installing boot blocks (/dev/rdsk/c0d0s0)
connot open/stat device /dev/rdsk/c0d0s2
ERROR: installboot (1M) failed
ERROR: could not install boot blocks\par
I add the solaris to the fedora grub as:
title Solaris
rootnoverify (hd0,0)
makeactive
chainloader +1

but grub can't boot the solaris with message like not executable format.
any one can help please how to install solaris grub to the mbr from the solaris dvd? i need help step by step with the correct slices parameters.
I think you are not using Solaris GRUB, but Fedora's.
Fedora's GRUB will not work, since it cannot read Solaris' default filesystem UFS.
How can you take care of this?
Somewhere during the installation you bump into an option "Use Solaris GRUB or other bootmanager?" (or something similar).
Choose for "Solaris GRUB".
For a good understanding of Solaris Boot procedure and GRUB's role in this, please read this paper:
http://www.sun.com/bigadmin/features...ot_solaris.jsp

You can install Solaris GRUB afterwards by using the Solaris CD/DVD and boot. Then mount "a" for repair.
Then run grub-install: sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/dsk/c0d0s0

Thanks, C

Last edited by coolster; 11-18-2007 at 09:53 AM. Reason: typo's
 
Old 11-18-2007, 10:46 AM   #3
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
thanks for the reply, i got little further success in solaris instllation steps, now the whole installation process completed including grub installation, but still can boot solaris, when i reboot the system after installation, got the black screen with bad PRB sig message, then i booted to the single user mode from the solaris 10 dvd and again install the gurb to the MBR with this command:
/sbin/installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0c0s0
the output of process was successful without any error, but when i reboot the system, now got the black screen with the grub word, and a blanking cursor not even the grub prompt, the i install the fedora in the other partition and gurb to the MBR and the solaris to the fedora grub:
title solaris
root (hd0,0)
chainloader +1
makeactivera
but after boot this is the error:Booting solaris
root (hd0,0)
File system type unknown, partition type 0xbf
Error 13: Invalid or unsupported excutable format
please help, if there is any way to start the solaris?

Last edited by shams; 11-18-2007 at 11:30 AM.
 
Old 11-18-2007, 12:51 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Is there more than one hard disk on your machine ? It looks like Solaris grub is still not on the boot disk.
 
Old 11-19-2007, 03:31 AM   #5
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
yes but that was not plugged while installation, that is the primary slave and the solaris one is the primary master.
 
Old 11-19-2007, 04:43 AM   #6
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by shams View Post
yes but that was not plugged while installation, that is the primary slave and the solaris one is the primary master.
Knowing this, I think you have to take a closer look at some matters in the devicetree.
Visit this weblog...
http://blogs.sun.com/PotstickerGuru/...laris_machines
...and start reading at
=> "Boot into Solaris Safeboot mode. You get there through the Grub menu, usually the 2nd option".
Then......
- Run "devfsadm -r /a" to rebuild the device tree.
- Edit /a/boot/solaris/bootenv.rc and modify the line with "setprop bootpath '/pci@0,0xxx@ to match the path you'll find mounted for /a (when you run 'df -k' command, you see /a mounted from /dev/dsk/c1d0s0).
- The path to bootpath you are looking for is the hard disk which is mounted as /a and you need to find the expanded /devices/pci@0,0/xxx path and put that in the aforementioned bootenv.rc file on the Solaris root filesystem on the hard disk.
- Then run "bootadm update-archive -v -R /a" to rebuild the boot-archive on /a.
- Now edit /etc/vfstab (but first check)
- Do a 'touch /a/reconfigure'
- Reboot

Say a prair.

Cheers, C.
 
Old 11-20-2007, 07:39 AM   #7
xramm
LQ Newbie
 
Registered: Sep 2007
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by coolster View Post
Knowing this, I think you have to take a closer look at some matters in the devicetree.
Visit this weblog...
http://blogs.sun.com/PotstickerGuru/...laris_machines
...and start reading at
=> "Boot into Solaris Safeboot mode. You get there through the Grub menu, usually the 2nd option".
Then......
- Run "devfsadm -r /a" to rebuild the device tree.
- Edit /a/boot/solaris/bootenv.rc and modify the line with "setprop bootpath '/pci@0,0xxx@ to match the path you'll find mounted for /a (when you run 'df -k' command, you see /a mounted from /dev/dsk/c1d0s0).
- The path to bootpath you are looking for is the hard disk which is mounted as /a and you need to find the expanded /devices/pci@0,0/xxx path and put that in the aforementioned bootenv.rc file on the Solaris root filesystem on the hard disk.
- Then run "bootadm update-archive -v -R /a" to rebuild the boot-archive on /a.
- Now edit /etc/vfstab (but first check)
- Do a 'touch /a/reconfigure'
- Reboot

Say a prair.

Cheers, C.
I using vmware to run Solaris 10 OS in my PC due to fast take over of Vmware ;grub only switches between fedora and windows
F Y I
 
Old 11-21-2007, 10:10 AM   #8
shams
Member
 
Registered: Jan 2004
Posts: 535

Original Poster
Rep: Reputation: 30
I read a chatting archive about solaris booting problems, and there was written there should be a file boot.bin in the /boot/solaris, i checked and there is no any boot.bin file in the /boot/solaris there is a directory "bin" and some other files, i tried to install to other hard disk, but got the same problem, i got the dvd's from the sun.com, i don't know the problem will be with dvd's or the devices?
 
Old 11-21-2007, 10:51 AM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
This boot.bin file was used until Grub replaced Solaris on x86 legacy boot loader. It is now obsolete so you do not need it any more.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tftp in solaris error max- Solaris / OpenSolaris 2 09-14-2007 12:40 PM
[SOLVED] Opera on Solaris (run error) LAN-Dominator.nl Solaris / OpenSolaris 11 07-29-2007 01:40 PM
Solaris install error 13 Sir Loin Solaris / OpenSolaris 3 02-15-2007 02:26 PM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM
Error after Solaris * upgrade sknoxy Solaris / OpenSolaris 2 07-21-2004 01:24 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration