0

I have vmdk server image without /dev/root, I want to deploy it with DigitalOcean (they support custom images). I created images, started droplet, but unable to connect via ssh. I entered RecoveryConsole and got this error:

enter image description here

It says: no /dev/root - well nothing unexpected.

Could you help me how handle this? I need to have an operational server from this image.

Q-bart
  • 101
  • 1
  • Your image partition has no `/dev` directory. – paladin Jul 01 '22 at 08:55
  • yeah, how can I fix it? I can not create another image. Is it possible to launch the server from this image and create /dev directory after (I can ssh server in Recover Mode - would it be enough)? Sorry for stupid question, I will appreciate any help – Q-bart Jul 01 '22 at 09:00
  • 1
    No, this is not possible without direct hardware access and cracking the computer. You need to recreate your image. – paladin Jul 01 '22 at 09:04
  • 1
    sorry, this is nonsense. The dev directory is not missing, the kernel failed to mount the root filesystem, and therefore there is no /dev directory! Obviously, you had the root partition at /dev/rootvg/rootvol , which the kernel didn't find. That is the root cause of the kernel panic... The error message comes from the kernel trying to move the dev filesystem from the initrd mount to the real rootfs, which doesn't exist... – Martin Jul 01 '22 at 09:18
  • Thank you @Martin, could you please advise how can I fix this? – Q-bart Jul 01 '22 at 09:46
  • find out why your kernel did not find any volume groups. You mentioned that you moved the vmdk image - maybe the scsi controller emulated by your hypervisor is not supported in your linux... kernel 2.6 is very old! I would start to find out inside the emergency shell if the linux detected any hard disks at all... – Martin Jul 01 '22 at 11:12
  • @Martin is right, sorry I was blinded. ^^ – paladin Jul 01 '22 at 13:54

0 Answers0