LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2010, 08:29 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Posts: 528

Rep: Reputation: 32
Question [Clonezilla] Can't boot restored PC?


Hello

Since the Clonezilla mailing list doesn't seem very active, I figured I should ask in a Linux forum to see if someone else has experienced this issue and knows if something can be done.

On a test host, using the www.partedmagic.com live CD, I created two partitions: One to hold an OS I wish to use for testing (/sda1), and a second partition to hold images (/sda2). Unless I overlooked it, when saving /sda1 into an image file in /sda2 (ie. /dev/partimage), I was not prompted whether to include the MBR.

After trying out Windows7, I used Clonezilla to restore an XPSP3 image, and GParted to set /sda1 as Boot (ie. active, I guess). FWIW, Gparted tells me that /sda1 starts at Sector 63.

When rebooting the PC, the screen remains blank, with no error message.

Could it be that Clonezilla didn't save/restore the MBR? Does it mean that the images I made so far are all unusable? :-/

Thank you for any help.
 
Old 01-10-2010, 09:08 AM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,642

Rep: Reputation: 112Reputation: 112
If you have a bootable DOS diskette or CD you can try the command fdisk /mbr. That will I think restore the Windows boot capability of the hard drive to which you restored the image.

Ken
 
Old 01-10-2010, 11:09 AM   #3
explodingzebras
Member
 
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63

Rep: Reputation: 18
you could try Windows Recovery Console with 'fixboot fixmbr'
 
Old 01-11-2010, 08:01 AM   #4
littlebigman
Member
 
Registered: Aug 2008
Posts: 528

Original Poster
Rep: Reputation: 32
Thanks for the help. XP prompts for the Admin password, even when the user has just hit Enter when installing it, ie. blank password :-/

I ended up using Paragon's Rescue Kit Express to fix it.

If someone knows of an open-source alternative to CloneZilla that takes care of the MBR when saving a partition into a file, I'm interested.
 
Old 01-11-2010, 02:46 PM   #5
uncle-c
Member
 
Registered: Oct 2006
Location: The Ether
Distribution: Lubuntu 14.04 LTS, Kali
Posts: 297

Rep: Reputation: 30
Hi LBM,
I was testing cloning partitions using CLONEZILLA just the other day. I wanted to test cloning over the network in addition to cloning to a different partition on the local computer. Both restorations worked fine. During the cloning the default option was to "SAVE THE MBR" and during restoration the default is to restore the MBR data from the clone images directory.

Code:
uncle-c@Ubuntu8-10:/mnt/backup$ ls
2010-01-06-19-img  films  lost+found  software
uncle-c@Ubuntu8-10:/mnt/backup$ cd 2010-01-06-19-img
uncle-c@Ubuntu8-10:/mnt/backup/2010-01-06-19-img$ ls
hda2.aa  hda2.ab  hda-chs.sf  hda-mbr  hda-pt.parted  hda-pt.sf  parts
uncle-c@Ubuntu8-10:/mnt/backup/2010-01-06-19-img$

2010-01-06-19-img
is the directory Clonezilla created to store the cloned partition (hda2) which was split into two files. As you can see the MBR, in the form of the file hda.mbr, is also saved.
I found Clonezilla a lot more useful than Partimage, mainly because it required very little tampering to get it to clone over a network.

c
 
Old 01-12-2010, 03:53 AM   #6
littlebigman
Member
 
Registered: Aug 2008
Posts: 528

Original Poster
Rep: Reputation: 32
Thanks for the tip. I thought IMG were binary files just like PowerQuest's DriveImage would do, and didn't think they could be directories.

Still, even though CZ backs up the MBR, when restoring an image, the PC would no longer boot. I'll try and see if it's only when trying to boot Windows and /sda1 was not made active before rebooting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CloneZilla Q...what happen to my /boot partition? cbjhawks Linux - Software 8 01-10-2010 05:16 PM
Clonezilla-SysRescCD multi-boot custom CD bg3075 Linux - Newbie 6 12-01-2009 11:18 PM
Printer settings not being restored at boot. Help! roystonlodge DamnSmallLinux 1 02-13-2009 01:38 PM
Help! Restored /boot now won't boot FC4 lucktsm Fedora 2 02-05-2006 10:47 PM
Grub/Dual boot - Windows partition restored via dd won't boot pazzport Ubuntu 1 01-06-2006 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration