Booting from a different disk

From: sunmanagers freehome.ch (sunmanagers@freehome.ch)
Date: Thu Mar 06 2003 - 16:37:37 EST


Hi Sunmanagers

Ok I thought I know how it works but I didn't! :-(

I have a short question which should be for the most Sun Gurus no problem:

If a Sun Server would be installed the installation makes a alias under the
name boot (if you chose the option Autoreboot). Ok so far so good...it works
find no problem. Now if the alias will be deleted or if a new alias should
be genereated like altboot or newboot to boot from an other disk etc. I
thought the command under OpenBoot prompt will be:

- verify under normal prompt which is the patch to the disk

# ls -la /dev/dks/c1t0d1s0

../../devices/iommu@0,10000000/sbus@0,10001000/SUNW,soc@1,0/SUNW,pln@a000000
0,753a58/ssd@0,1:a

- go to the OpenBoot prompt and set a new alias like

ok nvalias newboot
/devices/iommu@0,10000000/sbus@0,10001000/SUNW,soc@1,0/SUNW,pln@a0000000,753
a58/ssd@0,1:a

- now boot with the new alias

ok boot newboot

- it doesnt work why?
- next question...if I would like to delete the new alias like newboot I
thought it is

Ok nvunalias newboot

- it doesnt work because with the command devalias the alias will be shown
and it is not deleted why?

Could somebody give me some answers...perhaps I forgott something..mmmhh
would be nice to have an answer.....I will summary the whole thing because
the reason I would do this is to set up on a A1000 with several disks for
testing and I think I'm not the only one which does or will do this. All
disk would have the same Solaris installation and if I test and the OS will
crash I use the next disk and then I must boot from the next disk and test
there or restore the first disk with dd command and so on ......!

Kind regards

Andrea Soliva
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:57 EDT