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


ADVERTISEMENT

General :: Partitioning - Install Mint 11 To Small Partition On Large USB Drive

May 12, 2011

I want to install Linux Mint 11 (just came out) to a USB drive. My USB drive is 34 gb. So I want to put a 1-2 gb partition on it and install mint just to that. Is that possible? I am a noob so I want to use [URL] but the screenshots don't show an option for a partition or state any extra steps that might be involved in doing this (there's a tutorial for doing this for one of the Ubuntus using fdisk, but I don't have any linux installs right now).

I've seen several tools for partitioning.

View 1 Replies View Related

Fedora :: Installed 13 On An 80 Gigabyte Hard Drive - Root Partition Too Large

Jun 10, 2010

I recently installed Fedora 13 on an 80 gigabyte hard drive, and it split the space in two, giving root and the normal partition both 36 gigabytes. I need at least 60 gig or more for my home partition. What can I do to shrink the root one? I currently do not have accsess to the install media or a rescue disk.

View 4 Replies View Related

Ubuntu :: Dd From Small To Large Drive Results In Bad Superblock?

Feb 10, 2011

I'm trying to 'upgrade' my 500gb drive to a bigger 1tb. I thought it would be as easy as using dd from the smaller to the larger then swapping them. However, after using dd, although the partitions seem to be there on the 1tb drive, they all have a bad superblock and can't be mounted.

View 1 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

OpenSUSE Install :: Default Root Partition Size For 11.2 - Too Large?

Jan 28, 2010

When I installed opensuse 11.2 64-bit (KDE) the installer set the root partition to 20GB by default. That seemed unnecessarily large, so I reduced it to 16GB. I then completed the install (basically a default KDE install minus games & educational stuff) and still had more than 8GB free. I'm aware that these days hard drive storage space is quite cheap, but it's not so cheap for me as I have an SSD. Would it not be reasonable to reduce the default root partition size to 12GB, or perhaps vary it according to the software package load selected?

View 3 Replies View Related

Ubuntu :: Cloning A Large Disk With Little Actual Used Space

Aug 10, 2010

I need to clone a laptop drive to a desktop drive. The laptop drive disk is 150 gb, however, only about 8 gb is used. Is it possible to clone this disk to a smaller drive?

View 3 Replies View Related

OpenSUSE :: Creating Large Partition In Hard Drive?

Apr 14, 2010

I am so sorry but this is not for me. I cant make this work. I want to install windows xp back in my pc, i just give up with Linux, I lack the expertise to do anything here.

View 2 Replies View Related

Debian :: Small Program / Large HDD Footprint

May 18, 2011

I have recently dropped to a command line to run a DB server. In attempting to write a bit of Python to do this process I went to install emacs using apt-get and noticed that the foot print of the install was going to be around 130 Mb. Likewise with a couple other programs the install size was going to be a lot larger than I anticipated. I was wondering how the footprint could be so large and is there a way to install software without this blow out. While I am happy to use vi or import the code from a desktop with a GUI I think this would be interesting to know.

View 2 Replies View Related

Fedora :: Wine - GUI With Large Buttons And Small Fonts

Aug 18, 2010

I'm kinda new to configuring wine in fedora. My issue is, after I upgraded to fedora 13 and after upgrading wine, my wine configuration gui and all the gui's of all *.exe applications that I was using started having abnormally large gui's with equally large buttons and small fonts. I have attached a screenshot of the wine config GUI as it appears on my screen. My current screen resolution is 1280X1024 and I'm using an integrated ATI chip (ATI Radeon x200 express) with the mesa-dri drivers for display.

View 3 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 :: Cloning To Advanced Format Drive With 4096 Bytes From 512 Byte Drive

Jun 27, 2011

I am getting a new 4kb sector HDD for my laptop, WD scorpio black 750gb, I would like to image existing partitions on 512bytes sector HDD and move them to the new 4kb sector HDD, what's the best way to do this.

present config is as follows:

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[Code].....

