LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   increase boot partion size (https://www.linuxquestions.org/questions/linux-newbie-8/increase-boot-partion-size-700205/)

dappa_don 01-27-2009 08:38 AM

increase boot partion size
 
Hi,

I'm using RH ent 5.1, i need to increase the size of the boot partion. How can this be done? if possible avoiding a reboot!

I'm using this in VMware so please don't suggest applications like gpart.

many thanks,

Matey 01-27-2009 09:22 AM

I use lvresize command before, but in Ubuntu. maybe do a lvresize --help to see the commands in RH Ent.

oh btw I booted my RH ent. machine up and if you type lvm and then help it shows you a whole lot of different switches you can use like lvextend which allows you to increase the size on any partition.

dappa_don 01-27-2009 09:26 AM

no mate, that command does not exist in RH

agrestic 01-27-2009 09:30 AM

HTH: http://communities.vmware.com/thread/130371

Matey 01-27-2009 09:34 AM

http://communities.vmware.com/thread/144030
oops i didnt realize you said vmware,

Matey 01-27-2009 09:38 AM

Quote:

Originally Posted by dappa_don (Post 3422824)
no mate, that command does not exist in RH


Really?
May be a different version?
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.9-78.EL #1 Wed Jul 9 15:27:01 EDT 2008 i686 i686 i386 GNU/Linux

I ssh to it right now;
[root@localhost ~]# lsb_release -a
LSB Version: :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: RedHatEnterpriseAS
Description: Red Hat Enterprise Linux AS release 4 (Nahant Update 7)
Release: 4
Codename: NahantUpdate7
[root@localhost ~]#



[root@localhost ~]# lvm
lvm> help
Available lvm commands:
Use 'lvm help <command>' for more information

dumpconfig Dump active configuration
formats List available metadata formats
help Display help for commands
lvchange Change the attributes of logical volume(s)
lvconvert Change logical volume layout
lvcreate Create a logical volume
lvdisplay Display information about a logical volume
lvextend Add space to a logical volume
lvmchange With the device mapper, this is obsolete and does nothing.
lvmdiskscan List devices that may be used as physical volumes
lvmsadc Collect activity data
lvmsar Create activity report
lvreduce Reduce the size of a logical volume
lvremove Remove logical volume(s) from the system
lvrename Rename a logical volume
lvresize Resize a logical volume
lvs Display information about logical volumes
lvscan List all logical volumes in all volume groups
pvchange Change attributes of physical volume(s)
pvresize Resize physical volume(s)
pvck Check the consistency of physical volume(s)
pvcreate Initialize physical volume(s) for use by LVM
pvdata Display the on-disk metadata for physical volume(s)
pvdisplay Display various attributes of physical volume(s)
pvmove Move extents from one physical volume to another
pvremove Remove LVM label(s) from physical volume(s)
pvs Display information about physical volumes
pvscan List all physical volumes
segtypes List available segment types
vgcfgbackup Backup volume group configuration(s)
vgcfgrestore Restore volume group configuration
vgchange Change volume group attributes
vgck Check the consistency of volume group(s)
vgconvert Change volume group metadata format
vgcreate Create a volume group
vgdisplay Display volume group information
vgexport Unregister volume group(s) from the system
vgextend Add physical volumes to a volume group
vgimport Register exported volume group with system
vgmerge Merge volume groups
vgmknodes Create the special files for volume group devices in /dev
vgreduce Remove physical volume(s) from a volume group
vgremove Remove volume group(s)
vgrename Rename a volume group
vgs Display information about volume groups
vgscan Search for all volume groups
vgsplit Move physical volumes into a new or existing volume group
version Display software and driver version information
lvm>

vinnywrite 01-27-2009 02:00 PM

you may half to type the path to the program IE: /sbin/lvm or /usr/bin/lvm or warever the exacutable lvm lives on your distro.

I was using a RH based distro last night and this was the case I'm assumeing becos no pathes were set for the console yet.

dappa_don 02-04-2009 08:47 AM

i have managed to get gparted loaded via the VM ware. but i am still unable to increase the / partition size with gparted.

can this not be done with some resize commands from the prompt? if so what are they? anyone?


All times are GMT -5. The time now is 09:57 PM.