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


ADVERTISEMENT

Ubuntu Installation :: Resize Partition On 10.04 - Virtual Disks ?

Aug 7, 2010

So I installed Wubi with Ubuntu 10.04 and chose the standard partition size (8GB?) and now I am running out of disc space. How do I resize this partition?

This guide didn't help: [url]

How do I resize the virtual disks? The download link doesn't work and LVPM doesn't support 10.04.

Any other options or do I need to re-install the whole Wubi?

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

Ubuntu Installation :: Cannot Resize XP Partition

Mar 3, 2010

I have read several tutorials on how to install it on my Laptop with pre-existing XP without destroying XP in order to get a dual-boot system. For example on those two pages...

[URL]

and

[URL]

...it reads that in the Ubuntu install menu I have to select "manually edit partition table", which I have found and selected, and then I should supposedly be able to edit the size of the desired partition. However, no option for changing the partition size appears. Instead I get a menu where I am asked to determine how I want to mount the partition (as ext4, ext3, etc.) and if I want to format it. However nowhere it mentions anything related to "change size" or similar.

View 9 Replies View Related

Ubuntu Installation :: Can't See / Resize Partition

Oct 15, 2010

I am dual booting Windows 7 and Ubuntu on my laptop, and I'm trying to resize my ubuntu partition to make it larger. When I boot from the GParted Live disc , however, It only recognizes the existence of my 160 Gig windows NTFS partition which has ~15 Gigs of free space, which I want to reformat and expand ubuntu into (I freed that space by shrinking my windows partition from inside windows 7). I know my Ubuntu partitions are there (I'm in Ubuntu now, plus my HD is 200 Gigs not 160), but I can't see them.

I have a feeling this has something to do with my resizing of my windows partition from windows, but I'm not sure.

more info:

Code:
sudo fdisk -lu
Disk /dev/sda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes

[Code]....

View 4 Replies View Related

Ubuntu Installation :: Resize Partition In Karmic?

Jan 26, 2010

When Karmic came out I made the decision to leave OSX and become fulltime linux. The one thing I took for granted is OSX's ability to resize a partition to create space for another partition. I am wondering if this is possible? The reason is I want to put all my storage data (i.e. papers, pictures, music, etc) into a partition separate from the OS. I seek to do this so that I can test out Lucid and subsequent alpha's/beta's.

View 5 Replies View Related

Ubuntu Installation :: Cannot Resize Windows Partition ?

Mar 2, 2010

I installed kubuntu onto my secondary drive witch was half full at the time of the installation. I used all the available space for the install. Now i have kubuntu installed and want to increase the linux partition. But GParted and Partition Ediditor show the resize button as inactive.

View 1 Replies View Related

Ubuntu Installation :: Is It Safe To Resize Partition?

Sep 6, 2010

I am currently using Ubuntu Studio 9.10 in dual boot with xp and wondering if it's safe to shrink ubuntu partition and expand swap partition without messing up boot sequence and grub.

View 3 Replies View Related

Ubuntu Installation :: How To Resize Root Partition

Oct 5, 2010

I installed linux on my system and made a dual boot system with Windows 7. But, I realize that my Windows system demands more hardisk space at this time (I planned to have just linux installation in my laptop after graduation, because some of my academic task still needs Windows platform). So I want to squeeze up my linux partition to be smaller. Currently my partition table is

How do I resize my linux root partition? I don't want to try erasing my linux partition, cos I will start everything over and I just don't have that enough time. And I know it will erase the boot loader, then I have to recover the MBR that is still looking so risky for me.

View 4 Replies View Related

Ubuntu Installation :: Software Available To Resize The Partition?

Oct 21, 2010

I am very new on Linux and also in Ubuntu. I have started to use Ubuntu 1 week ago. When I first install Ubuntu, I make the partition (Ext4) of 10 GB. I also make NTFS partition around it. Now actually I want to increase my partition size to 30 GB. I attack my disk status with a picture. I can delete the NTFS partition in the right side of Ext4 partition. Is the any software available to resize the partition?

View 4 Replies View Related

Ubuntu Installation :: Freeze During Partition Resize ?

Jul 18, 2011

