General :: Resizing Partitions With Gparted?
Nov 18, 2010resizing partitions with gparted
tools for resizing linux partitions under RHEL 5.5. ALSO what precaution we can take before resizing the partitions.
resizing partitions with gparted
tools for resizing linux partitions under RHEL 5.5. ALSO what precaution we can take before resizing the partitions.
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.
View 12 Replies View RelatedI 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).
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 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.
View 5 Replies View RelatedI have a Huawei IDEOS S7 android tablet running 2.1.My USB port has died, so I need to delete a partition I put on the internal memory area, then resize the remaining partition back to the full amount. It looks like I should be able to use terminal emulator to do that, but I don't know any of the commands.
View 2 Replies View RelatedI currently have Xubuntu and Mac OS X on my PowerBook G4, however, I recently got a netbook and use Ubuntu via USB on it and now would prefer to have only OS X on my powerbook. I would like to use Gparted to restore/fix my partitions and don't exactly know what I need/don't need and also how to resize my os x HSF+ partition back to full size? An image below shows my current setup (kinda messed up I think.) What steps should I take in Gparted to delete the unnecessary partitions and give OS X it's full size?
View 3 Replies View RelatedI installed linux to my whole hard drive. I want to make it a little smaller to dual boot windows just for games. Gparted wont let me resize my partitions at all.
View 5 Replies View RelatedI do not know what I have done but I used to be able to see the partitions on Hard Disk wich has WinXP and Ubuntu 10.04 as well as other partitions I have created.
I can access the partitions but cannot any longer see them with Gparted. Enlosed 2 screenshot ( Gparted and Disk Utility which shows the partition)
Gparted LiveCD version 0.6.3-3. boots and loads GUI, then searches endlessly for partitions. No luck running it from command line either. Dell laptop set up to dual boot, Windows XP/PCLinuxOS. I want to shrink the Linux Root partition to give more space to the Home,
View 14 Replies View RelatedI 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?
View 9 Replies View RelatedI have a windows box running w2003 server on 1 volume with 2x ntfs basic partitions. c: = the windows bit, d: = the data bit for user data.I have cloned (clonezilla) the volume to another and deleted the data (d bit and want to extend the c: into the freed space.I'm booted from a partedmagicv5 cd and using gparted to attempt this.I can't see a way to do this with gparted but then, I could be thick. Maybe I clone off reformat and copy back?Is there a better way or even is this the correct forum (please don't refer me to Microsoft website:-) for this type of question?This is a test box so not worried about breaking it, but the test is to try to solve a live problem at a school I support which is running out of hd space.
View 3 Replies View Relatedis this possible ? I have 3 partitions 2 different Linuxes on of which Ubuntu and one MS Windows. One of the partitions has come too small. Can I resize all in safe way when plenty of empty space on one partition ?
View 6 Replies View RelatedI made quite a bit of partitions of different Linux distributions in an attempt to compile a massive program. (To those who do a bit of weather research, I'm trying to compile both WRF and WPS on 64 bit Linux.) I finally compiled the program on 64 bit Fedora 14, and now I'm running out of space on this partition. Is there a way to increase the size of a partition without uninstalling the current OS? I don't mind what happens to the other partitions, but I put quite a bit of effort in this current one. Also, the program demands that all of the data be contained in the same home directory, so I can't keep files in other partitions.
View 5 Replies View RelatedI've been running lucid lynx on my inspiron 6000 for a couple of months now, and have become very comfortable with it. I would really like to eliminate xp, but I own a zune, and cannot do anything with it in linux. So xp must stay .
Anyway, my hdd is a paltry 60GB, and when I first set it up I gave xp 40GB, 513MB to swap, and the remainder was given to linux. Now I would like to expand the linux partition and shrink the xp partition, and am looking for the safest way to do it without reinstalling either os.
ps. xp is ready to go (defraged and all that), and I have some partitioning software in xp, but don't think its a good idea to resize linux's partition in winblows.
What I want to do is enlarge both my root partition by about 10 GB and also enlarge my Home partition by about 45 GB. I realize there is enough space in the root partition for expansion (see screen shot) but I want to be certain (some of the last updates have been over 100 MB). I have a dual boot 10.10 64 bit system with XP . There are two drives ; a 1 TB drive with Windows, Ubuntu and a NTFS data partition and a 2 TB drive for media which won't be touched by this operation. I have taken about 58 GB from my Windows partition and this now sits unallocated and ready to be used to expand the Ubuntu partitions. expanding these partitions (root and home) would be appreciated. I read bodhi.zazen' excellent tutorial on partitioning [URL] but I still am unsure how to go about this. I have a live Meerkat CD.
View 9 Replies View RelatedI am currently using Ubuntu 10.10 on my laptop. I saw Fedora had the new Gnome3, so I decided I might like to try that, My hard drive is about 230GB. Ubuntu currently has all of it, and I would like to make a small partition for Fedora. I know that during the Fedora install you can resize the current Ubuntu partition manually, very simple, gives you the size in MB, and you just shrink it, and Fedora takes up the remaining amount of space.
My actual question here, is how would I, if I should like Fedora 15 more than I thought I would, proceed to shrink the Ubuntu partition more, and increase the one for Fedora?
Ubuntu would have 200GB. Fedora would have 30GB. How do I go from this point, to having Ubuntu use 180GB, and Fedora having 60GB?
I realize there are lots and lots of guides already on the Ubuntu website for help with partitioning etc, but they all seem to be about first time install, or for doing so with windows. All I would like to do is use something like gparted to resize the Ubuntu partitions and expand the Fedora one.
I have this rather old Compaq Presario 2184 (Celeron processor), with a completely busted optical drive - which means I cant boot from Live CD, and it doesn't boot from USB, either... which means I cant use a live memory stick, either. It's currently running Xubuntu 9.04.
I'm seriously running short of space on my root partition - can't upgrade to 9.10...
I had a Windoze partiion that I decided to remove, using Gparted. Identified the NTFS partition, right click, delete. After that, I couldn't do anything else... I then found this page, that told me that I cant resize all partitions while booting from hard drive, and that I needed a Live CD. For the reasons mentioned above, that's just not possible...
Are there any alternatives that the good folks here can suggest? For example, can I create a new partition, and move my entire /usr there? It would solve the space problem, but I'm not confident of doing it without screwing up something... could someone kindly guide me through the process?
I have software RAID 1 on two physical discs. There are now 4 md -partitions (md0 ... md3), which are used in such as / and /home among others. Now current size of /home (md3) is starting to be full, and since / (md1) has more than plenty of free space I decided to fix the situation by shrinking / (md1) partition to free 40 Gigs of space and then growing /home (md3) partition for that 40 Gigs.
I already checked for some info using mdadm and got the following:
Now I would need some support on HOW exactly should I do this resizing since it is on RAID partitions.
Would it be good to use resize2fs to modify the filesystem sizes and mdadm to configure the partition sizes. Or could I perhaps get over this even easier by using GPartED (in case it supports my RAID)? Has anyone here done similar resizing on software RAID1 partitions?
I had installed CentOs 5.3 on a Virtual Box machine (v. 3.0.10) and then I needed more free space to upgrade to CentOS 5.4 on partition /. I wanted to substract some space from /home partition in order to add some more free space to /. Thus I used a gparted live cd (v. 0.4.8-1) that it is a debian live cd. I resized the partition as I wished and every operations went successfully, but when I tried to reboot the only message that I see its 'GRUB' and nothing else happen. If I start again with the gparted live cd, everything seens to be fine as the partitions are there but I can't boot the system.
View 3 Replies View RelatedIs there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
View 11 Replies View RelatedI have a dual boot system 9.10 and XP. The hard drive is 234. For some reason during the install I only allocated 128 to windows and 16 to ubuntu. Or at least, gparted tells me I have 127.99 NTFS and 104 unallocated (=231G ??).
System monitor tells me I have the following:
/dev/loop0 is ext4 = 16 G total
/dec/sda1 is host = 128 G total
this is 134G total
From windows, the partitioner tells me the same. I have 104 of unallocated disk space and 128 of NTFS. I assume the 16G allocated to ubuntu is inside the 128G?. How do I get that additional 104 into ubuntu without screwing up the MFT of windows. Or can I? Is it as simple as telling gparted to format the space? or will that mess windows up?
I have 1 HD with the following OSes, each on his own partition:
p1 WinXP
p2 Win7
p3 Ubuntu
p4 Ubuntu Studio
p5 Unallocated (not actually a partition)
I intended to create a 5th partition, formatted as NTFS, for data. That's when I found out that Windows only supports 4 partitions per disk (yeah, I know, should've looked it up first). On Win7 Disk Management applet, they're all listed as "Primary Partition".
I've come up with a few possible solutions: s1. Move partitions p3 & p4 down towards the end of the HD, and add half of the available space to partition p2 (Win7) and the other half to partition p4 (Ubuntu Studio).
s2. Move partitions p3 & p4 to the end of the HD, and add all available space to partition p2 (Win7).
s3. Increase partition p4 (Ubuntu Studio) to take up all the available space.
My questions:
q1. Win7 Disk Management applet gives me no option to move or resize (other than shrink) the partitions. Does this mean I'll have to use another partition manager (e.g., gparted)?
q2. If I move the partitions p3 & p4 (both Ubuntu), will there be any impact on grub?
q3. Is there any way to turn partition p4 to extended instead of primary? If so, what are the consequences?
I have what is a weird problem, at least I think it is. I deleted some files and now my partitions do not show up in Gparted. Instead, the entire disk shows up as unallocated space. I am still able to run every partition, one of which is ubuntu and another which is Windows without any other apparent problems. here is my fdisk -l:
Code:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
[code]....
I was moving and resizing my Ubuntu partition and for some reason my hard drive stopped reading and royally screwed my partitions up.I know there is a command line tool in linux where you can view what partitions could be there and choose to ressurect them etc. but i cant remember what its called
View 2 Replies View RelatedI just wiped my HDD and installed Windows XP (35gb Partition) and then Ubuntu 10.10 (75gb Partition ext4) and I want to know if it's possible to make my XP partition a bit smaller, like 20-25 gb, and then add what I take off to the ubuntu partition,because I won't be using xp that much, only for things that I know work on windows only.
View 1 Replies View RelatedMy harddisk had one extended partition, sda2, split into several logical partitions: da6,sda5,sda7,sda8,sda9 in this order. sda6,sda8,sda9 were [the only] PVs in one [and only] volume group.
I tried to delete sda7 and to resize sda5 (both unrelated to the LVM setup) to take the freed space. I entered both changes in GParted and clicked 'apply'. It gave some error, but had apparently deleted sda7, without resizing sda5. I tried to resize sda5 again, it again gave an error again, but sda5 was resized. I did not save any logs from GParted. Then I saw that the partition names had changed to sda8,sda5,sda6,sda7, in this order.
Now when I run 'vgdisplay', I get the error "Couldn't find device with uuid ....". Running 'blkid' gives the uuids of sda5,sda7,sda9. According to GParted and fdisk, sda9 does not exist. Also, according to blkid, the uuid of sda7 is what used to be the uuid of sda8. I am very confused. As you could expect, I don't have backups, so... (I am now creating a copy of the whole disk, in case things go even more wrong)
I have a little problem. As soon as I boot my computer, Grub gives me an error 17. It happened after I tried to resize my Windows partition with a program. I have a dual boot between Windows 7 and Ubuntu 9.04.I've tried everything I could find on this forum and on the rest of the internet, but nothing was working. Most of them require a Windows CD (god knows where it is) or reinstalling grub and all that stuff, but it's all not working.I'm currently on a Ubuntu Live CD. Gparted doesn't detect any of my partitions, but just says 232 GB unallocated space. Palimpsest Disk Utility and the Explorer see all my partitions though EXCEPT my Windows 7 partition I tried to resize.
View 1 Replies View RelatedI decided a few days ago it was time to reinstall ubuntu since Lucid looked fun and interesting. Everything went really well (my table functions even worked with no configuration!) until I decided I wanted to resize my linux partition so I could install a win 7 virtual machine. I had some issues getting gparted to let me expand my partitions into free space, so I started diking around with various settings commands and I managed to screw up my partition table badly enough that I needed to boot with the live cd. After a few hours in panicked trouble shooting mode, I finally got grub reinstalled and managed to boot things regularly. But now Gparted is completely nonfunctional; it shows the entire HD as unallocated and says "can't have partition outside of disk". Apparently one of my partitions is oversized.
Here's my output of fdisk -lu and sfdisk -d:
sudo fdisk -lu
Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5c5ef856 .....