quik - Install disk bootstrap for PowerMac/Linux
[-r root-path ]
installs a disk bootstrap on a partition, enabling Linux to be
booted from that partition. Specifically, it writes the first-stage bootstrap
together with a table of block numbers to the first 1024 bytes of the
partition (the boot block
), and modifies the entry for the
partition in the partition table to make the partition bootable.
creates the table of block numbers by finding out where on the disk
the blocks of the second-stage bootstrap are stored. It then writes these
block numbers into the boot block so that the first-stage bootstrap can load
the second-stage bootstrap without having to incorporate ext2 filesystem code.
The second-stage bootstrap file must therefore be on the same disk as the boot
block (although it need not be on the same partition), and if the second-stage
bootstrap file is subsequently moved or replaced, quik must be re-run to
update the block number table.
-C config-file Record config-file
- -b second-stage
- Use second-stage as the second-stage boot image,
instead of the default /boot/second.b. The second-stage boot image
must be on the same disk as the boot block, though not necessarily on the
as the name of the
configuration file for the second-stage bootstrap to use, instead of the
. The configuration file must be on the same disk
as the boot block, though not necessarily on the same partition. -f
Force installation of first-stage bootstrap, even if the version number
currently in the boot block matches quik's current version.
-i first-stage Use first-stage
as the first-stage
boot image, instead of the default /boot/first.b
-r root-path Install the boot block on the partition on which
is mounted. The default is the root partition. With this
option, quik will by default use the first and second stage bootstraps found
, and the default configuration file name will
-S backup Save a copy of the current boot block in
-s backup Save a copy of the current boot block in
if it does not already exist. By default, quik will save a
copy of the current boot block in /boot/old.b
if that file does not
Verbose mode: print messages indicating what quik is doing.
Print quik's version number and exit.
Paul Mackerras, based on the Sparc bootstrap installation program by Maurizio
Plaza and Jakub Jelinek.