Re: Debian and UEFI and GPT
On Thu, Oct 24, 2013 at 9:46 PM, Chris Davies ch...@roaima.co.uk wrote: Thank you, Tom and Sven. You're welcome. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SwB6Azd5F=9nbcoqb-qx515uygy6yt5g1f10xh34rx...@mail.gmail.com
Re: Debian and UEFI and GPT
Andrew M.A. Cater amaca...@galactic.demon.co.uk wrote: Debian 7.2 runs fine on UEFI, GPT partitioning works fine. You might want to try auto partitioning - there needs to be a 1M space at beginning and end of he disk and a 510M partition marked for EFIboot. I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? Thanks, Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/fd4njaxk0v@news.roaima.co.uk
Re: Debian and UEFI and GPT
On Thu, Oct 24, 2013 at 9:04 AM, Chris Davies ch...@roaima.co.uk wrote: Andrew M.A. Cater amaca...@galactic.demon.co.uk wrote: Debian 7.2 runs fine on UEFI, GPT partitioning works fine. You might want to try auto partitioning - there needs to be a 1M space at beginning and end of he disk and a 510M partition marked for EFIboot. I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? Disks with msdos and gpt partition tables both have their first partition start on the 2048th sector; this has nothing to do with the bios_boot partition that's needed if you use a gpt partition with bios rather than uefi firmware (a bios_boot partition starts at the 2048th sector by default). A gpt disk needs 34 sectors at its beginning; the 0th is the mbr, the 1st is the gpt header, the 2nd-33rd are for the partition table (for 128 possible partitions at 128 bytes per partition). And it needs 33 sectors at its end; it's the same as the beginning minus the mbr. The EFI System Partition's size must depend on size of the disk to which it belongs. On my laptop with a 24GB ssd (and 1TB hd for /home), the ESP is 93MB (the ESP has Ubuntu and Fedora grub setups): [root@lenovo15]# gdisk -l /dev/sda ... Number Start (sector)End (sector) Size Code Name 12048 194559 94.0 MiBEF00 2 19456046903295 22.3 GiB8300 [root@lenovo15]# df -h /dev/sda1 Filesystem Size Used Avail Use% Mounted on /dev/sda193M 4.4M 89M 5% /boot/efi -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=symxeutjfcn8o-yo_v_wqj8cfbsfr8jypl5sh6+qjm...@mail.gmail.com
Re: Debian and UEFI and GPT
Tom H tomh0...@gmail.com wrote: On Thu, Oct 24, 2013 at 9:04 AM, Chris Davies ch...@roaima.co.uk wrote: I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? A gpt disk needs 34 sectors at its beginning; the 0th is the mbr, the 1st is the gpt header, the 2nd-33rd are for the partition table (for 128 possible partitions at 128 bytes per partition). And it needs 33 sectors at its end; it's the same as the beginning minus the mbr. What does it use those sectors at the end for? A duplicate of the ones at the front? If so, do parted and other partitioning tools write to both? Thanks, Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/iamnjax5f2@news.roaima.co.uk
Re: Debian and UEFI and GPT
Chris Davies ch...@roaima.co.uk wrote: Tom H tomh0...@gmail.com wrote: On Thu, Oct 24, 2013 at 9:04 AM, Chris Davies ch...@roaima.co.uk wrote: I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? A gpt disk needs 34 sectors at its beginning; the 0th is the mbr, the 1st is the gpt header, the 2nd-33rd are for the partition table (for 128 possible partitions at 128 bytes per partition). And it needs 33 sectors at its end; it's the same as the beginning minus the mbr. What does it use those sectors at the end for? A duplicate of the ones at the front? If so, do parted and other partitioning tools write to both? Yes, the sectors at the end are a backup version of the GPT, so if one ever accidently overwrite the start of a medium there is always another version of the GPT at the end. All GPT-aware tools must write to both versions and complain of they are not in sync. Grüße, S° -- Sigmentation fault. Core dumped. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/6a5e714su...@mids.svenhartge.de
Re: Debian and UEFI and GPT
On Thu, Oct 24, 2013 at 2:09 PM, Chris Davies ch...@roaima.co.uk wrote: Tom H tomh0...@gmail.com wrote: On Thu, Oct 24, 2013 at 9:04 AM, Chris Davies ch...@roaima.co.uk wrote: I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? A gpt disk needs 34 sectors at its beginning; the 0th is the mbr, the 1st is the gpt header, the 2nd-33rd are for the partition table (for 128 possible partitions at 128 bytes per partition). And it needs 33 sectors at its end; it's the same as the beginning minus the mbr. What does it use those sectors at the end for? A duplicate of the ones at the front? If so, do parted and other partitioning tools write to both? The sectors at the beginning are the primary gpt config and the sectors at the end are the secondary gpt config. gdisk and parted (and AIUI the latest fdisk) create both since this is part of the gpt specs. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sx4pvjzfvkpxytkik4qvd6hz4_amugoe0ctmbdw7os...@mail.gmail.com
Re: Debian and UEFI and GPT
On Thu, Oct 24, 2013 at 4:33 PM, Sven Hartge s...@svenhartge.de wrote: Chris Davies ch...@roaima.co.uk wrote: Tom H tomh0...@gmail.com wrote: On Thu, Oct 24, 2013 at 9:04 AM, Chris Davies ch...@roaima.co.uk wrote: I assume the 1MB space at the beginning is for grub_boot? I found I needed that for my big (3TB) GPT disks. What's the space required at the end of the disk? A gpt disk needs 34 sectors at its beginning; the 0th is the mbr, the 1st is the gpt header, the 2nd-33rd are for the partition table (for 128 possible partitions at 128 bytes per partition). And it needs 33 sectors at its end; it's the same as the beginning minus the mbr. What does it use those sectors at the end for? A duplicate of the ones at the front? If so, do parted and other partitioning tools write to both? Yes, the sectors at the end are a backup version of the GPT, so if one ever accidently overwrite the start of a medium there is always another version of the GPT at the end. All GPT-aware tools must write to both versions and complain of they are not in sync. +1 Unfortunately grub doesn't (yet) fallback to the secondary config: https://bugzilla.redhat.com/show_bug.cgi?id=1022743 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxdq1hgk+l7-nmjkyqrv5fukjhprbfjnere_vsxt3n...@mail.gmail.com
Re: Debian and UEFI and GPT
Thank you, Tom and Sven. Chris -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/23hojax9ln@news.roaima.co.uk
Re: Debian and UEFI and GPT
Bret Busby wrote: Hello. I am wondering whether the amd64 versions of Debian 6 and 7 install and run on a UEFI/GPT system. From what I understand, FreeBSD does not yet install and run on a UEFI/GPT system, and so I assume that Debian kfreebsd also does not yet install and run on a UEFI/GPT system, and I am wondering whether the amd64 versions of Debian 6 and 7, install and run on a UEFI/GPT system. Wheezy (Debian 7) for amd64 was the first release with native support for UEFI. Earlier versions will recognise and support GPT partitioning, but if you must have UEFI booting you will need version 7. The kfreebsd ports don't (yet) have UEFI support, I'm waiting for help / guidance to add it on our installation media. -- Steve McIntyre, Cambridge, UK.st...@einval.com Support the Campaign for Audiovisual Free Expression: http://www.eff.org/cafe/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1vyv95-00088m...@mail.einval.com
Re: Debian and UEFI and GPT
On Wed, Oct 23, 2013 at 01:03:25PM +0800, Bret Busby wrote: Hello. I am wondering whether the amd64 versions of Debian 6 and 7 install and run on a UEFI/GPT system. From what I understand, FreeBSD does not yet install and run on a UEFI/GPT system, and so I assume that Debian kfreebsd also does not yet install and run on a UEFI/GPT system, and I am wondering whether the amd64 versions of Debian 6 and 7, install and run on a UEFI/GPT system. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.00.1310231259560.12...@bret-dd-workstation.busby.net Take a netinst .iso file / CD1 / DVD1 - use dd to write this to a USB stick. Boot from it. Do an expert install. Debian 7.2 runs fine on UEFI, GPT partitioning works fine. You might want to try auto partitioning - there needs to be a 1M space at beginning and end of he disk and a 510M partition marked for EFIboot. All fairly straightforward. AndyC -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131023185500.ga4...@galactic.demon.co.uk
Debian and UEFI and GPT
Hello. I am wondering whether the amd64 versions of Debian 6 and 7 install and run on a UEFI/GPT system. From what I understand, FreeBSD does not yet install and run on a UEFI/GPT system, and so I assume that Debian kfreebsd also does not yet install and run on a UEFI/GPT system, and I am wondering whether the amd64 versions of Debian 6 and 7, install and run on a UEFI/GPT system. -- Bret Busby Armadale West Australia .. So once you do know what the question actually is, you'll know what the answer means. - Deep Thought, Chapter 28 of Book 1 of The Hitchhiker's Guide to the Galaxy: A Trilogy In Four Parts, written by Douglas Adams, published by Pan Books, 1992 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/alpine.deb.2.00.1310231259560.12...@bret-dd-workstation.busby.net
Re: Debian and UEFI and GPT
On 10/22/13 22:03, Bret Busby wrote: I am wondering whether the amd64 versions of Debian 6 and 7 install and run on a UEFI/GPT system. Yes. I have an Intel DQ67SW motherboard (has UEFI) with 3 TB Seagate hard drives (formatted with GPT), and have run both Squeeze and Wheezy on it. HTH, David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/526764af.7080...@holgerdanske.com