You should begin by figuring out what happens when you boot the installer into the "try before installing" mode. Open a Terminal window and type the following command:
- Code: Select all
ls /sys/firmware/efi/
If the result is a "no such file or directory" error, you've probably booted into BIOS mode. If you see a file listing (probably with a file called "systab" and a directory called "vars"), then you've booted into EFI mode. I'll assume you have
not booted into EFI mode....
You should figure out how to coax your computer to boot in EFI mode. Unfortunately, this varies a lot from one computer to another, so I can't provide a simple step-by-step procedure. You should start by consulting your manual and looking for options related to the boot mode. (If you can download a PDF of your manual, searching for the string "EFI" or "legacy" might help you find this.) Some implementations provide a boot options menu you can get by pressing F2, F10, F12, or some other key at boot time. If you press this key with the CD or USB flash drive installed, you might see two options for that device, one of which will boot in BIOS mode and the other of which will boot in EFI mode. Between reading your manual and experimenting, with any luck you should be able to get an EFI-mode boot. If you can't, there may be ways to force it by employing additional software or reconfiguring your installer. Post back if you need more help with this.
Once you've got an EFI-mode boot going, you can repartition your disk. (Actually, you can do this from BIOS mode, and it's conceivable that this will kick your system into an EFI-mode boot, so you could try this as a last-ditch effort to start an EFI-mode boot.) I recommend doing this manually, with GParted or something similar. In GParted, select Device -> Create Partition Table to create a new partition table. In the dialog box, click Advanced and set the partition table type to "gpt". When you click Apply, this will wipe out your current partitions and create a fresh GPT, which you can then populate with new partitions. (Alternatively, you can wipe out the partitions you've got now, since your disk seems to already be set up for GPT.) On a normal spinning disk, I recommend creating the following partitions:
- EFI System Partition (ESP) -- A 200-500 MiB FAT32 partition for use by the firmware. In GParted, set its "boot flag" (that identifies it as the ESP); or if you use gdisk, give it a type code of EF00.
- Linux /boot partition -- A ~500 MiB ext2fs or ReiserFS partition to hold your kernels and related files. This isn't strictly necessary, but a separate ext2fs or ReiserFS /boot partition gives you some extra options for certain types of boot loader configurations. You might never want this functionality, but there's very little downside to creating this partition, and having it in place will be handy if you decide you do want to use the boot loaders that can take advantage of it.
- Linux root (/) partition -- A 5-25 GiB partition to hold the bulk of the OS system files. Use whatever filesystem you like.
- Linux swap partition -- A partition that's 1-2x the size of your system's RAM, prepared as swap space.
- Linux /home partition -- Give the rest of the disk's space to /home, which will hold user files.
Note that the mount points I've specified (/boot, /, and /home) are set in the installer, not in GParted.
SSDs have their own issues. If your system will have
both an SSD
and a regular spinning disk, you might want to put some partitions on one disk or the other to optimize performance and reduce unnecessary wear on the SSD. For instance, most people recommend putting swap space on a regular disk rather than an SSD to reduce wear. You'd probably want root (/) on the SSD to optimize performance, but you might want to split off some frequently-changed directories, such as /var and /tmp, to store on the regular disk. You'd probably also put /home on the regular disk. Given your SSD's size, this would leave a lot of space unused on the SSD. You could use that for another OS or create a partition for frequently-accessed user files. OTOH, if the SSD is the computer's only disk, you can partition it just as you would a regular spinning disk.
Anyhow, once the disk is partitioned and you're booted in EFI mode, you should be able to launch the installer and install normally. You'll need to select the manual partitioning option (IIRC it's called "something else") and tell the installer what each of those partitions is. IIRC, Ubuntu and Mint call the ESP the "EFI boot partition". Swap space will be auto-detected. For the others, you specify their mount points here.