I am planning to keep the same three partitions as the primary partitions on the new drive and add few more logical partitions. I would have liked to move to GPT but since I need Win 7, I am stuck with MBR partiotion table.

Now, I understand how to partition an Advanced format disk, what I want to know is how to move the existing partitions on the 80 Gb disk to the new disk?

I use Clonezilla to copy partitions but it is not compatible unless both the target and the source disks are already using 4096 sector size.

I can use Acronis True Image WD Edition to clone Win 7 but how do I clone Ubuntu?

Also my Laptop's chipset is limited to SATA 1.5, will it cause any issues, I know the bandwidth is not an issue.

View 7 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

General :: Ubuntu - Resize Root Partition From A Flash Drive?

Aug 2, 2010

I need to make my root partition bigger to add more free space. Is there a Linux version that will fit on a small usb flash drive that has the tools I need? I plan to boot a Linux distro from a flash drive in order to resize the partition.

View 1 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 :: 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 View Related

Ubuntu :: New EXT3 Partition On Flash Drive Mounts W Root Owner

Jul 20, 2010

I have a flash drive that I use to sync my work- and home-computers. Rsync has occasional issues syncing between FAT32 (which I use on my flash drive b/c it's universal) and EXT3.

I decided to create an EXT3 partition on the flash drive in an attempt to alleviate the rsync woes. My problem is that when I create the partition using GParted, Ubuntu auto-mounts it with Root as the owner. I had GParted check the drive, and it found no errors to repair.

One other weird thing is that the EXT3 partition shows 84.7MB being used immediately after creating the new partition.

The FAT32 partition mounts fine, is read/write, and only shows 4KB used after the new partition scheme.

I tried doing new partitions a number of times, with EXT2, EXT3, and EXT4 just to see if that mysteriously made a difference. Each time that partition would mount w/ Root as owner.

View 6 Replies View Related

Ubuntu :: Cloning Drive With Dd From 10.10 Installer CD

Nov 1, 2010

I am trying to clone my internal drive on my laptop using the dd command after starting up my computer using the 10.10 installer CD. Nothing happens when I follow the instructions from this site: [URL] When I follow these instructions, it doesn't work. I know that I am not being specific here but all I can say is that nothing happens. What am I doing wrong. My internal drive is 250GB and the partition I created on my DOS formatted external drive is 250GB as well.

View 9 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 :: Ghosting / Cloning From One Hard Drive To Another

Mar 1, 2010

Is there a utility app that will allow 'ghosting' your current Linux harddrive to another. For example, my current drive is 40Gb, I'd like to ghost/clone it to a 320Gb harddrive. Using an app like this saves re-installing the O/S, software, configuration and allows making a disaster-recovery drive.

View 3 Replies View Related

Ubuntu :: Cloning Drive Speed With Dd Or Ddrescue?

Apr 22, 2010

I'm trying to make an image of my whole hard drive (320 GB) to save on an external hard drive. I'm using Ubuntu Jaunty Live CD to do it, with this command

Code:
sudo dd if=/dev/sda | gzip -c > /media/ExpansionDrive/imagedd.img
At the beginning everything is going fine, but after few hours the transfer rate is incredibly low. After 1/2 hour, 20 Gb have been copied.
After 1 hour, 27 GB
After 2 hours, 40 GB
After 4 hours, 54 GB
After 8 hours, 71 GB

Is it normal? I've also tried to use ddrescue, but I have the same problem. Is there any other tool to clone hard drive with a constant transfer rate?

View 1 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 :: Formatting Flash Drive With Ext4 - Partition Accessible By Root Only

Nov 13, 2010

I've a flash drive that it's partitions formatted as fat32, ex4 and encrypted ext4. It works fine on the system that I've formatted it on, but when I try to use it on my other Linux distributions I get these problems:

* ext4 partition accessible by root only.
* after entering my pass-phrase I get

Code: /dev/mapper/udisks-luks-uuid-***** uid1000 is mounted What I'm asking for is a way to create the ext4 file system without being attached to some UID and to be accessible by any user.

View 1 Replies View Related

OpenSUSE Install :: New Partition On External Drive - Permissions: Root Drwxr-xr-x?

Apr 21, 2010

I tried two times to make an new partition (after the FAT partition on it) on my external hard drive with YaST>Partitioner.Fist I had tried ext3 now I have ext2 on it.Both times the partition (or the corresponding folder in /media) was only writeable to the superuser/root but not to a normal user (readable to the normal user). Root is the owner.The FAT-Partition on the same external drive is owned by the normal user who was logged in as I plugged the USB-cable in.I can unmount both partitions als normal user in natilus.1. Can I start nautilus as root to change the permissions?2. What have I done wrong? Should I use an SuSE Live-CD or an CD with an special partitioning-program instead?ng X20) openSuse 11.1 and Gnome 2.24.1 (mostly, 1 account is using KDE) and Kernel Linux 2.6.27.45-01.1-pae. "/home" is on an separated partition (as part of an extended partition). I have also 2 NTFS partitions for Windows XP (System and Data), and a FAT, a root (/) and a swarp partition.

