戻る

次へ

前準備

トライするの

RUF-C/U2 BUFFALO 8GB TurboUSB の 予定ですが その前に USB の 振舞を見ておきます

2014年 1月 29日 水曜日 12:05:12 JST 変更 最終は I-O DATA の TG-3NT シリーズ 16G にて 対応 した 8GB の 場合 容量が きつい と思われる。

TRANS-IT 4G

これはTRANS-IT 4G の 事です。

RUF-C/U2 BUFFALO 8GB TurboUSB での boot が 曲がりなりにも 出来たのですが その再現 を 試みます

fdisk -l の 内容 を 見たように 構成は ハード ディスク 2台と なっています。

# mke2fs -m0 -L bootdisk /dev/sdc
mke2fs 1.41.6 (30-May-2009)
/dev/sdc is entire device, not just one partition!
Proceed anyway? (y,n) n
# mount /dev/sdc /mnt/
mount: /dev/sdc: can't read superblock
# mount /dev/sdc1 /mnt/
# ls -a /mnt/
./  ../
# umount /mnt/

では こうします

#  mke2fs -m0 -L bootdisk /dev/sdc1
mke2fs 1.41.6 (30-May-2009)
Filesystem label=bootdisk
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
243840 inodes, 975167 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1002438656
30 block groups
32768 blocks per group, 32768 fragments per group
8128 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736

Writing inode tables: done                            
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

fdisk -l では

Disk /dev/sdc: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Disk identifier: 0x6f20736b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        1023     3900668    b  W95 FAT32

そこで

# fdisk /dev/sdc
Command (m for help): p

Disk /dev/sdc: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Disk identifier: 0x6f20736b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        1023     3900668    b  W95 FAT32
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): 83
Changed system type of partition 1 to 83 (Linux)

Command (m for help): p

Disk /dev/sdc: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Disk identifier: 0x6f20736b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        1023     3900668   83  Linux

Command (m for help): a
Partition number (1-4): 1

Command (m for help): p

Disk /dev/sdc: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Disk identifier: 0x6f20736b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1023     3900668   83  Linux

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.

fdisk -l では

Disk /dev/sdc: 3997 MB, 3997171712 bytes
123 heads, 62 sectors/track, 1023 cylinders
Units = cylinders of 7626 * 512 = 3904512 bytes
Disk identifier: 0x6f20736b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        1023     3900668   83  Linux

そうして

# mount /dev/sdc /mnt/
mount: /dev/sdc: can't read superblock
# mount /dev/sdc1 /mnt/
# ls -a /mnt/
./  ../  lost+found/

# rmdir /mnt/lost+found/
# ls -a /mnt/
./  ../

にゃんたろう 拝!

2014年 1月 25日 土曜日 21:14:07 JST 作成


次へ

戻る

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