Mettre à jour 'grubshell.md'

This commit is contained in:
vincent 2019-04-09 14:47:13 +02:00
parent 078e2bcf9b
commit 676a79de3f

View File

@ -7,7 +7,11 @@
- charger le fichier image correspondant au kernel :`initrd /boot/initrd.img`
- enter `boot` to boot
## regénérer config
`grub-mkconfig -o /boot/grub/grub.cfg`
## install sur MBR
`grub-install --target=i386-pc /dev/sdX`
## meme chose depuis grub rescue
`grub rescue> set prefix=(hd0,1)/boot/grub
@ -18,3 +22,5 @@ grub rescue> insmod linux
grub rescue> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
grub rescue> initrd /boot/initrd.img-3.13.0-29-generic
grub rescue> boot`
[archwiki](https://wiki.archlinux.org/index.php/GRUB)