[SOLVED] Trouble installing 2 versions of Ubuntu on Lenovo Z500
Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trouble installing 2 versions of Ubuntu on Lenovo Z500
I purchased a Z500 about 9 years ago from the Linux Emporium. It came with the then most recent Ubuntu and the LTS. It was for me to decide what to use. I chose the LTS and never booted the alternative as I wanted something stable with long term support.
I installed 18.04 over the old LTS about 4 years ago. Something got corrupt and stopped me doing updates and was beyond my abilities to fix. I have not used the laptop for several years and decided to format sda2 (the root partition for the old version that I never used) and run the installer from USB stick as a dual boot Ubuntu box with my 18.04 LTS for safety. I am keeping my home partition on sda6 and swap on sda5.
First time round I got an error about cannot mount efi system on Vfat. sda1 is 99mb, so I set it up as efi system and formatted as Vfat. I keep going round in a loop and cannot get past this point. I do note that the installer appears to be trying to mount sda9 as efi but that is a partition that I have not created. I am a bit rusty with my linux skills as I have had a few years away so it would be great to get some expert input to get this installation completed so that I can resume my relationship with an old friend :-)
I have opened Gparted on the live installation and note that my /home partition has been resized and sda9 tagged on the sda6 so that I now have a 295GB ext4 partition that I think that the installer is trying to use as the EFI System partition. Should I format this as Vfat so that it can do what I think it wants to do?
I think the original ubuntus were installed in legacy/csm mode, not uefi mode. To boot the usb in legacy mode make sure legacy/csm is still enabled in the bios and select a boot option that doesn't have efi in it.
Did you select "something else" at the parition stage and select sda1 to change to use as "efi system parition"? How did you format the efi partition?
Last edited by colorpurple21859; 05-05-2023 at 03:02 PM.
When the efi issue first arose I formatted sda1 as Vfat and selected as efi system partition thinking that that would solve the problem. When it didn't I reformatted as ext4 as /boot partition to see what happened. Basically fishing in the dark :-)
What you say makes sense to me as I did not have this issue last time I did a fresh installation so put it down to something having changed in Ubuntu. I simply did not have the knowledge to work out what. I can now have a poke around the settings that you have suggested. Thanks for pointing me in the right direction. Hopefully I can make some progress from here.
The information you posted in post 4 above shows you have a Legacy install of whichever Ubuntu you have on the 1TB drive. It also shows as an msdos drive rather than gpt. Generally on an msdos drive, the OS will be installed in Legacy mode although it is possible to install EFI on an msdos drive. Generally not the recommended way.
If you want to keep 18.04 (support for it has ended) you will need to know which partitions it is currently using and then install the new OS on some of the other partitions or delete them. Since you have an Extended partition with logical partitions within it, you need to know that if you delete a partition, all partitions with a higher number will change, reduce by one. That could create problems in booting if your 18.04 is on an Extended partition.
An EFI partition must be formatted with a fat filesystem and generall that is FAT32 (vfat).
I selected a non-EFI USB option to boot the installation (HDD flash drive). The installer booted. When I get to the partitioning stage in the installation I get this:
Do you want to resume partitioning? The attempt to mount a file system with type vfat in SCSI2(0,0,0), partition 1 #1 (sda) at /boot/efi failed. You may resume partitioning from the partitioning menu.
I have the option to "Go Back" or "Continue".
If I go back I get stuck in a loop and never get past this point (not sure what I should do differently). I do not have the courage to continue because I do not know what the consequences will be.
I pressed continue 2 1/2 hours ago and I am still on the "Removing conflicting operating system files..."
Each entry in the shell output is anywhere from 10 minutes to 25 minutes. Very slow!!
Anyhow, as long as it is doing something I will leave it running. Extraordinary that it is taking so long just to set-up the environment to start the installation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.