This is my first time using Ubuntu, so I don't really know much about it. I tried installing it from a DVD earlier, but it wouldn't work. Then I tried on my flash drive, still didn't work. I realized that the downloaded iso (Ubuntu 11.04 64 bit) was only 411 MB instead of 698 MB. I then tried to download it again, and it was the correct size.

I booted it off my flash drive, and tried to install. It asked how much of the HDD space I wanted to reserve for Ubuntu, I think. I can't quite remember, but I dragged it over to 30 GB. Now I realize that I don't actually need that much, oh well. I got an error, can't quite remember what it said, but then the same window came up again asking to resize the partition. There was only about 20 GB availiable this time (instead of the 320 before), I reserved 6 GB, and clicked continue. I checked back after like 3 hours and the window is white and frozen.

Is there any way I can restart my laptop and correct the issue without messing anything up? If it matters, I'm installing it on an Alienware M11x laptop.

I'm not quite sure, but I think the specs are:
Nvidia GeForce 335M
320 GB HDD
i5 U520M processor @ 1.07 GHz (ranked over 3.0 GHz)
Windows 7 64-bit

View 5 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 Installation :: Anyway To Re-partition Disks To Use RAID1

Aug 1, 2011

I just installed Ubuntu server edition to my computer (brand new, no OS) and finished installation. In the terminal I used apt-get ubuntu-desktop to install a desktop interface.In my rig, I have two 500GB HDDs. I set them up through my computer BIOS as RAID1 drives, yet as I understand I still need to configure the Ubuntu software raid for it to work correctly. Unfortunately, I already partitioned my drives! I used the easy way (guided with LVM or whatever) and let it do it for me. Now, RAID1 is very important to me! Is there anyway to repartition the disks to use RAID1, or do I need to wipe my computer and reinstall Ubuntu?

View 5 Replies View Related

Ubuntu Installation :: Create Resize Move LVM Partition ?

Sep 2, 2010

As mentioned here I am planning on installing with encryption. This involves using LVM in the partition scheme.

I am following this guide here which uses Mandriva to do the installation. [url]

However, I notice that GParted doesn't seem to have any support for LVM, which is going to be a pain in the rear if I subsequently try to add Ubuntu to the Mandriva boot setup.

The problem I have with DiskDrake (Mandrivas partition editor) is that it only seems to be able to put partitions at the beginning of the drive and it doesn't seem to be able to move partitions. e.g. if I want to create a new partition at the end for swap and leave some unallocated space in the middle for my future Ubuntu installation I am stuck. GParted allows me to create at the end or effectively move it by resizing the beginning and end of the partition.

DiskDrake allows me to create and edit LVM partitions.

Is there perhaps another partition editor that does both? Or maybe a development version of one that does it? Or some option I am missing?

View 2 Replies View Related

Fedora Installation :: GParted Can't Resize The Partition?

Dec 27, 2009

I threw F12 KDE on my spare rig and wanted to throw Ubuntu on it as dual boot so I can play around with different things in each flavor. I installed F12 across the entire drive and later decided I wanted to try Ubuntu with it dual boot. I booted to Ubuntu's LiveCD and fired up GParted - but GParted can't resize the partition. It just gives me a 200mb EXT4 partition and "lvm2".

View 2 Replies View Related

Ubuntu Installation :: Cannot Resize Partition In GParted (Yellow Warning)

Jun 22, 2010

I have a USB Multiboot created with pendrivelinux.com. I have tried to install Ubuntu 10.04 on a small laptop, but I get the problem that the installer wants to either:

1) Partition my USB key and install it there
2) Install it on my drive and destroy the Windows Partition
4) Install it on my key and destroy everything on it.
3) Manually setup the partitions

When manually setting up partitions, I cannot resize the windows partition. GParted can't resize that partition (there is a triangular ! yellow warning sign, similar to this thread's icon, but yellow). GParted on the USB (GParted Environment) has the same problem as GParted in Ubuntu. It seems to be locked, even though I am in root and I have every hard drive partition unmounted.

View 9 Replies View Related

Ubuntu Installation :: Vista - And Windows 7 - Partition Resize - Install?

Nov 13, 2010

I have understood that Vista does not always play nice with third party partitioners and that it was best to use the tools *within* Vista to change its size.

