Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
linux:grub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:grub [2019/12/11 13:00]
95.91.138.179 created
linux:grub [2019/12/11 13:17] (current)
95.91.138.179 addded efi
Line 1: Line 1:
 ====== update grub from live linux ====== ====== update grub from live linux ======
  
-mount partition ​some where. Bind ''​dev'',​ ''​sys''​ and ''​proc''​. ​Then chroot to the partition and run update-grub inside. ​Maybe mount windows partition inside the chroot env to make grub find the windows+mount root partition ​to ''/​mnt''​. Bind ''​dev'',​ ''​sys''​ and ''​proc'' ​into root part. mount efi partition into /boot/efi of root part. chroot to the partition and run update-grub ​& grub-install ​inside.
  
 <​code>​ <​code>​
 sudo mount /dev/sda2 /mnt sudo mount /dev/sda2 /mnt
 +sudo mount /dev/sda1 /​mnt/​boot/​efi
 sudo mount --bind /dev /mnt/dev sudo mount --bind /dev /mnt/dev
 sudo mount --bind /sys /mnt/sys sudo mount --bind /sys /mnt/sys
 sudo mount --bind /proc /mnt/proc sudo mount --bind /proc /mnt/proc
 sudo chroot /mnt sudo chroot /mnt
-sudo mount /dev/sda3 /mnt 
 sudo update-grub sudo update-grub
 +sudo grub-install
 </​code>​ </​code>​
  
linux/grub.1576069201.txt.gz ยท Last modified: 2019/12/11 13:00 by 95.91.138.179