LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-30-2002, 03:07 AM   #1
MikHud
Member
 
Registered: Jan 2002
Location: UK
Distribution: Ubuntu
Posts: 45

Rep: Reputation: 15
Question Best way to Image Whole System HD?


Can anyone recommend the best way to make a bootable image of a system hard disk, with ext2 filesystems, meeting the following criteria:-
a) copying the MBR and all required partitions in a single pass, not one partition at a time.
b) able to put the image onto a non-formatted disk
c) preferably with the option to omit selected partition(s)
d) preferably able to resize partitions to suit a smaller or larger
destination disk

In the past I've used both 'dd' and PowerQuest Drive Image, and I'd welcome any comments about the following issues:-

'dd'
I used to use this on a 386 running SCO Sys V R3 but I'm not sure if the GNU 'dd' will do the same. Does anyone know if it can meet any of the above requirements? If so, any sample script would be welcome.

Drive Image
I've recently used both Drv Img 1 and Drv Img 2 to successfully image my Red Hat 7.2 sys disk. Both meet (a) to (c) above (although v1 doesn't actually show or allow deselection of higher partitions - above 8GB or 1024 cylinders?) but they will not resize
ext2 partitons, so the destination disk has to be at least as big as the source - most of my spare disks are smaller
Drv Img 5 is supposed to do faster "SmartSector"(TM) copying ie: of used sectors only, and is supposed to be able to resize ext2 partitions. However it also suggests converting the Extended partiton to type 'ExtendedX' (0f) which I'm worried about. Most of the discussion I've seen on the web about ExtendedX
has concerned PQ Partition Magic and OS/2. Apparantly IBM Boot Manager didn't recognize ExtendedX, does GRUB?
I did do an image without converting to ExtendedX but it wouldn't boot, complaining "NO OS". Is anyone using Drv Img 5 successfully?
 
Old 04-30-2002, 06:36 AM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Mondo-rescue will do all that you require. I use it to do full system backups and have used it to restore to bare metal after which I had a fully functioning system.
 
Old 04-30-2002, 09:03 AM   #3
MikHud
Member
 
Registered: Jan 2002
Location: UK
Distribution: Ubuntu
Posts: 45

Original Poster
Rep: Reputation: 15
Thanks for your suggestion Aussie.

I've looked at the Mondo site but I'm not sure whether Mondo will do what I want which is a direct disk-to-disk image without going to CD?

If Mondo can only create an image file, then I can't imagine that its going to be suitable because I would have to have a whole big partition (not to be imaged) set aside for the intermediate file, or a 3rd disk! Plus it makes the operation longer - I really want to do it in one operation to save time and reduce the opportunity for human error to creep in and invalidate the backup.

Regards
Mike
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
happy with my system wanna make an image? ginda Linux - Software 7 04-15-2005 08:21 PM
how to make an image of your system? Lleb_KCir Linux - General 8 10-25-2004 03:47 PM
cloning system image gag Linux - Newbie 1 11-24-2003 01:24 PM
dd of image to USB external locks system pearman Linux - General 5 09-26-2003 05:23 PM
When a process locks up the system - what is the created image file called? thatgentleman Linux - General 3 03-22-2002 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:45 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
Open Source Consulting | Domain Registration