[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [grub] Experiencing difficulties to access USB key files
From: |
Arbiel (gmx) |
Subject: |
Re: [grub] Experiencing difficulties to access USB key files |
Date: |
Mon, 25 Jan 2016 09:20:36 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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.
That's true. However, it does not translate $config_directory, and I
haven't found any way to translate it, but to set it to $prefix. And
this is only acceptable for the configuration file pointed by core.
Using "nativedisk", grub failed and went down to grub rescue when placed
as the first command of grub.cfg. I had to delay it until after the
first disk access. And then I got thrice " hd0, msdos1 disk not found",
but grub stayed alive.
I have also seen that after the command, prefix was set to
(device)//path, instead of (device)/path. Is grub reducing multiple
occurences of "/" in a file path to a single one ?
>
>> 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.
>
>
>
> _______________________________________________
> Help-grub mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-grub
signature.asc
Description: OpenPGP digital signature
- Re: [grub] Experiencing difficulties to access USB key files, (continued)
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/21
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/22
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/22
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/22
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/23
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/23
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/24
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/25
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/25
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/25
- Re: [grub] Experiencing difficulties to access USB key files,
Arbiel (gmx) <=
- Re: [grub] Experiencing difficulties to access USB key files, Andrei Borzenkov, 2016/01/25
- Re: [grub] Experiencing difficulties to access USB key files, Arbiel (gmx), 2016/01/25