Ubuntu image restore problem

Discussion in 'all things UNIX' started by moontan, Apr 27, 2012.

Thread Status:
Not open for further replies.
  1. moontan
    Online

    moontan Registered Member

    Installed Ubuntu 12.04, overwriting Windows 7.

    created an image.
    on image restore, the computer reboot endlessly.

    unless the image is corrupted, which is possible, is there any known problem with the bootloader?
  2. Kerodo
    Offline

    Kerodo Registered Member

    I would suspect something wrong with the image, and/or with the software you used to make the image...
  3. moontan
    Online

    moontan Registered Member

  4. moontan
    Online

    moontan Registered Member

    not working.

    i am gonna assume it is a corrupted image and try all over again when i get some times.
  5. mack_guy911
    Offline

    mack_guy911 Registered Member

    the problem is due to grub

    1st use gparted tool from live cd and formate ubuntu drive in fat 32 then

    after that use your drive restore it formate again and it work i pretty sure you remove grub as well

    i assume your ubuntu drive is 1st sda which is c drive please correct me

    if you have ubuntu install and you restore windows on same or other drive never work so far i know unless you created it after ubuntu install with diffrent conditions (like for example cloning of disk ...etc with grub as well)

    some time linux junk left partitions didnt formate compleatly so they dont let other install best is use external gparted live cd and formate it again its not 100% but atleast it let you install over it.

    or

    go for low level formate after backup
    Last edited: Apr 28, 2012
  6. tlu
    Offline

    tlu Registered Member

    Sorry for that. Doesn't IFW/IFD/IFL offer an option to check the integrity of an image? Clonezilla does, and it has never failed.
  7. oliverjia
    Offline

    oliverjia Registered Member

    OP did you also backup and restore the new MBR, bootloader, etc?
    I normally create backup image for ubuntu using both IFD/IFL or clonezilla live cd. In case one image fails to restore, I still have a decent chance from the other image.
  8. moontan
    Online

    moontan Registered Member

    tnx mack! :thumb:
    i have to work this week-end but i will give your suggestions a try on Monday.
    -----------------------------
    i don't use that feature anymore because it has never failed so far in probably a couple hundreds of imaging/restore.

    maybe i should have. ;)
    i will re-install and re-image on Monday to make sure.
    ----------------------------------
    yes i did.

    your suggestion of using both these apps is a good one.
    To Do on Monday as well! :(

    tnx folks! :)
  9. Brian K
    Offline

    Brian K Imaging Specialist

    moontan,

    Before you start again can you try another restore but use the Option, Restore First Track, AUTO.

    That will restore the sectors containing grub.

    Did Ubuntu restart correctly before you created the image?

    You have installed Ubuntu differently to me so that is my guess of what should work. I install grub into the partition boot sector and not into the MBR.
  10. moontan
    Online

    moontan Registered Member

    tnx a lot Brian.
    yes, Ubuntu started normally.

    got to work today but i will try this tonight after work. :)
  11. Brian K
    Offline

    Brian K Imaging Specialist

    moontan,

    Assuming you are restoring the Ubuntu partition and not the Entire Drive, I'd use these Options and no others.

    Set Active
    Restore First Track (AUTO First Track Sectors)
    Validate Before Restore
    Validate Byte-for-Byte
    Log Results to File


    Are you using IFL ver 2.70? Good luck.
  12. moontan
    Online

    moontan Registered Member

    :ouch:
    maybe an even better idea would have been for me to uncheck the box saying "Write Windows 7 MBR to the image" before trying to back up a Linux OS. :ouch:

    seems to be working fine now.:shifty:

    i feel so ashamed.lol
  13. Brian K
    Offline

    Brian K Imaging Specialist

    moontan,

    That is great news. I'm confused. Did you restore the image?
  14. moontan
    Online

    moontan Registered Member

    no i re-installed Ubuntu.
    then i created a new image.

    i gather the original image i created was wrecked because i forgot to untick that box.

    either that or the image was corrupted somehow...
  15. moontan
    Online

    moontan Registered Member

    Update:

    i spoke too fast, the problem is back.

    if i install Ubuntu, then take an image, i can restore than image fine. i can reboot normally also.

    but once i restore a Windows 7 image, and then try to restore a Ubuntu image it does not work.
    the computer reboot endlessly.

    somehow, Windows 7 is preventing the Linux bootloader from installing.

    i think i came across the very same problem a few years back.
    but i got problem remembering what i had for dinner last night. :rolleyes:
  16. moontan
    Online

    moontan Registered Member

    the First Track, AUTO option is enabled by default.

    this stuff is like rocket science to me.

    i never had these kind of problems with Bodhi Linux.
  17. moontan
    Online

    moontan Registered Member

    of course, the easy solution would be not to restore a Windows image.

    that's very tempting, especially after all the problems Microsoft is giving me trying to muscle out Linux from booting. :cautious:
  18. Brian K
    Offline

    Brian K Imaging Specialist

  19. Brian K
    Offline

    Brian K Imaging Specialist

    That's not necessarily right. Do you mean AUTO on the right side with no Restore First Track on the left side.
    Or AUTO on the right side and Restore First Track ticked on the left side.
  20. moontan
    Online

    moontan Registered Member

    hmmm...

    good question.
    i haven played with the default settings at all but i'll go have a look right now.

    tnx for the recommendation on boot manager:
    http://www.terabyteunlimited.com/kb/article.php?id=279

    i'll look into it. :)
    Last edited: May 1, 2012
  21. moontan
    Online

    moontan Registered Member

    just wanted to give an update on my 'progress' with this.

    i had a look at the link that Brian provided:
    http://www.terabyteunlimited.com/kb/article.php?id=279

    i was successful at figuring out all of the 22 steps required.
    except step #4.

    i was never able to find the Boot Edit menu because i never really installed Bootit to the hard drive.
    after 2 days, i finally figured out what was wrong.lol

    anyway, i'll give this a try again tomorrow.
    if nothing else, it should be a good opportunity to learn about this stuff.
  22. moontan
    Online

    moontan Registered Member

    somehow, i have no problems switching back and forth between a Windows and a Bodhi image.


    so i am left with 2 conclusions:

    either Microsoft has a rootkit that is specifically designed to mess with the Ubuntu bootloader,
    or,
    the Ubuntu team needs help designing a decent bootloader.

    if i was a betting man i d go with #2. ;)
  23. Brian K
    Offline

    Brian K Imaging Specialist

  24. Brian K
    Offline

    Brian K Imaging Specialist

    What trouble did you have with #4?
  25. moontan
    Online

    moontan Registered Member

    tnx Brian, sorry for the delay.
    i will check out your link shortly.

    when installing Bootit to the hard disk, i got one of the step wrong.
    so i was not really installing it when i though i did. o_O
Thread Status:
Not open for further replies.