WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] partion

To: Deepak Kandhare <winlinfix@xxxxxxxxx>
Subject: Re: [Xen-devel] partion
From: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Aug 2006 17:40:39 +1000
Cc: xen xen <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 06 Aug 2006 00:41:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060806073316.27733.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Deepak Kandhare <winlinfix@xxxxxxxxx>, xen xen <xen-devel@xxxxxxxxxxxxxxxxxxx>
References: <20060806073316.27733.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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

<Prev in Thread] Current Thread [Next in Thread>