Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

Help partitioning a 3TB Drive

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

Help partitioning a 3TB Drive

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 2:28 pm

Hi everyone ,
I have just received a 3TB drive and I am wondering how I go about using all the space for the HD.
I have tried to partition with fdisk and cfdisk and seem to be having a few issues.
I would like to have four partitions on the HD.

/boot
swap
/
/LargeDisk

I ran into a problem where it partition was not using up all the space quoting "unusable"
After a bit of reading I noticed i needed to use extended partitions but im still having the same problem.

Could anyone assist me of what I mat be doing wrong here ?
Hopefully this is something simple.

Thanks Gentoo Forums
Top
py-ro
Veteran
Veteran
User avatar
Posts: 1734
Joined: Tue Sep 24, 2002 11:55 am
Location: Velbert
Contact:
Contact py-ro
Website

  • Quote

Post by py-ro » Tue Jan 15, 2013 2:31 pm

You can't use MBR Layout for this, you must use GPT Layout to fully use the disc.

gdisk, parted can create one.

Bye
Pye
Top
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 2:54 pm

Ok thanks py will get back to you.
Never used before as im using it from the minimal disk and its quite tricky I have no idea about sectors and GUID's
could some explain this a little bit more for me please ?

Also will i be able to boot from this disk ?
Top
py-ro
Veteran
Veteran
User avatar
Posts: 1734
Joined: Tue Sep 24, 2002 11:55 am
Location: Velbert
Contact:
Contact py-ro
Website

  • Quote

Post by py-ro » Tue Jan 15, 2013 3:17 pm

Works pretty the same, only the on disc format is changed (from a user viewpoint=
Top
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 3:43 pm

Ok but when creating partitions its asking me for start and stop sectors and then guid's
I seem to only be able to create one partition finding it very confusing
Top
Veldrin
Veteran
Veteran
User avatar
Posts: 1945
Joined: Tue Jul 27, 2004 5:47 pm
Location: Zurich, Switzerland

  • Quote

Post by Veldrin » Tue Jan 15, 2013 3:53 pm

what tool are you using?
I prefer parted/gparted. sysresccd provides both.

V.
read the portage output!
If my answer is too concise, ask for an explanation.
Top
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 4:00 pm

I have tried to use gdisk and i just tried parted
but there is no gparted on the minimal disc
Its all from command line so im just finding it confusing to the usual cfdisk and fdisk.

I dont no how to set the partition size in MB
I dont understand sectors and GUIDs

Both apps are a little confusing for me
Top
srs5694
Guru
Guru
Posts: 434
Joined: Mon Mar 08, 2004 5:08 pm
Location: Woonsocket, RI
Contact:
Contact srs5694
Website

  • Quote

Post by srs5694 » Tue Jan 15, 2013 4:54 pm

I'm the author of gdisk. I modelled it closely after fdisk, so it works in almost exactly the same way. The biggest single difference is the fact that gdisk uses two-byte partition type codes, but mostly those are the same as the MBR/fdisk codes with "00" tagged on, as in "8300" for Linux or "8200" for Linux swap. These codes get translated into the GUIDs that the GPT data structures use, so you don't need to deal with GUIDs directly unless you want to.

Modern versions of fdisk, like gdisk, deal in sector numbers rather than cylinders. The truth is that "cylinders" have evolved from being a usable reality (in the 1980s) to a convenient fiction (in the 1990s) to an inconvenient fiction (in the 2000s) to a serious problem (in the 2010s). Thus, if you've been thinking about disk layout in terms of cylinders, it's long past time that you begin thinking about it in terms of sectors (or blocks; the two terms are effectively synonymous in this context). Note that both fdisk and gdisk accept partition sizes in terms of mebibytes, gibibytes, and tebibytes, as well as in sector values. For instance, you can enter "+200G" as the partition size to create a 200GiB partition.

You might find cgdisk a little less confusing than gdisk; cgdisk is modelled after cfdisk, so it offers fewer options but has a somewhat friendlier user interface. The two programs (gdisk and cgdisk) use exactly the same underlying partition-manipulation code, though; they've just got different user interfaces.

For more on using gdisk, see its man page or Web-based documentation, and particularly its gdisk walkthrough and cgdisk walkthrough pages.
Top
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 4:58 pm

Thanks so much for all the replys im going to give it another go and il come back if i have any problems.
As i said using cfdisk is so is so simple i dont really have to worry about anything it kind of does it all for me.
Im going to try again

Thanks for your help
Top
gentoo_newguy
Guru
Guru
Posts: 539
Joined: Tue Oct 10, 2006 3:05 pm

  • Quote

Post by gentoo_newguy » Tue Jan 15, 2013 5:53 pm

I think i have it working now thank you so much.
Using cgdisk /dev/sda really made things easier
Was getting very confused with the new format
I am able to boot of this correct ?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56264
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Jan 15, 2013 7:02 pm

gentoo_newguy,

Yes you can boot GPT partitions. You need to make sure you have GPT partition support in your kernel.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
srs5694
Guru
Guru
Posts: 434
Joined: Mon Mar 08, 2004 5:08 pm
Location: Woonsocket, RI
Contact:
Contact srs5694
Website

  • Quote

Post by srs5694 » Tue Jan 15, 2013 8:33 pm

gentoo_newguy wrote:I think i have it working now thank you so much.
Using cgdisk /dev/sda really made things easier
Was getting very confused with the new format
I am able to boot of this correct ?
Yes, but with some caveats:
  • On a BIOS-based computer, GRUB works best if it's got a BIOS Boot Partition (type code EF02 in cgdisk, no filesystem). This can be pretty small -- under 1MiB on some systems, although I've heard of configurations that require 2MiB. Be sure it appears under the 2TiB mark on the disk.
  • If your computer boots using EFI, you should have an EFI System Partition (ESP), which should have a cgdisk type code of EF00, be 100-500MiB in size, and have a FAT filesystem. OSes place their EFI boot loaders there.
  • Some firmware is buggy and won't boot in BIOS mode from a GPT disk unless you jump through some extra hoops. Most often, you need to use fdisk to set the 0xEE protective partition as bootable. Don't worry about this unless you run into problems. If you do, you can read more about the problems and solutions here.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy