Open GParted and let's get started.Īlways use gksu or gksudo for graphical applications like gparted and sudo for command line applications, like apt-get.
Mac initialize drive from command line install#
If System > Administration > GNOME Partition Editor (or 'Partition Editor') is not available, install "GParted" using "sudo apt-get install gparted" from the command line, "Add/Remove Software" (or "Add/Remove.") from the Applications menu, or "Synaptic Package Manager" from the System > Administration menu. Decide whether you want the drive to contain one single partition, or if you want to divide the space up between two or more partitions. If you have already formatted the drive and it contains data, skip this step and move on to "Mount Point." If the drive is still blank and unformatted, then you have two options: formatting the drive using the command line, or installing GParted for a graphical approach. This should produce output similar to this sample: *-diskīe sure to note the "logical name" entry, as it will be used several times throughout this guide. To determine the path that your system has assigned to the new hard drive, open a terminal and run: sudo lshw -C disk We assume that the hard drive is physically installed and detected by the BIOS. If you are new to file systems and partitioning, please do some preliminary research on the two before you attempt this procedure. For sharing between Ubuntu and Windows, FAT32 is often the recommended file system, although NTFS works quite well too. Multiple partition drive installations are not very hard, and you may very well figure it out by using this guide however, make sure you add an entry in /etc/fstab for each partition, not just the drive.ĭrives that are going to be used only under Ubuntu should be formatted using the ext3/ext4 file system (depending on which version of Ubuntu you use and whether you need Linux backwards compatibility). This guide goes over procedures for a single partition drive install only.