Difference between revisions of "HowTo Recreate Grub Install And The Master Boot Record (MBR) If Corrupted"
From NST Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | This '''HowTo''' shows the steps one can used to recreate a corrupt "'''[http://en.wikipedia.org/wiki/GNU_GRUB grub]'''" boot loader and/or '''MBR''' on an '''NST''' system. | + | This '''HowTo''' shows the steps one can used to recreate a corrupt "'''[http://en.wikipedia.org/wiki/GNU_GRUB grub]'''" boot loader and/or '''MBR''' on an '''NST''' system. Start by <i>booting</i> up "'''NST Live'''" or "'''NST'''" on a "'''USB Flash Drive'''". |
+ | |||
+ | * '''1)''' Make sure there is not a mount using the "'''/boot'''" mount point: | ||
+ | <div class="screen"> | ||
+ | <div class="userInput"><span class="prompt">[root@probe ~]# </span>df</div> | ||
+ | <pre class="computerOutput"> | ||
+ | Filesystem 1K-blocks Used Available Use% Mounted on | ||
+ | /dev/mapper/vg_probe-lv_root | ||
+ | 235338552 4335136 228613664 2% / | ||
+ | /dev/sdb1 198337 22358 165739 12% /boot | ||
+ | tmpfs 1419416 0 1419416 0% /dev/shm | ||
+ | </pre> | ||
+ | </div> | ||
+ | |||
+ | * '''2)''' Unmount "'''/boot'''" if currently mounted: | ||
+ | <div class="screen"> | ||
+ | <div class="userInput"><span class="prompt">[root@probe ~]# </span>umount -v /boot</div> | ||
+ | <pre class="computerOutput"> | ||
+ | /dev/sdb1 umounted | ||
+ | </pre> | ||
+ | </div> |
Revision as of 18:41, 25 October 2009
This HowTo shows the steps one can used to recreate a corrupt "grub" boot loader and/or MBR on an NST system. Start by booting up "NST Live" or "NST" on a "USB Flash Drive".
- 1) Make sure there is not a mount using the "/boot" mount point:
[root@probe ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_probe-lv_root 235338552 4335136 228613664 2% / /dev/sdb1 198337 22358 165739 12% /boot tmpfs 1419416 0 1419416 0% /dev/shm
- 2) Unmount "/boot" if currently mounted:
[root@probe ~]# umount -v /boot
/dev/sdb1 umounted