Ubuntu :: Cloning One Partition In Dual Boot

Oct 16, 2010

I have a dual boot and every program I try to clone the ubuntu partition seems to want to have the entire hard drive to clone to.In other words, if I attach an external hard drive and select the ext4 Ubuntu Linux to clone to a purposefully made ext4 partition in an external drive - every program wants to copy to the entire external hard drive.Any suggestions?I think that clonezilla allows more freedom but I just dont quite get it - the options seem a little confusing in that I am worried that I will copy the partition back to my actual machine.

I am probably being a bit paranoid, but if anyone can think of a simple program that allows me to simply copy one partition to another purpose made (external) partition then please let me know!!

View 3 Replies


ADVERTISEMENT

General :: Cloning Dual Boot Drive Onto Smaller One

May 28, 2010

I've decided that I want to use another, smaller, hard drive for my OS and I'd like to clone /dev/sda onto /dev/sdc. I want it to be an exact clone except my partition for my "/home" will be smaller (since there's not room for it). I was gonna try with dd but I'm not sure if I should build the partition table and use dd-command on one partition at the time? Will this then include GRUB boot loader and will it be working properly?

Do I have to clone the disk completely for it to boot properly? I'm not sure how or where GRUB places itself on disks as you install it. Can I perhaps copy the partitions one by one and then install GRUB from CD afterwards? Should I leave some unallocated space somewhere in between the partitions as I build and clone them?

View 4 Replies View Related

Software :: Cloning Partition To Different Laptop - Invalid Partition Table

Nov 19, 2009

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).

View 8 Replies View Related

Ubuntu :: Use A Windows-based Recovery Partition On A Dual-boot Computer To Overwrite Partition And Remove GRUB Loader?

Mar 9, 2010

is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?

View 4 Replies View Related

Ubuntu Installation :: Why Boot Partition Is Recommended For Dual Boot Of 10.04 And Windows 7?

Jan 5, 2011

if having a boot partition is recommended for dual boot installation of Ubuntu 10.04 and Windows 7 and why?

View 1 Replies View Related

Ubuntu Installation :: Grub2 - Dual Boot Karmic / Unable To Boot Into Archlinux Partition

Feb 15, 2010

After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-

[Code]....

Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-

[Code]....

But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off

View 2 Replies View Related

Ubuntu :: Cloning From One Partition To Another?

Aug 10, 2010

I had to change my disc for a bigger one, and i want to transfer all my dataconfigurations, etc to a partition in another disk, a simple ctrl C, ctrl V will do or theres a specific tool that i need? I dont want to download all the updates, programs and go through the hassle of reconfiguring everyhtingmy new disk have windows 7 and i installed a fresh ubuntu on it but i want it to be a clone of my old onePS: i just notice now that grub no longer recognize both win7, the old and the new. What's wrong?

View 3 Replies View Related

Ubuntu :: Dd For Cloning An Image To A Partition?

Apr 13, 2011

have a binary image that I can copy to a partition and have done so successfully in the past. The image is smaller than the partition size, and everything is all good. However, I noticed that in copying the 5 gb image to the 9 gb partition there are 4 gb that are unnoticed by the system. It still registers the partition at the correct size in Gparted and Disk Utility.

View 3 Replies View Related

Debian :: Cloning HDD Partition To SSD

Aug 4, 2011

Recently purchased an SSD drive to replace my existing mechanical drive. My source hard drive is a 750gb and destination SSD is 256gb. My current partition setup on my source drive looks like this:
/home 639 GB, 137GB used
/ 46 GB, 6.4GB used

My destination SSD drive's partition table current looks like this:
/home 238 GB
/ 18 GB

I originally was going to use Clonezilla to do the partition copying but found out that the destination partition must be equal or larger than the source one.

View 3 Replies View Related

Ubuntu Installation :: Can't Resize Partition After Cloning Disks

Nov 8, 2010

I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial [URL]) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.

Here's the "sudo fdisk -l" output:

Quote:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]......

View 2 Replies View Related

Ubuntu :: Partition Hdd So Can Dual Boot XP SP3 & 9.10?

Mar 2, 2010

I want to partiton my hdd so I can dual boot XP SP3 & Ubuntu 9.10. Currently I just made 1 partition (NTFS) on 1 320GB hdd. And I need to make a partition for ubuntu.tutorials for this? Also I'd rather not have to use 3rd party tools for this.And just a quick question, after I do this, will the files be sharable between the 2 os's. Provided the file type can be used in both.

View 9 Replies View Related

Ubuntu :: Partition Won't Boot - Dual

Jan 24, 2011

I have a dual boot win 7 ubuntu 10.10 setup. Didn't update ubuntu for about 6 weeks but then did all updates at once, after that, ubuntu wouldn't boot. Is there anyway I can ubuntu and recover my data?

View 2 Replies View Related

Ubuntu :: How To Partition For A Dual Boot

Feb 28, 2011

Ran Karmic for a while in a wubi installation with XP. Very unstable, lots of headaches at inopportune times. Now I'd like to try separate partitions so Windows might leave Ubuntu alone and not nibble it away as it did under the wubi installation. Here is my current partition status:

ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
129 heads, 4 sectors/track, 605778 cylinders
Units = cylinders of 516 * 512 = 264192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code]...

View 3 Replies View Related

Debian Installation :: Cloning Partition To A Bigger One

Dec 4, 2015

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.:

Code: Select all# dd if=/dev/mdx of=/dev/mdy bs=512 conv=noerror,notrunc,sync

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).

View 8 Replies View Related

Fedora :: Cloning A Partition To A Bigger Drive?

Jul 28, 2011

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*),

View 10 Replies View Related

Applications :: Clonezilla - Cloning A Drive To A Partition

Oct 3, 2010

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?

View 1 Replies View Related

General :: Cloning A HD Or Partition Onto A Different Hard Drive

Nov 2, 2010

I want to move the entire contents of my backup HD to another HD. I could manually copy everything, but I was hoping to clone the entire backup hard drive. I tried to do it with Gparted, but as far as I can tell, I can't clone between drives, only between partitions on the same drive (I've done that before). So how can I do this in Linux? I think one of my drives came with a cloning utility on a CD, but I'm not sure I still have the CD.

View 2 Replies View Related

Ubuntu :: Cloning Root Drive From Large To Small Partition?

Nov 12, 2010

i am running ubuntu 10.10 and windows7 on a asus eee 1015. currently i have two partitions: 80GB for windows (NTFS) and 160Gb for Ubuntu (ext4).

I want to:

- shrink the windows partition (easy, no worries);

- Shrink the ubuntu partition

- join the space thus created in a third partition that i can use for storage, media etc accessible by both windows and ubuntu

The problem:

- i could not manage to get gparted live to run off USB stick (i get the unable to find medium.... error)

- even if i would get gparted to work and i succeed in shrinking the ubuntu partition as well, the two spaces reclaimed will be divided by the ubuntu partition, which means they cannot be joined in a third partition.

so here is what i want to do:

- shrink windows and create a new partition;

- format this new partition as ext4;

- somehow "clone" the data on my current ubuntu root into the new partition;

- format the current root as NTFS and use it as the storage partition

i am aware this may mean i would have to re-set grub etc but would the cloning of the partition be possible? that i would need to clone data from a 160G partition into a 40G partition.

BY THE WAY - forgot to mention that i have tried to load clonezilla off an USB drive and i get the same error: "unable to find medium..."

View 3 Replies View Related

Ubuntu Installation :: How To Partition For Dual Boot

Jan 21, 2010

I'm trying to understand how I can partition my hard disk to allow for a dual boot (Windows & Ubuntu) as well as allow access to a certain set of files from both Windows & Ubuntu. So far I understand that I'll need:

1 Windows boot partition ~2-4GB
1 Linux boot partition ~2-4GB
1 Linux swap partition ~1-2 GB

But I don't know:How can I keep my non-boot linux files & folders -- /home, /usr, etc. -- separate from the boot files? Do I need another partition? If yes, what size & format -- FAT32, ext3, etc. -- should it be?
If I separate, for instance, the "/home" folder only where do the remaining folders and files reside?
How can I access certain files with both Windows & Ubuntu? Do I need yet another partition, formatted in FAT32?

View 2 Replies View Related

Ubuntu Installation :: XP Into Partition And Be Able To Dual Boot?

Apr 24, 2010

I would like to install XP to /dev/sda5,sda6 being karmic. (I may have a dying dvd burner as was unable to install it yesterday but..) I got in a dreadful mess with grub after attempting to upgrade to Lucid,I needed to reinstall anyway. Will I be able to dual boot or should I just start from scratch?

View 4 Replies View Related

Ubuntu :: Creating A Partition From None To Dual Boot?

May 25, 2010

I'm running UbuntuStudio 9.10 on my Toshiba Satellite A40 Laptop... it's perfect and I love it... but, I installed it cleanly doing a reformat of the drive, and with no partition - so using as much of the newly replaced 80gb drive as possible.Now, if I want to create a partition to install WinXP as a dual boot, 1) can this be done? 2) what do I use to do it?

View 9 Replies View Related

Ubuntu :: Partition For Making Dual Boot?

Jun 16, 2010

I am already using ubuntu 9.10 for over six months but now i want make my system dual boot with windows as well. How do i do it. there are no partitions on my HDD all current space is dedicated to ubuntu only.

View 5 Replies View Related

Ubuntu :: Remove A Partition From Dual Boot?

Jan 9, 2011

I have windows xp on dual boot, however I do not use it anymore also something happened to the boot sector so now it wont work. I want to remove it so that I can have ubuntu reclaim the partition and have grub removed from startup. How does one do this?

View 8 Replies View Related

Ubuntu :: 10.10 - New Partition On Dual Boot Machine

Feb 11, 2011

I have 10.10 installed on a Compaq laptop and want to set it up as a dual boot machine. I'm not sure how to 1) set up another partition 2) set up the dual boot and 3) install my second operating system. I'm sure that this is a pretty vanilla thing to do and am frustrated after trying to find out how to do it for a bit now.

View 2 Replies View Related

Ubuntu Installation :: Dual Boot Partition Size

Feb 18, 2010

I must say that until now I have worked with Win2000/Xp. Long time ago I worked with Xenix and in the last 2 month sometimes with Ubuntu.Now I have brought a new PC with 320Gb HD and 4 Gb RAM, and I wish to built a dual boot system, with Win7 and Ubuntu.

View 3 Replies View Related

Ubuntu Installation :: XP Partition Is NOT Recognized - Cannot Dual Boot?

Feb 22, 2010

Absolute newbie to Linux (assume I'm a complete dummyhead. I don't understand anything about Linux.). Just bought 500GB HDD. Made 3 partitions, 1 for Linux, 1 for Windows, and 1 for data.

1st, installed Win XP on 2nd partition (NTFS)
Then installed 64-Bit Ubuntu on 1st partition (Ext4)
(Created a 2 GB partition and for the swap file.)

Not sure which partition is primary, extended, etc., never really understood all that stuff anyways. XP was working perfectly, till I installed Ubuntu. Now, it just boots straight into Ubuntu, doesn't give the option to boot into XP. Tried everything I know, but it will not give the option to go into XP.

View 9 Replies View Related

Ubuntu :: Dual Boot With Single /Home Partition?

Mar 5, 2010

Situation:
8GB SSD
#! on a 3.7GB partition, only 2.5GB used
Kuki (XFCE) on a 3.4GB partition, about 3GB used)

Both have their own /home folders within their individual /, but since I don't use this computer for documents/personal files, I figured it may be an idea to keep a 1GB partition just for my Home folder which would work for both distros. Both distros are Ubuntu based. Crunchbang uses Openbox, Kuki uses XFCE. They both are running the same kernel right now too in fact. I know how to use Gparted to create the spare 1GB partition, but I'm not sure how to get both distros to move their /home over there. I have the same usernames on each distros.

View 3 Replies View Related

Ubuntu / Apple :: Remove The Partition - Dual Boot Mac

Jun 28, 2010

I want to dual boot mac and ubuntu. Now, if I want to remove the ubuntu partion, how do I do so? (I have not yet installed Ubuntu)

View 2 Replies View Related

Ubuntu :: Dual Boot - Partition Not Recognized In Windows

Jul 3, 2010

I'm running a dual boot of Ubuntu 9.10 and Windows 7. For months now everything has been just wonderful. Recently, however, I tried to add another partition (in windows) and saw that my Ubuntu partition is recognized as RAW. I formatted it as NTFS originally. In Ubuntu, it is recognized correctly (ext4). I don't know what's going on. I'd like to be able to install drivers to recognize this partition in Windows. Will I have to reformat? I'm not sure if it's at all connected, but probably worth mentioning: while booting into Ubuntu, I received an error about "usplash mode failed." It also said something about "mount of filesystem failed." (I really, really wished I had written down the error message.) Everything seems to work now.

View 6 Replies View Related

Ubuntu Installation :: Partition Setup For Xp Dual Boot?

Aug 4, 2010

I have created 5 partitions:2 GB ext320 GB ext310 GB ext320 GB ntfs400 GB ntfsI have already installed XP on 20GB ntfs. Will dual boot work if I use the 3 ext3 partitions to install Ubuntu?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved