I'm new to the linuxBIOS, the question could be pretty silly for some of you, but I have spent a few days and can not figure out a solution.
 
I have a AMD reference board, I use the AMI BIOS came with the board to installed a Redhat 9.0 Linux which booted fine. Then I did following things in order to boot the board with LinuxBIOS.
 
1. I built and installed the LinuxBIOS and Etherboot (tg3 card) on the Motherboard.
2. I used mkelfImage to build a elf image based on the kernal and ramdisk on the pre-installed Linux HD. I copied this file into the tftp directory on the DHCP server. My MB with LinuxBIOS is connected to this DHCP server.
3. I still have the HD with pre-installed Linux attached to my MB, I'm hoping after netboot, linux can mount the root from the HD and boot the full Linux from the HD.
4. The LinuxBIOS and etherboot seems ran OK, it picks up the elf image from DHCP server and started booting linux.
 
Then my trouble starts, every time I get a Linux Kernel Panic during the boot. The message is like this.
....
Loading ext3.o module
Mounting /proc filesystem
Creating block devices
kmod: failed to exec /sbin/modprobe -s -k block-major-3, errno = 2
VFS: Cannot open root device "hda2" or 03:02
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 03:02
 
I used a command like this to make the elf image.
 
mkelfImage --command-line="root=/dev/hda2 rw console=ttyS0,115200n8"  \
--kernel=/boot/vmlinuz-2.4.20-8smp --ramdisk=/boot/initrd-2.4.20-8smp.img \
--output=/root/elf/linuxImage
 
I think my root parameter at the mkelfimag command is correct because I type mount command on the console when I have the AMI BIOS booting the linux from the HardDisk, it looks like this,
 
[EMAIL PROTECTED] bin]# mount
/dev/hda2 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
If anybody tell me what I did wrong, I would be really appreciated.
 
 
Thanks
 
beneo
 

Reply via email to