Re: 3TB disk hassles

From: Neil Conway (nconway_kernel_at_yahoo.co.uk)
Date: 02/06/05

  • Next message: Stefan Dösinger: "Re: [ACPI] Re: [RFC] Reliable video POSTing on resume"
    Date:	Sun, 6 Feb 2005 10:59:58 +0000 (GMT)
    To: 7eggert@gmx.de, linux-kernel@vger.kernel.org
    
    

    Argh...

    --- Neil Conway <nconway_kernel@yahoo.co.uk> wrote:
    > Hi...
    >
    > --- Bodo Eggert <7eggert@gmx.de> wrote:
    > > No common x86 BIOS can understand any partition table. Booting is
    > > done by
    > > loading the first sector of the boot device and executing it. The
    > > common
    >
    > D'oh!! Red-face here. Can't believe my brainlessness.
    > Thanks for putting me straight - that explains a lot. Now to try it
    > ;-)

    Ah, if only it was that simple.

    Since writing the above, I've been searching for more info. I
    downloaded four different versions of grub (GNU Grub Legacy, GNU Grub2,
    gentoo and Fedora Core 3). NONE of these showed any evidence of GPT
    support (I was in a hurry, so I searched for strings EFI, GUID, GPT,
    TB).

    Mucho confused puppy here.

    I fail to see how grub can work on a GPT boot device if it can't parse
    the partition table. I conclude that I'm still missing something.
    Perhaps a layer before grub is supposed to parse the GPT instead? If
    so, isn't that getting us straight back to a GPT-aware BIOS?

    Tell me if this logic is broken: even if a special boot sector is used,
    which IS GPT-aware (though fitting that into the boot sector would be a
    challenge ;-)), once grub loads, it's still going to have to figure out
    how to find the root(hdX,Y) partition from which to load the kernel
    image. This surely means it has to have either a GPT-parser
    internally, or rely on a pre-parsed list. No?

    Perhaps one of the other several distros (that I didn't check) has a
    GPT-aware grub. But Tomas Carnecky said early in this thread that
    gentoo had allowed him to set up a GPT-booting system on x86. I guess
    it's possible that a cheat was used - maybe an old-style partition
    table in the MBR was used to define the first (boot) partition, but
    surely that's forbidden by the whole EFI spec anyway?

    Andries Brouwer kindly wrote a patch which I haven't had time to test
    yet (see earlier in thread). While it would be nice to find a way
    around the problem which didn't require deviations from vanilla
    distros, I think Andries' patch is looking like the only sane fix right
    now.

    Anyone with a definitive answer to the question "can I use GPT on a
    vanilla x86 mobo", do speak up :-)

    Regards,
    Neil
    PS: I really didn't think that >2TiB disks were quite so far out on the
    bleeding edge :-/

                    
    __________________________________
    Do you Yahoo!?
    Meet the all-new My Yahoo! - Try it today!
    http://my.yahoo.com
     

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Stefan Dösinger: "Re: [ACPI] Re: [RFC] Reliable video POSTing on resume"

    Relevant Pages

    • Re: how to tell if a specific data block is sparse?
      ... For usage example, see lilo. ... This is why I had, many months ago, asked about a boot loader that could ... which partition or sector it was bootstrapped from and proceed to load ... | For instance the grub installer builds a sector map of where grub ...
      (comp.os.linux.development.system)
    • Re: Naming harddisks (Linux)
      ... But I also see that for an USB drive it uses /dev/sdas the ... Does GRUB recognize SCSI drives? ... The first step in understanding the boot process is to ... The bootloader's job is to load the OSs kernel. ...
      (comp.os.linux.misc)
    • Re: remove partaion
      ... The most interesting hurdle will be what the Master Boot Record ... thus kill GRUB. ... I would copy your MBR and first 63 sectors (see the MBR Copy Appendix ... GUI or command line commands to accomplish that. ...
      (Fedora)
    • Re: How do I make a boot disk so I can restore Grub?
      ... I read that Windows will overwrite the MBR. ... > need to make a boot disk so I can restore MBR after Windows ... How do I make a boot disk and be able to restore Grub on ... with the designation for wherever your boot partition is. ...
      (comp.os.linux.setup)
    • Re: Install FC2 in external HD + boot via floppy
      ... a external HD and keep the XP on the internal disk. ... that my laptop does not boot from the usb... ... An alternative way of creating a cd that will boot grub is shown below. ... Making a GRUB bootable CD-ROM ...
      (Fedora)