Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 68

Thread: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

  1. #41
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Kooljay2, when you say the SMART test would not run, what exactly was the error it returned? It doesn't sound like anything is able to read from your HDD at this point; unless you can read from the HDD, there's not much hope of data recovery with the tools available in Linux. To try doing a low-level read from that HDD, how about posting the output of the following command (please copy and paste the output from the terminal, don't just say it didn't work):
    Code:
    sudo hexdump -C -n512 /dev/hda

  2. #42
    Join Date
    Apr 2009
    Beans
    9

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    OK, the reason I thought SMART didn't run was because it didn't create the txt files. It went bck to the prompt so I never went the next step of running the test. This time I ran the test anyway. The test did complete according to checking the progress, but I do not have a record of the health before or after. Please review the command you asked me to type to place the text docs on the desktop and I will run the tests again.

    Thanks again for all your help.

  3. #43
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    OK, how about trying:
    Code:
    sudo smartctl -a /dev/hda
    And does that produce any output/errors in the terminal? Also, please try the hexdump command I gave in my previous post and copy/paste the output.

  4. #44
    Join Date
    Apr 2009
    Beans
    9

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    The hexdump command took me right back to the prompt:
    Code:
    ubuntu@ubuntu:~$ sudo hexdump -C -n512 /dev/hda
    ubuntu@ubuntu:~$ sudo hexdump -C -n512 /dev/hda
    ubuntu@ubuntu:~$


    This is from the SMART command:

    Code:
    uhebuntu@ubuntu:~$ sudo smartctl -a /dev/hda
    smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
    Home page is http://smartmontools.sourceforge.net/
    
    === START OF INFORMATION SECTION ===
    Model Family:     IBM/Hitachi Travelstar 60GH and 40GN family
    Device Model:     IC25N020ATCS04-0
    Serial Number:    CSH206D9D1LP5F
    Firmware Version: CA2OA71A
    User Capacity:    20,003,880,960 bytes
    Device is:        In smartctl database [for details use: -P show]
    ATA Version is:   5
    ATA Standard is:  ATA/ATAPI-5 T13 1321D revision 3
    Local Time is:    Wed Apr 29 00:11:18 2009 UTC
    SMART support is: Available - device has SMART capability.
    SMART support is: Enabled
    
    === START OF READ SMART DATA SECTION ===
    SMART overall-health self-assessment test result: PASSED
    
    General SMART Values:
    Offline data collection status:  (0x00)    Offline data collection activity
                        was never started.
                        Auto Offline Data Collection: Disabled.
    Self-test execution status:      (   0)    The previous self-test routine completed
                        without error or no self-test has ever 
                        been run.
    Total time to complete Offline 
    data collection:          ( 645) seconds.
    Offline data collection
    capabilities:              (0x1b) SMART execute Offline immediate.
                        Auto Offline data collection on/off support.
                        Suspend Offline collection upon new
                        command.
                        Offline surface scan supported.
                        Self-test supported.
                        No Conveyance Self-test supported.
                        No Selective Self-test supported.
    SMART capabilities:            (0x0003)    Saves SMART data before entering
                        power-saving mode.
                        Supports SMART auto save timer.
    Error logging capability:        (0x01)    Error logging supported.
                        No General Purpose Logging support.
    Short self-test routine 
    recommended polling time:      (   2) minutes.
    Extended self-test routine
    recommended polling time:      (  26) minutes.
    
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
      1 Raw_Read_Error_Rate     0x000b   100   100   062    Pre-fail  Always       -       0
      2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
      3 Spin_Up_Time            0x0007   116   116   033    Pre-fail  Always       -       1
      4 Start_Stop_Count        0x0012   098   098   000    Old_age   Always       -       3686
      5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
      7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
      8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
      9 Power_On_Hours          0x0012   076   076   000    Old_age   Always       -       10887
     10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
     12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       3185
    191 G-Sense_Error_Rate      0x000a   098   098   000    Old_age   Always       -       131075
    192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       174
    193 Load_Cycle_Count        0x0012   077   077   000    Old_age   Always       -       231056
    194 Temperature_Celsius     0x0002   122   122   000    Old_age   Always       -       45 (Lifetime Min/Max 11/67)
    196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
    197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
    198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
    199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       99
    
    SMART Error Log Version: 1
    No Errors Logged
    
    SMART Self-test log structure revision number 1
    Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
    # 1  Extended offline    Completed without error       00%     10885         -
    
    Device does not support Selective Self Tests/Logging
    ubuntu@ubuntu:~$
    Last edited by kooljay2; April 29th, 2009 at 01:18 AM. Reason: additional info

  5. #45
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Although you are able to at least get a response from your HDD with the SMART testing software, none of the other commands so far have actually been able to read from the HDD. As I previously mentioned, there's not much hope of recovering data from that HDD until you can somehow read from it. Otherwise you would probably have to pay a professional data recovery service to try to dig the data off the HDD. So bottom line is I don't know what else to suggest, except I would open up your computer and at least reseat the HDD connector in a last ditch effort to see if that helps at all. Let me know what you decide to do, and sorry there's not much more I can suggest.

  6. #46
    Join Date
    Apr 2009
    Beans
    9

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Thanks for your help. You've been more than patient. It is genuinely appreciated.

  7. #47
    Join Date
    Apr 2009
    Beans
    9

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Do you think installing Ubuntu will give me access to the Windows folders?

  8. #48
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Quote Originally Posted by kooljay2 View Post
    Do you think installing Ubuntu will give me access to the Windows folders?
    I don't think you fully understand--if you can't read from the HDD, certainly you won't be able to install Ubuntu to the HDD, for the same reason you weren't able to install Win XP again. Your HDD is having serious problems, and probably your only last option at this point is a data recovery service (but that of course will most likely be really expensive). Linux data recovery tools (or any software recovery tools for that matter)will only work if your HDD is at least accessible/readable, but yours has unfortunately degraded past that point.

  9. #49
    Join Date
    May 2007
    Beans
    1,317

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    I have an HP desktop computer on which I basically have done the same thing which Sakae did (see earlier posts in this thread).

    I purchased a computer which I ended up not liking and so need to return it to the store tomorrow. It came with Vista on a 500 GB HDD. I shrunk Vista to 50 GB and installed Jaunty on the space thus freed up. Now that I decided to return the computer, I booted to a Parted Magic livecd, deleted the extended partition containing Jaunty and linux swap, and re-expanded the Vista partition to its former size. So now there is nothing left of Ubuntu on the HDD. But when I try to boot up the computer it is still looking for GRUB. Here is what comes on the screen:

    Code:
    GRUB Loading stage 1.5
    GRUB loading, pleast wait...
    Error 22
    In an attempt to fix the Windows MBR, I downloaded a Windows Vista Recovery Disc 64-Bit livecd iso, from http://neosmart.net/blog/2008/downlo...recovery-disc/ But when I booted to the livecd and ran the repair tool, it said it could not find anything wrong. I tried it several times, and it said the same thing every time.

    The computer, and HP, has a recovery partition on it. But try as I might, I could not access it.

    So, having reviewed this thread carefully, I booted to a Jaunty livecd, and tried the two solutions given by caljohnsmith on page one (using the syslinux and mbr utilities). Both solutions went smoothly, but at the end of each when I tried a reboot, I got the same screen shown above, about "GRUB loading, pleast wait...Error 22".

    Vista was running perfectly until I removed the linux partition, so I do not think there is anything wrong except for the MBR. I did re-expand the Vista partition, which caljohnsmith has said is not good to do. But Vista was the first partition on the drive meaning that when I expanded it, I expanded it from its rear end, back to the end of the drive. So hopefully, that is an encouraging point.

    What should I do at this point, to re-establish the Windows MBR?

  10. #50
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Swarup, in order to get a clearer picture of your setup related to your booting problem, how about booting your Ubuntu Live CD, download the Boot Info Script to the Live CD desktop:

    https://sourceforge.net/projects/bootinfoscript/

    Then open a terminal (Applications > Accessories > Terminal) and do:
    Code:
    sudo bash ~/Desktop/boot_info_script*.sh
    That will create a "RESULTS.txt" file in the same directory from where the script is run, namely your desktop; please copy/paste the contents of the RESULTS.txt file to your next pos. The results of that script will help clarify your setup.

    John

Page 5 of 7 FirstFirst ... 34567 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •