RH9 convert VM 後起唔到

事前


落左 VM


VM grub setup


然後...


係咪 VM 既 sda1 end 39 同 sda2 start 又係 39 引起呢?
( sda2 end 9600 亦同 sda3 start 9600... )
仲可以點救呢
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

chroot 後行mkinitrd -f -v /boot/initrd-xxxxx xxxxx rebuild 番個initrd, 因為initrd無pack到你個scsi driver 入去

TOP

chroot 後行mkinitrd -f -v /boot/initrd-xxxxx xxxxx rebuild 番個initrd, 因為initrd無pack到你個scsi dr ...
有你便有我 發表於 2013-6-21 12:24


多謝師兄指點, 但仲未得

rebuild initrd


after rebuild initrd


附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

IDE harddisk?
改用 hda 試下?

TOP

用緊esxi 嗎? 係咪LSI Logic SAS?? 照計用vmware convert 唔會出現呢個問題......
你試試再chroot 入去run 埋呢句command 先mkinitrd
cat << "EOF" >>  /etc/modules.conf
alias scsi_hostadapter mptbase
alias scsi_hostadapter1 mptscsih
EOF

TOP

唔想改 file, 可以在 mkinitrd 時加埋 --with=mptbase --with=mptscsih 咁樣, 你會見到佢加埋呢2個嘢入去~

TOP

本帖最後由 unknown2 於 2013-6-22 09:06 編輯

What is the hypervisor?
KVM? VMware?


What io controller is the vm using? virtio, virtio-scsi? sas-scsi?
If your kernel is too old and do not contains corresponding driver module, it will not boot.


Besides, your error message shows "cannot open root device 'sda'" is a hint.

sda - mean the whole harddisk, and it is  not a partition

I guess your linux root is sda2, correct?
so you should create a boot entry which point to "root=sda2" (may need to reinstall grub)

TOP

本帖最後由 dtom 於 2013-6-22 17:29 編輯

多謝咁多位既回覆先
呢幾日忙其他野
有進展再覆 post

係 esxi 5.0, LSI Logic SAS
其實 convert 過 3/4 部 linux, 部部都係咁上下問題,
但個幾部都係 CentOS, 呢部就舊D係 RH9...

TOP

Also check http://lionel.parmentier.free.fr/?p=55  with google translate...

TOP

回復 9# Bomber


    得左! THX 各位!!

TOP