UEFI EFI Stub instructions
This commit is contained in:
parent
e0e763f0b6
commit
0b7ddeaf6d
1 changed files with 33 additions and 7 deletions
40
README.md
40
README.md
|
@ -56,6 +56,16 @@ void-live login: root
|
|||
Password: voidlinux
|
||||
```
|
||||
You will now be greated with a `# ` root prompt.
|
||||
## Change the Keyboard Layout
|
||||
To switch to Dvorak, run:
|
||||
```
|
||||
loadkeys dvorak
|
||||
```
|
||||
After chroot, run this.
|
||||
```
|
||||
sed -i 's/us/dvorak/g' /etc/rc.conf
|
||||
```
|
||||
The keymaps are listed in `/usr/share/kbd/keymaps`. If you are using a different keymap, then replace `dvorak` with tat keymap. The keymap will be changed back to Gradma's keymap later.
|
||||
## SSH
|
||||
If you would like install over SSH, do the following:
|
||||
|
||||
|
@ -493,11 +503,31 @@ Update the package manager.
|
|||
xbps-install -u xbps
|
||||
```
|
||||
### UEFI
|
||||
Now install efibootmgr.
|
||||
Install a terminal text editor of choice
|
||||
```sh
|
||||
xbps-install -S efibootmgr
|
||||
xbps-install -S vis
|
||||
```
|
||||
Replace `vis` with the terminal text of your choice.
|
||||
|
||||
Edit `/etc/default/efiboomgr-kernel-hook`
|
||||
```sh
|
||||
vis /etc/default/efiboomgr-kernel-hook
|
||||
```
|
||||
Replace `vis` with the text editor that was installed
|
||||
```sh
|
||||
DIFY_EFI_ENTRIES="1"
|
||||
DISK="<disk name>"
|
||||
PART="<boot partition number>"
|
||||
```
|
||||
Replace **<disk name>** with the name of the disk that the system was installed on (ie. `/dev/sda`). Replace **<boot partition number>** with the number of the boot partion (probably 1).
|
||||
Reconfigure the kernel.
|
||||
```sh
|
||||
xbps-reconfigure linux$(uname -r | awk -F. 'OFS="." {print $1,$2}')
|
||||
```
|
||||
Now reboot.
|
||||
```
|
||||
reboot
|
||||
```
|
||||
Chroot into the installed system.
|
||||
### Legacy BIOS
|
||||
Now install Git and LILO.
|
||||
```sh
|
||||
|
@ -577,10 +607,6 @@ Now enable LILO.
|
|||
```
|
||||
lilo
|
||||
```
|
||||
Reconfigure the kernel.
|
||||
```sh
|
||||
echo xbps-reconfigure linux$(uname -r | awk -F. 'OFS="." {print $1,$2}')
|
||||
```
|
||||
## Logging in
|
||||
Login as root with the root password.
|
||||
|
||||
|
|
Loading…
Reference in a new issue