Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 12 of 12

Thread: 3TB GPT, UFI, and Grub issues when installing Ubuntu/Mint

  1. #1
    Active Member
    Join Date
    May 2005
    Location
    Waterberg
    Posts
    65

    Default 3TB GPT, UFI, and Grub issues when installing Ubuntu/Mint

    I spend the whole of last weekend attempting to get the latest Mint installed on my brand new 7200 3TB drive, but try as I may, lots of googling and assuming the gaps I ended up having a "working" system. (Strange enough Pinguy installed correctly, but the system is just too one the edge for me aka unstable)

    Set UEFI option in the bios (Thanks MyWorld)

    The I have created the following with GParted

    Create GPT partition Table


    200MB Primary UFS
    200MB Primary Fat /Boot Boot flag set
    50GB Primary ext4 /
    rest Primary ext4 /home

    when the installation concludes with Mint, grub fails to install. I then start Pinguy/Rescueremix for for a Boot-repair, only after numerous attempt it worked;

    However, when starting up I get a grub error, and just pressing "enter" the pc completes a successful boot!


    May I ask if anyone was successful with this to please provide me with their partition configuration with gparted that should be done prior to attempting the installation. In particular,
    Types of partitions, file systems, flags, recommended size and sequence.

    Any advice would be appreciated.
    Last edited by SJB; 01-08-2012 at 11:03 PM. Reason: Correction as noted by MyWorld
    Wireless in the Bush
    Linux Mint via MTN HSDPA, Screamer Wireless and Vodacom HSDPA..

  2. #2

    Default

    Why do you have a UFS and FAT partition?
    What is UFI? Do you mean UEFI?

    Traditional method of partitioning:
    100-150Mb ext2 /boot
    2Gb swap
    50Gb ext4 /
    rest ext4 /home

    More modern version:
    50Gb ext4 /
    2Gb swap
    rest ext4 /home

    Also, why not just accept the default installation partitioning?
    Last edited by MyWorld; 01-08-2012 at 10:53 PM.

    "The fool hath said in his heart, There is no God."

  3. #3
    Active Member
    Join Date
    May 2005
    Location
    Waterberg
    Posts
    65

    Default

    Thanks MyWorld (Corrected the typo..),

    The recommendation for the fat and the UFS came from the googling, and "filling the gaps".

    My understanding is:
    UEFI requires the UFS to work.?
    Grup requires the fat /boot partition to work?


    Still, why do I get the errors with Grub, first with the installation and later once installed during the boot process...
    Wireless in the Bush
    Linux Mint via MTN HSDPA, Screamer Wireless and Vodacom HSDPA..

  4. #4

    Default

    It seems UEFI is quite a headache in Linux, you need a Grub that has support for it otherwise you will run into boot problems.

    https://wiki.archlinux.org/index.php...rs#GRUB.282.29

    This is for Linux Mint:
    http://community.linuxmint.com/tutorial/view/858

    Some more reading:
    http://forums.linuxmint.com/viewtopic.php?f=46&t=107620

    I would just disable UEFI.

    "The fool hath said in his heart, There is no God."

  5. #5
    Active Member
    Join Date
    May 2005
    Location
    Waterberg
    Posts
    65

    Default

    Thanks. Looks like short version is:
    1) disable UEFI
    2) Re-instate MBR (MS-DOS) partition table (aka say goodbay to info...)
    3) Reinstall

    I hope I'll still be able to see 3TB - because that was the real reason for doing this!

    Will post outcome by this weekend...
    Wireless in the Bush
    Linux Mint via MTN HSDPA, Screamer Wireless and Vodacom HSDPA..

  6. #6
    Super Grandmaster ponder's Avatar
    Join Date
    Jan 2005
    Location
    KZN Dolphin Coast
    Posts
    34,001

    Default

    This may or may not help but leave 2MB or so of free space at the beginning of the drive before you start creating any partitions.
    entia non sunt multiplicanda praeter necessitatem

  7. #7

    Default

    I think the actually problem with 3TB drives and up, is a) the size and b) they now come in 4kbyte sector sizes instead of 512byte sector sizes.

    For performance reasons, you want to partition on the 4kbyte sector boundaries instead of 512bytes, so your partitions should always start on a sector value that can be divided by 8 or 64 ect (under correction).

    The size is probably the biggest problem, and it is only a problem if you want to boot off that hard drive, and most notably, that is only a problem with Win XP or older and Vista 32bit as far as I know. The later versions of Linux/BSD ect are mostly fine with these hard drives, as long as you partition them correctly for max performance.
    Few people can see the genius in someone who has offended them.
    - Robertson Davies

  8. #8

    Default

    I much prefer installing Linux on LVM.
    BTW: Grub can even boot off LVM partitions as well so my typical home (and work) setup is:

    One LVM partition the size of the entire disk (LVM pv entire partition).
    One LVM logical volume for /boot (500MB ext4) - you can create a separate physical partition if you don't trust Grub with LVM.
    One LVM logical volume for swap (2 to 4 GB)
    One LVM logical volume for root (20 GB ext4)
    One LVM logical volume for /home (100GB ext4)

    Then as my storage requirements increase, I just increase the size of the logical volume and resize the underlying ext4 file system.
    This can be done live and is very quick - you don't even need to reboot.

    Need to increase the size of the /boot file system or increase the swap space? No problem - just resize it on the fly.
    Need to make a consistent backup of a live system? No problem - just create an LVM snapshot and back it up.
    After using LVM I will never ever go back to partition hell.

    The only downside is that some distros (Ubuntu) don't include LVM on the desktop installation disk so you need to use an alternative installer or server installation disk.
    This above is a bit OT but I can't understand why people still limit themselves with multiple physical partitions.
    Last edited by Paul_S; 02-08-2012 at 12:25 PM.

  9. #9

    Default

    Quote Originally Posted by Paul_S View Post
    I much prefer installing Linux on LVM.
    BTW: Grub can even boot off LVM partitions as well so my typical home (and work) setup is:

    One LVM partition the size of the entire disk (LVM pv entire partition).
    One LVM logical volume for /boot (500MB ext4) - you can create a separate physical partition if you don't trust Grub with LVM.
    One LVM logical volume for swap (2 to 4 GB)
    One LVM logical volume for root (20 GB ext4)
    One LVM logical volume for /home (100GB ext4)

    Then as my storage requirements increase, I just increase the size of the logical volume and resize the underlying ext4 file system.
    This can be done live and is very quick - you don't even need to reboot.

    Need to increase the size of the /boot file system or increase the swap space? No problem - just resize it on the fly.
    Need to make a consistent backup of a live system? No problem - just create an LVM snapshot and back it up.
    After using LVM I will never ever go back to partition hell.

    The only downside is that some distros (Ubuntu) don't include LVM on the desktop installation disk so you need to use an alternative installer or server installation disk.
    This above is a bit OT but I can't understand why people still limit themselves with multiple physical partitions.
    Must say, I haven't used LVM at all in the past, but since using ZFS, I am hooked on volume management. ZFS basically does what LVM+MDADM and few other things do, all in one, but at least you can do online disk checks vs having your filesystem offline whilst doing a diskcheck.

    So for now, I pretty much stick to Debian kFreebsd on my home servers, where I need a bit better support I will go back to either normal Debian or Ubuntu.
    Few people can see the genius in someone who has offended them.
    - Robertson Davies

  10. #10

    Default

    Quote Originally Posted by Tinuva View Post
    I think the actually problem with 3TB drives and up, is a) the size and b) they now come in 4kbyte sector sizes instead of 512byte sector sizes.

    For performance reasons, you want to partition on the 4kbyte sector boundaries instead of 512bytes, so your partitions should always start on a sector value that can be divided by 8 or 64 ect (under correction).

    The size is probably the biggest problem, and it is only a problem if you want to boot off that hard drive, and most notably, that is only a problem with Win XP or older and Vista 32bit as far as I know. The later versions of Linux/BSD ect are mostly fine with these hard drives, as long as you partition them correctly for max performance.
    Size should not be a problem with Linux since there is no maximum limit on Linux. Filesystem maxim however for ext4 is 1 EiB, so can't be that either.

    As a side note, fdisk should not be used for drives/partitions larger than 2TB.
    http://www.cyberciti.biz/tips/fdisk-...eater-2tb.html

    You do have to properly partition your disk though (the 4kb sector type), so when you fire up Gparted during installation make sure you check the option "Round to Cylinders". This will align the partitions correctly and you should be set.
    http://www.ibm.com/developerworks/li...-sector-disks/

    It seems UEFI and LVM is the way to go according to one of the articles I posted last night, will have to hone my skills on LVM...

    "The fool hath said in his heart, There is no God."

  11. #11
    Active Member
    Join Date
    May 2005
    Location
    Waterberg
    Posts
    65

    Default

    OK Tried it and it failed! MS-Dos MBR did not like the size more than 2TB.

    However the following worked. Seems like the less you fiddle the better it works!
    1) Disable UEFI
    2) Re-instate as MBR as GPT
    3) I have the first 150GB as EXT4 for System mounted at root
    4) Then the rest of the drive as EXT4 for /home

    Thus seems like the #1 is the most important to avoid the pains during installation....
    Wireless in the Bush
    Linux Mint via MTN HSDPA, Screamer Wireless and Vodacom HSDPA..

  12. #12
    Super Grandmaster ponder's Avatar
    Join Date
    Jan 2005
    Location
    KZN Dolphin Coast
    Posts
    34,001

    Default

    Quote Originally Posted by SJB View Post
    3) I have the first 150GB as EXT4 for System mounted at root
    A whole 150GB for /? You will never need more than 20GB at most.
    entia non sunt multiplicanda praeter necessitatem

Similar Threads

  1. Ubuntu - beautify your Grub
    By MyWorld in forum Linux
    Replies: 0
    Last Post: 26-01-2010, 06:43 PM
  2. Ubuntu 9.10 New GRUB
    By ph4t3 in forum Linux
    Replies: 4
    Last Post: 31-10-2009, 08:54 PM
  3. No GRUB after Ubuntu install
    By Amida in forum Linux
    Replies: 9
    Last Post: 27-10-2009, 10:30 AM
  4. GRUB 2 with Ubuntu 9.10
    By Logicklz in forum Linux
    Replies: 7
    Last Post: 06-08-2009, 12:02 AM
  5. Grub/Ubuntu
    By PostmanPot in forum Linux
    Replies: 12
    Last Post: 10-04-2008, 04:50 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •