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.
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?
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"
Is it safe to resize a partition which is marked as a boot partition?Is it just a flag i can ignore?I have ubuntu in an extended partition, the previous partition I've formatted and want to shrink/then move+resize the extended partition to give ubuntu more space. I was about to resize+move from the gparted usb, when it warned moving a boot partition can cause your system not to start....I've already created 97gb unallocated space (probably too much) and sda3 is flagged as boot even though it's a formatted empty partition. If I'm trying to move/expand sda4 is the warning because of the boot partition on sda4, the facts sda3 is flagged as boot or because the grub stage 2 file is being moved?
Regarding the installation of ubuntu 10.0.4 on my HP pavilion DV5000 laptop.
I previously installed windows 7 in my laptop and i would like to have ubuntu and windows 7 in dual boot. in order to do that i need to free up some space to be able to install to create partitions for ubuntu and the swap even if I have 30GB of unused space.
When i launch the live cD and i reach the step 4 ubuntu is actually recognising three operating systems installed:
- windows 7 (loader) under dev/sda1 (92,86GB) NTFS - windows NT/2000/XP (which is corresponding to my "HP recovery" partition) under dev/sda2 en FAT32 (6,2GB) - windows XP embedded (I don't unerstand what it is) under dev/sda3 NTFS (1,1GB)
when I go to the step 6 to modify the size of sda1 to free up some space, i don't have the possibility to change it, i can read "unknown" under the used space collumn.
I also tried to resize this partition using gparted but unfortunately i had the same problem, when i select it all the options to modify it are greyed out and i can notice a key near the hard drive logo (is it locked ?).
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.
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.
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".
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.
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
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)?
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.
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.
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.
Originally Posted by source
#I've tried to shrink the PV with pvresize which didn't throw errors -
#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.
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.
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?
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?
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?
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)
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...
...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.
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?