Resize boot partition

General support questions
Post Reply
astroboy
Posts: 9
Joined: 2006/06/12 18:50:55

Resize boot partition

Post by astroboy » 2011/07/26 22:47:03

I just installed CentOS 6 on my Mac under VMWare Fusion. I don't know if it's Fusion or CentOS that offers the basic install, but either way the installation process where I choose time zones, partition sizes etc is skipped, and default setup is performed. Unfortunately, the first post -installation yum update I ran failed because the boot partition is way too small:
[code]
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.9G 2.5G 1.3G 67% /
tmpfs 499M 300K 499M 1% /dev/shm
/dev/sda1 49M 38M 8.3M 82% /boot
/dev/sda5 34G 194M 32G 1% /home
.host:/ 465G 174G 292G 38% /mnt/hgfs
[/code]

Is there anyone I can move some of the /home partition to /boot? If so, bear in mind I'm not a UNIX admin, so baby steps required...

Thanks in advance

skolnick
Posts: 209
Joined: 2007/11/24 16:05:26

Re: Resize boot partition

Post by skolnick » 2011/07/27 02:34:01

If you have not used the CentOS for anything, it's probably easier to just reinstall with the right partition sizes.

Casa
Posts: 1
Joined: 2011/07/28 17:33:23

Re: Resize boot partition

Post by Casa » 2011/07/28 17:41:14

I have the same problem.

I tried different other ways to install Centos but I can not find the place where to set the size for the different disks.

with gparted I managed to move half the /home partition to extent the / partition to 8GB but I would like to be able to configure all on installation.

skolnick
Posts: 209
Joined: 2007/11/24 16:05:26

Re: Resize boot partition

Post by skolnick » 2011/07/29 03:31:16

Hi!

If you use the graphical install, for sure there are partitioning options. No idea if you do a text install. Maybe you are using some kind of automated install provided by VMware or something else.

Regards.

Edit: This thread seems to be the answer to your problem: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32421&forum=55

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: Resize boot partition

Post by pschaff » 2011/07/30 18:54:51

[quote]
Casa wrote:
I have the same problem.

I tried different other ways to install Centos but I can not find the place where to set the size for the different disks.

with gparted I managed to move half the /home partition to extent the / partition to 8GB but I would like to be able to configure all on installation.[/quote]

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading the links you should realize why you should not hijack threads as you have done. If you need more help please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context.

ohw0571
Posts: 127
Joined: 2008/10/05 12:24:17

Re: Resize boot partition

Post by ohw0571 » 2011/07/30 21:42:37

This behaviour is caused by a feature of VMware products: If you allow VMware to autodetect the OS to be installed (with the installation medium in your drive), it will - without any feedback - activate a "smart" installation mode which is meant to create a "typical" installation without any intervention by the user.
Quite an annoyance actually...
IIRC, You can prevent this by following a different order:
1. After creating the VM, restart VMware
2. Insert installation media
3. Power up the VM for installation
In this case setup should work as expected and give you all the usual choices.

Post Reply