Proxmox v. 8 kasutamine: erinevus redaktsioonide vahel

Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
Resümee puudub
Resümee puudub
69. rida: 69. rida:
 
done
 
done
 
</pre>
 
</pre>
  +
  +
efibootmgr ja uuid osakond
  +
  +
<pre>
  +
# efibootmgr -v
  +
BootCurrent: 0006
  +
Timeout: 10 seconds
  +
BootOrder: 0006,0005,0000,0003,0004,0002
  +
Boot0000 proxmox HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\PROXMOX\SHIMX64.EFI)
  +
Boot0002* refind VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
  +
Boot0003 debian HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\DEBIAN\SHIMX64.EFI)
  +
Boot0004 debian HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
  +
Boot0005* UEFI OS HD(1,GPT,d240f095-7252-4a51-8480-77d19650cb3f,0x800,0x1dc800)/File(\EFI\BOOT\BOOTX64.EFI)..BO
  +
Boot0006* UEFI OS HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\BOOT\BOOTX64.EFI)..BO
  +
  +
# blkid /dev/sda1
  +
/dev/sda1: UUID="17BA-8F03" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="7c575bd3-de2d-4d57-b344-be7529331560"
  +
  +
# blkid /dev/sdb1
  +
/dev/sdb1: UUID="EDA2-7AC7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d240f095-7252-4a51-8480-77d19650cb3f"
  +
</pre>
  +
  +
kus
  +
  +
* efibootmgr väljundis ei ole esitatud otseselt kõvakette number (mis väljendab nt sata ketta puhul millisesse sata porti on kaabel kinnitatud)
  +
* HD(1,GPT) väljendab et tegu on mingi süsteemi kõvakette esimese partitsiooniga ning et kasutusel on gpt partitsioonitabel, vfat failisüsteemi uuid, ning milline efi rakendus käivitatakse sellelt vfat partitsioonilt
   
 
Secure Boot osakond
 
Secure Boot osakond

Redaktsioon: 6. jaanuar 2024, kell 03:14

Sissejuhatus

TODO

proxmox-boot-tool kasutamine

Vajadusel --force suvand

# proxmox-boot-tool format /dev/sda1 --force
# proxmox-boot-tool format /dev/sdb1 --force

grup tekitamine

# proxmox-boot-tool init /dev/sda1 grub
# proxmox-boot-tool init /dev/sdb1 grub

tulemuse kontrollimiseks

# proxmox-boot-tool status
Re-executing '/usr/sbin/proxmox-boot-tool' in new private mount namespace..
System currently booted with uefi
0426-0BDE is configured with: grub (versions: 6.5.11-7-pve)
FB90-E8DA is configured with: grub (versions: 6.5.11-7-pve)

ning

# cat /etc/kernel/proxmox-boot-uuids
0426-0BDE
FB90-E8DA

Selliselt käivitatud süsteemi edasiseks haldamiseks sobib öelda

# proxmox-boot-tool status
# proxmox-boot-tool refresh

Kusjuures nö klassikalise update-grub ütlemine kutsub välja sama 'proxmox-boot-tool refresh'

# update-grub
Generating grub configuration file ...
W: This system is booted via proxmox-boot-tool:
W: Executing 'update-grub' directly does not update the correct configs!
W: Running: 'proxmox-boot-tool refresh'

No /etc/kernel/cmdline found - falling back to /proc/cmdline
Copying and configuring kernels on /dev/disk/by-uuid/17BA-8F03
	Copying kernel 6.5.11-7-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.11-7-pve
Found initrd image: /boot/initrd.img-6.5.11-7-pve
Adding boot menu entry for UEFI Firmware Settings ...
done
Copying and configuring kernels on /dev/disk/by-uuid/EDA2-7AC7
	Copying kernel 6.5.11-7-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.5.11-7-pve
Found initrd image: /boot/initrd.img-6.5.11-7-pve
Adding boot menu entry for UEFI Firmware Settings ...
done
Found linux image: /boot/vmlinuz-6.5.11-7-pve
Found initrd image: /boot/initrd.img-6.5.11-7-pve
Adding boot menu entry for UEFI Firmware Settings ...
done

efibootmgr ja uuid osakond

# efibootmgr -v
BootCurrent: 0006
Timeout: 10 seconds
BootOrder: 0006,0005,0000,0003,0004,0002
Boot0000  proxmox	HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\PROXMOX\SHIMX64.EFI)
Boot0002* refind	VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0003  debian	HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\DEBIAN\SHIMX64.EFI)
Boot0004  debian	HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\DEBIAN\GRUBX64.EFI)..BO
Boot0005* UEFI OS	HD(1,GPT,d240f095-7252-4a51-8480-77d19650cb3f,0x800,0x1dc800)/File(\EFI\BOOT\BOOTX64.EFI)..BO
Boot0006* UEFI OS	HD(1,GPT,7c575bd3-de2d-4d57-b344-be7529331560,0x800,0x1dc800)/File(\EFI\BOOT\BOOTX64.EFI)..BO

# blkid /dev/sda1
/dev/sda1: UUID="17BA-8F03" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="7c575bd3-de2d-4d57-b344-be7529331560"

# blkid /dev/sdb1
/dev/sdb1: UUID="EDA2-7AC7" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="d240f095-7252-4a51-8480-77d19650cb3f"

kus

  • efibootmgr väljundis ei ole esitatud otseselt kõvakette number (mis väljendab nt sata ketta puhul millisesse sata porti on kaabel kinnitatud)
  • HD(1,GPT) väljendab et tegu on mingi süsteemi kõvakette esimese partitsiooniga ning et kasutusel on gpt partitsioonitabel, vfat failisüsteemi uuid, ning milline efi rakendus käivitatakse sellelt vfat partitsioonilt

Secure Boot osakond

# mokutil --sb-state
SecureBoot enabled

# efibootmgr -v
BootCurrent: 0002
Timeout: 3 seconds
BootOrder: 0003,0002,0001,0000,0007,0004,0005,0006,0008
Boot0000* UiApp	FvVol(7cb8bdc9-f8eb-4f34-aaea-3ee4af6516a1)/FvFile(462caa21-7614-4503-836e-8ab6f4662331)
Boot0001* UEFI QEMU HARDDISK QM00015 	PciRoot(0x0)/Pci(0x1e,0x0)/Pci(0x1,0x0)/Pci(0x7,0x0)/Sata(1,65535,0)N.....YM....R,Y.
Boot0002* UEFI QEMU HARDDISK QM00013 	PciRoot(0x0)/Pci(0x1e,0x0)/Pci(0x1,0x0)/Pci(0x7,0x0)/Sata(0,65535,0)N.....YM....R,Y.
...

Kasulikud lisamaterjalid