LoginSignup
0
0

More than 5 years have passed since last update.

DISKを複数載せてdebian 9インストールした後boot失敗(initramfs)する時

Last updated at Posted at 2017-04-21

debian9インストーラーでのインストール先DISKの認識は/dev/sde
しかしインストール後のOS起動時のDISKの認識は/dev/sdd

確認
cat /proc/partitions

grubでroot=/dev/sde2の指定が原因。

修正(一つ若くする)

/boot/grub/grub.cfg
- linux   /boot/vmlinuz-4.9.0-2-amd64 root=/dev/sde2 ro  quiet
+ linux   /boot/vmlinuz-4.9.0-2-amd64 root=/dev/sdd2 ro  quiet

もしくは

sed -i -e 's/sde/sdd/g' grub.cfg
grub-install /dev/sdd
reboot
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0