Browse Source

Mettre à jour 'grubshell.md'

master
vincent 2 years ago
parent
commit
676a79de3f
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      grubshell.md

+ 7
- 1
grubshell.md 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
@ -17,4 +21,6 @@ grub rescue> normal
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`
grub rescue> boot`
[archwiki](https://wiki.archlinux.org/index.php/GRUB)