I do not know, but the same might apply to Windows 7? Anyway I understand Windows 7 also has its own resize tools.

My advice to newcomers with Vista (or Windows 7) has been to use the Windows inbuilt tools to resize and then to leave un partitioned space on the drive, because until recently the Ubuntu Live CD has included an option 'Install into un partitioned space' or similar. Which was very easy.

However, with Ubuntu 10.10 Desktop CD the same option does not exist, so for beginners, or any nervous newcomer, the only practical option in most cases is to use the 'resize' facility in the Ubuntu installer.

This is a circular situation, if the Ubuntu facility resize is recommended to be avoided.

I would very much like to avoid having to tell them to use the 'advanced' option. Most of them are pretty jittery, from having used Windows for years.

I am aware that the 10.10 Alternate CD still includes 'install into un partitioned space'. Do I now tell people they need both a Live CD for initial tests and then also an Alternate CD for install?

They would see the install invitation in the Desktop CD live session and have to disregard it.

The Ubuntu 10.10 installer is, on the face of it, getting more friendly towards nervous newcomers.

Are the warnings about third party partitioners still relevant?

View 3 Replies View Related

Ubuntu Installation :: Console Commands To Resize Harddisk Partition?

Jan 27, 2011

I want to resize my harddisk partition to make it bigger is there a console commands to do this ? I have some free harddisk that I want to ubuntu to use, I have hear that one can use Gpart, but is it also possible achieve the same by using some commands ?

View 4 Replies View Related

Ubuntu Installation :: Unable To Resize Partition With Gparted On Live CD?

Feb 17, 2011

I recently got new hard drives for more space and copied all my old drives onto this one (everything mirrored, no problems)The thing is, when I first setup my Ubuntu, I only allotted like 20GB because of space.Now that I have new hard drives, I wanted to give it more space, roughly double it to 50gb.The problem is, I am unable to resize it.I have booted into the Ubuntu Live CD, and started Gparted. I see all my stuff there, including the unallocated space next to my ubuntu partition (I left it so i could fill it when I expanded the partition)

The problem is, I am unable to make it larger. I right click, click on resize/move, but when I do, it just shows that I'm at my maximum size for that partition, I can only shrink it.so my question is, how in the world can I extend that partition into the unallocated space?I've tried formatting the unallocated space to ext3 to try and merge it, no success.I tried moving my ubuntu partition all the way to the right (end of the disk) so maybe I could extend it to the left, nothing

View 6 Replies View Related

Ubuntu Installation :: GParted - Partition Resize / Adding More Space

Jun 30, 2011

I recently downloaded/installed Gparted as I want to resize my ubuntu to more HDD space in partition and reduce NTFS partition size. Is there any faster way to do gparted in ubuntu? I remembered in previous versions of ubuntu that gparted had MBR but I can't find info to do this.

View 1 Replies View Related

Fedora Installation :: Resize Partition Method Preference F12

Jan 11, 2010

Installed a test system and I messed up. I let the installer use the entire 200gb for F12 install when I only wanted to use 100gb. Since it is test and new install I could just blow it away and start over but decided to use this as a learning opportunity. I chose all the defaults on the install so my partition is ext4. Since the partition I want to resize is in use while the system is up, I need to do this offline.

I have read a bit and it looks like there are couple of methods I could use. I have an install DVD and a Live CD so I could use either. If I could use a GUI that would be nice but I do not know how to access that if there is one. I have already booted to the Live CD and figured out how to access the command line tools (resize2fs and lvm) although I have not figured out how to use them yet.

View 2 Replies View Related

Ubuntu Installation :: No Partition Resize On Install / Live Gparted Crashes?

Oct 10, 2010

Want to repartition/resize existing 1/2 full 60MB sda2 currently containing NTFS. The "Allocate drive space" does not seem to have a resize option (the 10.04 docs claim there was a resize option here). When I run 10.10 gparted in live mode gparted crashes for unknown reason before it even finishes scanning the disk. Am I missing something here? (Never tried to resize an ntfs part. with Ubuntu.) The laptop I am installing this on currently has XP that crashes a lot for unknown reasons.

View 9 Replies View Related

