Ubuntu :: Shrinking An Extended Partition?
Apr 14, 2011
I recently decided to resize a partition on my HDD (partition on which Ubuntu was previously installed).This was in order to remove Ubuntu from one of my HDD. I got rid of the Grub loader by booting on my windows system recovery disk and using Bootrec.exe/FixMbr and my computer now boots directly into windows. I then deleted the Ubuntu partition.
To get to the heart of the problem, I am trying to move the free space that is in the extended partition out and merge it with C. I tried doing this with my Gparted liveCD but it didn't work. I didnt have anything to save the error message onto, but I will try the process again when I get home and save the error onto my external drive so that I can post it here.
View 7 Replies
ADVERTISEMENT
Oct 26, 2010
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.
View 3 Replies
View Related
Dec 26, 2009
I wanted to shrink my Windows NTFS partition to allow me to grow my extended partition which contains my Linux partitions, namely to grow my swap space and home directory some however it just fails at enlarging the extended partition. Is this a known problem because I know there were rewrites to the storeage backend of Anaconda.
View 4 Replies
View Related
May 27, 2011
I installed Debian stable and I see these errors in the xsession error file
/etc/gdm3/Xsession: Beginning session setup...
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
SSHAUTHSOCK=/tmp/keyring-j0E6Br/ssh
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
[code]....
View 4 Replies
View Related
Dec 3, 2009
How can I shrink a LVM2 partition in fedora 12 in order for me to install another distro. thank you
View 1 Replies
View Related
Jan 15, 2010
im trying to shrink my vista partition with gparted inside ubuntu. I run gparted (and yes i have ntfsprogs) but when i select the ntfs partition and select move/resize it brings up free space preceding... new size... and free space following.so when i input the new size the resize/move button greys out and when i change the freespace following it just puts back my original new size and back and forth.from what i have read i need to run the gparted livecd and go from there. is this true? i know how to do it with diskpart in windows, how to in ubuntu and eventually get rid of windows.my system is 64-bit. [URL]
View 5 Replies
View Related
Dec 1, 2010
I am a new user of Linux, and I actually had a task that is the ability to resize (specifically Shrink) storage of Virtual Machine, I was thinking that the best to start on is to know how to resize partition in linux using command line since our VM runs in Linux environment.
View 7 Replies
View Related
Aug 5, 2011
I am completely new to Linux in general, and have recently downloaded Fedora 15 KDE spin. I tried dual-booting between Windows 7 and Fedora by shrinking one of my Windows partitions (I have two, this partition not containing the Windows installation). I tried shrinking it to 30 GB less than the total space available on the partition, and after pressing continue, received an error (which I unfortunately dismissed quickly and can't remember). In the file manager, Fedora showed that my partition changed from 1.3Tb to 1.2 Tb, but I couldn't access it. Upon rebooting into Windows, I still can't access it, receiving a "format drive before use" popup and then error stating that it is possibly of a different filesystem or corrupt.
Unfortunately, I stupidly didn't backup any of my data (which I will be sure to remember to do in the future). I installed EASEUS Partition Master 8.0.1 Home Edition, which states that my drive is still of NTFS filesystem and has the total space it should. However, upon clicking "check drive," it states there are no errors and when trying to "explore files," it doesn't find any (yet it shows the correct amount of used and unused space). I then tried running TestDisk, but only allows me to check my media drive E, which is my dvd drive that has my Fedora Live CD in it (which cannot be ejected manually or through Windows, an error stating it cannot be ejected). I didn't go through with TestDisk for my DVD drive because I needed to verify the type of partition (which to my knowledge shouldn't even exist). It shows 700 something MiB / 600 something MiB. Although I have decent general knowledge about computers, I am a complete novice when it comes to doing something like this.
View 1 Replies
View Related
Apr 26, 2011
I shrinked the /home partition using resize2fs command by 1GB and what had happened to remaining my free space .
View 1 Replies
View Related
Apr 5, 2011
I have serwer Debian with my website. My provider splited the disc into 5GB partition for / and 495GB partition for /var. Everything was going ok for over two years but now I don't have enough memory on /. I'd like to increase the partition but the problem is that /var is just next to it so I can't easily change the end of the first one. I need some safe solution. It might be even just shrinking partition for /var, adding new one after if it helps anyhow (I have about 450GB free memory).
Some outputs
Code: # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 5201536 5173904 0 100% /
tmpfs 1023464 0 1023464 0% /lib/init/rw
udev 10240 2672 7568 27% /dev
tmpfs 1023464 0 1023464 0% /dev/shm
/dev/sda2 478812280 10336484 444345032 3% /var
overflow 1024 4 1020 1% /tmp
# parted print
GNU Parted 2.3
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 512B 5369MB 5369MB primary ext3 boot
2 5369MB 500GB 494GB primary ext3
3 500GB 500GB 538MB primary linux-swap(v1)
View 2 Replies
View Related
Jul 13, 2010
Using a small hard drive (180 GB) dual booting windows XP for gaming and Ubuntu 9.10 for my other stuff during install I didnt know how much of each partition i would use, so i did 50-50 1 for ext3 and one for NTFSHowever after awhile it seems I have run out of space on my NTFS and have tons of unused space on my ext3.What I am wanting to do is shrink some of that ext3 down and give it it NTFS, I did a little searching and found a couple of old posts but I was a little sketchey on em. Simply looking for some personal Methods or Tools you have used and a starting point of how to use them.
View 5 Replies
View Related
Sep 8, 2010
I have nearly 200GB of space free on the HD with my linux main EXT4 partition, and I'm wondering if I can convert a large part of this to a new NTFS partition that I can use for my windows XP paralell install?
Basically, what do I have to do to resize and create the new partition and how do I get windows to recognize it?
View 5 Replies
View Related
May 12, 2011
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)?
View 1 Replies
View Related
Mar 13, 2011
I formatted a 16GB USB flash drive via right click. Then I ran gparted and got as far as this [image attached]
Do I choose Primary Partition or Extended Partition for this second partition?
View 4 Replies
View Related
Nov 29, 2010
Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.
View 3 Replies
View Related
Jun 2, 2010
extended sata partition shrunk at 15 partition limit, how to re-enlarge i hit the 15 partition limit, forgetting it now exists for sata drives, thinking i would add more. upon creation of the 15th, it squished the end of the extended partition to meet the last logical partition, leaving a large unallocated portion after the extended partition, which seemingly nothing can be done with, just sat being wasted space. i have since deleted a few of those partitions, but so far have still failed to find a way to recoup the unallocated space back into the extended partition.
[URL]
if necessary, i'll do it the painful long winded way of backing up and starting the extended partition again from scratch, but i really rather wouldnt have to do that. i'm sure there must be a way of telling the extended partition to once again reach the end of the drive.
View 3 Replies
View Related
Aug 23, 2010
In an attempt to shrink my Data partition on my 500GB drive I had succeded in shrinking it but I think I have broken the partition table as now it refuses to mount. When trying to mount I get this error mount: wrong fs type, bad option, bad superblock on /dev/sda2 I have done some searching around but most fixes haven't worked because they are based on ext2/3 File systems and this partition is ext4. Using Ubuntu 10.04 x64.
View 2 Replies
View Related
Jan 29, 2011
I want to convert a vfat partition into an ext4 partition. This is on my wife's machine and she deleted the Windoze partition as she now prefers Linux. Here is the (edited) output from fdisk -l:-
/dev/sda2 514048 4708351 2097152 83 Linux
/dev/sda3 4708352 6805503 1048576 82 Linux swap
/dev/sda4 52693200 234436544 90871672+ f W95 Ext'd (LBA)
/dev/sda5 59006800 234227699 87610446 83 Linux
I want to change /dev/sda4 to 83 to free up space for Linux without losing the partitions in this 'extended' partition!
View 6 Replies
View Related
May 18, 2010
I've got a server that needs more space. To achieve this we added space (by extending the VMware disk attached to it).Normally this isn't an issue, because we just add an new partition and LVM it from there, but this host predates our deployment of LVM everywhere.
Our current theory is that the unallocated sectors can not be assigned because they aren't part of the extended partition, and thus ... we go in a circle.So what i believe the way forward is to extend sda4 so that i can then create an sda10 inside of it. Anyone have any ideas on how to do this? I was thinking gparted may do the trick ... but being a server i'm in runlevel3, with no X...
View 5 Replies
View Related
Aug 16, 2009
I have just over 20GB of empty space on C:. When I click it under disk-management, the window comes up and says I can only resize it 192 MB less than what it is. But I have 20GB free. Any ideas on what is wrong? I also have this odd 9.56GB partition that is empty. DM says it's "EISA configuration"...whatever that is. I am planning to allocate about 10GB for F11 if this pans out ok.
View 6 Replies
View Related
Jun 13, 2011
I would like to create Logical partition in Extended partition using fdisk in Fedora 14 I created extended but fail to create logical partition.
View 6 Replies
View Related
Nov 22, 2010
Im trying to shrink a 80 Gb ntfs partition. but when i clicked the shrink option the partition is like this:
"sda1(ntfs,0 mb)".
how to free up space in creating custom layout.
View 1 Replies
View Related
Jan 25, 2010
Can Ubuntu swap partition go in an Extended partition (a logical partition within the extended) while Ubuntu is on a Primary partition?
View 9 Replies
View Related
Sep 9, 2010
I somehow messed up my filesystem. I installed Ubuntu directly with LVM. This created an extended partition including a logical one. When I run out of space, I just increased my space (through VMware) and then added a new PRIMARY partition.
Then I added this one to the volumegroup and increased the logical volume. After I did this a few times, there were no longer any primary partitions allowed (only 4). Then I resized the FS, resized the logical volume, resized the volume group, and removed the physical volume. Now I'm no longer able to create an extended volume (only one) but it's not at the end (there are other primary partitions behind this one at the disk), so I'm not able to create some logical volumes.
What is the best possibility to add some space to the LVM and being able to do this a few times in the future again?
further info:
pvscan:
fdisk -l for sda:
There was a /dev/sda3 at the end of the disk. I already deleted this partition.
So the order on the disk is: sda1 | sda2 (extended) | sda5 (logical referred in sda2) | sda4 | free space
Does it matter that there is type "Linux" for sda4 or can I without damaging the lvm just change it (with cfdisk) to "Linux LVM"?
View 6 Replies
View Related
Dec 28, 2010
Two days ago I want to expand the free room for my C: partition on my laptop, i thought that just shrink the D: partition and expand the C: and the problem solved, but it's not solved, the C: remains and can't be expanded. so i merge the D: again,but the D: status become an extended partition
After all, next morning I boot into Ubuntu and my D: are not available in "Places" menu in Ubuntu just the C: partition, so I boot from Win7 and run CHKDSK /f to my D: partition, but it's gave me no effects
Code:
sudo fdisk -l
in terminal and my D: listed as "Extended" in System type.
In my Win7, everything is alright
View 9 Replies
View Related
May 4, 2011
I'm dual booting Win7 and Maverick and I'm running low on diskspace on my Ubuntu partition.I booted into an Ubuntu 10.10 live CD and opened Gparted. After shrinking the storagepartition I wanted to grow the extended ubuntu partition into the unallocated space to the left, but for some reason it won't let me do that.
View 7 Replies
View Related
Jul 6, 2011
The fact that there are mounted partitions can be ignored as any work to be done will be done from a LiveCD.The question is Can the extended partition - SDA4 which contains SDA5 (Maverick Meercat) and SDA6 (swap) - be moved to occupy space at the end of the drive somewhere within the unallocated partition so I can then extend SDA3 to take all of the remaining space?
At the moment using Gparted all I can do with the free space is create another partition.SDA1 through to SDA6 is a copy of the original hard-drive.The copying was done using Paragon Partition Manager (a Windows program). This caused all sorts of problems Grub, and was a PITA to sort out. The program installed its own version of the MBR which had to be sorted with a Windows 7 install disk and then I had to sort the Grub problems after.
View 9 Replies
View Related
Apr 16, 2010
Server have extended partition size around 490 GB. I want to spilt the extended partition to each two partition(ut0 & ut1) size 100 GB. How to split the extended partition in Redhat linux 5?
View 3 Replies
View Related
Jul 12, 2011
I wanted to create NTFS partition from unallocated space but by my mistake that space is beyond extended partition. How can I add unallocated space to extended partition and then create NTFS partition without deleteing any partitions?
View 7 Replies
View Related
Jan 26, 2011
Okay so first of all, let me give you a background info.I have an HP Mini 311 with a 250GB hdd and 2GB Ram. I have successfully setup a tripple-boot with SnowLeopard/Win7/Ubuntu10.10.Okay so
First, using "Disk Utility," I format the OSX partiton to Extended(journaled) and install OSX accordingly.
Second, I install Windows 7.
Third, I use Netbookinstaller to install Chameleon 2.0 onto the OSX partition.
Fourth, using DIskPart.exe i set the Win7 Partition(#3) as active and then run the Repair(and Restart) option in the Win7 USB install media, to fix some boot error I do not know much about. Then use"DIskPart. exe" again, to set the EFI partition(#1) as active partition again.I now have a fully operational dual-boot with SnowLeo and Windows 7.
I setup a triple-boot with SnowLeo/Win7/Ubuntu10.10 by using GParted to add and format 2 additional partitions. The first formatted Ext4 for Ubuntu to be installed onto and the second i set about 4GB as "Swap" area.Then i just install Ubuntu with the Grub bootloader being installed onto the same partition as Ubuntu.I now have a fully operational triple-boot with SnowLeo, Win7 and Ubuntu.So I saw this link about creating an additional "storage" partition, on a dual-boot system, and setting it up so that Windows 7 and Ubuntu can share the same files automatically.
I really want to set this up on my triple-boot system, and here is the problem i run into: Simply adding another partition, messes up my windows 7 boot entirely. And i figured out the cause of this might be due to harddrives only being able to handle 4 primary partitions. So i figure that if setup Ubuntu and the Swap-area into an Extended Partiton, this would solve all of my problems.I cannot figure out how to setup an extended partition on my harddrive without messing something use up irreparably. This is only my second
View 14 Replies
View Related