Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I'm sure I just wrote a thread - I don't know if they have to go through an approval process?
I've installed a new ssd, so I'm installing Lubuntu from a usb. This is the only usb I have, but I'm wondering if the image might be faulty?
I've tweaked all the boot options and orders, installed in both legacy and uefi - neither would boot. Either 'no boot device' or 'no operating system' errors.
I tried manually partitioning, but couldn't mount them in Gparted and the installer didn't like it much either. Wasn't entirely sure what I was doing, but had a go since it's a fresh drive and no risk of data loss.
Currently quite flummoxed, overwhelmed by all the information out there and which direction is best to take.
Any help and suggestion very welcome and much appreciated.
For UEFI boot, follow colorpurple21859’s suggestion but then create a 300MiB EFI system partition (esp), formatted as FAT32. This will be sda1 (see below).
NB Once this is created it is essential to right click on this partition and flag it as esp/boot, then exit gparted.
Hopefully this will boot and you can then select “Something else” and create 3 primary partitions along the following lines.
Make sure to select Beginning for the location of each partition.
Highlight the free space and click on Change.
First create sda2:
sda2....formatted (X in the box) as ext4 as the root partition (/)......Size: 25000MB
Click on OK.
Highlight the free space and click on Change.
sda3.....not formatted (no X in the box) as the swap partition.............Size: 2000MB.
Click on OK.
Highlight the free space and click on Change.
sda4......formatted (X in the box) as ext4 as the Home partition (/home)......Size: Remainder of hard drive.
Click on OK.
So, if I go into bios and select uefi with csm - does that not count as uefi?
No, csm is an implementation of the old way of booting a system on a uefi system.
Quote:
On uefi without csm the usb wasnt recognised as a boot option.
This indicates the usb is only booting in csm/legacy mode not uefi mode. What is the name of the iso you used and how did you put the iso onto the usb?
Quote:
The only way to boot in uefi without csm is with an efi file - and I have no idea which filename to enter.
on the usb it will be a EFI/Boot/Bootx64.efi file.
It is possible to install a system in uefi mode while booted in legacy/csm mode, but may be daunting for someone that isn't familiar with linux and the use of the console/terminal.
Quote:
And finally, when I go to install and 'erase disk' - the partitions will remain?
No, the installation will create all new partitions including the efi partition if the usb is booted in uefi mode. You will have to use "something else" option to keep a previously created partition table.
The existence/nonexistence of /sys/firmware/efi directory indicates whether or not your booted in uefi or legacy/csm mode.
A simple of test if it's existence from a terminal/console is this
Code:
cat /sys/firmware/efi
This will come back as "it is a directory" or doesn't exist message.
Last edited by colorpurple21859; 05-04-2021 at 06:04 AM.
Aha, so the problem is that I've been booting in 'uefi with csm'.
I downloaded the iso from lubuntu and installed it with unetbootin, but that's all I know. I think I'm going to try again, but with some efi configurations. Although, I might try that filename first!
By "something else", the options were to add a partition for the install, replace a partition or manual partition, is this what you mean? I did try manual on the installer, but it never activated the 'next' button.
I very much appreciate your time explaining through this with me, it's such a tonic to be able to ask directly. A lot of searching tends to be one big puzzle with missing pieces!
Currently in transit but I'll be getting my laptop shortly to try all these suggestions thank you!
I think this is your problem. If using windows, I recommend rufus https://rufus.ie/ It has two different modes to install to usb, it has iso-image or dd mode. choose iso-image as it will allow to copy additional files to the usb if needed, whereas dd will make the usb read-only like a regular dd/cd, if iso-image doesn't work then use DD mode. Accept the defaults on the first screen that comes up.
Last edited by colorpurple21859; 05-04-2021 at 07:05 AM.
If you decide to try downloading again, make sure you use the official download site at the link below and also make sure you verify the download process was good. That is explained in a link on the page.
There is a lot of information available online, much of it inaccurate so using the official documentation is usually best. Link below is the Lubuntu install guide including setting the drive (gpt,msdos) type and partitioning.
You make reference to option in the BIOS firmware but have not indicated the manufacturer (HP, Dell, Toshiba, etc.) which could help someone to help you with regard to firmware options.
Turns out all I needed was that file name! Installation and reboot went smoothly, no issue whatsoever! I had tried searching for that to no avail. Big thank you colourpurple..! What a load of faff.... best part of three days and it was installed and running in about 3 minutes. Amazing.. haha. Very pleased anyway, and I've learnt a lot in the process. Much gratitude for all contributions here
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.