On 16/07/07, Moinak Ghosh <Moinak.Ghosh at sun.com> wrote:
> James McBoyle wrote:
> > [...]
> > Hi Moinak,
> >
> > I'd already tried that, but did it again to make sure, and got the error:
> > bootadm: failed to open file:
> > /mnt/solaris0//platform/i86pc/kernel/unix: No such file or directory
> >
> > It looks to me as though the hdinstaller is not putting the unix
> > kernel into the right place, and because of that grub cannot create a
> > boot_archive. This means a failed boot.
> >
> > To try and work around this problem I tried manually copying the unix
> > kernel in /boot/platform/i86pc/kernel/unix over to the
> > /platform/i86pc/kernel directory. note I had to create the kernel
> > directory manually. This gave the errors I reported in my opening
> > email.
> >
>
>    That's weird. All the files were probably not copied properly. While
> booted
>    from livecd do this:
>
>    cd /
>    tar cpf - platform | (cd /mnt/solaris0; tar xpf -)
>

Hi Moinak,

I tried that, and it populated the /platform directory with a lot of
new files, so I rebooted.

Unfortunately I got the following error trace when I tried to boot
from the hard disk:

krtld: error during initial load/link phase
Unexpected trap
instruction pointer  0xc0cc0f
error code, optional 0x2
code segment         0x10
flags register       0x10082
Attempting stack backtrace:
Stack traceback:
instruction pointer  0xfe84791d
error code, optional 0x0
code segment         0x10
flags register       0x10046
Attempting stack backtrace:
Stack traceback:
 mutex_vector_enter+35(0xfe84791d,0x10,0x10046,0x0,0xc0cb0c,0x0)
unexpected trap in early boot

Thinking it might have been a problem with the boot_archive, as
suggested for some boot problems I deleted the current one and updated
via bootadm, which gave this output:

(root at belenix)# bootadm update-archive -R /mnt/solaris0
Creating ram disk for /mnt/solaris0
updating /mnt/solaris0/platform/i86pc/boot_archive...this may take a minute
updating /mnt/solaris0/platform/i86pc/amd64/boot_archive...this may
take a minute
/mnt/solaris0//boot/solaris/bin/create_ramdisk[44]:
/mnt/solaris0/platform/i86pc/amd64/boot_archive-new:
cannot create
/mnt/solaris0/platform/i86pc/amd64/boot_archive-new: No such file or directory
/mnt/solaris0//boot/solaris/bin/create_ramdisk[33]: test: argument expected
mv: cannot access /mnt/solaris0/platform/i86pc/amd64/boot_archive-new
bootadm: couldn't create boot archive:
/mnt/solaris0//platform/i86pc/amd64/boot_archive

Upon rebooting I saw the exact same error trap messages as the one
above, including the exact same hex codes.

Seems I still have a problem... sorry about this.

Have Fun,
Jim.

Reply via email to