#boot menu not working

234 messages · Page 1 of 1 (latest)

full geode
#

Grub doesn't let me open any installed os. It only opens the automatic opening os.

lime timber
#

Can you explain what you mean by automatic opening os?
Do you see the grub menu when booting? Does it have any options?
And what options do you have installed and wish to pick from when booting?

full geode
#

Okay so the automatic opening os is the main os that gets booted without f12 and that is in the first slot in boot menu. I don't see the grub menu when booting. When i press f12 then there are my main, secondary and some ATA HDD0: CT...

#

Grub is up to date

#

I put windows the secondary boot entry to highest priority but it is not booting

lime timber
#

So you want to boot Windows?

#

And what is the "main os" ?

#

And are they on the same disk?

#

And is there a third os?

full geode
#

First and main one is endeavouros and they are on the same disk. The third thing was always on there but i don't use it and idk what it is

lime timber
#

So you were using EndeavourOS, and you installed Windows today?
Can you explain how and when this problem started?
btw in your previous thread I think you were using Arch. Is that another system?

uneven vine
#

I, too, am confused. Can you explain exactly how and what operating systems are installed. Also, when you refer to the boot menu not working, do you mean the grub screen, or the boot selection in the BIOS.

full geode
#

My boot menu:
Endeavouros
Windows boot loader
Ata hdd...

full geode
uneven vine
full geode
lime timber
#

OK.
There are 4 entries there.
1- CD Driver
2- Hard Disk
3- USB
4- LAN

You have only one actual disk.
You said Windows and Endeavor exist on the same disk.

You should be clicking 2 (ATA HDD0) to boot.
You probably did not install grub properly if it's not working.
But you said you are actually able to boot into Endeavor.
So, grub is working??

#

Now, what do you actually want?
Do you want to keep Windows, Endeavor, or both?

#

Then we can try to fix boot according to what you want.

full geode
#

And in endeavour it shows that grub is up to date

#

I clicked ata and it booted into endeavour

lime timber
#

nice.

#

It makes sense now :d

full geode
#

What does that ata do

lime timber
#

That is your hard disk.

#

Boot into Endeavor.
Do lsblk -f and share the output

full geode
#

Ok wait a moment

#

user|~$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ntfs Wiederherstellung B060CD3E60CD0C52
├─sda2 vfat FAT32 A0CE-35FB 65,4M 32% /boot/efi
├─sda3
├─sda4 ntfs D0A0E545A0E53320
├─sda5 ext4 1.0 endeavouros 755abd95-3d66-46dc-8bae-cdbc7f01c339 27,3G 35% /mnt/eos2
│ /
├─sda6 ntfs 86D81FDAD81FC6F9
├─sda7 ext4 1.0 endeavouros 47312857-f8c7-4d6f-8024-6cc5f883ec28 92,5G 10% /mnt/endeavouros
└─sda8 vfat FAT32 4527-845C

#

6, 7 and 8 are some other partitions i played with and maybe one swap

#

1-4 are windows i think

lime timber
#

