[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where is the "grub" command in grub2
From: |
Jordan Uggla |
Subject: |
Re: Where is the "grub" command in grub2 |
Date: |
Thu, 2 Apr 2015 13:27:35 -0700 |
On Wed, Apr 1, 2015 at 8:17 PM, Andrei Borzenkov <address@hidden> wrote:
> В 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.
>
There is also grub-mount, which can be used to mount (via FUSE) a
filesystem read-only using grub's filesystem (and LVM/RAID/etc as
needed) code. This may also be provided in a separate package.
--
Jordan Uggla (Jordan_U on irc.freenode.net)