Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

option " -d " or " " --disk " seems to be not working #218

Open
iznobe opened this issue Oct 20, 2024 · 0 comments
Open

option " -d " or " " --disk " seems to be not working #218

iznobe opened this issue Oct 20, 2024 · 0 comments

Comments

@iznobe
Copy link

iznobe commented Oct 20, 2024

Hi , see title for description .

example ( on all ubuntu versions ) :

iznobe@iznobe-PC:~$ lsblk -fe7 | grep EFI
├─sda2       vfat   FAT32 SDA_EFI          BC94-9CBD                                           
├─nvme0n1p3  vfat   FAT32 SSD_BOOTEFI      C071-9050                              41,1M    57% /boot/efi
iznobe@iznobe-PC:~$ sudo efibootmgr -d /dev/sda
[sudo] Mot de passe de iznobe :    
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0004,0002,0003
Boot0001* Ubuntu
Boot0002* Windows Boot Manager
Boot0003* debian
Boot0004* ubuntu
iznobe@iznobe-PC:~$ sudo efibootmgr -d /dev/nvme0n1
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0004,0002,0003
Boot0001* Ubuntu
Boot0002* Windows Boot Manager
Boot0003* debian
Boot0004* ubuntu
iznobe@iznobe-PC:~$ efibootmgr -d /999999999999999999999999
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0004,0002,0003
Boot0001* Ubuntu
Boot0002* Windows Boot Manager
Boot0003* debian
Boot0004* ubuntu
iznobe@iznobe-PC:~$ 
iznobe@iznobe-PC:~$ sudo awk -F"'|\"" '$1=="menuentry " || $1=="submenu " {print i++ " : " $2} ; /\tmenuentry / && !/UEFI/ {print "\t" i-1 ">" j++ " : " $2} ; /UEFI/ {print i++ " : " $2}' /boot/grub/grub.cfg
0 : Ubuntu
1 : Advanced options for Ubuntu
	1>0 : Ubuntu, with Linux 5.15.0-124-generic
	1>1 : Ubuntu, with Linux 5.15.0-124-generic (recovery mode)
	1>2 : Ubuntu, with Linux 5.15.0-122-generic
	1>3 : Ubuntu, with Linux 5.15.0-122-generic (recovery mode)
	1>4 : Ubuntu, with Linux 5.15.0-121-generic
	1>5 : Ubuntu, with Linux 5.15.0-121-generic (recovery mode)
2 : Debian GNU/Linux trixie/sid (on /dev/nvme0n1p10)
3 : Advanced options for Debian GNU/Linux trixie/sid (on /dev/nvme0n1p10)
	3>6 : Debian GNU/Linux GNU/Linux (on /dev/nvme0n1p10)
	3>7 : Debian GNU/Linux GNU/Linux, with Linux 6.10.9-amd64 (on /dev/nvme0n1p10)
	3>8 : Debian GNU/Linux GNU/Linux, with Linux 6.10.9-amd64 (recovery mode) (on /dev/nvme0n1p10)
	3>9 : Debian GNU/Linux GNU/Linux, with Linux 6.9.12-amd64 (on /dev/nvme0n1p10)
	3>10 : Debian GNU/Linux GNU/Linux, with Linux 6.9.12-amd64 (recovery mode) (on /dev/nvme0n1p10)
	3>11 : Debian GNU/Linux GNU/Linux, with Linux 6.7.12-amd64 (on /dev/nvme0n1p10)
	3>12 : Debian GNU/Linux GNU/Linux, with Linux 6.7.12-amd64 (recovery mode) (on /dev/nvme0n1p10)
4 : Arch (on /dev/nvme0n1p11)
5 : Advanced options for Arch (on /dev/nvme0n1p11)
	5>13 : Arch (on /dev/nvme0n1p11)
6 : Windows Boot Manager (on /dev/nvme0n1p3)
7 : Ubuntu 20.04.6 LTS (20.04) (on /dev/nvme0n1p6)
8 : Advanced options for Ubuntu 20.04.6 LTS (20.04) (on /dev/nvme0n1p6)
	8>14 : Ubuntu (on /dev/nvme0n1p6)
	8>15 : Ubuntu, avec Linux 5.15.0-117-generic (on /dev/nvme0n1p6)
	8>16 : Ubuntu, avec Linux 5.15.0-117-generic (recovery mode) (on /dev/nvme0n1p6)
	8>17 : Ubuntu, avec Linux 5.15.0-107-generic (on /dev/nvme0n1p6)
	8>18 : Ubuntu, avec Linux 5.15.0-107-generic (recovery mode) (on /dev/nvme0n1p6)
	8>19 : Ubuntu, avec Linux 5.15.0-91-generic (on /dev/nvme0n1p6)
	8>20 : Ubuntu, avec Linux 5.15.0-91-generic (recovery mode) (on /dev/nvme0n1p6)
	8>21 : Ubuntu, avec Linux 5.4.0-190-generic (on /dev/nvme0n1p6)
	8>22 : Ubuntu, avec Linux 5.4.0-190-generic (recovery mode) (on /dev/nvme0n1p6)
	8>23 : Ubuntu, avec Linux 5.4.0-182-generic (on /dev/nvme0n1p6)
	8>24 : Ubuntu, avec Linux 5.4.0-182-generic (recovery mode) (on /dev/nvme0n1p6)
