Ubuntu :: Can Copy Laptop Partition To External HD Partition That Is Bigger?
Feb 27, 2010
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?
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'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?
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'm wandering if it is possible to set up a partition on a laptop's HD so that if I use a USB cable between it and another device, the partition would appear as an external HD on the device.
Old Mac laptops used to have the option at boot-time of sharing the hardrive via firewire (they might still have it, have no clue) I'm looking for something similar, but on a laptop with Linux running on a different partition.
80 gb harddisk, using double boot XP/ubuntuUbuntu 'got' 14 gb free space but on the 'XP side' of the harddisk there's about 40 gb of free space left, how can I partion this to Ubuntu?
I'm trying to clone a Linux install to a different laptop. It's made a little complicated by two facts:
1) The 'new' laptop I'm trying to copy my Linux installation to is actually older and has a smaller hard drive then the computer I'm copying from
2) The computer I'm copying from has both a windows and Linux installation; I only care about the Linux partition.
I figured I would copy only the Linux partition from my primary computer to the laptop, sense the laptop doesn't have a large enough hard drive to copy everything. So I used the DD commands to copy SDA3 (main Linux partition) from my main computer to SDA2 of my laptop. When I came back a few hours later I was surprise to find my laptop trying to reboot itself (I never turned it off). It would keep starting to reboot, failing, and restarting itself. Not too surprising sense its boot partition wasn't changed so it's trying to boot into centos when I copied a redhat partition to it.
The problem is that when I used a redhat boot disk the rescue mode was unable to find a Linux partition to mount. /dev/sda2 exists, but trying to mount it gets the complaint "No such file or directory". "fdisk -l" lists sda1 (the boot sector) and sda2. Sda2 is the correct size and reports Linux LVM for its system. But "fdisk -l /dev/sda2" gives the error message "Disk /dev/sda2 doesn't contain a valid partition table" Did I not clone the drive correctly, or was an error caused due to the boot sector not being copied yet (the laptops boot sector is smaller then my old computers, so I can't copy from old computer to laptop)? Can I salvage the laptops partition table somehow, or do I have to repeat the cloning process? And if I do have to re-clone my computer can anyone tell me what I did wrong the first time so it works this time? I don't care if I copy just the Linux partition or both windows and Linux. Even though my main computer has a larger hard drive I'm only using about half of its available space so it should be possible to copy both partitions if I could ignore the unused sections of the harddrive.
Edit: I used DD to copy a tiny part of the Linux partition from my laptop so I could look at it. Most of it is illegible binary of course, but I scrolled through till I found some text right near the beginning:
Code:
VolGroup00 { id="F2MWxh-....-BidcLe" seqno = 1
[code]....
So it seems that the DD command did copy everything over to the laptop, which is good to know. I noticed that it says device="/dev/sda3" right in the middle of the code I just posted. The Linux section of my original computer was SDA3 but I copied it to partition SDA2 of my laptop. So is the problem because the boot partition is for the wrong device? I don't suppose if I modified that one line to say SDA2 it would be able to load correctly? (Not that I know how I would modify the line, short of using the DD command again).
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?
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 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 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.:
URL....However, I am not sure what will dd copy do with end of partition, and will it see the remaining space on /srv (it's contents are dummy and will be overwritten).
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 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.
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.
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?
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
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.
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.
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 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.
I would like to copy an entire unmounted partition from one machine to another on my LAN. This is basically to perform a very direct backup of the partition.
I want to copy my ubuntu install to a bigger hard drive, and am not quite sure what to do. According to my google searches, I need to run ubuntu from a live cd, then in a partitioning program copy the ubuntu partition to the new one, then resize it. Is that all? Do I need a linuxswap partition on the new hard drive? I have been using kde partition manager to arrange my new partitions. On one hard drive I have the partition I want to install ubuntu on(what type should this be? ext4?) and a partition to share between ubuntu and windows, and then will use my old ubuntu partition for installing windows xp.
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.
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.
I just installed a new HD on my system with multiple HD's already. I have a drive with two versions of Ubuntu & would like to copy the complete drive to the new drive along with all the contents & partitions of the Ubuntu drive.
1 - Could I partition the new drive & just copy the contents using rsync?
2 -If I copy all the contents over could I just reinstall Grub & edit fstab & be good to go?
I've used ubuntu 10.10 in dual boot (wubi) demo mode and I now want to install on a logical partition in an external USB drive. I've got ubuntu-10.10-desktop-i386.iso sitting on my ubuntu desktop ready to burn into the external partition already formatted ext4 and bootable flag set. See snapshot attached. I follow the instructions here ..
[URL]
to open
System > Administration > Startup Disk Creator
I select the target external partition where I want to install ubuntu. However the button "Make Startup Disk" is not in focus and cannot be clicked to burn ubuntu into the partition. Nor is the text "when starting up from this disk, documents and settings will be: .." with radio buttons in focus. See the snapshot attached.
The button "Erase Disk" is in focus .. but I'm not sure if this should be clicked first or if it would erase the target partition /deb/sdb3 .. or the entire disk /dev/sdb So what step have I missed in basic installation procedure to install into /dev/sdb3? Try as I might I cannot attach a label - RECOVERY - to /dev/sdb9. I'm attaching snapshots of the freshly partitioned external USB disk.
I don't want to make a mess of the partitions like I did on my desktop when I put 8.04 on it, so need some help please. I have a 320g hard drive with win7 on it and a recovery partition for it also. What it came with. I would like to install v10.10 and have a home partition too. So I can upgrade later without losing my stuff. And keep win7 just to try out occasionally. I ran the install cd but didn't understand how to partition it with the install routine. I have a copy of gparted on cd but I haven't tried it yet, so I can use it if need be.