I was just trying to boot it up on bare metal yesterday, on an AMD Phenom II machine but Kernel Panic'd on not finding a device to boot from, which was a bit puzzling. Unfortunately had no time to investigate, but I won't give up, I make it boot somehow on that PC.
There's nothing like that is enabled AFAIK, I"m not even sure this board has UEFI (only Legacy BIOS). It's an Acer Veriton M421G brand PC, with a Phenom II X4 945 CPU.
Not even sure it's compatible with the OS, but this boot device issue was strange, tho. (had the same problem booting up a partition manager software from floppy that is based on Visopsys)
But will double check everything. Thanks for the tip!
I dd-ed the image straight to the HDD. grub started and booted off from it. lots of messages of PCI devices, I guess some kind of scan. after a while the screen went white, and a bit later the logs of the kernel panic appeared at the top, with the message it could't find a device to boot from.
so, it seems that the kernel itself didn't see the hdd it just booted from - standard IDE PATA disk, 120GB. Used dd from a gparted live disc.
First, I resized the partition on the disk to the full, at the next try I left it, as-is.
Both times the same result; the BIOS boots into Serenity, white screen, then kernel panic, couldn't find a device to boot from.
Thing is, there are 2 DVD drives (IDE and SATA) and a floppy drive attached to the PC, dunno if they can cause any problem. And 1GB memory.
this was yesterday, and since then I haven't got tieme to fiddle with it, but will. :)
It sounds like the USB is fine. What mode is the drive controller in? It's probably IDE. I haven't fucked with this in SO long but I am guessing the south bridge controller isn't supported by the newer kernels. It looks like basic IDE is still supported. Have you tried other kernels? I'm wondering if something like Ubuntu LTS or Arch LTS would have more devices supported.
Do you know how to boot strait to the kernel and nothing else? Since this is probably IDE you can do it super easy. It sounds like you can load the kernel into memory alright so you should be able to probe the kernel once booted to see whats on lsusb and lspci to see what's not coming up.
You can probably use any recovery USB/kernel to get an idea of if you're supported or not.
Ah ok I thought I mentioned IDE first. If it's IDE then you'll need the SATA emulation to stay IDE or else those ports will be disabled.
You can always flip the option and then boot the USB to see if it can at least finish loading. Not having devices shouldn't cause it to crash out but you might want to maybe try a different distro image to verify, maybe a simple kernel with a net image or something.
At the weekend I'll have some time to fiddle with it.
I think I'll try to boot Serenity first from USB, check if it wants to boot at all. Maybe I'll got an Arduino to use as serial monitor to check the log.
Then move on to flashing the grub image to the HDD, again, with a different IDE drive. if thst doesn't work, I'll find a SATA HDD and flash that.
I really wanna see this OS boot on real hardware. Then take a good lookaround and develop or port something for it :)
you might want to maybe try a different distro image to verify, maybe a simple kernel with a net image or something.
This part actually makes me wonder... Do you think SerenityOS uses the Linux kernel? Because it does not, it's its own completely separate thing. And the hardware support for anything other than the standard emulated machine is very iffy, so it doesn't seem too surprising that it would get tripped up by something on an old computer.
If anything went wrong with its USB stack for example, the kernel would have no way to find the root filesystem that's stored on a USB drive.