Problem with installboot command !!
Hi all,
I need your help.
My SUN machine ( Sun Enterprise 220R) has 2 hard disks :
disk0 and disk1.
disk0 is the system disk from which I usually boot the system.
disk1 is the secondary disk I want to use for backups.
I made disk1 bootable with the installboot command :
installboot/usr/platform/`uname -i`/lib/fs/ufs/bootblk \
/dev/rdsk/c1t0d0s0
/dev/rdsk/c1t0d0s0 is the secondary disk.
But, at the Ok prompt, the system fails to boot from disk1 :
--error message begins here-
Rebooting with command: boot disk1
Boot device: /pci@1f,4000/scsi@3/disk@1,0 File and args:
Boot load failed.
The file just loaded does not appear to be executable.
{0} ok
--error message ends here-
does anybody know what that means or what can cause the above error?
# 2
Hi ,
> How did you copy the rest of the contents? Did you
> mirror the disks using disksuite? Or did you just
> copy the contents of disk0 to disk1?
I copied the rest of the contents using the "cpio" command.
i followed this procedure : http://www.teitara.com/clonedisk.html
>
> The easiest way to do this sort of things is to use
> disksuite.
>
> .7/M.
I'm using solaris 10, !! I think I should be using the volume manager(disksuite in solaris 10) but i'm not familiar with that tool.
Sakolan.
# 3
Well, if you copy a disk with cpio, you would have to replace the old disk with its copy before booting, since all the device links and mountpoints will point to the location of the old disk, hence it would be much easier to do that using the Solaris volume manager, which takes care of all those things for you, and gives you a more redundant system as well.
Still, this does not explain why you got this particular error.. Do you get any more output if you use:
boot -v disk1 ?
.7/M.
# 4
Hi,
> Still, this does not explain why you got this
> particular error.. Do you get any more output if you
> use:
>
> boot -v disk1 ?
boot -v disk1 will boot the default boot-device, so you mean
boot disk1 -v , don't you ?
yes, the boot disk1 -v gives the same error.
maybe I will have to find check SUN manuals on how to mirror disks with Solaris volume manager.
Can you recommend some good documents on the web about how to mirror disks in solaris ?
But I'm still curious why the installboot command doesn't work..
Thanks !!
Sakolan.