Ubuntu Installation :: GParted - Moving Partition Out Of Extended One
Oct 31, 2010
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 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?
After I formated my windows partition using GParted it became Unallocated and moved under Extended partitions. I can't create the unallocated partition as primary one, or drag it out of the extended ones. I tried GParted live CD also, but nothing worked.
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 not really sure if the title makes any sense or if it even possible. Basically I am currently triple booting with Mac osx on the first partition windows 7 on the second and ubuntu linux on the 3rd with a swap partition. So basically on my 2TB harddrive
Mac (200gb) Windows (200gb) Linux (200gb) Swap (8gb) NTFS(1592gb)
The last partition is formatted as ntfs using Gparted, windows cannot detect it. The windows disk partitioner shows the swap and ntfs partitions as unformatted. I can unformat the space and use the windows partition to add format it as ntfs but it would format the linux swap partition as well. I am worried that it could potentially screw up everything on my harddrive. My question is. What do I need to do to get the ntfs parition recognized by windows (should I use the windows partitioner)?
I have been attempting to set up a bunch of partitions on a bunch of hard disks, in preparation for installing Maverick. I will be setting up a number of RAID partitions, so I will install from the alternate disk (ubuntu-10.10-alternate-amd64.iso). Now ever since they added support for GRUB2 and a new partition type and align-to-megabyte and a whole bunch of other goodness, partitioning has been buggy. This has been true for Maverick and Lucid. Even the 10.04.1 version (an Ubuntu LTS!) still has problems. Every time I try something else, some other bizarre bug rears its ugly head. (Yes, I have been reporting them on Launchpad when I find a new one.)
In order to move forward on this project, I have been using a variety of partitioning tools. I temporarily installed Maverick on a small partition, and have used Disk Utility (palimpsest) and GParted while booted into that. Occasionally when things get really strange I boot up the latest version of System Rescue Disk, which contains the latest version of gparted. I use these various tools to try out various partitioning schemes, just laying out empty partitions that will be formatted or assembled into RAID arrays later. When I get all the desired partitions set up, I will boot into the alternate installer and do the final installation. (I don't want to do the entire thing within the alternate installer because it makes my head hurt. I do have a lot of partitions.) This has been going on for weeks now. Every time I try something different, something weird happens, and I have to try various workarounds, or switch to different tools. Basically, my partitions eventually become unstable.
Here's the latest mind boggler: Disk Utility displays nice graphical maps of your partitions. This image includes before and after screenshots showing what happens to my partitions occasionally. We start with three primary partitions and one extended partition. The extended partition goes all the way to the end of the disk. We put a small logical partition into the extended partition, at the beginning of it. We can then click on the "free" portion of the extended partition and create additional logical partitions if we like.
Afterwards, the extended partition has magically shrunk itself down until it is the same size as the small logical partition it contains. The free space has migrated out of the extended partition, and is now useless, as you can't have more than four primary+extended partitions. Disk Utility won't let you create another partition. What happened between the Before and After pictures? I don't know. I do know that I did not ever tell any tool to change the size of any partition. Moving or resizing partitions can trigger various known bugs, so I never even try to do that, I just delete partitions and start over.
just got a new laptop with Windows 7 Home Premium 64bit pre-installed, and when I boot into my 11.04 CD, there is no simple option to install alongside windows 7. Only the options to erase the entire disk (wiping windows) or manually specifying partitions. I'd like to keep my windows install as I use it for gaming, but I don't want to mess around with partitions while I don't know what I'm doing. According to the 'Allocate disk space' part of the installation, all 4 primary partitions are being used, a main one for the Windows 7 install, one entitled HP tools, and another two I forget the names of. I have looked up that I may need to turn a primary partition into an extended one,
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 recently installed Jaunty in my departmental machine which is having 70 GB harddisk and 512 MB RAM. Before installing I partitioned the Hard disk by using Gparted of Live CD into Four compartments namely
1. Primary partition of 30 GB of file type ext3 2. Extended partition of 39 GB which I divided again into two logical Partition of 20 GB and 19 GB. Labelled it as D and E 3. 1 GB of swap partition
I installed the Jaunty in primary partition, gave the mount point as /The problem is I am not able to copy or save file in the extended partition namely D and E
I bought a PC with Window Vista on it as my partner needs it. Using gparted I set up Primary partitions for Vista OS (sda1) and Ubuntu OS (sda2), plus an extended partition for Vista files, Ubuntu /home and swap:
fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 1 3969 31880961 7 HPFS/NTFS /dev/sda2 3970 5294 10643062+ 83 Linux
My problem is Vista (as always). The 30GB I allocated is not enough, even just for the OS and it won't now boot from GRUB, though I can see it from GRUB. I don't want to do anything that risks a problem for Ubuntu. Will grub still see both OS if I wipe sda1 (Vista OS) and reinstall Vista OS on the extended partition sda6? Ideally I would like to merge sda1 with sda6 and install Vista on that, but that looks way too risky / impossible.
Edit - There is another drive on the PC which is much larger and I use for backup. Is there any scope for installing Vista on that one so that GRUB still identifies both. Not ideal as I like having one as the backup for the other.
I need to create a NTFS partition. However Windows installer doesn't see 'unallocated' under /dev/sda4. I do not want to touch /dev/sda1, /dev/sda2, /dev/sda5. I also need swap. Is there any chance I can move 'unallocated' under /dev/sda4 from extended and recreate it as a primary partition?
I successfully partitioned my desktop with Gparted and made it into an XP/Ubuntu dual boot.
Now i'm trying to do the same with my netbook (eee pc 1000he), and the existing partitions look funny:
How should I change this to prepare for installing Ubuntu? Can I just install to the unallocated space on the extended partition? I don't need optimal efficiency here, I just need to know where to install Ubuntu for a workable dual boot.
It's confusing to me that Windows is on an extended partition, and also that /dev/sda2 has the boot flag (this drive contains nothing but two undeletable folders titled "amd 64" and "i386"). This set-up is the result of a Windows re-install at a sketchy computer shop.
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".
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.