Mettre à jour 'grubshell.md'
This commit is contained in:
parent
078e2bcf9b
commit
676a79de3f
@ -7,7 +7,11 @@
|
|||||||
- charger le fichier image correspondant au kernel :`initrd /boot/initrd.img`
|
- charger le fichier image correspondant au kernel :`initrd /boot/initrd.img`
|
||||||
- enter `boot` to boot
|
- 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
|
## meme chose depuis grub rescue
|
||||||
|
|
||||||
`grub rescue> set prefix=(hd0,1)/boot/grub
|
`grub rescue> set prefix=(hd0,1)/boot/grub
|
||||||
@ -17,4 +21,6 @@ grub rescue> normal
|
|||||||
grub rescue> insmod linux
|
grub rescue> insmod linux
|
||||||
grub rescue> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda1
|
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> initrd /boot/initrd.img-3.13.0-29-generic
|
||||||
grub rescue> boot`
|
grub rescue> boot`
|
||||||
|
|
||||||
|
[archwiki](https://wiki.archlinux.org/index.php/GRUB)
|
Reference in New Issue
Block a user