Unable to boot Debian Hurd in Virtual Box due to missing hd0s1

Posted on

Problem :

I’m trying to setup a Debian Hurd test machine to duplicate a privately reported issue on the platform. According to the README.txt:

To give Debian GNU/Hurd a try, it is probably easier to simply run the
preinstalled image, which is provided here:

$ wget http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.xz
$ tar xJf debian-hurd.img.tar.xz

It can also be run in virtualbox, by first converting to VDI format :

  $ VBoxManage convertfromraw debian-hurd*.img debian-hurd.vdi --format vdi

You can then just log in as root without a password…

I fetched and unpacked debian-hurd.img.tar.xz. Then I created a new Linux 32-bit VM, and used debian-hurd.vdi as the disk.

After working through the process, the machine encounters an error during boot. The error occurs during regular boot and recovery boot. The error is:

start ext2fs: ext2fs: device:hd0s1: No such device or address

According to GNU Hurd | VirtualBox | Installation on the Debian wiki, this could be caused by a SATA controller rather than and IDE controller. Unfortunately, the selection for a new IDE controller is greyed out, and there is no apparent way to add one (SATA is available).

Why am I receiving the error, and how can I fix it?

enter image description here

Solution :

Try selecting “Other” and “other” on the iirc in the 2 drop-down box selections. I’m running VBox 5.1.12. I specifically did not select Linux, because I don’t know what assumptions VBox makes for optimization for Linux.

This can be fixed by turning off the virtual machine, going to Machine settings, Storage – removing the downloaded vdi from “Controller: SATA”, and adding it instead to the IDE controller, at “Controller: IDE”. Then the system will find the hard drive in the correct place.

Leave a Reply

Your email address will not be published. Required fields are marked *