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-users

[Xen-users] create a partition on a file disk

To: "Xen list" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] create a partition on a file disk
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 20 Apr 2007 12:44:27 +0530
Delivery-date: Fri, 20 Apr 2007 00:13:59 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=ZMsneRcgrK7ezesuc7rpfUtDAU10oU0ok4GoEXuvmB5g5zpNZdqZjq5OhkqsQ2vdz95/7hkIMIC28VX7hCLo2NMGfzFwMlKheI8tzGg85JOthDzpZk6lbLZhkT4qJaLxYOOQ+2c7Scr2olEckG19DZ3WRzlQtZ+SUQvIHgJfnwQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TM+2ItT3Vlhgpx7t7VKETqf05nIaKFO0cXS9lnSAoi0D4zEtqzYsuvTJUcBi6qyledlAzU1Vs4cLtaUMNTlaAxKuA6qxZpQRqsLJ5ibMS8Q3ZGjjegRccg3mBlY9DT/ksrUNHmflPtH9SPyOwH1oWuVP8fW0D1iPS3Fp5njBS0I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I want to install a OS on file disk as HVM domain.

I create a file disk useing dd and create a partition on top of this using fdisk. I want to create the file system on this partition. How i can do this, in google i found that using "losetup" we can do this.

#dd if=/dev/zero of=/opt/rhel5 count=1 bs=1 seek=4000

#then i set 'cylenders' 4000 on this disk using fdisk exta function features.

#then create a partition on this
fdisk -l /opt/rhel5

Disk /opt/rhel5: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/opt/rhel5p1               1        4000    32129968+  83  Linux

Can anybody tell me how i can craete the file system on this partition. Sorry this is not exactly related with  xen.

Thanks,
---Trilok


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