Applications :: Copy Of A Partition Using Dd Gets Bigger Than The Original Partition?
Aug 20, 2009
I'm a linux user for some time now and most stuff I can figure out myself. Though, this one drives me crazy and I did not find any information on the internet.I have a partition, say, Code: /dev/sda1 , which is 128MB big. When I copy it using Code: dd if=/dev/sda1 of=/home/me/backup_sda1.img , the resulting file is 134MB big. Now my problem is that I want to copy that partition as-is to a CF card, which does not work because the image is bigger than the partition on the CF card.Why does dd create bigger files? Shouldn't it be exactly same sized like the source?
I got a new hard disk for my laptop and I want to move my Gentoo installation from old HDD to new.
Most simple guides recommend use of dd to copy the whole partition byte by byte.
I'm moving to the new drive because I don't have enough space on the old drive, so I don't want to simply clone the partition. Instead I need the destination partition to be bigger. Would dd work well in that case?
Assuming that I use same partition types on the new drive, would I be able to use simple cp with appropriate settings?
I can take apart my computer and fix a problem and then re-install the partitions. Hopefully I won't have to re-install, but I want to make backups just in case
-HP laptop with a windows (NTFS) and an Ubuntu (ext3) partition ~ 500GB total -Iomega 1TB external hard drive partitioned into a 500GB NTFS storage, 250GH BLANK ext3 Linux Backup, and 250GB BLANK NTFS Windows Backup.
I want to copy my windows and linux to their respective 250GB spaces on the External HD.
1.) Can you direct me to places on the net that describes this in detail? 2.) Can I copy a partition while running that partition? 3.) Will copying C:/ in windows over to the external HD copy entire partition? 4.) Can I copy a Laptop partition to a external HD partition that is bigger? 5.) Do I have to use partition manager software or can I do this from terminal/cmd prompt?
So I installed Jaunty Jackallope and Im really liking it. The thing is when I installed I just let the system do the dual boot partition and I think it assigned Ubuntu a very small amount of hard drive space. Now I want to download some updates and it says it doesnt have enough free space (it only needs like 500 megs so I must have a real small partition). Is there anyway to fix this or do I have to reinstall?? If so, how do I uninstall and do it right?
Is there any software to clone Linux partition? No matter they are paid or free software, I'll need them. The problem is that if I clone a linux partition to a bigger or smaller partition size, it will crash.
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
I have fedora 11 and window installed. I reduced the windows partition in order to enlarge the fedora. The fedora partition is widespread, and puts gparted lvm2. I can not enlarge nor palimpset or with gparted, I can only delete or format it.
I have read several manuals and online html on how to clone a partition to a greater one, I am still not sure about what to do.
Code: Select all# df -k /srv /usr Filesystem 1K-blocks Used Available Use% Mounted on /dev/md5 38445384 195236 36297128 1% /srv /dev/md3 8648896 1088016 7121540 14% /usr
What is the recommended procedure to clone i.e. /dev/mdx (/usr) partition to a greater one, say /dev/mdy, to accommodate for growth, whilst preserving attributes including timestamps (and yes, that means also including ctime).All of # cp -ax SOURCE DEST, # rsync -ax SOURCE DEST and # cpio modify ctime.Some sites recommend dd, i.e.:
When I first switched from windoze to Fedora I trimed a bit of space off the end of the HDD, formatted it to ext3 and installed Fedora 14 there. I have now completely rebuilt the machine and put a 2TB drive in. My intention was to upgrade to Fedora 15, but after a few weeks trying to get the new gnome to anything resembling useful, I gave up and decided to go back to the reliable 14.
I tried the old drive, and everything worked great, so I though no problem, clone that over to the new drive, and job done, no need to mess about for weeks getting all my settings back. I booted from the old drive with both connected and ran gparted, It sees both drives but won't let me copy the old partition. It complains about 'LMV is not yet supported' I tried booting from a gparted ISO with the same result.
How can I get this sorted? I've got work needing done, I don't have time to start from scratch (*AGAIN*),
I downloaded gparted. i would really like to make my ubuntu partition bigger, i've got over 200 gigs of free space on my windows partition. i've played with it some and cannot seem to figure out what to do.
I purchased a FREECOM 1,5TB external USB-HDD and find out that there was FAT32 as FS. I windos there are not posasible to make bigger FAT32-partition than 32GB. I wan't to have windos-FS to use my work and on my freinds computers.Do you think I could format to NTFS or keep the FAT32? I don't have any big files.
This is my first attempt at upgrading a live ISO file.
Things seem to have worked OK, but the resulting ISO is four times bigger than the original:
I followed the LiveCDCustomization HOWTO: 1. In home directory, mount ISO to explode squashfs in ~/edit, and the rest of the ISO into ~/extract-cd 2. chroot to ~/edit (ie. exploded squashfs), upgrade kernel + applications, and build new initr.gz 3. exit chroot, and rebuild ISO
Does someone know why the ISO ends up being so much bigger?
I had installed Ubuntu 10.10 on a W7 OS, as a dual boot. I have removed Ubuntu, and now have that space as "free space". Between the original partition (c:) and the free space, there is a partition that contains the laptop mfg's factory image. I want to recover that free space back to the original c: partition. I was reading about GParted, but do not want to attempt anything until I have some expert advice.
a client brought in an 160GB external HDD and wanted to get the files off it, there appeared to be no partitions on the disk but i thought it may have been formatted to use the whole disk. I tried to mount it as the various FS types the client thought it may have been to no avail.
I ran testdisk on it which told me that it previously had a mac partition table and a 210GB partition on it (which is larger than the disk) could anyone enlighten me as to whether or not this is even possible, and if so how could i retrieve the data?
I installed Ubuntu using wubi, But I didnt assign much space, probably like 17 gigs or something. My geting a pop up everytime my ubuntu starts up saying i got low disk space, very low disk space, Im runing ubuntu 10.10. How do I add more disk space? How do i make the partition bigger.
Is there anyway to copy a drive that has a working Ubuntu OS such as on sda1 and put it on sda 7 or 8 of the same hard drive What I want to copy is my first of 4 primary partitions sda1 and put it on a logical drive on my extended drive and be able to boot from them My hard drive has 2 15 gig primary partitions set up for ubuntu and kubuntu on sda1 and sda2. sda3 is a 2gig swap, while the last partition sda4 is extended it has several 15 gig logical partitions for more ubuntus
I have hdd with sda1(windows xp)(4gb) and sda2(my files)(10gb)I have conected usb memory which apperas as sdb1 (4gb)What I want is to copy sda1 to sdb1.I did it this way:Code: dd if=/dev/sda1 of=/dev/sdb1When I check what there are in sdb1 and disk was full but no files and folders were stored there.
I am trying to mirror partitions from one harddisk to another.dd if=/dev/sda7 of=/dev/sdb7 bs=4k conv=noerror 2Strangely, it refuses to copy anything inside the www directory. I've tried many times with the same result - /var/www is empty in the target harddisk.I do this all the time without any problem on Etch. On this Lenny box, mirroring other partitions seems fine except for /var.
I am running ubuntu 10.10 on a drive with 3 partitions. 1 windows and 2 ubuntu partitions.
The ubuntu that I am running right now is on a partition that is too small. I need to either expand it to include the other ubuntu partition or reinstall 10.10 and copy my existing partition to it. Can this be down?
I have this version working the way I like it and have tried 11.04 and am holding of for now. Still the fact remains that my working copy is on a partition that is really too small I only have 2 gig free space on a drive that is a 500gig.
Now I have learned creating partition in linux (ubuntu), well that's an achievement for a newbie. The next thing that I want to know is, how can I copy the contents of a partition to another partition. Like if I want to backup its content to a new partition that Im going to create.
My dad passed away 2 years ago and he had a toshibia laptop, and today I've decided to start using it. I would like to reformat it to Arch Linux from Windows XP.
He has a 80gb hdd with everything on one partition (thats how windows does it). I would like to create another partition (~20gb, and I know how to do this) and have clonezilla clone the main partition and save it to the 20gb partition. This is because you can't clone and save to the same drive unless its partitioned. (I'm saying partition lot).
Anyway my fathers computer is very important to me, and having it remain intact as he left it is very very important to me. I know the easiest and most sarcastic response is to tell me not to use it, but I want to use this computer.
Does anyone have experience with clonezilla? Will it back up the ENTIRE HDD like it says it will, without missing any important documents and files scattered throughout the disc? And when I do finish the cloning, format, and at a later date restore using the image I copied, will it be like I never touched it?
I have a laptop configured with 2 partitions. The file ( Ubuntu ) partition which is about 30GB and a second 'data' partition of about 100 GB. On this data partition, I save all my digital photos ( about 20 GB ).When I installed Digikam, it seemed to compile its database on the smaller partition and left me with no space and error messages because of it.I managed to get rid of Digikam and regain space.Is there any way, I can re-install Digikam and stop it doing this ?
I was hoping you could help me figure something out... I am going to install a new distro onto my laptop and i usually set up partitions for / and /home just in case i have some issues and need to reinstall... i was wondering if there were a way to setup a separate partition where i can put all the programs i wish to install?
I have a dvd that is 5 gigs and I want to put it on a dvd that is about 4.4 Gigs. Anyone have an idea of software that will reduce the size of one dvd so I can put it on a dvd of smaller size. My dvds at my house are always getting manged and destroyed so I want to burn a dvd that will take the fall and make another copy of the one I do have. I will never redistribute any burned dvds. I saw a recent supreme court ruling that deemed this and using libdvdcss legal. This really gets me going. When I have a file I want to burn thats 50 Megs bigger than than 4.4gigs on debian systems so it tells me to put in bigger storage, whatever.
I spend the vast majority of my time in Ubuntu, but every so often I still encounter the odd errand that requires a free copy of Windows that came with my hardware.
So I have Windows 7 on my laptop which I like slightly better than XP and a whole lot better than Vista. I am not in there a lot besides that its required for a web design class and sometimes for a few stubborn games, but I would very much like to copy my Windows 7 partition to a 100gb partition on my TB HDD.
How do I do it? Keep in mind, I am barely two tiers above noob on a scale of 1 to 20. I am working on it though.
I also want this partition to be bootable. I dont care if I lose the rest of the data on the disk. I want to redo everything anyway. I definitely want it to boot though, not just for the data to exist.