* Trouble booting with kickstart
@ 2002-12-06 22:27 William K. Allard
2002-12-07 18:26 ` Michal Jaegermann
0 siblings, 1 reply; 4+ messages in thread
From: William K. Allard @ 2002-12-06 22:27 UTC (permalink / raw)
I'm trying to boot RedHat 7.1 on my XP1000's with kickstart. I'm
using boot floppies. I made a ks cfg file in which the network
parameters are static and wish to to a url install. I added what I
believe is an appropriate ks.cfg to generic.img and at the SRM prompt
entered
>>> boot dva0
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.
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.
Help!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble booting with kickstart
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
0 siblings, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 2002-12-07 18:26 UTC (permalink / raw)
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
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble booting with kickstart
2002-12-07 18:26 ` Michal Jaegermann
@ 2002-12-09 13:30 ` William K. Allard
2002-12-12 16:36 ` Anonymous Coward
0 siblings, 1 reply; 4+ messages in thread
From: William K. Allard @ 2002-12-09 13:30 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Trouble booting with kickstart
2002-12-09 13:30 ` William K. Allard
@ 2002-12-12 16:36 ` Anonymous Coward
0 siblings, 0 replies; 4+ messages in thread
From: Anonymous Coward @ 2002-12-12 16:36 UTC (permalink / raw)
In article <99caca26.0212090530.3206acb4@posting.google.com>,
wka@math.duke.edu (William K. Allard) wrote:
> 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.
>
The Alpha version of SME linux, formerly known as e-smith linux, uses
kickstart for the installation. I have personally booted their
installation CD-ROM and floppies to kickstarted installs and upgrades
from both MILO and SRM. So, the answer is YES, I HAVE SUCCESSFULLY DONE
KICKSTART INSTALLS ON ALPHA.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-12 16:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2002-12-12 16:36 ` Anonymous Coward
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox