戻る

前へ| 次へ

USBへ コピー

# pwd
/root/002-try-base-Plamo-Full
# ls
isolinux/
# fdisk -l /dev/sdb

Disk /dev/sdb: 15.5 GB, 15504900096 bytes, 30283008 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          43      116486       58222   83  Linux
/dev/sdb2          116487    28761194    14322354   83  Linux
/dev/sdb3        28761195    30282921      760863+  82  Linux swap / Solaris
# mount /dev/sdb2 /mnt/
# ls /mnt/isolinux/
System.map                  initrd.gz       sample.msg
System.map-3.12.5-plamoSMP  isolinux.bin    syslinux.cfg
boot.cat                    isolinux.cfg    vmlinuz
config                      plamo51.lss     vmlinuz-3.12.5-plamoSMP
config-3.12.5-plamoSMP      rootimg.squash
# df | sed 3,5d
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda7      186448932 82160080  94892372  47% /
/dev/sdb2       14097432  3633496   9747820  28% /mnt
# rm /mnt/isolinux/*
# df | sed 3,5d
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda7      186448932 82160080  94892372  47% /
/dev/sdb2       14097432   166180  13215136   2% /mnt
# ls
isolinux/
# time cp -av isolinux/* /mnt/isolinux/
# time cp -av isolinux/* /mnt/isolinux/
'isolinux/System.map' -> '/mnt/isolinux/System.map'
'isolinux/System.map-3.12.5-p52-usb' -> '/mnt/isolinux/System.map-3.12.5-p52-usb
'
'isolinux/initrd.gz' -> '/mnt/isolinux/initrd.gz'
'isolinux/rootimg.squash' -> '/mnt/isolinux/rootimg.squash'
'isolinux/vmlinuz' -> '/mnt/isolinux/vmlinuz'
'isolinux/vmlinuz-3.12.5-p52-usb' -> '/mnt/isolinux/vmlinuz-3.12.5-p52-usb'

real    24m7.733s
user    0m0.043s
sys     0m8.983s
# df | sed 3,5d
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda7      186448932 82161276  94891176  47% /
/dev/sdb2       14097432  3632424   9748892  28% /mnt
# umount /mnt/
# shutdown -r now

これで USB から 起動 すれば いい という事です。

にゃんたろう 拝!

2014年 3月 1日 土曜日 21:18:27 JST 作成


前へ| 次へ

戻る

Copyright © 2006.-2014. nyantarou All Rights Reserved.