From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,1291748a4d36a2c9 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-12-09 05:30:27 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: wka@math.duke.edu (William K. Allard) Newsgroups: comp.os.linux.alpha Subject: Re: Trouble booting with kickstart Date: 9 Dec 2002 05:30:26 -0800 Organization: http://groups.google.com/ Message-ID: <99caca26.0212090530.3206acb4@posting.google.com> References: <99caca26.0212061427.1514594d@posting.google.com> NNTP-Posting-Host: 152.3.25.204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1039440627 3327 127.0.0.1 (9 Dec 2002 13:30:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Dec 2002 13:30:27 GMT Xref: archiver1.google.com comp.os.linux.alpha:6727 Michal Jaegermann wrote in message news:... > William K. Allard 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