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

Re: [Xen-devel] partion



On Sun, Aug 06, 2006 at 12:33:16AM -0700, Deepak Kandhare wrote:
> hi all,
>    
>   i have reinstalled linux i kept free 17 gb space.
>   i have created 4gb partition by fdisk with LVM options.
>    
>   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        2550    10241437+  83  Linux
> /dev/sda3            4740        4870     1052257+  82  Linux swap
> /dev/sda4            2551        3037     3911827+   5  Extended

<snip>

> You cannot change a partition into an extended one or vice versa
> Delete it first.

You ave created an extended partition.  Now you need to create a logical
partition with that.

On one of my systems I have:
magni:~# fdisk -l
<snip>
   Device Boot      Start         End      Blocks   Id  System
   /dev/hda1               1          39       19624+  83  Linux
   /dev/hda2              40         535      249984   82  Linux swap / Solaris
   /dev/hda3             536       26205    12937680    5  Extended
   /dev/hda5             536        2519      999904+  83  Linux
   /dev/hda6            2520        4503      999904+  83  Linux
   /dev/hda7            4504        6487      999904+  83  Linux
   /dev/hda8            6488       26205     9937840+  83  Linux

Partitions 1 and 2 are primary, 4 is the exteneded space, and partitions
5 - 8 are logical partitions.

Working from memory you need to do something like:
        * fdisk /dev/sda
        * "n" to create a new patition
        * "l" for logical
        * <return> (to start at the begining of the extended partition space)
        * <return> (to fill to the end of the extended partition space)
        * "w"
        * "q"
Now use /dev/sda5 and it should work happily.

Yours Tony

   linux.conf.au       http://linux.conf.au/ || http://lca2007.linux.org.au/
   Jan 15-20 2007      The Australian Linux Technical Conference!


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.