LINUX Howto
5-25.Make the root file system

@ rootファイルシステムの作成
 今まで/mnt/target1で作成したファイルを/mnt/target2へ移動する。
 今回は必要なもののみコピーすることにする。
 また以下のようなディレクトリ構成にする。
 /mnt/target2以下のディレクトリ構成
 mkdir -p boot dev etc rootsys tmp

A bootディレクトリへファイルのコピー
 cp -a /mnt/target1/dev/"下記ファイル" /mnt/target2/dev/
 コピーしたファイル
 console full hda1 hdd  initctl mem  port ram0 ramdisk tty0 tty2 ttyS1
 core   hda  hda6 hdd1 kmem   null ram  ram1 tty   tty1 ttyS0

B rootsys以下にファイルをコピー
 サンプルファイル一覧はSupplement3.を参照
 $cp -a /mnt/target1/xxxx /mnt/target2/rootsys/





直線上に配置