[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] create a partition on a file disk
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |