Solaris 10 boot up failed with error message /etc/bootrc fails

Hi

I try to install Solaris 3/05 into my new Maxtor 160 GB hard drive. It is reserved 60G for window XP and 100G for Solaris 10.

The installation is smooth. After I eject Solaris 10 disk from DVD Rom and reboot. The solaris boot up menu appears, then I select the Solaris section. The message on screen displays path, then said "Source, Open /etc/bootrc fails".

Do I need to set up X86 boot sector as other post mentioned or I need to set up the boot up path in what file ?

I installed the same procedure with Solaris 8 on the same computer before and it worked fine.

Any idea is welcome. Thanks in advance.

William

[681 byte] By [wtien168] at [2007-11-25 22:57:41]
# 1

Is the new Maxtor the first boot device (BIOS / MSDOS drive C:)?

Solaris assumes that you're booting from bios drive C: ...

From some old notes:

--

Installed Solaris 10 b69 on c1d0s6.

c0d0 is the boot disk, master device on the primary ide channel.

c1d0 is another ide disk, master device on the secondary ide channel.

The physical device path for c1d0s6 is

# ls -l /dev/dsk/c1d0s6

lrwxrwxrwx1 rootroot 50 Jan 9 2004 /dev/dsk/c1d0s6 -> ../../devices/<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;1" target="_blank">ide@1</a>/<a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0:g

But the installer writes this to /boot/solaris/bootenv.rc:

# grep bootpath /sol10/boot/solaris/bootenv.rc

setprop bootpath /<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;0" target="_blank">ide@0</a>/<a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0:g

(Note: "<a href="mailto:ide&#64;0" target="_blank">ide@0</a>" instead of "<a href="mailto:ide&#64;1" target="_blank">ide@1</a>")

Solaris 10 cannot be booted from the secondary disk, the Solaris boot code

reports:

Run Error: File not found

boot: source: open of '/etc/bootrc' failed

Changing the bogus bootpath in bootenv.rc fixes the boot problem.

Workaround:

Interrupt the boot process, enter the DCA, and from the final "boot disk"

menu :

Mark the target disk -> "F4_Edit" -> "Select Boot Disk"

jkeil at 2007-7-5 17:13:02 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Thanks j.keil

My new Maxtor is on drive C.

I installed window XP on first section of hard drive (60G) and installed Solaris 10 on the remain. It got that error message.

I reformatted my Maxtor. Installed Solaris 10 on the first section of 100G. It still got that error message.

I will try your suggestion and will feedback to you soon.

Thanks so much.

wtien168 at 2007-7-5 17:13:02 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

I retry j.keil suggestion and it did not work.

(1) I cannot grep bootpath /sol10/boot/solaris/bootenv.rc since this path did not exist on current installation.

(2) Screen shows boothpath

/<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;0" target="_blank">ide@0</a>/<a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0:a

which is the first drive (C drive) of my system (I have second hard drive also).

(3) I checked the path /<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;0" target="_blank">ide@0</a> , there is nothing in this directory. We suppose have <a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0 , isn't it ?

(4) I browse the root and find following directories:

+boot<a href="mailto:i86pc-memory&#64;0" target="_blank">i86pc-memory@0</a>,0optionsitu-props

used-resources aliasesi86pc-mmu0,0<a href="mailto:packages&#64;0" target="_blank">packages@0</a>,0

isachosenopenpromdelayed-writes<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0

My system is Dell Optiplex, P3 450 Mhz, 512 Meg RAM,

2 hard drives, 2 DVD Roms.

Welcome to any one to suggest a solution.

Thanks in advance.

wtien168 at 2007-7-5 17:13:02 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>wtien168 wrote on Wed, 25 January 2006 00:39</b></td></tr><tr><td class="quote">

(1) I cannot grep bootpath /sol10/boot/solaris/bootenv.rc since this path did not exist on current installation.

</td></tr></table>

/sol10 is a mountpoint that I used on my machine to fix the problem.

I booted Solaris 9 from a different drive, and mounted the Solaris 10

root filesystem at /sol10 to fix the problem.

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr>& lt;td class="quote">

(2) Screen shows boothpath

/<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;0" target="_blank">ide@0</a>/<a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0:a

which is the first drive (C drive) of my system (I have second hard drive also).

(3) I checked the path /<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0/<a href="mailto:pci-ide&#64;7" target="_blank">pci-ide@7</a>,1/<a href="mailto:ide&#64;0" target="_blank">ide@0</a> , there is nothing in this directory. We suppose have <a href="mailto:cmdk&#64;0" target="_blank">cmdk@0</a>,0 , isn't it ?

</td></tr></table>

The disk's physical device path should exists under the /devices directory.

Note that these phsical device pathes encode pci device addresses are

are not the same on different mainboards. Most likely the physical

device path that I've been using on my machine doesn't work with

your machine!

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr>& lt;td class="quote">

(4) I browse the root and find following directories:

+boot<a href="mailto:i86pc-memory&#64;0" target="_blank">i86pc-memory@0</a>,0optionsitu-props

used-resources aliasesi86pc-mmu0,0<a href="mailto:packages&#64;0" target="_blank">packages@0</a>,0

isachosenopenpromdelayed-writes<a href="mailto:pci&#64;0" target="_blank">pci@0</a>,0

My system is Dell Optiplex, P3 450 Mhz, 512 Meg RAM,

2 hard drives, 2 DVD Roms.

</td></tr></table>

jkeil at 2007-7-5 17:13:02 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...