2011-02-01から1ヶ月間の記事一覧

Colinux用のCentOS5.5イメージを作る

ディスクイメージファイルを作る CentOSをインストールするための2Gぐらいのファイルと、スワップ用に500MBぐらいのファイルを作る C:\Colinux>fsutil file createnew centos.img 2000000000 C:\Colinux>fsutil file createnew swap.img 500000000 イメージ…

リンク

QEMUのディスクイメージってどんな形? - 2ch-coLinux CentOS 5.3 image for coLinux

あれこれ

setfontを置き換える #!/bin/bash if ! uname -r | grep -q -e "-co-" then /bin/setfont.org $@ fi hwclockを置き換える #!/bin/bash if ! uname -r | grep -q -e "-co-" then /sbin/hwclock.org $@ fi # mknod null c 1 3 # mknod urandom c 1 9 # mknod c…

/dev/cobdの作成

#!/bin/bash for i in $(seq 0 31) do mknod cobd$i b 117 $i done

qemuのRAWイメージファイルをマウントする

# mount -o loop,offset=32256 qemuimage /mnt/qemu/

Windowsで0で埋められたファイルをつくる

D:\>fsutil file createnew zero2g 2147483648 ファイル D:\zero2g が作成されました D:\>fsutil file setzerodata offset=0 length=2147483648 zero2g ゼロ データが変更されました