Gps2010
August 25, 2024, 11:08pm
41
From the boot menu of my mobo, I can start windows or leap.
F11 gives a list of things I can boot from.
There is no browsing there.
Asrock motherboard.
guus@localhost:~> lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT
NAME FSTYPE SIZE MOUNTPOINT
sda 931,5G
├─sda1 ntfs 529M
├─sda2 vfat 99M
├─sda3 16M
└─sda4 ntfs 930,9G
sdb 931,5G
├─sdb1 vfat 512M
├─sdb2 ext4 48,8G
├─sdb3 ext4 800,8G /home/guus/leaphome
├─sdb4 swap 2G
└─sdb5 ext4 79,4G /home/guus/VMmount
sdc iso9660 7,5G
├─sdc1 vfat 3,4M
└─sdc2 iso9660 4,4G
nvme0n1 931,5G
├─nvme0n1p1 vfat 512M /boot/efi
└─nvme0n1p2 btrfs 931G /var
sda windows
sdb Leap and and a virtual machine
nvme Tumbleweed (which does not show anymore, when I press F11)
mrmazda
August 25, 2024, 11:18pm
42
In your Leap’s Grub menu there should be at least one entry to boot TW. Choose it, then with TW booted, run efibootmgr to show here.
mrmazda
August 25, 2024, 11:21pm
43
These are Leap 15.3 kernels.
Gps2010
August 25, 2024, 11:36pm
44
I cant start tumbleweed that way. (from leap grub) When I try I get grub errors.
grubcore/fs/brtfs.c:2056file : file '/@/ .snapshot boot /vmlinux 5.14.9-1 default not found
@Gps2010 OK, so as you can see the NVMe is using /boot/efi for Leap booting, I suspect that’s also Tumbleweed.
You need to show what’s in /boot/efi/EFI
directory.
I suspect since you did not change the distribution names, Leap overwrote Tumbleweed
Gps2010
August 25, 2024, 11:44pm
46
guus@localhost:/> cd boot
guus@localhost:/boot> ls
config-6.10.3-1-default efi initrd initrd-6.9.9-1-default sysctl.conf-6.9.9-1-default System.map-6.9.9-1-default vmlinuz-6.10.3-1-default
config-6.9.9-1-default grub2 initrd-6.10.3-1-default sysctl.conf-6.10.3-1-default System.map-6.10.3-1-default vmlinuz vmlinuz-6.9.9-1-default
guus@localhost:/boot> cd efi
guus@localhost:/boot/efi> ls
9e31c51a645745f3914585e1f8036f64 EFI opensuse-tumbleweed
guus@localhost:/boot/efi> ls
9e31c51a645745f3914585e1f8036f64 EFI opensuse-tumbleweed
guus@localhost:/boot/efi> cd EFI
guus@localhost:/boot/efi/EFI> ls
boot opensuse
guus@localhost:/boot/efi/EFI>
guus@localhost:/boot/efi/EFI/boot> ls
bootx64.efi fallback.efi grub.cfg grub.efi MokManager.efi
guus@localhost:/boot/efi/EFI/boot>
NVME is the tumbleweed hard disk
@Gps2010 Whilst the NVMe is the Tumblweed disk, it’s sharing /boot/efi for booting, since you did not change the distributor, well you may have since I see up one directory an opensuse-tumbleweed directory. You need to move that to the EFI directory and see if that helps.
So, su -
to root user, then;
cd /boot/efi
mv opensuse-tumbleweed EFI/
Now, fire up YaST Bootloader and follow the steps earlier but for Leap, save and then post the output from efibootmgr
Don’t reboot!
The forum did not let me log in from leap.
My firefox was too old.
I then downloaded firefox and that did work.
After in tumbleweed the copy vomand, I took the usb stickout and booted leap
Then used the bootloader
localhost:/home/guus # efibootmgr
BootCurrent: 0011
Timeout: 1 seconds
BootOrder: 0001,0000,0006,0011
Boot0000* Windows Boot Manager
Boot0001* opensuse-leap-secureboot
Boot0006* Hard Drive
Boot0011* opensuse
And I have not yet rebooted
@Gps2010 So, I suspect 1 and 11 are both Leap, did you not disable secure boot in YaST Bootloader? If no do that and post the efibootmgr -v
info again…
No reboot
malcolmlewis:
efibootmgr -v
This time with secure boot off.
localhost:/home/guus # efibootmgr -v
BootCurrent: 0011
Timeout: 1 seconds
BootOrder: 0001,0000,0006,0011
Boot0000* Windows Boot Manager HD(2,GPT,70e1d660-fa10-4c6b-af84-2f6220bf4308,0x109000,0x31800)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0001* opensuse-leap HD(1,GPT,a986b7af-7e9a-4f0a-a483-a57562332f53,0x800,0x100000)/File(\EFI\opensuse-leap\grubx64.efi)
Boot0006* Hard Drive BBS(HD,,0x0)..GO..NO........u.S.T.1.0.0.0.D.M.0.1.0.-.2.E.P.1.0.2....................A.................................>..Gd-.;.A..MQ..L. . . . . . . . . . . . .N.Z.0.1.9.W.H.5........BO..NO........q.S.a.m.s.u.n.g. .S.S.D. .9.8.0. .1.T.B....................A...........................%8....i.....4..Gd-.;.A..MQ..L.S.6.4.9.N.F.0.R.7.1.9.4.2.6.V........BO..NO........u.W.D.C. .W.D.1.0.E.Z.E.X.-.0.8.W.N.4.A.0....................A.................................>..Gd-.;.A..MQ..L. . . . .W. .-.D.C.W.6.C.2.Y.R.T.3.1.6.F........BO
Boot0011* opensuse HD(1,GPT,a986b7af-7e9a-4f0a-a483-a57562332f53,0x800,0x100000)/File(\EFI\OPENSUSE\GRUBX64.EFI)..BO
@Gps2010 OK, so we have opensuse-leap present. In YaST bootloader, you checked the Foreign OS box too?
Can you show the output from ls -la /boot/efi/EFI/opensuse-tumbleweed
and os-prober
No reboot!!
Yes I had
guus@localhost:~> ls -la /boot/efi/EFI/opensuse-tumbleweed
ls: kan geen toegang krijgen tot '/boot/efi/EFI/opensuse-tumbleweed': Bestand of map bestaat niet
guus@localhost:~> sudo os-prober
[sudo] wachtwoord voor root:
/dev/nvme0n1p2:openSUSE Tumbleweed:openSUSE:linux:btrfs:UUID=9c8140f9-0b81-41eb-ab94-d7342c38d218:subvol=@/.snapshots/1555/snapshot
/dev/sdb2@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
I do not know if it matters but:
Windows was installed first then Tumbleweed then leap. (if I recall right)
@Gps2010 Did you not move the directory as asked earlier?
yes, and I got no erors, but how can we check ?
@Gps2010 with the ls command ls -la /boot/efi
and ls -la
/boot/efi/EFI`
guus@localhost:~> ls -la /boot/efi
totaal 12
drwxr-xr-x 3 root root 4096 1 jan 1970 .
drwxr-xr-x 4 root root 4096 12 okt 2021 …
drwxr-xr-x 5 root root 4096 26 aug 16:42 EFI
guus@localhost:~> ls -la boot/efi/EFI
ls: kan geen toegang krijgen tot 'boot/efi/EFI': Bestand of map bestaat niet
then I set cli to english
guus@localhostsudo ls -la boot/efi/EFI
ls: cannot access 'boot/efi/EFI': No such file or directory
@Gps2010 Your missing the leading /
in the command…
ls: cannot access 'and': No such file or directory
-rw-r--r-- 1 guus users 0 Aug 26 17:40 ls
/boot/efi:
total 12
drwxr-xr-x 3 root root 4096 Jan 1 1970 .
drwxr-xr-x 4 root root 4096 Oct 12 2021 ..
drwxr-xr-x 5 root root 4096 Aug 26 16:42 EFI
/boot/efi/EFI:
total 20
drwxr-xr-x 5 root root 4096 Aug 26 16:42 .
drwxr-xr-x 3 root root 4096 Jan 1 1970 ..
drwxr-xr-x 2 root root 4096 Oct 12 2021 boot
drwxr-xr-x 2 root root 4096 Oct 12 2021 opensuse
drwxr-xr-x 2 root root 4096 Aug 26 16:42 opensuse-leap
@Gps2010 So can you mount /dev/sdb1 and show the contents;
mount /dev/sdb1 /mnt
ls -laR /mnt
If that has opensuse-tumbleweed, then it looks like your Leap overwrote tumbleweed on /dev/nvme0n1p1 because you had not renamed the DISTRIBUTOR section in the grub configureation…
No reboot!