Re: installing/using grub-legacy
Quoting Lisi Reisz (lisi.reisz@gmail.com):
> On Friday 23 October 2015 17:15:50 Lisi Reisz wrote:
> > On Thursday 22 October 2015 01:31:44 David Wright wrote:
> > > Once you've installed grub with apt, you can then run grub-install to
> > > actually install the grub configuration itself.
> >
> > Isn't that for GRUB-PC not GRUB-legacy?
> >
> > Lisi
>
> In case I got the names wrong or muddled:
>
> Isn't that for GRUB2 not GRUB1?
The oldest Grub I still have installed is 1.99 so I
did download grub-legacy_0.97-67_i386.deb just to
check before I posted. Redownloading that, I can see
grub-legacy_0.97-67_i386.deb/deb://CONTENTS/usr/sbin
contains grub-install 11620 Jan 29 2013 which
is a script including the lines:
# Usage: usage
# Print the usage.
usage () {
cat <<EOF
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Report bugs to <bug-grub@gnu.org>.
EOF
}
which looks pretty similar to Grub 2.02's man page:
GRUB-INSTALL(8) System Administration Utilities GRUB-INSTALL(8)
NAME
grub-install - install GRUB to a device
SYNOPSIS
grub-install [OPTION...] [OPTION] [INSTALL_DEVICE]
DESCRIPTION
Install GRUB on your drive.
(grub-install is now an ELF.)
Cheers,
David.
Reply to: