Dracut 未找到根设备

Dracut 未找到根设备

当我启动服务器时,它显示以下内容并永远挂起:

[   88.166038] usb 2-1: device not accepting address 2, error -110
[   88.285980] usb 2-1: new high-speed USB device number 3 using ehci_hcd
[   93.423935] dracut Warning: No root device "block:/dev/disk/by-uuid/3be3a552-7f1e-42dc-b59d-c220cf349cd6" found
[  103.858270] usb 2-1: device not accepting address 3, error -110
[  103.978213] usb 2-1: new high-speed USB device number 4 using ehci_hcd
[  114.423040] usb 2-1: device not accepting address 4, error -110

从恢复磁盘中,我可以很好地看到该磁盘:

# blkid
/dev/sdm1: LABEL="/BOOT" UUID="7fd96db0-68b6-484f-96d4-bf65282160cd" TYPE="ext3"
/dev/sdm2: LABEL="/" UUID="3be3a552-7f1e-42dc-b59d-c220cf349cd6" TYPE="ext3"
# ls /dev/disk/by-uuid/3b*
/dev/disk/by-uuid/3be3a552-7f1e-42dc-b59d-c220cf349cd6

我的 grub.conf 看起来像这样:

timeout=5
default=0

title Linux (3.2.27-0.4.18.wd.0.31.231.metal1.x86_64)
    root (hd0,0)
    kernel /vmlinuz-3.2.27-0.4.18.wd.0.31.231.metal1.x86_64 ro root=UUID=3be3a552-7f1e-42dc-b59d-c220cf349cd6 nousb console=ttyS1,115200n8 earlyprintk=vga,keep
    initrd /initramfs-3.2.27-0.4.18.wd.0.31.231.metal1.x86_64.img

我尝试通过添加 rdshell 和 rdinitdebug 内核参数来进入 dracut 调试 shell,但似乎没有任何反应。我可以通过其他方式进行调试吗?任何帮助表示赞赏!

相关内容