User Tools

Site Tools


unix:linux_restore

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
unix:linux_restore [2009/02/28 19:54]
ap
unix:linux_restore [2015/06/08 14:13] (current)
ap [Linux grub restore]
Line 1: Line 1:
 ====== Linux Emergency ====== ====== Linux Emergency ======
  
-===== Linux grub restore ===== 
-... after having played with partitions. 
  
-Let's say that your (new) root is /dev/sda6 - (hd0,5) , in GRUB lingo. 
- 
-  * Boot with a Knoppix Live CD 
- 
-  * Mount the //real// partition, rebind ''/​usr''​ and ''/​proc''​ and chroot to it: 
- 
-  mount /dev/sda6 /mnt 
-  mount --bind /proc /mnt/proc 
-  mount --bind /dev /mnt/dev 
-  chroot /mnt 
- 
-  * Edit ''/​boot/​grub/​menu.list''​ if needed 
- 
-  * Launch ''​grub''​ and issue: 
- 
-  root (hd0,5) 
-  setup (hd0) 
-  quit 
- 
-  * exit, reboot. 
 ===== Emergency reboot with SysReq ===== ===== Emergency reboot with SysReq =====
  
unix/linux_restore.txt · Last modified: 2015/06/08 14:13 by ap

Informativa sui cookie