My Ubuntu won't boot.

Solved
newchiche Posted messages 717 Registration date   Status Membre Last intervention   -  
newchiche Posted messages 717 Registration date   Status Membre Last intervention   -

Hello,

Thanks to the help received in this forum, I managed to install my 22.04 LTS amd64 on an SSD. Ubuntu launched and I was able to perform some actions. When I returned the next day, I could no longer launch Ubuntu. I now have a black screen with the following message that appears when I press a key:

 Reboot and select proper boot device, or insert boot media in selected boot device and press a key

Does anyone see a solution? Thank you very much.

Have a great week.

5 réponses

brucine Posted messages 24389 Registration date   Status Membre Last intervention   4 099
 

Hello,

The external drive allows you to launch the Ubuntu image and choose to start Ubuntu in Live mode or to install it on the destination disk: if the next day you have nothing, it means you chose the first option and then rebooted to something else or that you selected an apparently empty or non-bootable disk in the boot options instead of specifying your SSD if it is bootable.

0
newchiche Posted messages 717 Registration date   Status Membre Last intervention   15
 

Hello. So I should reinstall using a different option than the one I chose, which I believe was the first one. I will review that, and I'll keep you updated. I will put the DVD back in with the image of the ISO on it, and start over differently. Thank you.

0
mamiemando Posted messages 33537 Registration date   Status Modérateur Last intervention   7 927
 

Hello,

The message you saw appears when the disk that your BIOS is trying to boot from is not bootable. As Brucine suggested, I think the first time you only booted Ubuntu in live USB mode. If you continue to boot from your USB stick while it is not plugged in (or if the plugged USB stick is not bootable), then the message you're seeing is normal.

To solve your problem, you need to install Linux on your hard drive (on dedicated partitions) and at the end of the installation, install Grub on the hard drive that your BIOS will boot from. If you then restart by booting from this hard drive, Grub should appear and allow you to launch one of the operating systems installed on your hard drive.

Also, if your BIOS has a secure boot, I encourage you to read this page. I think that nowadays, you should be able to install Ubuntu directly without having to disable secure boot (to be verified). If that is not the case, you can:

1. Restart and enter the BIOS to disable secure boot.
2. Restart and boot from your USB stick to install Linux (without secure boot).
3. Remove the USB stick, restart under Ubuntu, and install the following package to register Ubuntu in your EFI partition:

sudo apt update sudo apt install grub-efi-amd64-signed

4. Restart and enter the BIOS to re-enable secure boot.
5. Restart normally, as you should now be able to launch Ubuntu with secure boot.

Good luck

0
newchiche Posted messages 717 Registration date   Status Membre Last intervention   15
 

Hello.

Thank you very much for paying attention to me. Things are different. The situation you are describing is not mine. I do not have a USB key. I had the 22.04 etc. that I told you about on DVD. I attempted the installation with option 1 out of the 4 proposed. I was suggested that this might be where the error was. I started over and reinstalled with option 2. A descriptive line where the word 'graphical' appears. I reached the same screen. And there I saw, which might have already been the case before, I do not remember, that there was a folder in the top left offering installation. It was at that moment that we probably install it on the hard drive. I wanted to do it. However, I realized that it was suggesting to do it 'to each their own' I would say on one of my hard drives. The 240 GB SSD or the other. It did not allow for partitioning, I would say. And I noted the possibilities, but I do not know how much space I should allocate for each one. Because I do not want to make unnecessarily large divisions. Here is the description I saw among the possibilities:

'Journaling file system ext 4

'Journaling file system ext 3

'File system ext 2

'Journaling file system btrfs

'Journaling file system jfs

'Journaling file system xfs

'Files Fat 16

'Files Fat 32

'Swap space

'Reserved area for the BIOS boot loader

Then 3 lines appeared

/dev/sda

Free space 240 GB

/dev/sbd

So before coming to ask questions, I tried to look for myself in the forums so as not to disturb people unnecessarily, and also in a book about Linux, which in my opinion contained everything. But there you go, since I bought it, things have changed... just like what I read on the forums.

The book is the Student Edition, Linux Campus Press by Jack Tackett and Steven Burnett. It's a heavy and large book of almost 700 pages. I thought I would find how to partition my disks without making mistakes in the megabytes allocated to each partitioning. But almost nothing informs me about this. It is poorly indicated. So what should I do? Let the automatic installation do this for me, and use up all my disk, which may not allow me to put documents and videos from other operating systems? I specify that I have nothing on my computer except for two disks. One is a 240 GB empty SSD and the other is a 164 GB which has no system on it, but may have some Linux documents. The first is empty, and one could say that the second can be formatted. Although I do not know how to go about it if it is necessary. Thank you.

0
brucine Posted messages 24389 Registration date   Status Membre Last intervention   4 099
 

Hello,

Since you seem relatively new to Linux, there's no need to complicate things with partitions: the simplest way is to install on the entire 240 GB sda disk (just choose to install once the Live DVD has started), and then if you want to resize the space allocated to Ubuntu to create an additional partition (not sure it's a good idea since we already have another disk and this one isn't very large) with gparted or whatever you prefer.

https://doc.ubuntu-fr.org/tutoriel/installer_ubuntu_avec_le_live_cd

Alternatively, you can manually partition as you wish with sizes of your choice during the installation, which I do not recommend if you are not experienced, and which is not really necessary anyway since you do not have other partitions containing other systems or data that you want to protect.

https://doc.ubuntu-fr.org/tutoriel/partitionner_manuellement_avec_installateur_ubuntu

0
mamiemando Posted messages 33537 Registration date   Status Modérateur Last intervention   7 927 > brucine Posted messages 24389 Registration date   Status Membre Last intervention  
 

Hello,

The nature of the installation disk (USB or CD or DVD) and the target disk (USB or SSD or SATA or IDE) doesn't matter.

I agree with what Brucine says, provided that the target disk does not contain any partitions you want to keep (e.g., your Windows partitions if Windows is installed on that hard drive). Otherwise, I recommend doing a manual partitioning instead, during which you can ensure that you do not format any existing partitions that you're attached to.

If you want to do manual partitioning, I suggest creating 3 partitions (primary or not doesn't matter):

  • 4 GB for swap (swap format)
  • 25 GB for / (ext4 format)
  • the remaining space for /home (ext4 format)

This is more or less what the automatic partitioning will do (the latter might create an extended partition, but that doesn't have a significant impact).

Good luck

0
newchiche Posted messages 717 Registration date   Status Membre Last intervention   15
 

Hello.

You're very kind. Sorry for this late reply, I wasn't here. Thank you very much and have a great weekend.

0
mamiemando Posted messages 33537 Registration date   Status Modérateur Last intervention   7 927
 

Hello newchiche,

So, is your problem resolved?

Good luck

0
newchiche Posted messages 717 Registration date   Status Membre Last intervention   15 > mamiemando Posted messages 33537 Registration date   Status Modérateur Last intervention  
 

Hello.

Sorry for not responding earlier, I wasn't there. Understood, I will mark it as resolved.

0