トラブルシュート(9)tftp boot ? (6)

LS-QVL

標準ファームの HDD をつぶしてしまったので、
tftp boot して復旧しようとしている。
ところが、出来上がったのは tftp boot はできるが HDD からは起動できないという HDD。

/boot おかしいのだろうと、見てみたが、 おかしなところは見当たらない。

お手上げ状態。

ためしに、違うHDDにインストールしてみたらどうなるか、、、
これまでずっと Maxtor DiamondMax 6L200MO という200GB HDD を使っていたが、 SAMSUNG HD501LJ という500GBHDDを使ってみる。

LS-VLにUSBで接続

SAMSUNG HD501LJ を LS-VL にUSBで接続する。
Jun 15 21:35:19 vl kernel: usb 1-1.3: new high speed USB device using ehci_marvell and address 4
Jun 15 21:35:19 vl kernel: usb 1-1.3: configuration #1 chosen from 1 choice
Jun 15 21:35:19 vl kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 15 21:35:24 vl kernel: scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4
Jun 15 21:35:24 vl kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jun 15 21:35:24 vl kernel: sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
Jun 15 21:35:24 vl kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jun 15 21:35:24 vl kernel: sdb: sdb1 sdb2 sdb3 sdb4
Jun 15 21:35:25 vl kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
Jun 15 21:35:25 vl kernel: XFS mounting filesystem sdb2
Jun 15 21:35:26 vl kernel: kjournald starting. Commit interval 5 seconds
Jun 15 21:35:26 vl kernel: EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
Jun 15 21:35:26 vl kernel: EXT3 FS on sdb1, internal journal
Jun 15 21:35:26 vl kernel: EXT3-fs: mounted filesystem with writeback data mode.
Jun 15 21:35:27 vl kernel: XFS mounting filesystem sdb4
何で、マウントされている???
GNOME をインストールしているから?

アンマウントする

root@vl:~# umount /dev/sdb1
root@vl:~# umount /dev/sdb2
root@vl:~# umount /dev/sdb4
root@vl:~#

パーティションの削除

ハックキットをインストールしていた HDD なので、 パーティションが切ってある。
root@vl:~# parted -s /dev/sdb print
Model: ViPowER VP-89118(SD1) (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
 1 17.4kB 1024MB 1024MB ext3 primary
 2 1024MB 6144MB 5119MB xfs primary
 3 6144MB 7168MB 1024MB linux-swap(v1) primary
 4 7168MB 500GB 493GB xfs primary
root@vl:~#
パーティションを削除する
root@vl:~# parted -s /dev/sdb rm 4
root@vl:~# parted -s /dev/sdb rm 3
root@vl:~# parted -s /dev/sdb rm 2
root@vl:~# parted -s /dev/sdb rm 1
root@vl:~# !?print
parted -s /dev/sdb print
Model: ViPowER VP-89118(SD1) (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
root@vl:~#
念のため、fdisk でも消しておく
root@vl:~# fdisk -l /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
 Device Boot Start End Blocks Id System
/dev/sdb1 1 60802 488386583+ ee GPT
root@vl:~# fdisk /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c') and change display units to
 sectors (command 'u').
Command (m for help): d
Selected partition 1
Command (m for help): p
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
 Device Boot Start End Blocks Id System
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
root@vl:~#

LS-QVLに接続

LS-VLから取り外し、LS-QVLのトレイにセット。

LS-QVL起動

電源ON。
しばらくして、、

E06 !
これまでと違う!!

ひょっとして、、、

FUNCION SWを押す

tftp でファイルを取りに来た
Jun 15 22:03:37 qube in.tftpd[3420]: connect from 192.168.11.150 (192.168.11.150)
Jun 15 22:03:37 qube tftpd[3422]: tftpd: trying to get file: uImage.buffalo
Jun 15 22:03:37 qube tftpd[3422]: tftpd: serving file from /srv/tftp
Jun 15 22:03:39 qube in.tftpd[3423]: connect from 192.168.11.150 (192.168.11.150)
Jun 15 22:03:39 qube tftpd[3424]: tftpd: trying to get file: initrd.buffalo
Jun 15 22:03:39 qube tftpd[3424]: tftpd: serving file from /srv/tftp
Jun 15 22:06:43 qube telnetd[3468]: ttloop: retrying
DHCP でアドレスを取りにも来た。
Jun 15 22:04:13 sil dhcpd: DHCPDISCOVER from 4c:e6:76:e7:0f:42 via eth0
Jun 15 22:04:13 sil dhcpd: DHCPOFFER on 192.168.2.56 to 4c:e6:76:e7:0f:42 via eth0
Jun 15 22:04:13 sil dhcpd: DHCPREQUEST for 192.168.2.56 (192.168.2.39) from 4c:e6:76:e7:0f:42 via eth0
Jun 15 22:04:13 sil dhcpd: DHCPACK on 192.168.2.56 to 4c:e6:76:e7:0f:42 via eth0

ファームウェアアップデータの実行

LS-QVL-EMF42 が見つかり、「ファームウェア更新」
「HDDのパーティションが見つかりませんでした・・」「はい」
E06
FUNCTION SW を押す。

しばらくして、、、
ファームウェアアップデータが「アップデートを完了しました」(謎

ブラウザで管理画面にアクセス、日本語で表示、ログイン、正常表示。
管理画面から、再起動。正常に立ち上がってきた。
電源ボタン長押しで電源OFF、電源SWを押して起動。 正常に立ち上がってきた。

復旧

ふ〜。ようやく復旧。

200GB HDD を使っていたからだめだったのか、
Maxtor DiamondMax 6L200MO 固有の問題でだめだったのか、
おそらく前者

教訓:HDD をケチってはだめ!
って、もう HDD は、無いんやけど。。。





トラブルシュート(8)tftp boot ? (5)
ハックの記録
LinkStation/玄箱 をハックしよう
トラブルシュート(10)tftp boot ? (7)

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市

AltStyle によって変換されたページ (->オリジナル) /