General :: Correct Partition Size Not Reported After Resizing With Gparted?
Jan 11, 2010
I removed an ntfs partition I had in my HD and then resized my home partition with gparted to occupy all the available space. The resulting partition is supposed to be 129GB, and gparted/partition magic see that size. But the system does not, and all tools report the old partition size and the same free space I had before resizing.
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.
First of all, the boot device is an 16GB SD card. I install Citrix XenServer on it but I make the partition too small (XenServer makes a lot of logs file). I resize the partition but now it give "Illegal OpCode" and red screen everytime it boot.I already create the image of the whole SD card using dd and already try these process three times = restore the image, test that it can boot properly, then resize the partition using gparted, then it can't boot.
I already post this question in XenServer forum (with screenshot) but nobody answer there.The hardware itself is HP Proliant ML350 G6 with internal SD slot.
I was trying to resize a NTFS partition using GParted and trying to enlarge it using some unallocated space (about 400 or 500 MB unallocated space) but something went wrong and now I am unable to access the NTFS partition. The unallocated space is still there.The error details are reported at the bottom of this mail, plus the content of fstab and mtab.Do you have any idea on what caused the error and how to recover the partition?
Mis-allocated 10g instead of 30g to /var/lib/mysql and realized mistake After Fresh Install and upgraded all servers. Using Slackware13.1, Xfce did some googling wondering if its possible to resize the above partition with fdisk. Read some things about gparted and wonder if it will work using Xfce.. i've never use kde or gnome. There is also mention of using live cd; I have no experience with any of the mentioned tools; just fdisk to partition and install. What is the best or simplest way to backup & restore; (I do have an empty sdb 160g but don't want to get into complicated raid or LVM setups right now because I still have to learn howto backup & restore do data to the point where I feel comfortable with it)?
Current setup: sda 160gb Hdd used 73.5 for following partitions: sda1 512m /boot; sda2 Extended Rest of Hdd; sda5 1280m /swap; sda6 8g /home; sda7 2g /; sda8 8g /usr; sda9 8g /usr/local; sda10 10g /var; sda11 10g /var/log; *sda12 10g instead of 30g /var/lib/mysql; sda13 10g /opt; sda14 5g /tmp Haven't configure mysql... so /dev/sda12 is empty except for system disk data the same goes for /dev/sda13 /opt & /dev/sda14 /tmp
I copied 10.4 from a 20gig hd. onto an 80 gig hd with Clonezilla and now I can't get Gparted to expand the partition to include the 50 gig that is unallocated. Obviously I cloned the drive incorrectly.
I have a dual boot machine ( win 7 & Ubuntu 10.04 ) which is reporting insufficient space on the Linux partition. I boot up into gparted and reduce the size of the the preceding partition but when I try to increase the size of the following ( linux ) partition, it won't allow it. Attached is a screenshot of the gparted info screen.
I have booted up in a Gparted system disk. I'm trying to use Gparted to resize my current linux partition. It sits on a one HDD with another Windows partition.I have delete the windows partition (626GB) and now want to resize my linux partition to use all this unallocated space. When trying to resize the linux partition (293GB) I am not able to do so. No space is shown to be available to use. I can only make the partition smaller. Can anyone think of why I won't be able to increase my linux partition to use this now unallocated space?
Today, someone who had problems with his usb flash drive showed it to me. I plugged it in my linux box.
Code: cat /proc/partitions only showed Code: sdb
and no partition name (sdb1, etc.). So I ran fdisk on it I deleted all the partitions (4 in all) and recreated a single partition taking up the whole drive and marked it as c (win32 vfat) I exited fdisk (w) and formatted the new partition
I resized all of my partitions using GParted, I got Windows 7 and Vista to boot up again ok but I can't get F11 to boot. I am not using GRUB nor do I want to, I tried using the install disks and doing a repair and "chroot"-ed my filesystem and everything is still there, there is just something small missing that I am not remembering to do. I have the NST files on my Windows drives and it tries to boot but F11 complains that there is no boot disk. I'll try to boot once again and write down the exact error message.
I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
Have just installed Lexmark s605 printer on wireless network, printer works ok but when i print a document even though it is showing the correct size on 'print preview', the printed output is on the page is tiny and and 90deg rotated, I've tried various drivers from the Lexmark website, and also messing about in printer settings but nothing seems to make any difference.
When I setup Intrepid (upgraded to Jaunty now), I chose to create a swap partition. I don't remember the size I specified. Here's what I'm confused about When I do 'cat /proc/meminfo' or 'free' or use the system monitor, it reports my swap size as 1262304 KB (i.e. 1.2GB). But if I do a 'fdisk -l', the partition size is reported as 746991 blocks (of 1024 bytes) and if I use the partition editor it says it's 729.48MB. XP disk mgmt shows it as app. 700MB too
My MP3 Player (Zen:Vision:M) has roughly 60 GB of space and yet Ubuntu insists only 3.6 GB is available. I know this is not true because in Windows the correct amount of room is displayed and can be filled up. Because my music collection is stored in my Linux partition I need to solve this issue if I'm going to actually use my MP3 Player. What is also interesting is the fact that the device doesn't show up in Gparted, System Monitor or fdisk.
When I attempt to look at the Zen's contents through Nautilus I get this message:
Error initializing camera: -1: Unspecified error
And when I update through Banshee every song gives an error of:
I have slackware 13.1 installed on my desktop and I have all my hard drive dedicated to it. But now Im thinking about resizing my hard drive so that I can install windows so my brother can play games on it ( probly giving 50 Gigs to windows )I heard that parted ( located on slackware cd 1 ) is what I should use. So I was wondering if I need to backup any important files before doing the resizing? I would also appreciate it if someone could link an good tutorial for doing partition resizing .
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.
I have 10 GB drive with win98SE taking 2 GB and 9.04 taking 2.3 GB, then the rest is unallocated space. I am trying to use upgrade manager in 9.04 to upgrade to 9.10 (I have 9.10 CD but it fails to install - tried to download it several times. I know upgrade manager solution works in principle, but upgrading to 9.10 says it needs another 1GB of space.
I have used 9.04 live disc to start GParted but there seems no way to resize the 9.04 partition to use the unallocated space - can only resize it down. Making the unallocated space a partition does not seem to help. How can I go from here to make enough space to upgrade to 9.10 and keep Win 98
The following is a screenshot of GParted run on my system. There is a small unallocated space at the beginning of the list. This 1 MiB space is kind of annoying and I'd like to merge with any other partition except /dev/sda1, /dev/sda6 and /dev/sda4. When I right click on the unallocated partition, the only available operation is "New". And, if I click on "New", I get the following error message.
It is not possible to create more than 4 primary partitions
how to go about merging the small unallocated space with other partitions?
I have 3 partitions on my hdd right now, a Windows 7 one, the associated System Reserved and my Linux Mint partition. I was trying to use GParted to make another partition by splitting my Linux Mint one in two smaller partitions. I can't, however, unmount it, and so can't partitions it. I have considered partitioning it from Windows 7, but I'm afraid it will screw some things up and stop booting up correctly. So, what could be making the partition unable to unmount?
I tried to repartition my hard (320GB) drive yesterday because I need (40 GB) more space in windows, below I mention the previous file system and later file system architecture. It is dual boot (windows 7 and Fedora 13). I am sorry that I did not take screenshot!
1. boot partition, 100 MB 2. windows-7, around 75 GB 3. extended, around 230 GB
inside extended 3 logical partitions:
3a. 125 GB for backupv(NTFS) 3b. 4 GB for linux swap 3c. 100 GB for linux
I used gparted. Since I had to create more space in between windows and logical partition for increasing windows, (I could not shrink Linux as it comes to the end) so I removed Linux (I reinstalled later) first, moved (hold in the middle and drag) backup partition to the right by 40 GB, created a primary partition out of the left portion of logical partition and merged with windows. Finally installed Fedora on the right most portion (60 GB now) in the logical partition. Now my file system looks like following;
Now my problem is, I don't like that 7.84 MB unallocated space in the logical partition. I was told that it (smaller than the smallest chunk gparted can allocate to any partition) will always be there unless we allow some program to do the partitioning automatically rather than I manipulate/move it manually? It is true? If so is there (m)any software which can do this? Or simply how to get rid of this unallocated space.
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 was using gparted to resize my /var partition, which is supposed to be an ext4 partition, and during the beginning stages of the resize/move procedure I cancelled out of the process despite the warning this might be bad. The process was in the middle of the "read" stage so I figured nothing can go wrong during a read, but now I cannot access this partition mount wise. Is there anyway to repair this?
I realise that this is not a pure Linux Q, but I am hoping for tolerance and even help!After removing the partitions (/,/home) that held an older Linux installation, gparted showed the original Windows XP partition followed by the new unallocated space. On rebooting, there was a Grub rescue error (text not noted, sorry). A live install running gparted shows a totally empty disk!
The removed OS was booted via Grub2 and I imagine that it is choking when there is no secondary(?) file to be found since it was vaped. I also imagine that this is a fairly straight-forward matter, something like replacing the MBR but I am so far from Windows these days that I am unsure how to progress with rescuing the partition. The machine has no floppy - that's how I would have initially booted it way back when. Is this something that I can do either through a Linux live distro or via a Windows CD?
Unable to resize fedora 12 lvm parition with gparted. Need to resize to make room for ubuntu linux on same drive. When the fedora lvm parition is selected gparted says "No lvm support at this time". I am using gparted through the pmagic (partedmagic) linux boot disk. I have almost the lastest pmagic (5.7) there is a pmagic 5.8 on source forge.
This machine has UBUNTU & wINDOWS XP. I'm currently logged into UBUNTU. I was just checking the features of GParted and accidentally clicked Device > Create Partition Table. A default MS-DOS partition table is created. Now if I re-start the Gparted there is nothing. Its showing entire disk as UNALLOCATED space.
Lucky thing is All the drives (C:, D:, E:) are currently mounted and I'm in UBUNTU. I guess its possible to re-create the partition table using current status. how to do this. This is a lab computer. If its not recoverable. I'm completely screwed!
I have a 230GB hard drive wich I don't know it's name.I have a 207GB windows vista partition and the rest of it is for linux (Ubuntu).Today I decided giving it all space to Ubuntu Linux ,but didn't want to lose all my data from the windows partition.I thought that by deleting all things except the folder with my data and leaving enough space to shrink and make enough room for another partition to put my data folder.The logic is that i could then format that partition wich previously was windows and use it all for ubuntu without losing data.After having ubuntu installed i could copy my data folder to /home and then delete the previous partition and make /home bigger.The problem is that after i freed the space,when using Gparted to shrink it says that the partition has bad sectors or the filesystem has problems and so it can't do some operations.
What could have went wrong?It told me to do chkdisk but as i deleted all the windows files and i can't boot into it anymore.I used the vista dvd to do that.I rebooted 2 times as it says and after that when trying again nothing changed.I tried to use ntfsresize with the --bad-sectors argument and also the -f argument but it's useless.At the end it says it won't do anything until the ntfs filesystem get repaired.Or it says it is too risky to continueIs there any way i could do some superforce command to resize it without losing data?Please don't tell me to put it on an external storage cause i have like 70GB of datas to save...no i don't have an external hardrive