From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: USB3 3TB HDD boot
Date: Mon, 04 Mar 2013 20:33:51 +0100 [thread overview]
Message-ID: <5134F71F.1040300@gmail.com> (raw)
In-Reply-To: <20130304191935.GF20462@csclub.uwaterloo.ca>
[-- Attachment #1: Type: text/plain, Size: 3046 bytes --]
On 04.03.2013 20:19, Lennart Sorensen wrote:
> On Mon, Mar 04, 2013 at 08:27:41PM +0400, Bob Lemar wrote:
>> Thank you for your replies.
>>
>>
>> Yes, it is definitely BIOS problems as it doesn't allow to boot from
>> external drive directly (via BIOS boot order settings). It doesn't
>> show this drive at <F10> boot menu even after soft reboot. So BIOS
>> doesn't provide access to GRUB like to any other drives or USB
>> flashes.
>>
>> And I suppose to think that it is not a bug, it is a feature. And
>> feature of external drive, not a BIOS. Vendors of spinning external
>> drive try to limit "uptime" of theirs HDD. External HDD could start as
>> soon as USB is powered but do not want to do it. It only starts when
>> OS tell it to start up (this commands are magic for me).
>>
>> Facts:
>>
>> - External drive is logically 4K (not a 512e thing). It is not a problem yet.
>>
>> - USB 3 is not a problem yet. The drive doesn't work with USB 2 just
>> the same way. So it is not "nativeness" BIOS-USB hub communication
>> problem.
>>
>> - BIOS behavior is correct (it power up USB);
>>
>> - external drive behavior is correct (it is powered but starts only on
>> demand and it is sleeping in many cases including PC start);
>>
>> - GRUB behavior is correct (it boots from drives that BIOS told him
>> about; only OS can detect this device as mass storage because it was
>> designed that way).
>>
>> - Ales, you were absolutely right with floppy for booting CD trick
>> example. While MB, HDD firmwares and bootloader have predictable and
>> correct behavior some users would like to have bootloader feature
>> (GRUB command) that wake up external HDDs and re-detect drives.
>>
>> Resolution:
>>
>> - Boot USB thumb and use kexec to boot external HDD.
>> I did: (1) clone linux to external drive; (2) correct fstab at
>> external; (3) boot into internal drive OS; (4) mount external HDD
>> which became visible; (5) kexec images and boot external drive. // I
>> am not sure that only external drive files were used at second boot --
>> need to do clear experiment with minimal os at internal device or
>> thumb flash. kboot and petitboot are possible solve this problem.
>>
>> - It is good point to create feature request at BugTracker. I wish
>> GRUB has command to power up external USB HDD and do manual redetect.
>> But I don't know what is happening technically when OS do it. I guess
>> I should find out it to be more specific while filling bug.
>
> The fact it is 3TB would mean it uses GPT, not old style DOS partition
> table.
Not necessarily. 3T drives often use msdos, just with 4K sectors which
increases the range of msdos to 16T.
> Maybe the BIOS doesn't support booting from a GPT partitioned
> drive. If it had a hybrid partition table, then it might work assuming
> other things are not also causing problems.
>
> After all some bioses only list a drive as bootable if they see a
> partition marked bootable in a dos style partition table.
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]
next prev parent reply other threads:[~2013-03-04 19:34 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 15:36 USB3 3TB HDD boot Bob Lemar
2013-02-12 18:59 ` Seth Goldberg
2013-02-12 19:19 ` Aleš Nesrsta
2013-03-04 16:27 ` Bob Lemar
2013-03-04 18:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-03-04 19:19 ` Lennart Sorensen
2013-03-04 19:33 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-03-04 19:43 ` Lennart Sorensen
2013-03-04 23:16 ` Chris Murphy
2013-03-05 7:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-03-15 2:18 ` Chris Murphy
2013-03-15 2:38 ` Andrey Borzenkov
2013-03-15 2:56 ` Chris Murphy
2013-03-15 14:51 ` Lennart Sorensen
2013-03-15 15:59 ` Chris Murphy
2013-03-15 16:25 ` Bruce Dubbs
2013-03-15 17:53 ` Lennart Sorensen
2013-03-15 18:38 ` Chris Murphy
2013-03-18 18:34 ` Bob Lemar
2013-03-18 18:56 ` Chris Murphy
2013-03-18 19:41 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-03-18 21:05 ` Chris Murphy
2013-03-18 21:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-03-18 22:36 ` Chris Murphy
2013-03-18 23:26 ` Elliott, Robert (Server Storage)
2013-03-18 22:59 ` Chris Murphy
2013-03-20 14:24 ` Phillip Susi
2013-03-04 22:39 ` Chris Murphy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5134F71F.1040300@gmail.com \
--to=phcoder@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.