Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i am still catching up in the thread but i wanted to warn that dd is very destructive. judging by the syntax errors in the first post you probably irrevocably overwritten some data in the wrong partition.
and now judging by your response in post #3 you seem not to know if you want an image backup of a partition or the whole disk. having a game plan prior to starting will prevent you from accidentally destroying your system.
basically what is it you want to backup and where do you want to save it ?
I just want to make an image file of sda1 onto an external drive. I did this a long time ago with Windows7 onto this same external drive. It was a three button event. There must be some way to do it in Linux.
fdisk no longer sees my external drive because I can't mount it
joseph@joseph-TravelMate-2300:~$ sudo fdisk -l
[sudo] password for joseph:
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004710d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 113051647 56524800 83 Linux
/dev/sda2 113053694 117209087 2077697 5 Extended
/dev/sda5 113053696 117209087 2077696 82 Linux swap / Solaris
joseph@joseph-TravelMate-2300:~$ mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
gvfs-fuse-daemon on /home/joseph/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=joseph)
/dev/sdb1 on /media type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
well doing an image backup while a partition is in use is a bad idea since data mite be written to it while the image process is happening.
what i do is boot into a live-usb.
then i run fdisk -l to list the partitions.
i make sure the source partition is unmounted and the destination partition is mounted.
and run something like:
its hard to read your output because they arent between [code] tags.
that is kinda' weird. according your df -h output you have a 1.9 terabyte disk of which 421 gb is used (is this your external drive ?). if so it is mounted under /media. can you browse and verify it is the data you are expecting to see ?
Hmm...seems like using dd to create an image file to an external drive is a difficult problem. I have not been able to find a solution in the various forums.
My HDD is getting slower. I want to make an image of /dev/sda1, not on a file on my computer because the HDD is not big enough, but make the image on an external drive.
I am trying to do this from a live CD so that the partition I want to image is not mounted. The problem seems to revolve around identifying the output file.
When I use the app Partimage from the live CD it complains that I am not root and says it cannot find /dev/sda1. When I use the same app from the computer itself, Partimage says it cannot image a partition that is in use. So for me, Partimage appears as useless.
When I use the dd command from a live cd it fails to find the of=/dev/sdb1/DiskDump
of=/media/sdb1/DiskDump
of=/media/Seagate Expansion Drive/DiskDump
of=/media/SeagateExpansionDrive/DiskDump
It returns that the of= is not a file or directory.
If I make the of=/sdb1/ it returns that "sdb1 is a directory." PERFECT! So why doesn't it do it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.