Results 1 to 7 of 7
-
06-02-2005, 01:31 AM #1Junior Guru
- Join Date
- Nov 2002
- Posts
- 202
How do i image a partition into a file in linux?
I have a hard drive with a partition i want to save to an image so i can create a loop back device later and view the files.
I wont have access to the hard drive with the partition i want to backup later. Hence my desire.
What should i use? I tried
PHP Code:dd if=/dev/hdb1 of=./mydrive.iso
-
06-02-2005, 01:49 AM #2Web Hosting Master
- Join Date
- Feb 2004
- Posts
- 772
hai
plz check out this link,it'll be useful for u...
http://www.mega-tokyo.com/osfaq2/ind...0Under%20Linux
thanksBright Info Solutions
-
06-02-2005, 01:52 AM #3Junior Guru
- Join Date
- Nov 2002
- Posts
- 202
Does it matter if the hard drive in the if (input file), is already mounted?
-
06-02-2005, 01:55 AM #4Junior Guru
- Join Date
- Nov 2002
- Posts
- 202
Originally posted by Brightadmin
hai
plz check out this link,it'll be useful for u...
http://www.mega-tokyo.com/osfaq2/ind...0Under%20Linux
thanks
Does it matter if i alreayd mount the device im trying to back up?
-
06-02-2005, 02:00 AM #5Junior Guru
- Join Date
- Nov 2002
- Posts
- 202
To clarify, in the end i want to be able to create a loop back device to the file so i can access the data.
-
06-02-2005, 05:53 AM #6Web Hosting Master
- Join Date
- Aug 2000
- Location
- Sheffield, South Yorks
- Posts
- 3,627
dd will create a file the same size as the partition, not just the used space on the partition.
Karl Austin :: KDAWS.com
The Agency Hosting Specialist :: 0800 5429 764
Partner with us and free-up more time for income generating tasks
-
06-02-2005, 06:49 AM #7WHT Addict
- Join Date
- Sep 2002
- Location
- ohio
- Posts
- 133
GRAB G4u
search google for g4u (ghost for unix) it allows imaging of hard drives or a single partition