Unix/Linux Go Back    


Boot Loaders Discuss GRUB, BURG, UEFI, GPT, Mac EFI, GRUB2 and other topics about boot loaders.

Lost MBR on disk

Boot Loaders


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-29-2010   -   Original Discussion by xaphan
xaphan's Unix or Linux Image
xaphan xaphan is offline
Registered User
 
Join Date: Dec 2010
Last Activity: 30 December 2010, 5:25 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Lost MBR on disk

trying to recover a lost partition table, where the signature (0x55AA) has been lost, though attempting to restore using a number of tools (fdisk, testdisk et al) the write fails.

also the os is unable to read the disk geometry correctly, after attempting to correct the geometry, the updated geometry fails to save.

im lost as to how to get this rebuilt partition table to save.
Sponsored Links
    #2  
Old Unix and Linux 12-29-2010   -   Original Discussion by xaphan
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
 
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
You have not told us what operating system(s) you are using, but assuming that you are using some version of GNU/Linux then the following generalized method should work:

- Using your installation media boot into linux rescue mode. You should end up at a root shell prompt with your root file system mounted somewhere like /mnt/sysimage.
- chroot /mnt/sysimage (or whatever is your mount point)
- grub-install /dev/hda (or whatever is your boot disk)

Obviously, if you tell us more about your particular configuration, we can provide more exact or more appropriate instructions.
Sponsored Links
    #3  
Old Unix and Linux 12-30-2010   -   Original Discussion by xaphan
xaphan's Unix or Linux Image
xaphan xaphan is offline
Registered User
 
Join Date: Dec 2010
Last Activity: 30 December 2010, 5:25 PM EST
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Hi

thanks for your response, im using Ubuntu 10.4, and luckily its not my boot disk thats failed, but my secondary data HDD. Have a backup of most of it, but the newer stuff (ie my current work) is only on that disk. of which i cannot use.

disk is a 250Gb WD Scorpio formatted with a single NTFS (came out of my windows box) partition taking the entire disk

hope this helps shed some light
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Disk Space lost mysteriously upon breaking a process. morningSunshine Ubuntu 4 04-17-2010 12:22 AM
Lost Data Lost Admin murphsr Filesystems, Disks and Memory 3 09-07-2005 03:35 PM



All times are GMT -4. The time now is 08:16 AM.