Changes for page Ubuntu Linux

Last modified by Sebastian Marsching on 2024/06/17 16:05

From version 1.1
edited by Sebastian Marsching
on 2022/03/27 14:53
Change comment: There is no comment for this version
To version 3.1
edited by Sebastian Marsching
on 2022/03/27 15:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -34,7 +34,7 @@
34 34  chroot /mnt`
35 35  1. You should make a backup of the GRUB configuration files before proceeding. The relevant files are in `/boot/grub`, `/etc/default/grub` and `/etc/grub.d`.
36 36  1. Now you should purge all GRUB packages. You can usually do this by running `aptitude purge "?name(grub-)" "?name(grub2-)"`.
37 -1. Next you should delete all remaining GRUB files (/boot/grub`, `/etc/default/grub` and `/etc/grub.d`). Then you should create a symbollink in `/boot` that points to the install location of GRUB in the ESP: `ln -s efi/EFI/grub /boot/grub`.
37 +1. Next you should delete all remaining GRUB files (`/boot/grub`, `/etc/default/grub` and `/etc/grub.d`). Then you should create a symbollink in `/boot` that points to the install location of GRUB in the ESP: `ln -s efi/EFI/grub /boot/grub`.
38 38  1. After that you can install the EFI version of GRUB: `aptitude install grub-efi`.
39 39  1. In the target system, we have to edit `/etc/fstab` and add an entry for the ESP. You can find out the UUID of the partition by running `grub-probe --target=fs_uuid /boot/efi`. Then add a line like`UUID=<UUID> /boot/efi vfat defaults 0 1`to your /etc/fstab (of course you have to replace `<UUID>` by the UUID printed by `grub-probe`.
40 40  1. Now we install GRUB with `grub-install --boot-directory=/boot/efi/EFI --bootloader-id=grub --no-floppy --recheck` (I got this from [another guide](http://thinkpad-forum.de/threads/123262-EFI-Grub2-Multiboot-HowTo)).
... ... @@ -47,3 +47,7 @@
47 47  1. In order to generate the GRUB configuration file, `update-grub` needs to be run.
48 48  1. Finally, GRUB has to be registered in the EFI settings. This can be done by running `efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "GRUB" --loader "\\EFI\\grub\\grub.efi"`.
49 49  1. After finishing these steps, you can leave the target system and unmount all partitions. Finally, reboot the computer and select GRUB from the computer's boot menu. Now you should see the normal GRUB screen, where you can select to boot Linux or Windows.
50 +
51 +# Configuring the Vino VNC server on Ubuntu Desktop
52 +
53 +