Hi list.
I've been trying to get LinuxBIOS going on my EPIA-MII 12000 system. I've read numerous messages on the ML and Googling for answers. Still I can't get my system to boot properly.
Following the HOWTO I've managed to create a linuxbios.rom that actually boots, starts the payload ( filo ) but then I don't get the kernel to load.
I'm using LinuxBIOS snapshot as of 24th of May and Filo 0.5. The VGA-rom is extracted with:
dd if=/dev/mem of=/video.bios.bin bs=65536 count=1 skip=12
My root is /dev/hdb1 and I've put my ( working ) kernel at /vmlinuz. ( It's a stock Fedora 5 kernel, 2.6.16-1.2111_FC5. )
When I use USE_GRUB = 1 and put a copy of my menu.lst in /boot/filo/menu.lst, I only get a grub prompt and when trying to manually load the kernel with:
kernel /vmlinuz root=/dev/hdb1 boot
It complains about unknown filetype, IIRC.
I've also tried using:
AUTOBOOT_FILE = "hdb1:/vmlinuz root=/dev/hdb1 console=tty0 console=ttyS0,115200"
With this I get the LinuxBIOS to constantly restart.
My actual question is therefore If there is anyone with a working setup that could please give me some help?
Did you try using mkelfImage from ftp://ftp.lnxi.com/pub/mkelfImage ? It combines the vmlinuz & initrd files into one.
To get my machine to boot I used the same kernel parameters as I found in grub, set up by Fedora.
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org] On Behalf Of Per Mellander Sent: Tuesday, May 30, 2006 1:05 AM To: linuxbios@linuxbios.org Subject: [LinuxBIOS] EPIA-MII 12000, almost there. ( newbie )
Hi list.
I've been trying to get LinuxBIOS going on my EPIA-MII 12000 system. I've read numerous messages on the ML and Googling for answers. Still I can't get my system to boot properly.
Following the HOWTO I've managed to create a linuxbios.rom that actually boots, starts the payload ( filo ) but then I don't get the kernel to load.
I'm using LinuxBIOS snapshot as of 24th of May and Filo 0.5. The VGA-rom is extracted with:
dd if=/dev/mem of=/video.bios.bin bs=65536 count=1 skip=12
My root is /dev/hdb1 and I've put my ( working ) kernel at /vmlinuz. ( It's a stock Fedora 5 kernel, 2.6.16-1.2111_FC5. )
When I use USE_GRUB = 1 and put a copy of my menu.lst in /boot/filo/menu.lst, I only get a grub prompt and when trying to manually load the kernel with:
kernel /vmlinuz root=/dev/hdb1 boot
It complains about unknown filetype, IIRC.
I've also tried using:
AUTOBOOT_FILE = "hdb1:/vmlinuz root=/dev/hdb1 console=tty0 console=ttyS0,115200"
With this I get the LinuxBIOS to constantly restart.
My actual question is therefore If there is anyone with a working setup that could please give me some help?
Now I get so far that the kernel is identified and loaded but then it breaks :(
I created an elf with mkelfImage:
# mkelfImage --kernel=/vmlinuz-2.6.16-1.2111_FC5 --output=/vmlinuz.elf --initrd=/initrd-2.6.16-1.2111_FC5.img --command-line="ro root=LABEL=/ rhgb quiet console=ttyS0 console=ttyS0,115200"
----8<-------------------------------------------------------------
Jumping to boot code at 0x109ad4 FILO version 0.5 (root@mm.int.mmtab.se) Wed May 31 13:44:15 CEST 2006 Press <Enter> for default boot, or <Esc> for boot prompt... timed out boot: hda1:/vmlinuz.elf find_ide_controller: found PCI IDE controller 1106:0571 prog_if=0x8a find_ide_controller: primary channel: compatibility mode find_ide_controller: cmd_base=0x1f0 ctrl_base=0x3f4 ide_software_reset: Waiting for ide0 to become ready for reset... ok init_drive: Testing for hda init_drive: Probing for hda init_drive: LBA mode, sectors=268435455 init_drive: LBA48 mode, sectors=321672960 init_drive: Init device params... ok hda: LBA48 164GB: HDS722516VLAT80 Mounted ext2fs Loading Linux version 2.6.16-1.2111_FC5 (bhcompile@hs20-bc1-3.build.redhat.com) #1 Thu May 4 21:16:58 EDT 2006... Jumping to entry point... 0
LinuxBIOS-1.1.8.0Fallback Wed May 31 13:15:25 CEST 2006 starting... Enabling mainboard devices Enabling shadow ram
----8<-------------------------------------------------------------
I get the same result when I try,
AUTOBOOT_FILE = "hda1:/vmlinuz initrd=/initrd.img root=/dev/hda1 console=tty0 console=ttyS0,115200"
so the problem is not in the elf image.
Could you please send me a snippet from your AUTOBOOT or similar?
Btw. Do I have to make a 'special' kernel to make this work or should the stock FC5 work?
/Per
On Tue, 30 May 2006 08:38:53 -0600, Myles Watson wrote
Did you try using mkelfImage from ftp://ftp.lnxi.com/pub/mkelfImage ? It combines the vmlinuz & initrd files into one.
To get my machine to boot I used the same kernel parameters as I found in grub, set up by Fedora.