From: wka@math.duke.edu (William K. Allard)
Subject: Re: Trouble booting with kickstart
Date: 9 Dec 2002 05:30:26 -0800 [thread overview]
Message-ID: <99caca26.0212090530.3206acb4@posting.google.com> (raw)
In-Reply-To: asteg8$92o$1@pulp.srv.ualberta.ca
Michal Jaegermann <michal@gortel.phys.ualberta.ca> wrote in message news:<asteg8$92o$1@pulp.srv.ualberta.ca>...
> William K. Allard <wka@math.duke.edu> wrote:
> > I added what I
> > believe is an appropriate ks.cfg to generic.img and at the SRM prompt
> > entered
> >
> >>>> boot dva0
>
> This likely means that you were lucky and 'boot_osflags' variable
> was not defined to provide other options so it defaulted to 0.
> Unless you _know_ that this what you really want it is safer
> to do
>
> boot dva0 -fl 0
>
> > The boot process started, asked me to insert ramkdisk.img and after a
> > few minutes gave me the interactive boot interface indicating that my
> > ks.cfg was never read. I then, in desperation, tried
> >
> >>>> boot dva0 ks=floppy
> >
> > because I saw something like that somewhere. It promptly complained
> > that ks=floppy was not an allowable option.
>
> Indeed it is not. You are talking to SRM. You would have to put
> all boot options into
>
> -fl "..... ks=floppy".
>
> Instead you can boot with 'b dva0 -fl i', list available predefined boot
> commands and at 'aboot> ' prompt, and retype what you want adding to it
> "ks=floppy". Easier and with less chances for typing mistakes would be
> to mount that floppy somewhere else, fire up some editor, and add a new
> line to 'aboot.cfg' there with whatever options you desire. Assuming
Ok. I edited the aboot.cfg file adding
ks=floppy
to label "0" and added it to generic.img
I then booted with options
>>> boot dva0 -fl 0
as per your suggestion. The good news is that it clearly tried to do
a kickstart install; the bad news is that it couldn't find the
kickstart file
despite the fact that a kickstart file was indeed in the top directory
of generic.img as per the instructions (I bet this works for i386; it
doesn't work for alpha). The bad news did have some good news in it:
I got the error message
no /tmp/ks.cfg file exists (or something like that).
Aha! It must want he ks.cfg in /tmp on the ramdisk.img. Indeed, I
figured this might be the case when I inspected the binary
/sbin/loader on ramdisk.img in
emacs and found strings like "ks=/tmp/ks.cfg" (or something like this)
in it.
(This shows you how desperate I am). So I stuck the ks.cfg in /tmp on
the ramdisk.img (after being uncompressed, mounted -o loop, edited and
uncompressed and dd'd) and rebooted again. Fantastic! It clearly
found the ks.cfg. But then
the install program crashed with network complaints. So I gotta get
that straightened out.
At any rate, I am in Mihal Jagermann's debt for getting this far. HAS
ANYONE OUT THERE SUCCESSFULLY DONE A KICKSTART INSTALL ON ALPHA? I'm
beginning to wonder.
> that it end up with a label "5" then you would boot with 'b dva0 -fl 5'.
>
> > I suspect I may be able to edit the aboot.conf file to run kickstart
> > but do not know the syntax of this file and am unable to find any
> > documentation on it.
>
> At "docs" CD, at least from 7.2 set, there is a well commented
> file 'RH-DOCS/sample.ks'. Also first two chapters of "Customization
> Guide" (on the same CD as 'rlh-cg' in few different formats) are
> devoted entirely to kickstart issues.
>
> In general you likely will be better of with 7.2 set instead of 7.1.
> All in all "docs" disk takes around 594M. Even taking into account
> that the same information is repeated there in multiple formats, and
> some of it does not really concerns Alpha, there are few pages to read.
>
> Michal
next prev parent reply other threads:[~2002-12-09 13:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-06 22:27 Trouble booting with kickstart William K. Allard
2002-12-07 18:26 ` Michal Jaegermann
2002-12-09 13:30 ` William K. Allard [this message]
2002-12-12 16:36 ` Anonymous Coward
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox