From 676a79de3f1eff40762e281ca701e889edbb3658 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 9 Apr 2019 14:47:13 +0200 Subject: [PATCH] =?UTF-8?q?Mettre=20=C3=A0=20jour=20'grubshell.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- grubshell.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/grubshell.md b/grubshell.md index 40cf42a..e64c335 100644 --- a/grubshell.md +++ b/grubshell.md @@ -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` \ No newline at end of file +grub rescue> boot` + +[archwiki](https://wiki.archlinux.org/index.php/GRUB) \ No newline at end of file