Re: Growing file system for a VMWare installation of F10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alex wrote:
I've installed F10 as a guest system in VMWare. After a few days, I
realized
the virtual drive is already approaching its limits, so I plan to enlarge
it. After reading a bit, the following steps should do it:

The current disk layout is quite simple. Only 2 partitions, /dev/sda1
mounted on / and /dev/sda2 for swapspace.

* Backup everything (easy, just backup the VMWare virtual disk drive)

* use vmware-vdiskmanager to grow the virtual drive

* use the install medium to boot into rescue mode, but do NOT let the
rescue
  console mount the partition(s)

* perform a full (-f) file system check

* use fdisk to a) delete the swap partition (which directly follows the
  primary root partition)

* again fdisk to delete the primary partition immediately followed by
  recreating it with the new size (leave the desired amount of free space
  for the new swap partition).

* use resize2fs on the new partition to grow the file system.

* create a new swap partition using the remaining free space. Modify
  /etc/fstab with the new UUID of the newly created swapspace.

That should basically do it, right? Any things which could go wrong except
for the odd typo when recreating the partition?

Ok, but as I can see, you'll end up with a new, larger /dev/sda1 and an empty filesystem mounted on / (aside from a new swap). How do you want to recover your data from your old virtual drive? What I did in your situation: After growing my virtual drive with vmware-vdiskmanager I booted into the virtual machine with a GParted bootable disk. With GParted I could resize the file system on / without data loss.
Klaus

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux