Skip to contentSkip to conversation

partition

DISCUSSION Deepak Kandhare 2 participants 2 messages Aug 5, 2006

lore
Share & tools
lore
#0 lore raw

HI All,

fdisk -l
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System

/dev/sda1   *           1        1275    10241406    7  HPFS/NTFS
/dev/sda2            1276        4739    27824580   83  Linux
/dev/sda3            4740        4870     1052257+  82  Linux swap

[root@localhost ~]#

I have 40 Gb hard disk, i am using 10 gb for windows , rest of all
sapce for linux.
when i did dual boot i gave all space to / partion.

if i would like to create new LVM partition this is not possible as i
already assigne space to linux.
please let us know what can i do to make lvm partition

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 27G 14G 12G 53% /
none 220M 0 220M 0% /dev/shm

pvcreate /dev/sda4
Device /dev/sda4 not found.

if i tried fdsisk i got error
No free sectors available

Please guide me about partition.

Thank you,

Be Happy Make Happy Always Happy;
Happiness Is A Key Of Successful life.

Deeps

---------------------------------
Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 3 lines · Deepak Kandhare

if i would like to create new LVM partition this is not possible as i
already assigne space to linux.
please let us know what can i do to make lvm partition

If you're lucky Partition Magic can be used to "shrink" the Linux filesystem - but only if it supports the filesystem you're using under Linux.

Otherwise you might have to delete the Linux partition, create a smaller one (or just use LVM for the Linux install - but don't use all the LVM space for your Linux root filesystem!) and reinstall Linux onto that.

Adrian