help-grub
[Top][All Lists]
Advanced

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

Re: [grub] Experiencing difficulties to access USB key files


From: Andrei Borzenkov
Subject: Re: [grub] Experiencing difficulties to access USB key files
Date: Mon, 25 Jan 2016 20:55:19 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

25.01.2016 00:09, Arbiel (gmx) пишет:
> Hi
> 
> So, I understand nativedisk or installing grub with --disk-module=native
> will bypass BIOS and have grub access the hardware using its own
> drivers, which I won't have to insert with insmod commands.
> 
> It failed as shown at the end of the message
> 
> Le 23/01/2016 13:08, Andrei Borzenkov a écrit :
>> 23.01.2016 14:39, Arbiel (gmx) пишет:
>>>> But GRUB does not have driver to access this hard disk anymore. Current
>>>> GRUB disables BIOS access as soon as these modules are loaded. If you
>>>> want to test them, please always use "nativedisk" GRUB command which
>>>> attempts to replace device name in $prefix and $root with new one,
>>>> discovered by native drivers.
>>>>
>>>> Old GRUB may not have this command though.
>>> Do you mean that "hd0,msdos1" and so on, are sort of symbols for
>>> information understood by the BIOS that grub own drivers do not understand ?
>> hd0 refers to disk accessible via BIOS. USB mass storage accessible
>> directly using USB drivers would be name usb0 (or whatever running
>> number). Command "nativedisk" attempts to find and replace new device
>> names in $root and $prefix.
>>
>>> In short statement, I cannot have grub using its own drivers without
>>> writing a whole new application and I have to drop the idea of accessing
>>> any file on a USB drive if the BIOS itself does not encompass USB drivers.
>> Not sure I understand what you mean. You can replace drivers online
>> using "nativedisk" command or you can even install GRUB using
>> grub-install --disk-module=native.
> My PC is a BIOS plateforme.
> 
> env LANG=all sudo grub-install -V
> grub-install (GRUB) 2.02~beta2-9ubuntu1.4
> 
> I got a program error :
> 
> env LANG=all sudo grub-install --boot-directory=/mnt/boot
> --disk-module=native /dev/sdd
> grub-install: --disk-module: (PROGRAM ERROR) Option should have been
> recognized!?
> Try 'grub-install --help' or 'grub-install --usage' for more information.


commit fa33530870839e303354ff2660baeff5356ea736
Author: Glenn Washburn <address@hidden>
Date:   Sun Jun 22 01:45:11 2014 +0200

        * util/grub-install.c: Fix handling of --disk-module.



Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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