[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where is the "grub" command in grub2
From: |
Andrei Borzenkov |
Subject: |
Re: Where is the "grub" command in grub2 |
Date: |
Thu, 2 Apr 2015 06:17:28 +0300 |
В Thu, 2 Apr 2015 02:04:50 +0000
"Wang, Zhiye" <address@hidden> пишет:
> I use "grub" command to access files before file system support is not
> available. Or while file system is partially corrupted (i.e. cannot be
> mounted)
>
> The command "cat", "find", and " blocklist" in the grub shell are very useful
> ...
>
There is grub-fstest which offers subset of available commands (it is
intended for grub regression tests suits, but found other usage as
well). Otherwise it is possible to build grub emulation
(--with-platform=emu). It has full functionality, but in user space.
Your distribution may offer it already as additional package.
>
> -----Original Message-----
> From: Jordan Uggla [mailto:address@hidden
> Sent: Thursday, April 02, 2015 5:00 AM
> To: Wang, Zhiye
> Cc: address@hidden
> Subject: Re: Where is the "grub" command in grub2
>
> On Wed, Apr 1, 2015 at 7:03 AM, Wang, Zhiye <address@hidden> wrote:
> > Hello,
> >
> > In grub 0.97, there is a linux command called "grub". User can run it in
> > already booted system, and enter into grub shell.
> >
> > Where is the similar command in grub2?
>
> The "grub" command in grub legacy was most commonly used as a (rather
> clunky) way to install grub legacy to the boot sector and embedding area of a
> drive. To install grub2 you should use grub-install. If you're not trying to
> install grub, please explain what your end goal is.
>
> --
> Jordan Uggla (Jordan_U on irc.freenode.net)
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub