From: Pavel Roskin <[EMAIL PROTECTED]>
Subject: Re: grub-install
Date: Thu, 18 Nov 1999 23:06:57 -0500 (EST)

>       * stage2/Makefile.am: Don't include files pre_stage2 and start
>       in the distribution
>       * util/Makefile.am: Typo fix: sbin_SCRIPS renamed to sbin_SCRIPTS
>       * util/grub-install.in: Typo fix: grub_dir -> grubdir
>       "test" was missing after "if"
>       Check that $grub_shell exists before doing anything dangerous

  Thank you!

> grub-install still doesn't work. I don't want what is supposed to be
> passed as the argument, so I cannot fix it.

  Please read the manual. I have already written a chapter for the
program.

Invoking grub-install
*********************

   The program `grub-install' installs GRUB on your drive by the grub
shell (*note Invoking the grub shell::). You must specify the device
name on which you want to install GRUB, like this:

     grub-install INSTALL_DEVICE

   The device name INSTALL_DEVICE is an OS device name or a GRUB device
name.

   `grub-install' accepts the following options:

`--help'
     Print a summary of the command line options and exit.

`--version'
     Print the version number of GRUB and exit.

> Also the following checks could be useful:
> 1) Check that grub-install is run by root
> 2) Check that stage1, stage2 and *stage1_5 are installed
> 3) Check that "rm" and "cp" succeed.

  You are right. Many improvements should be done. Feel free to send
patches for them.

> Also I think that --batch should get an optional argument - file name for
> the input. Redirections are good for well debugged scripts, but not for
> root, whose errors may cost too much.

  Yeah. I prefer having another option `-f' to specify the filename.

Thanks again,
okuji
----------------------------------------------------------------------
OKUJI Yoshinori  <[EMAIL PROTECTED]>           ^o-o^
http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English)     m /

Reply via email to