>
> boot_file
> boot_osflags
> bootdef_dev
> auto_action
>
> To set an SRM variable enter it like this at the console:
>
> set VariableName VariableValue
>
> In most cases you will probably want to set it like this (edit to fit
> your machine):
>
> set boot_file vmlinux.gz
> set boot_osflags root=/dev/sda1
> set bootdef_dev dka0
> set auto_action BOOT
>
almost entirely correct.... if you are still going to be using aboot, you
missed one thing..
set boot_osflags "0"
The zero being the number correponding to your choice in the
/etc/aboot.conf... This is escpecially important scince
swriteboot relys on that file, and builds the boot selections into aboot.
It should look somtehing like:
0 0:1/vmlinux.gz root=/dev/sda1
1 0:1/{Otherdir}/Other.kernel root=/dev/{disk}
Option number Drive number:Partition/file flags
> The first variable "boot_file" sets the name of the kernel to boot. The
> second "boot_osflags" defines the flags to pass to the kernel when
Not pasted to kernel, passed to aboot.
> booting - in this case only the name of the root filesystem, but you
> could add more kernel parameters if needed. The third variable
> "bootdef_dev" specifies the name of the default boot device (using the
> SRM naming scheme) dka0 is the name of the first SCSI harddrive (to boot
> from floppy use dva0, type show dev to see a complete list of all SRM
> devices). The last variable "auto_action" tells the SRM console what to
> do when booting, possile values are BOOT or HALT - boot wil auto-boot the
> OS (which is what you probably want) and HALT will drop you to an SRM prompt.
> After setting the variables you can just type boot at the SRM prompt to
> boot Linux with the values defined in the variables.
> If you configured them correctly it should now boot perfectly. If you set
> ”auto_action” to BOOT, the machine should be able to boot without any
> user intervention.
Yeah, all that is right, a "show config |more" will show you all the
devices detected at srm load. and their srm labels...
"show |more" will show you all you variables....
Depending on if it is alpha server or not "show power" will show the log
kept in NVRAM of all the fans, CPUs, and Powersupplies..
>
> -----
>
>
> /Jesper Juhl
> juhl@eisenstein.dk
> http://jesper.staff.groundcontrol.dk/
>
>
******************************************************************************
Greg Chandler
CEO Global Reach Communications Corp. {Yes I'm the damn CEO,
http://wizardsworks.org/grccorp/ nevermind the short pants,
mrceo@wizardsworks.org I am not a corporate
or chandleg@wizardsworks.org sell-out!}
******************************************************************************
Sir Ace's stuff:
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT d- s+: a-- C+++(++++) HILOSCXU++++$ P+ L+++$ E+ W+++(--) N+ o+ ?K
w--- O M(--) V(--) PS+ PE Y-(--) PGP- t+ 5 X+(++) R++(+++) tv- b-(+)
DI+++ D+++ g++ e+++++(*) h++(*) r--(---) y+
------END GEEK CODE BLOCK------
This archive was generated by hypermail 2b30 : Fri May 09 2003 - 10:00:02 PDT