9 : Ubuntu 22.04.5 LTS (22.04) (on /dev/nvme0n1p7)
10 : Advanced options for Ubuntu 22.04.5 LTS (22.04) (on /dev/nvme0n1p7)
	10>25 : Ubuntu (on /dev/nvme0n1p7)
	10>26 : Ubuntu, with Linux 5.15.0-122-generic (on /dev/nvme0n1p7)
	10>27 : Ubuntu, with Linux 5.15.0-122-generic (recovery mode) (on /dev/nvme0n1p7)
	10>28 : Ubuntu, with Linux 5.15.0-119-generic (on /dev/nvme0n1p7)
	10>29 : Ubuntu, with Linux 5.15.0-119-generic (recovery mode) (on /dev/nvme0n1p7)
11 : Ubuntu 24.04.1 LTS (24.04) (on /dev/nvme0n1p8)
12 : Advanced options for Ubuntu 24.04.1 LTS (24.04) (on /dev/nvme0n1p8)
	12>30 : Ubuntu (on /dev/nvme0n1p8)
	12>31 : Ubuntu, with Linux 6.8.0-47-generic (on /dev/nvme0n1p8)
	12>32 : Ubuntu, with Linux 6.8.0-47-generic (recovery mode) (on /dev/nvme0n1p8)
	12>33 : Ubuntu, with Linux 6.8.0-45-generic (on /dev/nvme0n1p8)
	12>34 : Ubuntu, with Linux 6.8.0-45-generic (recovery mode) (on /dev/nvme0n1p8)
	12>35 : Ubuntu, with Linux 5.15.0-122-generic (on /dev/nvme0n1p8)
	12>36 : Ubuntu, with Linux 5.15.0-122-generic (recovery mode) (on /dev/nvme0n1p8)
	12>37 : Memory test (memtest86+x64.efi) (on /dev/nvme0n1p8)
	12>38 : Memory test (memtest86+x64.efi, serial console) (on /dev/nvme0n1p8)
13 : Linux Mint 21.3 Virginia (21.3) (on /dev/nvme0n1p9)
14 : Advanced options for Linux Mint 21.3 Virginia (21.3) (on /dev/nvme0n1p9)
	14>39 : Linux Mint 21.3 Cinnamon (on /dev/nvme0n1p9)
	14>40 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-122-generic (on /dev/nvme0n1p9)
	14>41 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-122-generic (recovery mode) (on /dev/nvme0n1p9)
	14>42 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-121-generic (on /dev/nvme0n1p9)
	14>43 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-121-generic (recovery mode) (on /dev/nvme0n1p9)
	14>44 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-119-generic (on /dev/nvme0n1p9)
	14>45 : Linux Mint 21.3 Cinnamon, with Linux 5.15.0-119-generic (recovery mode) (on /dev/nvme0n1p9)
15 : Ubuntu 24.04 LTS (24.04) (on /dev/sda4)
16 : Advanced options for Ubuntu 24.04 LTS (24.04) (on /dev/sda4)
	16>46 : Ubuntu (on /dev/sda4)
	16>47 : Ubuntu, with Linux 6.8.0-39-generic (on /dev/sda4)
	16>48 : Ubuntu, with Linux 6.8.0-39-generic (recovery mode) (on /dev/sda4)
	16>49 : Ubuntu, with Linux 6.8.0-35-generic (on /dev/sda4)
	16>50 : Ubuntu, with Linux 6.8.0-35-generic (recovery mode) (on /dev/sda4)
	16>51 : Ubuntu, with Linux 6.8.0-31-generic (on /dev/sda4)
	16>52 : Ubuntu, with Linux 6.8.0-31-generic (recovery mode) (on /dev/sda4)
	16>53 : Ubuntu, with Linux 6.8.0-28-generic (on /dev/sda4)
	16>54 : Ubuntu, with Linux 6.8.0-28-generic (recovery mode) (on /dev/sda4)
	16>55 : Memory test (memtest86+x64.efi) (on /dev/sda4)
	16>56 : Memory test (memtest86+x64.efi, serial console) (on /dev/sda4)
17 : UEFI Firmware Settings
18 : UEFI Firmware Settings
19 : Windows ( nvme0n1p1 ) 
20 : Linux Mint 21 ( nvme0n1p5 )
21 : Ubuntu 18.04.6 LTS ( nvme0n1p6 )
22 : Ubuntu Budgie 22.04 ( nvme0n1p7 )
23 : Ubuntu 20.04 ( nvme0n1p8 )
24 : Linux Mint 21 NEW ( nvme0n1p9 )
25 : Ubuntu 22.10 ( sda3 )
26 : Arch-linux ( nvme0n1p11 )
	26>57 : ..    Ubuntu Lunar 23.04 (Daily build)
iznobe@iznobe-PC:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant