I have an internal SSD containing a single partition with Ubuntu on it.  I am currently booting from this partition.    However, to actually boot a second (HDD) drive is required which has an EFI partition on it.  I want to remove the HDD and continue to boot Ubuntu from its location on the SSD, without having to reinstall anything.  I am thinking what I need to do is to resize the partition on the SSD to allow space for an EFI partition, move it (the start of the existing partition ahead/up), create an EFI partition before it, and then install something on the new EFI partition so it will boot from the existing Ubuntu install on what would now be the second partition.   I have bits and pieces of what I think I need to do (for instance, I think GParted can do the moving and resizing) but I don't have a clear enough picture of exactly what I need to do in order to avoid risking data loss.  Also, it seems like this is an uncommon procedure, as I see these various activities mentioned as parts of other processes, but never creating an EFI partition from scratch.  Exactly what steps do I need to do to safely modify my single partition SSD to boot by itself?
124188
A while back I installed Linux on my SSD, sdb1. I also have a 1 terabyte drive for my home directory, sdc1. I have Windows on another hard drive, sda1, which I haven’t booted into in over 2 years. It is a terabyte in size. I would like to get rid of Windows and utilize that extra space without reinstalling Linux, but Grub is on the Windows hard drive, sda1. What I would like to do is put Grub onto my SSD, sdb1, if possible in order to format the Windows drive, sda1, and have extra space. It is Legacy BIOS on the computer.
115928
I'm encountering a problem with my HDD's partitions and can't resize it. I've described my problem and my system here: .  Now, from a more general perspective, I was thinking on whether it is possible to use an Ubuntu Live CD and use GParted in a live session to possibly go around that problem. Is that possible? I made a separate question as I'm interested in the possibility independently from my current problem.  You see, I only have one partition and that's mounted. When I use GParted through Ubuntu I don't get any error reports (unlike the case reported in the question linked above).  Thanks beforehand.
2494
I have a 500GB SSD in which i would like to have both Windows and Ubuntu. My plan is to have something similar to this: Windows 8.1 and ubuntu 14.04 Uefi boot   an efi partition (created by windows installer) which will have Grub as bootloader 150GB ntfs for Windows 15GB ext4 for Ubuntu (root) 35GB ext4 for Ubuntu (home) ~8-16GB swap for Ubuntu (I have 16GB RAM) ~284-292GB ntfs for Data shared for both Windows and Ubuntu   My current setup is   200GB ntfs Windows 300GB ntfs for Data   I plan to shrink both the Windows and the data partiton in order to achieve my desired plan.  My questions:   Does the order of partitions matter? Does it matter if the ubuntu partitions are not at the end/beggining of the drive? Does the swap partition behaves better if its the last/first partition? Can I use the shared NTFS Data partition between windows and ubuntu without encountering problems? Do I have enough space for my ubuntu /home partition (thinking that I'll have access to the ntfs shared partition)?   Edit: Laptop, Asus N56jr, i7, 16Gb Ram, SSD samsung 850 evo 500gb  Windows 8.1 and Ubuntu 14.04
19813
Accidental BIOS mode install  I have Intel 64-bit hardware with UEFI setup utility. Ubuntu 14.04.1 LTS was  installed as the only operating system on the only drive attached. Accidentally Ubuntu was installed in BIOS/CSM/legacy mode.  Convert to UEFI  While later on learning about UEFI, the goal is to change this existing Ubuntu installation to (quicker) boot via EFI/UEFI. I do still want to have some kind of - 2 seconds displayed - boot menu that allows me to enter the UEFI setup utility. Therefore I think I do need use Grub (can't use an EFI boot stub) and . I have already re-partitioned the drive using a Live CD and inserted a 200 MiB EFI partition in the beginning of the drive and marked that fat16 formatted partition as type id 0xEF.  Before:  # fdisk -l /dev/sda ...    Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048   108478463    54238208   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris   After:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *      411648   108478463    54033408   83  Linux /dev/sda2       108480510   125044735     8282113    5  Extended /dev/sda3            2048      411647      204800   ef  EFI (FAT-12/16/32) /dev/sda5       108480512   125044735     8282112   82  Linux swap / Solaris  Partition table entries are not in disk order   No boot-repair please  The Ubuntu community wiki suggests to use boot-repair to . I don't want to use a GUI, or install any extra packages, and I don't want any data being accidentally sent to pastebin.com and because I do want to know what will be changed exactly, I don't want to use .  Under the hood  Trying to figure out what boot-repair actually does, I found this snippet:     Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc, and installing grub-efi, if gpt partitioned.   source:   UEFI mode install comparison  A clean Ubuntu 14.04.1 installation in UEFI mode creates a 512 MiB Fat32 formatted EFI partition. That partition contains one directory /EFI/ubuntu, containing 4 files: grub.cfg, grubx64.efi, MokManager.efi and shimx64.efi. The grub.cfg contains:  search.fs_uuid 7d843e47-3917-4114-8725-55dfa1fbe002 root hd0,gpt2 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg   Search.fs_uuid points to the UUID of the Linux installation partition, in this comparison UEFI installation Linux is installed partition /dev/sda2 (versus sda1 in BIOS mode installation).   No potential Asrock firmware issues found  Having CSM still disabled in firmware and using the clean UEFI mode Ubuntu installation. Resizing the 512 MiB EFI partition to 200 MiB using a Live CD and gparted results in that its formatting changes from FAT32 to FAT16. The Asrock firmware P1.50 (incorrectly called BIOS by AMI in boot message "BIOS date") is still able to boot into UEFI mode Ubuntu: UEFI+FAT16 = ok. (msdos) using the same Live CD terminal command gdisk and its commands r g p w also results in a UEFI bootable Ubuntu on an MBR partitioned drive: UEFI+MBR = ok.   Question  Does this mean that the only commands I do need to execute - from the legacy Ubuntu install and in this order - are:  # apt-get install grub-efi # apt-get remove grub-pc   ? Or is more needed to be done?
18875
Okay, so here's the story.  I am trying to install Ubuntu 13.04.  I currently have a 2TB drive in my computer where Windows 7 boots from, and a secondary 500GB drive that also has a bootable installation of Windows 7, because the version on the 2TB is a clone of what was on the 500.. I do not need any information on the 500 as I already have it moved over to the 2TB.  What I want is to completely reformat the 500 so that it has about 300GB for NTFS and the rest for Ubuntu.  However, I can't seem to find a straightfoward way to do that in the Ubuntu installer.  If I click on "Install Ubuntu alongside them," it does not give me the option to select my 500GB drive, only my 2TB.  I do NOT want any linux partitions on my 2TB drive.  I do not want to click, "Erase disc and install Ubuntu" for obvious reasons.  Finally, clicking "something else" brings up a menu that is quite confusing.  I can kind of figure out how to use it, but it's not as straightfoward as I'd like..  Further, I know that Ubuntu requires a SWAP partition, but I do not know how much, or even how, to allocate that with the stupid dropdown menus it gives me.  So, to get to the point..  What is the easiest, safest way to do what I want to do?  That is, allocate approximately 200G for Ubuntu on my 500G drive, and be able to choose between Windows 7 on my 2TB drive and Ubuntu at startup - all, of coarse, without touching the 2TB drive at all.  Thanks!
21398
I'm going to move from HDD to SSD (60GB) + HDD (250GB) setup. Basicly I want the system to be fast. Root partition will be on SSD but I'm not sure what to do with /home. All data like /pictures /documents will be linked to HDD that will be in a removable caddy adapter in my thinkpad. From time to time I might need to remove it and plug in a CD-ROM. This way I guess some part of /home partition will have to be on SSD to make the system bootable.   Does anyone has some tips? It's also important that the Eclipse and Browsers (Opera,Firefox) will run fast. Is it also enough to just copy the partition to SSD to I will have to make a clean install?
117408
Update: Question and answer below also applies to Ubuntu 16.04  I have a computer with dual SSDs and Win (7) pre-installed on another disk. The pre-installation uses (U)EFI/GPT boot. I want to install Ubuntu 14.04 64-bit desktop on a RAID1 root partition on my SSDs and still be able to dual-boot my Win7 system. Is this possible?   using the desktop installer did not work, probably because it (implicitly) assumes MBR booting. Neither did , probably for the same reason.
59994
I've read that you need to put the swap partition on HDD rather than SSD.   My questions are the following:    When and how is the "checking" done by the distribution (or something else) to find its Swap partition?  Does it happen during boot?  It just checks all available disks and searches for a partition with 'swap' flag?  What happens if there are several partitions like that?  Also, how many swap partitions do I need to have if I run, for example, two different distributions on the same disk, let's say Fedora and Ubuntu?
76410
I currently have Ubuntu 10.04 server running on a portable HDD. Want to move it to internal sata HDD. I've got 3 partitions /, /home and swap. On the new HDD I plan to have different partition sizes. What's the correct way of doing these two things (move and resize)?
58686
Why do I need these? I have installed Ubuntu under a non UEFI (master boot record) and have installed Ubuntu with no 'biosgrub' and it works fine, whereas other times I am asked to make a 'biosgrub' partition.  I have no idea why sometimes I need it and others I don't (these have both been on the same system).  And the same thing happens when I use UEFI (GUID Partition Table).  The only difference is I am asked to make a 'EFI boot partition', but as with the 'biosgrub', sometimes I am asked to make it and sometimes I am not asked to make it.  For my current install I was asked to make one but I didn't and my system is fine. There is no change in the system, same hardware, BIOS etc... Could anyone shed light on this?
46755
I have gotten as far as to create the bootable usb, booting into that bootable usb and getting to the install options however i quit because I had some concerns.  I currently have a Samsung 850 evo 1tb that has win 10ninstalled. I want to dual boot with Ubuntu 18.04 by installing it on a brand new unformatted uninitialized Samsung 860bevo 250gb. Should i format the brand new ssd as a new volume in win 10 and then proceed with the Ubuntu install on this volume. What else should i do? Im a first time Ubuntu user and installer.  Any and all help is appreciated.
95969
I am brand new to Ubuntu. I have just build my new PC, it has 2 separate hard drives installed in it. I would like to install Windows 10 on the first SsD (They are both 250GB Samsung 850 EVO) and i would like to install Ubuntu on the other and be able to choose to use either one or the other on dual boot. As i said I am brand new to Ubuntu. In fact, I have not downloaded or installed it as yet. I would like to know if this dual booting from separate hard drives is possible.
93035
I'm still a newbie with Linux but I'm trying to learn. I have two USBs, one is 4GB and has the ISO install of Ubuntu (I think it's called live, the one with maximum of 4GB of permanent storage) and got a 64gb usb to make a permanent full install on it. I installed it following  tutorial and everything looks fine (I had to create the EFI partition with the Terminal though) but it just won't boot, the live install boots without problems.   I'm using the school's computers which have the UEFI menu password protected so I can't access that and I won't have a laptop for like 3 weeks (main reason why I'm doing this). I tested it with a friend's laptop disabling the Secure boot but it still wouldn't boot. I also saw that some tutorials don't add the EFI partition so I tried without that one and still won't work. And I know it's not the 64GB usb not booting because I had a live install on it too before and it booted fine.  Please, I have been trying to make it work for two days now, any ideas? I can barely understand this stuff so if you could explain step by step that would be awesome.
116529
I have changed my system to boot from UEFI instead of BIOS and have installed Windows 7 on my internal SSD which has GPT partition type.   I am trying to install Ubuntu 13.04 on my external HDD. My machine is a Lenovo . My HDD is a 1TB USB3 .  Here is some of what I have been trying:   My laptop is set to boot in UEFI mode. I have 64 bit version of Ubuntu, on my bootable flash disk    I took out my SSD before installing Ubuntu    Before installation my external HDD was also partitioned as GPT and it only had one 950GB partition   I tried two different methods:     First: When I let the Ubuntu to install itself automatically, without changing anything, the installation completed but Ubuntu did not boot. SSD was out and I am sure the systems boots in UEFI mode. Second: I tried to do the partitioning myself in the following order, but I still have the same problem, I am sure my HDD is partitioned as GPT:     /EFI Boot /(root)  /swap   /home     I chose to install the bootloader in /EFI boot.    Please let me know what I am doing wrong. Thanks  Update:  I was sure that Windows, on SSD, boots in UEFI mode. However, I disconnected my HDD and the windows did boot from SSD.I used the live USB to boot Ubuntu and let it do the partitioning and install Ubuntu on the external HDD. I still had the same problem and Ubuntu did not boot. Then I used the live USB and installed Boot-Repair. After running Boot-repair and a restart everything was good, and Ubuntu did boot from HDD. However, there is a line before booting into Ubuntu: ata_id[279]: HDIO_GET_IDENTITY failed for '/dev/sdb': Invalid argument But the system boots.  Boot Info Script: Here is a  I got after using Boot Repair.   I tried to change the partitioning and partition sizes. After reading , I changed the partitioning using Gparted. I also installed the bootloader in /dev/sda1 which is flagged as the /boot partition. As expected after installation and a reboot, Ubuntu did not boot. So by following  and  posts, I tried to register the bootloader to the EFI. But I was not successful. I even noticed that my machine might have  problem, and I changed the /EFI/Ubuntu/bootx64.efi name and location but no effect, Ubuntu did not want to boot.  Again, I used boot repair to solve the boot problem and it worked like the previous time and I am in Ubuntu. But I really like to know what is causing this problem. The interesting thing is that Boot Repair has created all possible folders and files. Is there a way that I know which folders are being used for boot? These are the different folders and files:   -/boot/efi/EFI/Boot/bootx64.efi   -/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi and bootx64.efi   -/boot/efi/EFI/ubuntu/bootx64.efi and grubx64.efi
64593
I have Ubuntu installed on a drive. The problem is it is running low on disk space. This is installed on vmware. I expanded the virtual drive and booted into ubuntu. But when I opened gparted(sudo gparted), the move/resize option is unavailable. This is the partition Ubuntu is installed on, but I need to resize it. Any ideas? I am comfortable using command line
122354
I'm a little confused as to whether I should install Ubuntu on its own partition on my hard drive, use VirtualBox or another virtualization package to install it, or use Wubi to install it directly on top of my current OS (Win 7). I definitely want to learn and use Ubuntu, so this is not just for playing around with it.   Also, if I choose to partition, should I partition the hard drive myself or should I let the Ubuntu installation menu do it for me? I understand that I am going to need a main partition, for Ubuntu's core components, and also a swap partition. Then there is the option to add a partition for "home"- I don't understand what combination of these partitioning options I should choose, or whether it is better to partition in Windows before I install Ubuntu or just partition my hard drive when I install Ubuntu itself
71641
I had a Windows 8 installation on an HDD, using UEFI as boot. The HDD has the following GPT table:  DISKPART&gt; list partition  Partizione ###   Tipo              Dim.     Offset ---------------  ----------------  -------  ------- Partizione 1     Ripristino         300 Mb  1024 Kb Partizione 2     Sistema            100 Mb   301 Mb Partizione 3     Riservato          128 Mb   401 Mb Partizione 4     Primario           390 Gb   529 Mb Partizione 5     Primario           540 Gb   390 Gb   (I apologize it's in Italian, but the translation is quite straightforward).  I recently bought an SSD drive, connected it and installed a fresh Windows 8. Now I have a working dual boot, but the UEFI partition is on the HDD instead of the SSD. Here's the SSD partition list:  Partizione ###   Tipo              Dim.     Offset ---------------  ----------------  -------  ------- Partizione 1     Riservato          128 Mb  1024 Kb Partizione 2     Primario           221 Gb   129 Mb   I think that the best solution would be to have it on the SSD for two reasons:   The first is performance (I guess it would be a little be faster on the SSD due to the spin up time for an HDD, but I may be wrong about that.)  second reason is consistency. As I plan to use only the Windows 8 installation that is located on the SSD and I'm probably going to erase the system partition on the HDD to use it as a data storage device, I think that the boot partition should be on the same drive as the OS.  So the question is how do I move the EFI System Partition to the SSD?