Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: second HDD format and partition?

  1. #1
    Join Date
    Dec 2010
    Beans
    39

    second HDD format and partition?

    I just installed Ubuntu 12.04 on a new Sedatech desktop. It has two hard drives, a 60GB SSD SATA3 and a 500GB SATA2. Ubuntu is using only the SSD, identified in the Disk Utility as /dev/sda, and it's about 20% full now. The other drive does not seem to be being used--Disk Utility identifies it as /dev/sdb, and tells me it's not partitioned. How should I format and partition it so Ubuntu will recognize and how can I make Ubuntu use it as well as the SSD?
    Otherwise, Ubuntu is working extra well.....

  2. #2
    Join Date
    Feb 2013
    Beans
    22

    Re: second HDD format and partition?

    You can use the GUI tool GParted, in terminal do:
    sudo apt-get install gparted

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    5,508
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: second HDD format and partition?

    As for how to use it, the most common configuration for a second partition is to have /home there.
    None but ourselves can free our minds

  4. #4
    Join Date
    Dec 2010
    Beans
    39

    Re: second HDD format and partition?

    hmm..../dev/sdb (the as-yet unformatted 500GB disk) does not appear in GParted. It does show up in Disk Utility, where the bar showing the Volume is greyed out (and says 'Unknown 500Gb), and includes an option Format Drive (with a pull-down menu with choices Master Boot Record, GUID Partition Table, Don't Partition, and Apple Partition Map), and an option Format Volume (with a pull-down menu with lotsa choices--the default seems to be Ext4, but there's also NTFS, Ext2, Ext3, btrfs, FAT, XFS, Swap Space, and Empty)....which of these should I use, and in what order? Do I format the drive first, then format the volume?

  5. #5
    Join Date
    Feb 2013
    Beans
    22

    Re: second HDD format and partition?

    You choose Master Boot Record for format drive. You choose ext3fs or ext4fs for format volume.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: second HDD format and partition?

    If it is a new system, are you booting from SSD in UEFI mode or BIOS mode? If UEFI then drive will be gpt partitioned, but Ubuntu can boot from gpt partitioned drives with BIOS also.
    You should use the same partitioning on both drives or use the gpt partitioning. I have an old XP with MBR(msdos) partitioning and several other drives with Ubuntu using gpt partitioning. But XP is so old it cannot read a NTFS formatted partition on a gpt drive.

    You can set up 500GB as data drive and mount partition(s) into your /home to use directly. Details and discussion in these threads.
    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata
    Link is on move home but see post by bodhi.zazen on data partition #6
    http://ubuntuforums.org/showthread.php?t=325048
    Severals posts on size of / and use of linking to data partition.
    http://ubuntuforums.org/showthread.php?t=2137726
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Dec 2010
    Beans
    39

    Re: second HDD format and partition?

    I think I am making some headway....using Disk Utility, I have formatted--ext4(version 1.0)-- and partitioned the 500 GB disk, which I named bigdisk...I mounted it--Disk Utility insisted it be mounted at /media/bigdisk. But I can't open it, permission is denied. Seems that root owns it--it's locked, and I'm hesitant to move stuff to it, if indeed I could. Any further hints? sorry if I'm being dense....

  8. #8
    Join Date
    Feb 2013
    Beans
    22

    Re: second HDD format and partition?

    Open terminal
    Code:
    sudo chmod 0775 /media/bigdisk
    Last edited by benzarti; June 10th, 2013 at 01:09 PM.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: second HDD format and partition?

    #If you cannot read and write then change the permissions. Not for NTFS
    # Note that the -R is recursion and everything is changed, do NOT run on any system partitions.
    # 777 is read, write & execute by everyone
    I recently learned something - see post #8 & 10 by morbius1. Seems like a better way as you have more control over what is executable.
    http://ubuntuforums.org/showthread.php?t=1795369
    sudo chmod -R a+rwX /mnt/data
    #is better than this:
    sudo chmod 775 /mnt/data
    sudo chown $USER:$USER /mnt/data
    #where $USER should be your login name
    #or to see user
    echo $USER

    You may want to permanently mount with fstab.


    http://ubuntuforums.org/showthread.php?t=1983336
    Mount & edit fstab from Morbius1 - suggest using templates instead. Post #6

    More info:

    Understanding fstab
    http://www.psychocats.net/ubuntu/mountlinux
    https://help.ubuntu.com/community/Mount/
    https://help.ubuntu.com/community/FilePermissions
    https://help.ubuntu.com/community/Fstab
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Feb 2013
    Beans
    22

    Re: second HDD format and partition?

    If you haven't /home partition you can mount your second disk as /home permanently with fstab.

Page 1 of 2 12 LastLast

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
  •