Ubuntu Installation :: Gparted Fails To Grow Partition
Jul 12, 2010
I have a machine running Ubuntu Server 9.10 installed on an 80GB RAID1 disk. The system has two arrays (one data, the other backup), each of the same size in RAID6 with ext4 fs, connected to separate 3ware 9690 controller cards. I had to increase the size of the arrays from 8TB to 12TB. No problems - added the drives, migrated the new disks into the array, rebooted the server, and everything is visible. I unmounted the drives and then attempted to grow the partition (it's a single partition), starting with the backup array, using gparted. It sees the unallocated space but when I try to grow the partition into the unallocated space it fails. Here's the gparted error details:
I find myself in a position to go full time, on at least one computer in my home, to Ubuntu. On a side note, I'm not overly thrilled with the new Unity, but I'm certain that before 11.10 comes about, most of what irritates me about it will be fixed.
My problem is now not really involving Ubuntu, but to commit this computer to full time Ubuntu, I've decided to remove the Windows Partition completely. (I can access what I need through VirtualBox. I don't think anyone really ever gets COMPLETELY away from Windows, but that's a different subject.) Anyway, here is a picture of my partition table.
What I'd like to do is completely remove the windows partitions, which are obviously the first two on here, and then extend my Ubuntu partition to the left to fill in what will then become unallocated space. However, when I try this, I don't have the option to grow my Ubuntu partition to the left. How DO I do that? I know I've heard of it being done before, and I can't be the first to have run into this situation.
I'm running 9.10 off of a 4 GiB CF card. I keep running into space issues with updates, so I purchased an 8 GiB replacement card. I've cloned the 4 GiB card to a .IMG file using DD.I've then copied the 4 GiB image back to the 8 GiB card using the Ubuntu startup disk creator program. Once done, I'm able to properly boot off of the new 8 GiB clone.Unfortunately, the clone ends up with 3.67 GiB of unallocated space at the end *see attached). I tried deleting the "extended" partition that the swap is located at after booting from a Live CD and the system was unable to boot after this. I was thinking that I would delete the swap entirely and create a swap file after I merged the existing partitions, but I was unable to do this.
best way to do this (e.g. get one large 8 GiB partition with my old image on it)? I still have the original untouched 4 GiB card and also have an external CF drive if I need to redo the cloning. I've also used Clonezilla before, so perhaps there's a way to do this that allow me to grow the image as it's being cloned.
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code: ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes 255 heads, 63 sectors/track, 3473 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
I have a new 1.5tb internal drive I want to partition as NTFS (because Windoze machines need to see/use it) and in gparted, when I go to partition -> new, it says it could not add this operation to the list a partition cannot have a length of -1 sectors. I recall having this issue on my 2tb external drive and I ended up creating the NTFS parition on a Windoze machine and then bringing it to the Linux box but since this is an internal drive, that's not an option. I took all the defaults in the "Create new partition" screen.
I have on sda1 Windows 7 installed. On sda2 I have 3 sub partitions (extended partition) with Ubuntu 10.04 and a swap space and one partition for /usr/local. Now I tried to move space from sda2 to sda1 using gparted. It's not possible. I deallocated space from sda2 which works. But I cannot merge it with sda2. Is that, because sda2 is an extended partition? Is there a work around without killing all partitions and lose my complete data?
I've installed Windows 7 + XP + Ubuntu 10.10 and Mac Os X on my PC. The problem is that XP wont boot. I've tried a lot of fixes for the last 2 days but still nothing. So I've come to conclusion that it might be probably due to its partition (dev/sda being inside of another Extended partition (dev/sda3) as you guys can see on the attachment. If so, how can I move it out of the extended partition.
So, my GParted (Ubuntu) won't create an NTFS partition (the option is greyed out). I'm trying to create an NTFS partition to allow for a Windows 7/Ubuntu dual-boot. Everywhere I check, they suggest either creating the NTFS partition in GParted BEFORE installing Windows OR leaving it "unallocated" with the Linux partition after it.
I have tried both now, with two results:
1) GParted can't create an NTFS partition within Ubuntu 9.10.
2) On the other hand, the Windows 7 Installer says that Windows can not create a partition or find a partition when I attempt to select the "unallocated" portion.
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".
So far I've been dual-booting Vista and Intrepid, and I decided I'd shrink down the Linux partition a bit, expand the Windows partition and reinstall Ubuntu fresh from a Live CD. I booted up from a Live CD, mounted the old Linux filesystem to check that I hadn't missed any documents to back up before I wiped the partition, and then cued up the relevant operations in GParted.
The key mistake I made was not to unmount the old Linux partition first, which led GParted to bug out and, apparently, stop my Windows partition from working. GParted no longer recognises the partition as NTFS - it tells me it's an unknown filesystem, and refuses to move or resize it.
sudo fdisk -l recognises the partition as HPFS/NTFS. Running chkdsk from a Vista recovery disk has been, so far, unsuccessful. What else can I do to either make the partition bootable again, or at least access it from Linux so I can pull my files off?
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.
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
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.
After I have installed all my programs, I need to install windows and I need visual studio. So I was thinking of taking 20 GB from the /home directory and using that for windows. I can use gparted. However, many posters on here think it is best to use gparted by booting from the disk. However, I cannot do this, as I don't have any DVD drivers. And I can't really afford to buy one just for this reason. What is the best way to do this?
I am trying to create a partition using gparted for my centos installation but I accidentally deleted my partition table. my partition was created on windows7 and dual boot with ubuntu. I am trying to recover it using test disk with ubuntu live cd but after I recover it still I neither can't boot on windows or Ubuntu here is the result of patition quick seart
I formatted 56 GBs of my hard disk space into fat32 and it seems that 27 gbs of it is used! Though direct checking from the volume itself shows nothing like this, gparted still insists 27 gbs are used.
how to upgrade my ubuntu 9.10 system. I would like to do a clean install of lucid, but I have way too many files. I have a big hard drive, so space was not a problem, and things got out of hand ^^ One thing you should know is that I have plenty of room for my files even if the drive was half it's size, so my idea is possible space-wise. (And I am prepared if this fails. I have backed up my stuff, but would like if it I didn't have to rely on that)
What I want to do is make a blank partition with gparted and install lucid on it. Then I want to keep it a dual boot just to make sure my hardware is working ok, then move my home folder to the new partition, make the lucid partition take the whole hard drive, and delete karmic. I do not want to upgrade because I messed up my install a lot while learning linux, so I really need to start over.
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.
I have installed HP g6 notebook from live-cd with 10.04 LTS across multiple partitions, only to find that the partition table is not setup correctly. I place the following mount points on separate partitions:
A snapshot of my existing partion configuration can be viewed at: [URL] I intend for the space including /dev/sda1,dev/sda2 and /dev/sda3 to be used by slack 13.0. The OS at /dev/sda6 and /dev/sda7 will be "retired" once I get slack up, running and configuration for my work. In the past I have preformatted partitions, that is, from the existing OS, I have formatted partitions for use by the next OS, using gparted. In the case of ubuntu, that has worked well. And frankly, I'm pretty rusty with fdisk....
1)Is there any advantage - or disadvantage - in my doing this for my pending slackware installation? Will slack recognize the "clean" partition and opt to skip formatting?
2)I presume that slack will recognize the existing swap partition. Am I correct?
3)My scheme would be to provide separate partions for /, /home/ and /usr or /usr/local.
I have a rack of four 1TB drives all partitioned identically with three primary partitions. On each drive
- the first partition is only 64MB; - the second is a large 900GB partition and - the last holds all the remaining space
mdadm has been used to set up /dev/md0 - RAID1, comprised of /dev/sda1 and /dev/sdb1 /dev/md1 - RAID5, comprised of /dev/sda2, /dev/sdb2, /dev/sdc2, /dev/sdd2 /dev/md2 - RAID5, comprised of /dev/sda3, /dev/sdb3, /dev/sdc3, /dev/sdd3
OK, so it was a silly mistake to make - but I am now need to increase the size of /dev/md0. My thinking is to reduce the size of md1 so that I can grow md0.
On md1 I have two logical volumes. I've successfully reduced the size of the volume so that I can reduce the size of md1. Now I'm at the nervous stage; I can find little written on the topic of shrinking RAID5 arrays - and even if I do this I'm unsure if I can move partitions around to regain the space I so desire.
I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.
I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?
I usually repartition a disk by backing up, deleting the partitions, formatting them and repartition. I just did a 200 gig backup (so i am safe) and i want to join 2 (ext3) partition together, sdb1 (data4) and sdb5 (data5) into one big partition. Is there a way to do it without scraping the data in sdb5 (data5). It would save me from rewriting the data back to that new partition (200 gig is time consuming).
had 9.04 install on a dual proc home built system that was running fine until a recent update wiped out grub. Since I have all my data backed up, I decided just to install 10.04. I select Use Entire Disk but when Ubuntu tries to install, I get this error:The ext4 file system creation in partition #1 of Serial ATA nvidia_dacaecb (mirror) failed.
So I decided to reinstall my 10.10 to undo the 'encrypted home folder feature.' I know are other ways to undo the encryption, but for various reasons I'd rather just do a quick reinstall and start fresh.Currently, I dual boot linux and windows, each with their respective partitions. There is also a storage partition that is fat32 to swap files between the two OSes. So the partitions are: