[Gllug] Fdisk in a pure Linux environment
Philip Hands
phil at hands.com
Fri Jan 6 09:41:21 UTC 2012
On Fri, 6 Jan 2012 07:55:40 +0000, Alain Williams <addw at phcomp.co.uk> wrote:
> On Fri, Jan 06, 2012 at 07:11:54AM +0000, John Winters wrote:
>
> > One thing to be aware of (which caught me out the first time I tried) is
> > that if you have a large (>= 2TB) drive which you intend to use for
> > booting Linux with grub then you must create a small partition of type
> > "bios_grub" at the beginning of the disk or else grub won't be able to
> > install itself.
>
> Type 'bios_grub' - what is that ? I can't see one of those as a choice when
> I run fdisk ?
That's because you want gdisk got GPT support (or parted IIRC)
=-=-=-=-=-
phil at sheikh:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.1
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): BCC3E33C-A548-0BFA-8253-F43FC2091902
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 8-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 34 1987 977.0 KiB EF02 BIOS boot partition
2 1988 501988 244.1 MiB FD00 Linux RAID
3 501989 2097151 778.9 MiB FD00 Linux RAID
4 2097152 1050673151 500.0 GiB FD00 Linux RAID
5 1050673152 2099249151 500.0 GiB FD00 Linux RAID
6 2099249152 3147825151 500.0 GiB FD00 Linux RAID
7 3147825152 3907029134 362.0 GiB FD00 Linux RAID
=-=-=-=-=-
There you go --- type EF02 is the type -- if you were expecting that to
work with fdisk you've got a spot of catching up to do ;-)
Cheers, Phil.
--
|)| Philip Hands [+44 (0)20 8530 9560] http://www.hands.com/
|-| HANDS.COM Ltd. http://www.uk.debian.org/
|(| 10 Onslow Gardens, South Woodford, London E18 1NE ENGLAND
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20120106/2836693c/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list