Debian Installation :: Don't Want To Partition Disks But Installation Insists

Oct 1, 2014

I'm creating a new debian virtual machine. As virtual disks are free, I want to use tree for my new machine. The scheme will be like this:

sda -> /boot
sdb -> /root
sdc -> swap

View 8 Replies View Related

Fedora Installation :: Resize 10 Partition Down From 150gb To 100gb But GParted?

Feb 27, 2009

I want to resize my Fedora 10 partition down from 150gb to 100gb but GParted 0.4.3-1 doesn't seem to want to touch it since its using LVM. Is there anything I can do?

View 7 Replies View Related

Fedora Installation :: Partition Size After F14 Install With Resize Option

Apr 11, 2011

I've just installed Fedora 14 over an old Ubuntu (heron, I think). The old install used a single partition for both / and /home; and I wanted to try to avoid reinstalling /home if possible (but yes, I did back it up). I chose the anaconda option to shrink the old Ubuntu /, and created a new LVM for the Fedora /. This seemed to work perfectly. I mounted the old / on '/host' (an old naming habit), and then mounted individual home dirs into /home using autofs. All seemed fine. However, on my first reboot after the autofs mounts fsck failed. The current situation is as follows:

# fsck /dev/sda6
fsck from util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
The filesystem size (according to the superblock) is 15360000 blocks
The physical size of the device is 15359895 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes

# dumpe2fs /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
# dumpe2fs -o superblock=32768 /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
Same thing for all the other backup superblocks I've tried.
# echo '15360000 4 * p' | dc
61440000
# fdisk -s /dev/sda6
61439583

Resize2fs tells me to run fsck, and complains of a short read if I try to force. Fsck seems to run fine if I say 'no' to the abort prompt, but doesn't change the problem. Filesystem is ext3. Started with debugfs. First used icheck and ncheck to work out which file(s) had been written to the non-existent blocks past the partition size. Fortunately, there was only one. Deleted that file (can restore it from backup later). Quit debugfs. Now resize2fs -p -f worked perfectly. fsck after resizing was clean. Reboot seems happy. As for the origin of the problem, I would guess there's a rounding bug in the code anaconda uses to shrink partitions.

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

Debian Installation :: Creating A New Boot Partition - One Of My Disks In My Computer Crashed

May 11, 2011

One of my disks in my computer crashed, it was the one containing /boot and some data partitions. The other system and /home partitions were on a second disk, which is ok.

I was wondering, can I create a new /boot partition, and keep on using the rest of the system? Can I somehow do it with a chroot from a live/installer disk, run grub, and use my system again? I have another disk which I can put in the system, but there is even an unused partition on the disk which is ok (but it is rather big for /boot).

View 3 Replies View Related

Fedora Installation :: Resize Of NTFS Partition On Install - No Progress Indicator On The Installer

Apr 13, 2009

I am doing a fresh install of Fedora 10 64bit on my PC. What I have done is, freshly installed Vista Home Premium 64 bit on the entire Hard Drive (680GB), then fired up the live CD and told the installer to resize sda1 (The windows partition) to about a 60:40 ratio. I intend to dual boot the system

Now the thing is, it's been running for half an hour now and there's no progress indicator on the installer so I don't know if its actually doing anything. Well there is a progress indicator but it's nonsensical, it just moves backward and forwards. The HDD indicator LED on my computer is flashing every now and again, but not constantly as I expect it to?

View 5 Replies View Related

Fedora Installation :: Dual Boot Setup - Resize 20gb Partition Through The 11 Installer

Nov 28, 2009

I have a computer with windows xp on it, and i want to dual boot with fedora 11. I have 2 hard drives in it, 1 500gb HD and 1 350gb HD. the 350 isnt much concern b/c its just sitting there all free and unpartitioned right now. Now my 500gb is split into 3 partitions, a 20gb(with xp installed on it) a 105 gb with pretty much nothing on it and a 350gb with all my data.

My problem is I'm trying to resize my 20gb partition through the fedora 11 installer and when I tell it to resize say to 10gb it starts and fails the resize. its a NTFS partition and the windows stuff on the partition is only about 8gb. any idea whats going on? the only error I get is "The resize has failed"

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







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