# mkdir -p /opt/xen/fc4-guest
# cd /opt/xen/fc4-guest # dd if=/dev/zero of=sda1.img bs=1M count=1 seek=2048 1+0 records in 1+0 records out
# mkfs -t ext3 -F sda1.img mke2fs 1.38 (30-Jun-2005) warning: 256 blocks unused. Filesystem label= OS type: Linux (途中省略) Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 31 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
# tune2fs -c 0 sda1.img tune2fs 1.38 (30-Jun-2005) Setting maximal mount count to -1
# dd if=/dev/zero of=sda2.img bs=1M count=1 seek=256 1+0 records in 1+0 records out
# mkswap sda2.img Setting up swapspace version 1, size = 269479 kB no label, UUID=a72b7e1a-d72d-47ec-8330-4c97dfd0eee2
# mkdir -p /mnt/fc4-guest # mount -o loop sda1.img /mnt/fc4-guest
カテゴリー
チャンネル
ニュース
テクノロジーポータルTEDIA パッケージソフトウェアならFind-IT エレクトロニクスならEETimes Japan
| 本サイトのご利用について | お問い合わせ | プライバシーについて | 会社概要 | インプレスグループサイト | インプレスグループTOP |
Copyright ©2004-2009 IMPRESS BUSINESS MEDIA CORPORATION, an Impress Group company. All rights reserved.