* automatic boot of UDB
@ 1999-02-07 5:00 Rob Clark
1999-02-07 5:00 ` St. Suika Roberts
0 siblings, 1 reply; 2+ messages in thread
From: Rob Clark @ 1999-02-07 5:00 UTC (permalink / raw)
I finally have my UDB installed (w/ debian) and running, but I have one last
problem. I need to be able to make my UDB boot un-attended, without a
monitor. Does anyone have any info on how to do this? Right now I have milo
on a floppy disk, so I need to type "boot dva0" from the SRM prompt, and then
"boot hda2:/vmlinux.gz root=/dev/hda2" from milo. Is it possible to automate
these two steps?
Thanks
--Rob
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: automatic boot of UDB
1999-02-07 5:00 automatic boot of UDB Rob Clark
@ 1999-02-07 5:00 ` St. Suika Roberts
0 siblings, 0 replies; 2+ messages in thread
From: St. Suika Roberts @ 1999-02-07 5:00 UTC (permalink / raw)
>>>>> "RC" == Rob Clark <rclark@dotwireless.com> writes:
RC> I finally have my UDB installed (w/ debian) and running, but I
RC> have one last problem. I need to be able to make my UDB boot
RC> un-attended, without a monitor. Does anyone have any info on how
RC> to do this?
RC> Right now I have milo on a floppy disk, so I need to
RC> type "boot dva0" from the SRM prompt, and then "boot
RC> hda2:/vmlinux.gz root=/dev/hda2" from milo. Is it possible to
RC> automate these two steps?
You have basicly two choices here:
use ARC and read that HOWTO
use SRM to load MILO from your disk
The following procedure is still kinda rough, so it isn't up on my
pages anywhere, but:
---begin quote-----
and I realize that I need a BSD disklabel on the disk to use
swriteboot and install a boot-block on the disk.
This being my first install, I use sdisklabel and set BSD
partitions in not quite the right places. This of course hoses my
installation :(
On my next install I try to use fdisk right at the start to put a
BSD label on the disk; the installer doesn't let me, complaining
about corrupt label; eventually I give up on that idea and put a
DOS style partion table on the disk. After about an hour I get sick
of it hanging on me (the installer had just stopped for fifteen
minutes on the same package and same place) and reset.
The next run I was smarter and left the room so I wouldn't be there
to watch it hang for about 20 minutes at a time in four different
spots, although I did check up on it occasionally.
Not anxious to reinstall RedHat again I look for a copy of
Minlabel, finding that while it isn't installed by default it is
part of the distribution, use it to carefully, albeit with a bit of
anxiety, relabel my disk and reboot. I then try swriteboot to put
milo in as my bootloader. No good, linux still thinks I've got a
DOS partition table. I then try fdisk, which, when I tell it to use
BSD labels, finds the label I wrote with minlabel. I write it out
again and swriteboot works this time.
Now that I have a boot loader and can be fairly sure I won't need
to do another net install I compile a bunch of stuff that I'm
pretty sure I'll need or use, then reboot again, this time looking
for variables/flags to set so that I can get the system to boot
automagically.
Reading through the docs I find the environment variables for milo,
and set them so that milo will boot linux once it has loaded:
setenv BOOT_DEV sda2
setenv BOOT_FILE vmlinux.gz
setenv MEMORY_SIZE 64
(I got my UDB from cpumicromart along with two 32MB simms, making
24MB the wrong size)
setenv BOOT_STRING root=/dev/sda2
setenv AUTOBOOT_TIMEOUT 24
That done I set about the process of getting SRM to boot
milo. First I set bootdef_dev to dka0, which means that I can now
just type `boot' and have SRM load milo which loads linux.
(trimmed stuff)
the (firmware update) readme had some interesting data in it as well:
>>>set pwrup_test off
>>>
keeps her from doing the TGA selftest at boot-time ^_^
and not only is there a >>>PWRUP_UPDATE command, there is a
pwrup_update SRM environment variable.
>>>set pwrup_update off
>>>
has fixed the `no disk in dva0' errors, but I still haven't gotten
her to boot automaticly. I'll keep trying, however.
Today someone responded with a usefull answer to my post on usenet:
>>>set auto_action boot
makes her boot automagically, unattended.
---end quote---
Using ARC may be faster and safer; however, I personally don't want to
use something with a M$ copyright to boot linux ^_^
HTH,
Suika
--
ssfr@unm.edu
If the code and the comments disagree, then both are probably wrong.
-- Norm Schryer
<a href="http://www.unm.edu/~ssfr/">Suika no homepage</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-02-07 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-02-07 5:00 automatic boot of UDB Rob Clark
1999-02-07 5:00 ` St. Suika Roberts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox