Scroll to navigation

quik(8) PowerMac/Linux quik(8)

NAME

quik - Install disk bootstrap for PowerMac/Linux

SYNOPSIS

/sbin/quik [-b second-stage] [-C  config-file] [-f] [-i first-stage ] [-r root-path ] [ [-s|-S]  backup] [-v] [-V]

DESCRIPTION

Quik 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.
Quik 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.

OPTIONS

-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 same partition.
-C config-file Record config-file as the name of the configuration file for the second-stage bootstrap to use, instead of the default /etc/quik.conf. 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 root-path is mounted. The default is the root partition. With this option, quik will by default use the first and second stage bootstraps found in root-path/boot, and the default configuration file name will be root-path/etc/quik.conf.
-S backup Save a copy of the current boot block in backup.
-s backup Save a copy of the current boot block in backup 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 already exist.
-v Verbose mode: print messages indicating what quik is doing.
-V Print quik's version number and exit.

FILES

/boot/first.b
/boot/second.b
/etc/quik.conf

AUTHORS

Paul Mackerras, based on the Sparc bootstrap installation program by Maurizio Plaza and Jakub Jelinek.

SEE ALSO

quik.conf(5), bootstrap(8)
16 March 1997