First of all extend the hard disk size, either using vmware console, san console or vmdisk-vmanager command.
In my example i extend sda from 10 to 12 GB.
In my current linux:
/dev/sda1,2,3 --> primary partition
/dev/sda4 --> extended partition
/dev/sda5 --> inside sda4, it is also the /home partition
After extend, see the result using fdisk -l,
Notice if the HD size now is 12 GB.
However the partition sector/unit is still remain the same as before.
Since the last sector is /dev/sda4, so now we extend it sda4 first, then we could extend the sda5.
using parted :
# select /dev/sda
# unit mb
# print
# resize 4 xxxxx yyyyy
xxxx is the beginning of the sector
yyyy is the end of sector
Notice that now the /dev/sda4 has some more spaces.
after that we need to resize the /dev/sda5
Follow this link to extend the size:
http://www.hermann-uwe.de/blog/resizing-ext3-partitions-with-parted
>>>>>>>>>>>
unfortunately resize ext3 can be failed with error like "file system has an incompatibility feature" which is caused by the ext3 has been customized by redhat.
The quick way is just by using fdisk, remove the sda5 partition, and create again using the total sector of /dev/sda4.
Now u have /dev/sda5 extended size.
The longest way is by modifying all the custom attribute redhat:
http://gtechnotes.blogspot.com/2005/10/parted-gives-error-filesystem-has.html
>>>>>>>>>>>>>>
Wednesday, 28 December 2011
Wednesday, 7 December 2011
fedora 14 and intel graphic card : x11 won't start
Fatal server error
caught exception
Check your video driver:
lsmod | grep video
==> i915
Incase wanna see the card:
lspci
change the driver:
/etc/X11/xorg.conf
OR
system-config-display
(the GUI will work eventhough your X still not on)
>>>>>>>
choose VESA driver and if appear depth error message, just change the color depth to lower value.
>>>>>>>>
when u choose wrong driver, like NV (nvidia), it will give u error device not found, cause the card is not there.
caught exception
Check your video driver:
lsmod | grep video
==> i915
Incase wanna see the card:
lspci
change the driver:
/etc/X11/xorg.conf
OR
system-config-display
(the GUI will work eventhough your X still not on)
>>>>>>>
choose VESA driver and if appear depth error message, just change the color depth to lower value.
>>>>>>>>
when u choose wrong driver, like NV (nvidia), it will give u error device not found, cause the card is not there.
Subscribe to:
Posts (Atom)