お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2021-02-28 18:39:59

neutron
新しいメンバ
登録日: 2021-02-28

USB SSD からのブート

エレコムのESD-EMN1000GBUという小型のSSDに、緊急用のシステムとして、Ubuntuをインストールしようとしているのですが、ブートに失敗します。対処法はありますか?

第1パーティションをFATでフォーマットし、Syslinux を用いてブートさせ、後続パーティション中のLVMの論理パーティションをマウントさせようとしているのですが、ルートパーティションが探し出せないようで、
(initramfs)
というプロンプトで止まってします。

この時のブートメッセージは末尾のようになっています。

HDDからブートした場合も、ブート後にこのSSDを指した場合は問題なく使用できるのですが、最初からSSDを刺していた場合、認識に失敗しているようです。また、別の2台のPCに刺してブートしようとしても、やはり、ルートをマウントするところで止まってしまいます。

なお、このSSDの内容をIO-DATAのUSB-SSDにコピーして試したところ、正常にブートしましたので、syslinux の設定や initramfs 等は間違っていないと思います。

** USBからブートした場合の dmesg の内容

[    3.470655] logitech-hidpp-device 0003:046D:404D.0004: input,hidraw1: USB HID v1.11 Keyboard [Logitech K400 Plus] on usb-0000:00:1a.0-1.2/input2:1
[    3.485429] scsi 18:0:0:0: Direct-Access     ELECOM   ESD-EMN          1100 PQ: 0 ANSI: 6
[    3.485778] sd 18:0:0:0: Attached scsi generic sg3 type 0
[    3.486382] sd 18:0:0:0: [sdc] 1954713600 512-byte logical blocks: (1.00 TB/932 GiB)
[    3.487097] sd 18:0:0:0: [sdc] Write Protect is off
[    3.487153] sd 18:0:0:0: [sdc] Mode Sense: 43 00 00 00
[    3.487745] sd 18:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   33.997546] usb 2-1.7: reset high-speed USB device number 3 using ehci-pci
[   39.445544] usb 2-1.7: device not accepting address 3, error -71
[   39.525544] usb 2-1.7: reset high-speed USB device number 3 using ehci-pci
[   45.077539] usb 2-1.7: device not accepting address 3, error -71
[   45.157541] usb 2-1.7: reset high-speed USB device number 3 using ehci-pci
[   45.249539] usb 2-1.7: device descriptor read/64, error -71
[   45.449539] usb 2-1.7: device descriptor read/64, error -71
[   45.637541] usb 2-1.7: reset high-speed USB device number 3 using ehci-pci
[   45.729537] usb 2-1.7: device descriptor read/64, error -71
[   45.929539] usb 2-1.7: device descriptor read/64, error -71
[   46.037985] usb 2-1.7: USB disconnect, device number 3
[   46.053553] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.053645] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.053751] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.053820] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.053916] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.053985] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.054070] ldm_validate_partition_table(): Disk read failed.
[   46.054134] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.054202] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.054296] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.054804] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.054899] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.054968] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.055063] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.055132] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.055216] Dev sdc: unable to read RDB block 0
[   46.055279] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.055347] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.055441] blk_update_request: I/O error, dev sdc, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.055510] Buffer I/O error on dev sdc, logical block 0, async page read
[   46.055608] blk_update_request: I/O error, dev sdc, sector 24 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[   46.055678] Buffer I/O error on dev sdc, logical block 3, async page read
[   46.055845]  sdc: unable to read partition table
[   46.056210] sd 18:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[   46.056287] sd 18:0:0:0: [sdc] Sense not available.
[   46.056340] sd 18:0:0:0: [sdc] 0 512-byte logical blocks: (0 B/0 B)
[   46.056450] sd 18:0:0:0: [sdc] Attached SCSI disk
<1051>[   46.057334] ata_id[383]: unable to open '/dev/sdc'
[   46.213546] usb 2-1.7: new high-speed USB device number 4 using ehci-pci
[   46.637535] usb 2-1.7: device not accepting address 4, error -71
[   46.717538] usb 2-1.7: new high-speed USB device number 5 using ehci-pci
[   47.141537] usb 2-1.7: device not accepting address 5, error -71
[   47.141721] usb 2-1-port7: attempt power cycle
[   47.745537] usb 2-1.7: new high-speed USB device number 6 using ehci-pci
[   47.837535] usb 2-1.7: device descriptor read/64, error -71
[   48.037536] usb 2-1.7: device descriptor read/64, error -71
[   48.225537] usb 2-1.7: new high-speed USB device number 7 using ehci-pci
[   48.317533] usb 2-1.7: device descriptor read/64, error -71
[   48.517536] usb 2-1.7: device descriptor read/64, error -71
[   48.625740] usb 2-1-port7: unable to enumerate USB device

オフライン

 

Board footer

Powered by FluxBB