ヤフオクで中古を買ったからか知らないけど、フラッシュドライブがなんかおかしいみたいだった。
こんなエラーが出たりする。
Reading boot image 1347721 bytes. Initializing firewall... System is started. EXT2-fs error (device mtdblock(31,1)): ext2_check_page: bad entry in directory #3505: unaligned directory entry - offset=0, inode=960569392, rec_len=19767, name_len=47
しょうがないからってフォーマットするんだけど、フォーマットでもエラーが出る。
All data will be erased,continue:[Y/N]? Formatting boot device... nand_erase: Error erasing at 0x1004000, real at: 0x1004000 ................................ Format boot device completed.
もうこうなると、通常メニューからはどうしようもない。
「Fortigate Flash Memory Errors」というページに、デバッグメニューへの入り方が書かれていて、その続きで不良ブロックの修復方法も記載がある。
ページ内の手順で、
start_block–>0×000 ———— Input “000” as the start block end_block–>0xfff ———— Input “fff” as the end block
という箇所があるけど、上記の通り入れるといつまでたっても終わらない。
自分が解決したときは、適当な値を入れてみたら、よくわからんが治った。