View 9 Replies View Related

CentOS 5 :: Best Strategy For Cloning Drive

Oct 3, 2009

I have a rock solid server running CentOS 5.3 (probably 5.4 soon enough). Basic LAMP box with a few tweaks thrown in. Everything is running perfectly, with one problem - the drive is too small (I project it filling up to dangerous levels in 6-8 months). So, what I'm looking to do is basically clone the drive, store the image, pull the current drive and replace with a bigger drive (same number of heads and cylinders though), and install the image.

What I did do once, a million years ago, is put the new drive as a slave on the same IDE cable, and use dd (working from a live CD of the distro) to copy from the master (smaller) to slave (larger). Then, yank the smaller, change jumper on bigger drive from slave to master, and away I go. Next step as I recall was using gparted to get access to all the space on the new, bigger drive.

Is this more less still a reasonable way to go? I recall the issue was making sure the old smaller and new larger drive had the same number of heads/cylinders (although I don't remember exactly why).

View 7 Replies View Related

Ubuntu Installation :: Cloning (10.04 Desktop) From The Old Boot Drive Onto The New SSD?

Oct 2, 2010

I would like to replace my old 100gb boot drive in my server with a new SSD...for obvious reasons. So what is the best way to clone the existing installation (10.04 desktop) from the old boot drive onto the new SSD? I have read some guides online that suggest using the live CD and various software packages but most of them say it will only work if you are cloning to a disk of the same size or larger, nobody seems to address taking an installation from a larger volume down to a smaller one - in my case a 100gb IDE onto a 30gb SATA SSD.

As this is a datadump, the only drives I really care about are the various 1.0/1.5tb drives that actually store the data, the OS drive contains nothing more than the standard OS, samba/webmin and a few monitoring tools. So I guess it's not the end of the world for me to start fresh and install 10.10 next week, but I would like to know for the sake of this upgrade and future ones if anyone can be of assistance. basic specs if needed: Athlon64 X2 3800, 2gb DDR500, Asus A8N SLI Premium (Nforce 4/Silicon Image 3114R RAID controller). OS is on a 100gb IDE (WD1000BB-00C) and I would like to toss it on a Kingston 30gb SSD (SNV125-S2/30).

View 5 Replies View Related

Ubuntu :: Permission Denied (cloning Hard Drive With A Img)

Dec 31, 2010

Code:
user01@ubuntu:~$ sudo gunzip -c /media/xbox/xbox_image.gz | dd of=/dev/sdc
dd: opening `/dev/sdc': Permission denied
[sudo] password for user01:

[Code]....

I'm getting Permission denied even though I'm putting sudo in front of the command but, instead of asking me for a pass word it just says Permission denied "then" it askes for a pass. I enter the pass and it just takes me to the

user01@ubuntu:~$

prompt. I enter the command a second time and it says Permission denied again.

View 4 Replies View Related







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