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: | ||
− | * '''Problem:''' When booting '''NST''' from a hard disk install and you see the message: "'''Disk Error'''" on the screen after '''[http://en.wikipedia.org/wiki/Power-on_self-test POST]'''. | + | * '''Problem:''' When booting '''NST''' from a hard disk install and you see the message: "'''Disk Error'''" (or something similar) on the screen after '''[http://en.wikipedia.org/wiki/Power-on_self-test POST]'''. |
Revision as of 19:02, 25 October 2009
- Problem: When booting NST from a hard disk install and you see the message: "Disk Error" (or something similar) on the screen after POST.
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" hard disk install. This example assumes the corrupt grub and/or MBR is on the disk associated with device name: "/dev/sda" were partition: "/dev/sda1" is used for grub and the MBR is on "/dev/sda" sector 0.
- 1) Make sure that there are no mounts 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 [root@probe ~]#
- 2) Unmount "/boot" if currently mounted:
[root@probe ~]# umount -v /boot
/dev/sdb1 umounted [root@probe ~]#