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