Ubuntu Installation :: Moving Space From One Partition To Another Using GParted
Jul 27, 2010
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.
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.
So I was moving and resizing a ntfs partition and i just touched gparted window and it crashed!! it was about 66% of finishing the operation... Now i guess i have a big mess in my hard drive and i dont know how to start solving it! i am in a ubuntu live cd?
If i open gparted now it shows the same partition table than before resizing and moving.. so i guess now part of my data is in this unallocated space after the sda5 partition.
I moved my /var partition using Gparted Live CD version 0.8.0-3. Everything went fine. But when I boot my Fedora 14, I get error message (something like "name_count maxed, losing inode data"). Maybe there are other error messages as well, but they scroll away very quickly. Is there any way to slow them down?
But the boot hangs after starting udev and setting host name to localhost.localdomain. It just hangs there. If I press the [Caps Lock] key, it toggles the Caps Lock LED. If I boot the installation DVD in Rescue mode, it mounts all partitions without problems, and the data is there.
I am trying to partition my unallocated part of the disc in my laptop in ubuntu 10.04 using Gparted.Here is a screenshot of my disk and its partitions:
when i select the unallocated space i can ONLY create a PRIMARY partition..the LOGICAL and EXTENDED ones are grayed out.. i want to partition this unallocated space in two or three parts, and it seems i only have one (out of the four) primary partitions left.. so i cannot create the partitions i want!
Although I've seen several threads with the same problem, I have not managed to solve the problem. GParted identifies my /dev/sda as unallocated disk space! The machine a Dell Inspiron M101Z laptop running Ubuntu 10.10 32 bit + W7 64 bit. I wouldn't have discovered the problem until I decided to replace my 32 bit Ubuntu with the 64 bit version, then GParted from the live cd identified my drive as Unallocated space!
I've already tried to use testdisk to write the partition table, but though it writes the table successfully and then it prompts to reboot, GParted still sees it as Unallocated. I've also tried fdisk /dev/sda then p then w to write the partition table, but again GParted screws up for some reason and sees it as Unallocated.
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 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:
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".
using onboard windows disk management i have made 75gb unallocated to add to the aforementioned ntfs data partition. but, after resizing extended partition, will i need to fix grub even though i will be adding the unallocated space to a storage partition and not the ubuntu boot partition?
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
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:
I originally had an Ubuntu partition on my hard drive which occupied about half of it. I installed Windows 7 in the remaining unallocated space and I was planning on doing a grub update from a live cd afterwards. BUT when I looked at my partition table, the space where the ubuntu partition used to be is now unallocated space!
I've tried to install Ubuntu 9.04 last year but my modem was malfunctioning, so i gave up on Ubuntu, but i got a new modem and installed Ubuntu using wubi, i loved it and ill make it my main OS, but now i have 2 problems:
1.-I tried using lvpm, but i ended up with a 60 GB new.disk and my hard drive has just 30 Gb (30 gb wubi installation and the 60gb from the new.disk)
2.-i dont know how to shrink windows partition and i dont want to loose my config, tweaks and installed apps my hard drive has 230 gb capacity and i want to leave at least 100 gb to windows
I decided to uninstal wubi and im going to install ubuntu the right way.. it just seems easier..
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.
Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).
This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.
When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).
If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).
Rather than go through yet another install, would the following work?
from FC10, move /boot to (say) /boot.0 mkdir /boot edit fstab to include "mount /dev/sda2 /boot"
If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.
Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...
Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?