diff options
Diffstat (limited to 'installers')
-rw-r--r-- | installers/data/pc.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/installers/data/pc.sh b/installers/data/pc.sh index 4cd8d09..52d168d 100644 --- a/installers/data/pc.sh +++ b/installers/data/pc.sh @@ -93,4 +93,16 @@ for tzpkg in ${tzpkgs}; do done opkg remove tzcode ${rmtzpkgs} +printf '\nInstall the boot loader' +printf '\n=======================\n\n' + +opkg install lilo +boot="$(mountpoint -n /boot | cut -d ' ' -f 1)" +boot="${boot%%[0-9]}" +printf 'Name of root partition on running system (e.g. "sda1"): ' +_read -r root +# XXX: Temporary kludge. +cp -p /boot/vmlinuz /boot/vmlinuz.old +install-lilo "${boot}" "/dev/${root}" >&2 + printf '\nInstallation complete!\n' |