[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Grub across architectures

From: Arbiel Perlacremaz
Subject: Re: Using Grub across architectures
Date: Sat, 21 Jun 2014 12:28:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0


Why don't you have your host-embedded grub boot your USB-resident system
and use this USB system embedded grub commands (grub-install and
grub-mkconfig) to install grub on your USB stick ? That way you would be
sure of the consistency of all your USB grub files. You can then edit
your USB grub.cfg file to get rid of the menuentry leading to the
booting of your host-resident system.


Le 20/06/2014 16:59, Andrey Borzenkov a écrit :
> В Fri, 20 Jun 2014 11:00:07 +0100
> David Goodenough <address@hidden> пишет:
>> If I have a host PC (say an Amd64) and I want to set up grub on a USB
>> stick for use on another system (say an ARM or i386 system) how do I tell
>> grub to use the version on the stick (assume that the USB stick already
>> has a complete linux system including grub physically on the USB stick)
>> rather than the host code?
> If I understand your question correctly:
> grub-install --directory=/path/to/grub/on/USB/<arch> ...
> e.g.
> grub-install --directory=/mnt/usb/usr/lib/grub/i386-pc ...
> Not everything is really possible to cross-platform. In particular, any
> actions that involve updating system NVRAM are obviously not possible
> unless you are on this system.
> You may also look at grub-mkrescue which creates bootable hybrid
> ISO/USB image for all platforms present in /usr/lib/grub/<platform> (or
> where it is installed).
> _______________________________________________
> Help-grub mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]