GRUB2 normale Partitionen: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 12: | Zeile 12: | ||
*mount -o bind /sys /mnt/sys | *mount -o bind /sys /mnt/sys | ||
*mount -o proc /proc /mnt/proc | *mount -o proc /proc /mnt/proc | ||
| − | + | *chroot /mnt /bin/bash | |
=grub installieren= | =grub installieren= | ||
Version vom 28. September 2022, 13:48 Uhr
Booten mit einem Image
- Grafisch oder Konsole
Root-Partition mounten
- mount /dev/sdXY /mnt
- (OPTIONAL)
Nutzt man auf dem System eine separate Boot-Partition, so muss diese ebenfalls vorab eingehängt werden
- mount /dev/sdXY /mnt/boot
Nutzt man auf seinem Rechner das "(U)EFI"-Bootverfahren, so muss die relevante Bootpartition vorab eingehängt werden mit
- mount /dev/sdXY /mnt/boot/efi
Vorbereitung und Wechsel in die chroot-Umgebung
- mount -o bind /dev /mnt/dev
- mount -o bind /sys /mnt/sys
- mount -o proc /proc /mnt/proc
- chroot /mnt /bin/bash
grub installieren
- grub-install /dev/sdX
- (evtl.
- grub-install --recheck /dev/sdX)
- update-grub
chroot-Umgebung verlassen und neustarten
- umount /mnt/dev
- umount /mnt/sys
- umount /mnt/proc
- reboot