put 3x ` at the beginning and end of code output, so it looks proper.

#

Like this:

user|~$ lsblk -f
NAME   FSTYPE FSVER LABEL             UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1 ntfs         Wiederherstellung B060CD3E60CD0C52
├─sda2 vfat   FAT32                   A0CE-35FB                              65,4M    32% /boot/efi
├─sda3
├─sda4 ntfs                           D0A0E545A0E53320
├─sda5 ext4   1.0   endeavouros       755abd95-3d66-46dc-8bae-cdbc7f01c339   27,3G    35% /mnt/eos2
│                                                                                         /
├─sda6 ntfs                           86D81FDAD81FC6F9
├─sda7 ext4   1.0   endeavouros       47312857-f8c7-4d6f-8024-6cc5f883ec28   92,5G    10% /mnt/endeavouros
└─sda8 vfat   FAT32                   4527-845C
full geode
#

ok

#

do you know what could be wrong or how it could be fixed

lime timber
#

I mean, a lot is wrong

#

ls -alt /boot

#

ls -alt /boot/efi

#

cat /etc/fstab

#

did you run endeavour installer inside endeavour and install endeavour inside endeavour?

full geode
#
total 97453
drwxr-xr-x 17 root root     4096 25. Apr 20:01 ..
drwxr-xr-x  6 root root     4096 25. Apr 17:36 grub
-rw-------  1 root root 57258773 22. Apr 19:35 initramfs-linux-fallback.img
drwxr-xr-x  4 root root     4096 22. Apr 19:35 .
-rw-r--r--  1 root root 22941911 22. Apr 19:34 initramfs-linux.img
-rw-r--r--  1 root root 12496960 22. Apr 19:34 vmlinuz-linux
-rw-r--r--  1 root root  7066624 15. Feb 01:22 intel-ucode.img
drwxr-xr-x  3 root root     1024  1. Jan 1970  efi
full geode
# lime timber `ls -alt /boot/efi`
total 6
drwxr-xr-x 4 root root 4096 22. Apr 19:35 ..
drwxr-xr-x 6 root root 1024  8. Mär 20:44 EFI
drwxr-xr-x 3 root root 1024  1. Jan 1970  .```
#
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=A0CE-35FB                            /boot/efi         vfat    defaults,noatime 0 2
UUID=755abd95-3d66-46dc-8bae-cdbc7f01c339 /                 ext4    defaults,noatime 0 1
tmpfs                                     /tmp              tmpfs   defaults,noatime,mode=1777 0 0
UUID=47312857-f8c7-4d6f-8024-6cc5f883ec28 /mnt/endeavouros  ext4    defaults 0 2
UUID=755abd95-3d66-46dc-8bae-cdbc7f01c339 /mnt/eos2         ext4    defaults 0 2```
lime timber
#

Is there a reason you have the last two lines in fstab?

#

Otherwise remove them.

#

ls -alt /boot/efi/EFI

#

You have two boot partitions on the same disk, so I am trying to understand it properly before trying to do anything.
Also, your mount points are really weird.

#

And I think the sda2 boot partition has some serious issues.

full geode
#

Hey sorry for the late responses I am not really feeling well and in bed

#
user|~$ ls -alt /boot/efi/EFI
total 6
drwxr-xr-x 2 root root 1024  8. Mär 20:44 endeavouros
drwxr-xr-x 6 root root 1024  8. Mär 20:44 .
drwxr-xr-x 2 root root 1024 20. Feb 20:02 Boot
drwxr-xr-x 2 root root 1024  1. Jan 14:03 ubuntu
drwxr-xr-x 4 root root 1024  8. Jan 2019  Microsoft
drwxr-xr-x 3 root root 1024  1. Jan 1970  ..
#

i would delete sda7 because it is useless but i cant because i cant boot into usb

lime timber
#

you can delete from here

#

ls -alt /boot/efi/EFI/Microsoft
ls -alt /boot/efi/EFI/Boot

full geode
#

oh wait sda8 isnt swap?

#

and does -alt show the history?

lime timber
#

ah might be swap yes.

#

-alt orders by modify date

full geode
#

why is there still ubuntu in EFI

lime timber
#

no idea.

#

(:

full geode
lime timber
#

can we mount sda8 and check contents?

full geode
#

mnt sda8?

lime timber
#

yes, but you should mount it somewhere, so may need to mkdir /mnt/something beforehand

full geode
#

can i put that mounted anywhere

#

like in downloads folder or something

lime timber
#

it should be an empty directory ideally

full geode
#

ok

#

There is nothing inside

lime timber
#

sudo umount /boot/efi

full geode
#

I used sudo mount /dev/sda8 ~/FOLDER if that is right

lime timber
#

if there were no errors, and then the folder was empty, alright, it is probably swap

full geode
#

What does unmount do

lime timber
#

umount unmounts a partition

full geode
#

And what does that mean

lime timber
#

so it is disconnected from the system, for now

full geode
#

Ah

lime timber
#

until a reboot or until you manually mount again

full geode
#

unmount not found

lime timber
#

not unmount, umount

full geode
#

Oh sorry

lime timber
#

it's an unnecessary skipping of the letter n, you're right :)

full geode
#

Target is busy

#

/boot/efi

lime timber
#

is the GUI app showing partitions open?

#

or any terminal open with that location?

#

if so, close them and try again

full geode
#

Ah yes I closed it

#

Its unmounted now

lime timber
#

lsblk

full geode
#

I can't send the whole thing because i don't have wifi on the laptop at the moment

#

Is there something specific to write

lime timber
#

photo?

full geode
#

My mobile data is about 2kb/s fast

#

I'm really really sorry

#

-sda2 8:2 0 100M 0 part

lime timber
#

ls -alt /boot

lime timber
#

or different?

full geode
coarse lagoonBOT
full geode
#

Oh alt

lime timber
#

i changed it, since just knowing if it's the same as before is enough

full geode
#

Now the total is 3 more than before

#

And

lime timber
full geode
#

And efi the date is somehow 14.3

#

And why is there suddenly initram stuff

lime timber
#

they were there.

#

your message before

user|~$ ls -alt /boot
total 97453
drwxr-xr-x 17 root root     4096 25. Apr 20:01 ..
drwxr-xr-x  6 root root     4096 25. Apr 17:36 grub
-rw-------  1 root root 57258773 22. Apr 19:35 initramfs-linux-fallback.img
drwxr-xr-x  4 root root     4096 22. Apr 19:35 .
-rw-r--r--  1 root root 22941911 22. Apr 19:34 initramfs-linux.img
-rw-r--r--  1 root root 12496960 22. Apr 19:34 vmlinuz-linux
-rw-r--r--  1 root root  7066624 15. Feb 01:22 intel-ucode.img
drwxr-xr-x  3 root root     1024  1. Jan 1970  efi
full geode
#

Oh help my eyes there were 2 lines per thing

lime timber
#

ls -alt /boot/efi
is it empty?

#

i will ask just a few more questions :)

full geode
#

There are 2 things and total is 8

lime timber
#

.
..
are just "this directory" and "the directory above"

coarse lagoonBOT
lime timber
#

they are not actual files

full geode
#

Only . and ..

lime timber
#

sudo mount /dev/sda2 /boot/efi

#

ls -alt /boot/efi/EFI/endeavouros

#

I have only one thing I do not understand now...

full geode
lime timber
#

I have no idea how Endeavour is booting.
There is no bootloader or kernel image in the boot partition.
Microsoft directory is still there, which is nice.

The main problem is that you mistakenly installed grub, kernel images and everything in your root partition instead of the boot partition.

#

So, there is no grub at all

full geode
#

No bootloader?

#

sda5 is the root partition right?

lime timber
#

yes

#

pacman -Q os-prober efibootmgr

#

do they both exist?

full geode
#

Os prober does

#

os-prober 1.81-1 and efibootmgr 18-2

lime timber
#

one moment, we will try something

full geode
#

Oh no please connect

#

Why does discord use so much data😢

#

Oh luckily

lime timber
#

laptop got wifi again?

full geode
#

Nope my mobile data is too slow sometimes sometimes

#

And then there is Connecting... in discord for a fee minutes

lime timber
#

ls -alt /boot/efi/EFI/Microsoft
ls -alt /boot/efi/EFI/Boot

are there a lot of files in there?

full geode
#

4

#

.
Recovery
.
Boot

#

total 8

#

And in /boot

lime timber
#

ok nvm

#

tree /boot/efi/EFI/Microsoft

#

tree /boot/efi/EFI/Boot

#

now?

full geode
#

Total 2005
boot.efo
..
.
Bk.efi
fbx.efi...

full geode
#

tree command not found

#

I could download tree it is only 0.04MiB

lime timber
#

no need

full geode
#

Should I try to reboot

lime timber
#

we didn't do anything yet :D

full geode
#

Oh

lime timber
#

I am trying to decide, because I cannot understand how Endeavour is able to boot

#

I don't want to break it

full geode
#

What is with the efi sda2 partition

#

Isn't that the boot partition?

lime timber
#

there is no bootloader in sda2.
the bootloader (grub) is in sda3.

#

are you sure sda8 is empty?

full geode
lime timber
#

sorry, sda5, your root

full geode
#

But i thought it was like 6gb big

#

It says I used 4MiB of it

#

Its flags are boot end esp in gparted

#

I mounted sda8 again in home folder and it is still empty

lime timber
#

ok

#

yeah, if it's using 4MB, it doesn't have anything

#

you have a USB you can boot into right?

full geode
#

Yes

#

But

lime timber
#

if we break the Endeavor boot

#

you will just pick "USB" in the boot menu.

full geode
#

It does not boot like windows

#

I already tried it

lime timber
#

the third one here

full geode
lime timber
full geode
#

Nope

#

Nothing from bios boot menu

full geode
lime timber
#

this is what you sent as the boot menu

full geode
#

Yea i used that picture from the web but it looks the same when i press f12 on boot

#

I unmounted sda7 the previous endeavouros where i had kde installed

#

I hope deleting it wont break anything

lime timber
#

ls /sys/firmware/efi/efivars

#

now wait...

full geode
#

Big output

lime timber
#

cat /sys/firmware/efi/efivars/Boot0*

#

with * at end

full geode
#

Uh

#

Gibberish

lime timber
#

where did your internet go?

full geode
#

O&4Startup Interrupt MenunGC=xl<rescue and recovery... hot key... Usb fdd

full geode
#

Shouldn't swap be mounted?

#

And why is sda2 efi mounted

lime timber
#

it looks like sda8 is no longer swap

#

i don't know

#

if i could figure out how endeavor is able to boot, i would have suggested something to do.
but now, i'm not sure if it will break your successfully booting endeavor

#

cat /sys/firmware/efi/efivars/Boot*

#

any new words?

full geode
#

No

#

Maybe Ider boot floppy

#

Or ATA HDD but i think it was there 3 minutes ago

lime timber
#

?

#

cat /sys/firmware/efi/efivars/lBoot*

full geode
#

Many A
A
A
As

lime timber
#

Would you be sad if Endeavor didn't boot anymore?

full geode
#

I probably spent hours on fixing small problems and finding ways to install stuff and then rice everything. I have some school stuff and some school programs so it would be a loss

#

It's not too much personal stuff but sda5 is like 30gb so i might find a way to save stuff

#

Is there some simple tool to save programs and config files?

lime timber
#

your files are staying.
but if we try something, you might not be able to start endeavor, so you cannot do anything.
you're saying you also cannot boot a USB, so we cannot fix it if it breaks.

#

how did you boot the usb before?

full geode
#

I am not sure if it would've booted automaticly but i always used f12 and selected usb

lime timber
#

and it doesn't work anymore?

#

can't you do the same?

full geode
#

Yea i noticed it just recently

lime timber
#

are you using the same USB stick?

full geode
#

Yes

#

Wait i remember something

#

I think i maybe used the drive on another laptop and did something but i could've used another drive

#

I can't really remember

lime timber
#

well, if you do not have a USB you can boot with this PC, you should not touch anything on the PC right now.
because you can only boot Endeavor now, for some reason.

full geode
#

I gotta say big THANK YOU to you victiming your time for my problem and do your best. I wish I had your mindset and knowledge to help people. I may create a thread in some linux forum tomorrow and hope for answers for long beard linux users. Still ❤️❤️❤️ for trying to help me I really appreciate it

#

Good night i have to sleep🥱🤗