Vorbereitung
- Bios auf UEFI Boot einstellen.
- Installationsmedium starten.
Testen ob im UEFI Modus gestartet wurde
Wurde evicars gemountet
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime
Abfrage zum BIOS
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.5 present.
Handle 0x0000, DMI type 0, 20 bytes
BIOS Information
Vendor: innotek GmbH
Version: VirtualBox
Release Date: 12/01/2006
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 128 kB
Characteristics:
ISA is supported
PCI is supported
Boot from CD is supported
Selectable boot is supported
8042 keyboard services are supported (int 9h)
CGA/mono video services are supported (int 10h)
ACPI is supported
Abfrage zur Hardware
# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.5 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: innotek GmbH
Product Name: VirtualBox
Version: 1.2
Serial Number: 0
UUID: BC5B1031-03A8-4AFF-BA48-73D87751C423
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Virtual Machine
Efibootmgr
BootCurrent: 0000
BootOrder: 0000,0001,0002
Boot0000* EFI DVD/CDROM PciRoot(0x0)/Pci(0x1,0x1)/Ata(1,0,0)
Boot0001* EFI Hard Drive PciRoot(0x0)/Pci(0xd,0x0)/Sata(0,0,0)
Boot0002* EFI Internal Shell MemoryMapped(11,0x2100000,0x28fffff)/FvFile(7c04a583-9e3e-4f1c-ad65-e05268d0b4d1)
Partitionieren
Number Start (sector) End (sector) Size Code Name
1 2048 2099199 1024.0 MiB EF00 EFI System
2 2099200 10487807 4.0 GiB 8200 Linux swap
3 10487808 52428766 20.0 GiB 8300 Linux filesystem
Aufteilungen
- /dev/sda3 /
- /dev/sda1 /boot/efi
Grub install
Installing for x86_64-efi platform.
installation beendet. Keine Fehler aufgetreten.
Update Grub
Grub-Konfigurationsdatei wird generiert …
Linux-Abbild gefunden: /boot/vmlinuz-4.4.0-103-generic
initrd-Abbild gefunden: /boot/initrd.img-4.4.0-103-generic
Linux-Abbild gefunden: /boot/vmlinuz-4.4.0-21-generic
initrd-Abbild gefunden: /boot/initrd.img-4.4.0-21-generic
Adding boot menu entry for EFI firmware configuration
erledigt
Aufteilung
/boot/efi/
├── EFI
│ └── ubuntu
│ ├── fw
│ ├── fwupx64.efi
│ ├── grub.cfg
│ ├── grubx64.efi
│ ├── mmx64.efi
│ └── shimx64.efi
└── startup.nsh
startup.nsh
- /boot/efi/startup.nsh
- \EFI\ubuntu\grubx64.efi
grub.cfg in EFI
- /boot/efi/EFI/ubuntu/grub.cfg
search.fs_uuid 7c2247af-d636-4255-bc6e-5ae7da9fbd91 root hd0,gpt3
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg