I followed exactly the same steps:
1. enlist latest minix3 source from
git.minix3.org2. cross compiling it using the below BUILDVARS and script you gave me
3. successfully produced an image:
To boot this image on kvm:
cd ../obj.i386/destdir.i386/multiboot && kvm -serial stdio -kernel kernel -append "console=tty00 rootdevname=c0d0p1" -initrd "mod01_ds,mod02_rs,mod03_pm,mod04_sched,mod05_vfs,mod06_memory,mod07_log,mod08_tty,mod09_mfs,mod10_vm,mod11_pfs,mod12_init" -hda /home/chu7/minix/src/minix_x86.img
4. I don't have kvm, so I used qemu instead. the script I used was:
qemu -serial stdio -kernel kernel -append "console=tty00 rootdevname=c0d0p1" -initrd "mod01_ds,mod02_rs,mod03_pm,mod04_sched,mod05_vfs,mod06_memory,mod07_log,mod08_tty,mod09_mfs,mod10_vm,mod11_pfs,mod12_init" -hda /home/chu7/minix/minix_x86.img
5. booting seemed to fail to mount some partitions and eventually failed with the following:
chu7@chu7-x200s ~/minix/obj.i386/destdir.i386/multiboot $ ./qemu
MINIX booting
acpi: returning 0x7ffff80 as vir addr
acpi: returning 0x7ffe4f0 as vir addr
acpi: Could not read S5 data. Use default SLP_TYPa and SLP_TYPb
APIC disabled, using legacy PIC
MINIX 3.2.1. Copyright 2012, Vrije Universiteit, Amsterdam, The Netherlands
MINIX is open source software, see
http://www.minix3.orgInitiating legacy i8253 timer
CPU 0 freq 1851 MHz
kernel: selecting intel sysenter ipc style
Started VFS: 8 worker thread(s)
Root device name is /dev/c0d0p1
/dev/c0d0p1: clean
/dev/c0d0p1 is mounted on /
none is mounted on /proc
/sbin/readclock.drv: no such file or directory
service: couldn't get stat binary
date: timed: no such device or address
Tue Jan 1 00:00:00 GMT 2013
/dev/c0d0p2: clean
/dev/c0d0p3: clean
Can't mount on /usr
ramdisk: not found
Failed to free boot ramdisk
/usr/sbin/rs: no such file or directory
service: couldn't get stat binary
/usr/sbin/vm: no such file or directory
service: couldn't get stat binary
/usr/sbin/pm: no such file or directory
service: couldn't get stat binary
/usr/sbin/sched: no such file or directory
service: couldn't get stat binary
/usr/sbin/vfs: no such file or directory
service: couldn't get stat binary
/usr/sbin/ds: no such file or directory
service: couldn't get stat binary
/usr/sbin/tty: no such file or directory
service: couldn't get stat binary
/usr/sbin/memory: no such file or directory
service: couldn't get stat binary
/usr/sbin/log: no such file or directory
service: couldn't get stat binary
/usr/sbin/pfs: no such file or directory
service: couldn't get stat binary
/usr/sbin/init: no such file or directory
service: couldn't get stat binary
touch: not found
Multiuser startup in progress ...
Starting hotplugging infrastructure... devmand: not found
done.
No space on device 3/2
init: /etc/utmp: no space left on device
Minix Release 3 Version 2.1 (console)
minix login: init: /etc/utmp: no space left on device
init: /etc/utmp: no space left on device
init: /etc/utmp: no space left on device
The issue seems to lie within the disk image, but I don't know for sure. Have you seen this before? Could you please give me some pointers?
Regards,
Polaris