Fedora :: How To Resize Partition
Dec 21, 2010
I'm running Fedora Core 14 on my server and in copying over all the stuff I had backed up before the install, i recived the message that one of my volumes was nearly out of space. Since this is just a partition on my hard drive, I could resize it to make it larger, but I don't know how. It's a ext4 partition on my 2nd hard drive.
View 10 Replies
ADVERTISEMENT
Aug 8, 2010
I installed Fedora 13, but did not expect it would set up a LVM on the entire remaining unpartitioned space.
So I'm now trying to resize the partition the LVM is on. I already resized lv_home using system-config-lvm... however now lv_swap resides at the end of the physical volume. If I assume correctly that this also means that it resides at the end of the sda6 partition, I need to move it in order to resize the partition.
It now looks like this: [URL]
How would I go about moving lv_swap right next to lv_home? And how can I actually resize the partition? gparted doesn't seem to be able to resize lvm2 partitions.
View 1 Replies
View Related
Feb 10, 2010
I've been upgrading a Fedora server over the years. Once it was Fedora Core 2 now it is Fedora 10. Now I want to continue the upgrade process and upgrade the server to Fedora 11. The problem is that the boot partition is 100MB but Fedora 11 wants a 200MB boot partition. Looking at Fedora 13 it seems a boot partition of 500MB is gonna be the norm. I would just resize the boot partition but there is a LVM directly after it taking up the rest of the drive.
How do I resize my boot partition in this scenario?
My current line of thought is to use G4L to backup both partitions, then restore the boot partition to a large drive, increase the size with parted then restore the LVM backup after it.
So far G4L has been reluctant to backup the boot partition of Fedora on a test rig to an NTFS drive. Not sure if I should be backing up the image to a ext3 drive.
View 8 Replies
View Related
Oct 5, 2009
I have Vista and F11 dual booted on my system. I wan't to resize Fedora(I think Vista has already been shrunk as far as It can) and install Debian as a third OS. Fedora takes up all the free space and I am only using a small amount of the partition. I am not sure of the best way to do this. Can I boot the Debian live cd and resize Fedora at the partion step? Or do I need to boot a live F11 cd, repartition and then boot the debian cd? Or is there a better way?
View 1 Replies
View Related
Dec 27, 2009
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".
View 2 Replies
View Related
Mar 14, 2010
Can I resize an encrypted partition with gparted?
View 2 Replies
View Related
May 23, 2011
I'm using Fedora 14 x86_64.I want to take 200GB from the /home Extended-Logical Partition, and install Archlinux on it, how do I do that? In this 200GB Free Extended Space I want to create another 4 Logical Partitions for Archlinux.
View 7 Replies
View Related
May 1, 2009
fter my first fedora 10 installation I reinstalled FC 10 keeping my home partition from the first install.I then installed a software as a USER which indeed installs applications on USER's home. Now I'm short of space for installing the applications and so I want to resize my existing home (of USER).Can this be done without reinstallation? Can I borrow needed amount of space from the home partition of 1st install.also I have unformatted and unpartitioned free space can this be made use of? Or the only way is to reinstall
View 4 Replies
View Related
Dec 4, 2009
In the process of preupgrading to FC12. Towards the end of the process I get a warning that my /boot partition isn't big enough (12 recommends minimum of 300Mb).
My disks:
[root@fatbeast boot]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_fatbeast-lv_root
35G 6.6G 28G 20% /
/dev/sda1 194M 176M 8.4M 96% /boot
/dev/mapper/vg_fatbeast-LogVol02
29G 25G 3.2G 89% /home
tmpfs 1.9G 676K 1.9G 1% /dev/shm
/dev/sdb 7.5G 319M w7.2G 5% /media/CDF2-6BE2
[root@fatbeast boot]#
Is there a tool I can use to resize my existing partitions WITHOUT data loss? I've been using gparted up to now for sorting partition stuff, does that maintain data when resizing (assuming I run from a boot CD or USB rather than a running system)?
View 2 Replies
View Related
Jan 11, 2010
Installed a test system and I messed up. I let the installer use the entire 200gb for F12 install when I only wanted to use 100gb. Since it is test and new install I could just blow it away and start over but decided to use this as a learning opportunity. I chose all the defaults on the install so my partition is ext4. Since the partition I want to resize is in use while the system is up, I need to do this offline.
I have read a bit and it looks like there are couple of methods I could use. I have an install DVD and a Live CD so I could use either. If I could use a GUI that would be nice but I do not know how to access that if there is one. I have already booted to the Live CD and figured out how to access the command line tools (resize2fs and lvm) although I have not figured out how to use them yet.
View 2 Replies
View Related
Jul 29, 2010
My partions are this:
How to resize my /home partition to 3gb without no loss of content?
View 6 Replies
View Related
Jan 14, 2011
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.
View 2 Replies
View Related
Feb 27, 2009
I want to resize my Fedora 10 partition down from 150gb to 100gb but GParted 0.4.3-1 doesn't seem to want to touch it since its using LVM. Is there anything I can do?
View 7 Replies
View Related
May 17, 2010
Ok so I have one drive. /boot /lv_root and /lv_swap
At the end of the drive I have 32 gigs of free space still contained in the logical volume group. I want to remove it from the LVG but this is on one device. Supposedly there is a way to do this, pvresize and fdisk.
[URL]
Quote:
Originally Posted by source
#I've tried to shrink the PV with pvresize which didn't throw errors -
Good.
#but fdisk still shows me the same LVM partition size as before.
That's normal. pvresize "just" updates the PV header and VG metadata.
#So I guess the partition table has to be modified somehow?
Yes. That was mentioned in my reply: "Then shrink the partition in the partition table."
You can use fdisk or any other partition table editor for this. Some don't support resizing a partition. In that case, you can delete and create a smaller one. If doing the delete/create dance, you *must* create the new partition on the same cylinder boundary as the current one to preserve the current data.
Ive read from every source on LVM its not possible to do this. Why on earth would any Linux developer put LVM on a single drive system by default? Were they even paying attention? I dont mean to go off on a rant but if there are multiple drives LVM makes sense. However if you only have one large drive LVM holds your system hostage and you have to crawl thru the pit of hell to get it back.
I understand you have a choice in the matter when you install Fedora but its really the worst possible choice for default. Many newcomers to Linux run into this problem with LVM. If you cannot resize LVG's the software should have never been put into a Linux distro in the first place.
View 13 Replies
View Related
Apr 11, 2011
I've just installed Fedora 14 over an old Ubuntu (heron, I think). The old install used a single partition for both / and /home; and I wanted to try to avoid reinstalling /home if possible (but yes, I did back it up). I chose the anaconda option to shrink the old Ubuntu /, and created a new LVM for the Fedora /. This seemed to work perfectly. I mounted the old / on '/host' (an old naming habit), and then mounted individual home dirs into /home using autofs. All seemed fine. However, on my first reboot after the autofs mounts fsck failed. The current situation is as follows:
# fsck /dev/sda6
fsck from util-linux-ng 2.18
e2fsck 1.41.12 (17-May-2010)
The filesystem size (according to the superblock) is 15360000 blocks
The physical size of the device is 15359895 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? yes
# dumpe2fs /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
# dumpe2fs -o superblock=32768 /dev/sda6 | grep 'Block count'
dumpe2fs 1.41.12 (17-May-2010)
Block count: 15360000
Same thing for all the other backup superblocks I've tried.
# echo '15360000 4 * p' | dc
61440000
# fdisk -s /dev/sda6
61439583
Resize2fs tells me to run fsck, and complains of a short read if I try to force. Fsck seems to run fine if I say 'no' to the abort prompt, but doesn't change the problem. Filesystem is ext3. Started with debugfs. First used icheck and ncheck to work out which file(s) had been written to the non-existent blocks past the partition size. Fortunately, there was only one. Deleted that file (can restore it from backup later). Quit debugfs. Now resize2fs -p -f worked perfectly. fsck after resizing was clean. Reboot seems happy. As for the origin of the problem, I would guess there's a rounding bug in the code anaconda uses to shrink partitions.
View 1 Replies
View Related
Apr 13, 2009
I am doing a fresh install of Fedora 10 64bit on my PC. What I have done is, freshly installed Vista Home Premium 64 bit on the entire Hard Drive (680GB), then fired up the live CD and told the installer to resize sda1 (The windows partition) to about a 60:40 ratio. I intend to dual boot the system
Now the thing is, it's been running for half an hour now and there's no progress indicator on the installer so I don't know if its actually doing anything. Well there is a progress indicator but it's nonsensical, it just moves backward and forwards. The HDD indicator LED on my computer is flashing every now and again, but not constantly as I expect it to?
View 5 Replies
View Related
Nov 28, 2009
I have a computer with windows xp on it, and i want to dual boot with fedora 11. I have 2 hard drives in it, 1 500gb HD and 1 350gb HD. the 350 isnt much concern b/c its just sitting there all free and unpartitioned right now. Now my 500gb is split into 3 partitions, a 20gb(with xp installed on it) a 105 gb with pretty much nothing on it and a 350gb with all my data.
My problem is I'm trying to resize my 20gb partition through the fedora 11 installer and when I tell it to resize say to 10gb it starts and fails the resize. its a NTFS partition and the windows stuff on the partition is only about 8gb. any idea whats going on? the only error I get is "The resize has failed"
View 3 Replies
View Related
May 29, 2011
I have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.
I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).
I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).
Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?
View 9 Replies
View Related
Sep 30, 2010
Ubuntu 10.04 64-bit (installed on installer)
What will be an easy and safe way to resize partition? Boot up the LiveCD? Or can I run resize2fs on Ubuntu while the latter is running?
Code:
This is a newly installed box without files on /kvm. Now I want to resize /home taking up the complete capacity of /kvm which will be removed/deleted.
View 5 Replies
View Related
Jun 6, 2010
On recomendation from the team installing the DB on our new server, all the partitions etc on our VM were created as LVM's. The setup for this is like this:
Disk 1
-> /boot
-> /swap
-> LVMpartition1
[Code]....
View 9 Replies
View Related
Feb 25, 2011
I have a default centos 5.x install on an 8GB hard disk. (This means the volumegroup is mounted to / ). I've increased the size of that hard disk to 12GB. (so yes, fdisk says my disk is 12GB)
I now need to increase the LVM to use the 12GB instead of the 8GB. Every single article I've come across says:
"run lvextend on your vg you want to increase, then unmount, reboot, run live cd or whatever and then run resize2fs".
But of course lvextend +anyG returns an error saying not enough free extents
lvextend +100%FREE returns saying the extents matches extents
How can every the google result be wrong? How can I simply tell this LVM that it's now a few gb larger?
View 3 Replies
View Related
Aug 20, 2011
I need to resize (increase) LUKS partition. I have found a lot of manuals, but they are just for LVM volumes(I dont use LVM and I dont plan to use it). I have HDD splited to the 4 parts:
sda1(/)
sda2(LUKS)
unalocated
swap
I want to increase LUKS partition, by using the part of unalocated space.
BUT I dont want to do the following:
Backup data from LUKS partition
Delete LUKS partition
Create new bigger LUKS partition
Restore data to the LUKS partition
View 1 Replies
View Related
Mar 17, 2011
I want to install linux next to my Windows 7 Ultimate x64 and changed my windows partition from 700GB to 100GB. Now I want to use the other 600GB for linux and formatted it in Paragon Partition manager.
But when I try to install OS 11.4 I get the message that it can't resize the partition because of the type (which is NTFS) and it wants to delete the whole disc including the windows partition. How do I fix this? Do I need to delete the 600GB partition again in Paragon so its unallocated and then use Suse on it?
Or can I better first install Linux and then Windows? (for next time so it would be nice if the above worked out)
View 1 Replies
View Related
Mar 3, 2010
I have read several tutorials on how to install it on my Laptop with pre-existing XP without destroying XP in order to get a dual-boot system. For example on those two pages...
[URL]
and
[URL]
...it reads that in the Ubuntu install menu I have to select "manually edit partition table", which I have found and selected, and then I should supposedly be able to edit the size of the desired partition. However, no option for changing the partition size appears. Instead I get a menu where I am asked to determine how I want to mount the partition (as ext4, ext3, etc.) and if I want to format it. However nowhere it mentions anything related to "change size" or similar.
View 9 Replies
View Related
Jun 20, 2010
i can't resize my partition sda1?
View 3 Replies
View Related
Jul 25, 2010
I made three partitions when I installed Ubuntu. Ubuntu 20.1 gig. windows 20.1 gig. data 110 gig
I no longer want or need the windows partition. so I used system > administrator> disk utility to delete the windows partition. Now to hopefully prevent a problem. How do I enlarge the Ubuntu partition without causing problems?
Can I do it while I am ubuntu or do I need to do it from the live cd or what?
View 1 Replies
View Related
Aug 12, 2010
I am trying to resize a Windows XP partition. The partition has plenty of space available. When I boot off the CD, I open Gparted. I try to move the partition down, but it does not move at all.
Within this Windows installation, it only shows 1% fragmentation.
I want to dual boot using two partitions.
View 8 Replies
View Related
Sep 17, 2010
I have a laptop with a 320GB disk. Windows 7 and Ubuntu 10.04 It has 8 partitions: [From Testdisk]
[code]....
Long story short, after reinstalling windows 7 and messing around a little with its partition and the other ntfs one (resizing etc); Gparted won't open the disk. It shows all the disk as unallocated space, And throws a message to the terminal which says something like "Can't have a partition out of the disk." Funny thing is that *almost* everything is working fine. Everything works except that ubuntu can't use the swap. (Dmesg says: "Swap area shorter than signature indicates") Also, testdisk, if i run a deep search for partitions, finds the last partition twice, but the second time the partition goes from 37129 0 1 to 40240 254 63 , while the disk ends at 38913 255 63. The problem is that I can't use Gparted now and I want to resize a partition.Also I believe that going without swap is not good for ubuntu.
View 2 Replies
View Related
Oct 15, 2010
I am dual booting Windows 7 and Ubuntu on my laptop, and I'm trying to resize my ubuntu partition to make it larger. When I boot from the GParted Live disc , however, It only recognizes the existence of my 160 Gig windows NTFS partition which has ~15 Gigs of free space, which I want to reformat and expand ubuntu into (I freed that space by shrinking my windows partition from inside windows 7). I know my Ubuntu partitions are there (I'm in Ubuntu now, plus my HD is 200 Gigs not 160), but I can't see them.
I have a feeling this has something to do with my resizing of my windows partition from windows, but I'm not sure.
more info:
Code:
sudo fdisk -lu
Disk /dev/sda: 160.0 GB, 160041885696 bytes
240 heads, 63 sectors/track, 20673 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
[Code]....
View 4 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