Thread (4 messages) 4 messages, 4 authors, 1999-01-20

Re: Booting 2.2.0-pre6 on a PowerStack-II (Net 4000/200)

From: Loic Prylli <hidden>
Date: 1999-01-20 13:56:59

Possibly related (same subject, not in this thread)

Michael Meissner writes:
 > 
 > I see you added changes to set the initial cmd config.  Is there any way we can
 > add a configure line when building the kernel, so I can build a kernel with
 > different data (ie, my disk is /dev/sda2 and not /dev/sdb2, etc.).  That way it
 > has a better chance of working if rebooted in the middle of the night due to
 > power failure.
 > 

Some time ago, I made a small addition to Gabriel preploader, including
 a simple "prepctl" program, that permit to modify the
command-line stored in the zImage.

In my case, it is much more useful than getting the command-line
through residual data or NVRAM, because I can modify the command-line
parameters for the next reboot without needing access to the console
(you win a lot of time if you have 16 machines, moreover they are in a
closed room for which it is tedious to get the key:-). Of course this
is not an advantage anymore if there is some tools to modify NVRAM or
residual data after Linux is booted.

Anyway below is the patch, to modify the command-line of a zImage,
simply run "prepctl <zImage> <command line parameters>..." or "prepctl
/dev/sda1 ..." if it is installed on a disk partition.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help