Hello,
I am playing around with LinuxBIOS. The first step is to boot Windows on QEMU+LinuxBIOS. I follow the steps in http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS, and do with LinuxBIOSv3. However, in the documentation, I read:
..... Building LinuxBIOSv3
Now it is time to build linuxBIOSv3. You should first download it:
$ svn co svn://linuxbios.org/repository/LinuxBIOSv3 $ cd LinuxBIOSv3/util $ svn co svn://linuxbios.org/repos/trunk/LinuxBIOSv2/util/ADLO $ Apply patch that puts ADLO into LinuxBIOSv3 $ make menuconfig
....
I just dont see how to "apply the patch to put ADLO into LinuxBIOSv3". ADLO was checked out from SVN, but it is a directory, so how can we "apply patch ...." as in the instructions?
Thanks, Jun
Hmm... I managed to do like this:
- Compile ADLO separately, then I have a file named "payload" - In LinuxBIOSv3, I run "make menuconfig", then specify the path of payload option to the above "payload". - Save options, quit and compile.
As a result, I have build/bios.bin, and I overwrites this file onto the original bios.bin of my QEMU.
Then, I run QEMU with my Linux image. It works, and I can login to my Linux QEMU.
Now, the problem is that I am not sure if my Linux on QEMU really uses LinuxBIOS. How can I confirm that? "dmesg" doesnt seem to return anything special to me.
Thank you, Jun
On 11/29/07, Jun Koi junkoi2004@gmail.com wrote:
Hello,
I am playing around with LinuxBIOS. The first step is to boot Windows on QEMU+LinuxBIOS. I follow the steps in http://www.linuxbios.org/Booting_Windows_using_LinuxBIOS, and do with LinuxBIOSv3. However, in the documentation, I read:
..... Building LinuxBIOSv3
Now it is time to build linuxBIOSv3. You should first download it:
$ svn co svn://linuxbios.org/repository/LinuxBIOSv3 $ cd LinuxBIOSv3/util $ svn co svn://linuxbios.org/repos/trunk/LinuxBIOSv2/util/ADLO $ Apply patch that puts ADLO into LinuxBIOSv3 $ make menuconfig
....
I just dont see how to "apply the patch to put ADLO into LinuxBIOSv3". ADLO was checked out from SVN, but it is a directory, so how can we "apply patch ...." as in the instructions?
Thanks, Jun
On Thu, Nov 29, 2007 at 06:37:10PM +0900, Jun Koi wrote:
Hmm... I managed to do like this:
- Compile ADLO separately, then I have a file named "payload"
- In LinuxBIOSv3, I run "make menuconfig", then specify the path of
payload option to the above "payload".
- Save options, quit and compile.
As a result, I have build/bios.bin, and I overwrites this file onto the original bios.bin of my QEMU.
No need to overwrite. Just use the '-L build' command line option for QEMU and it will use the bios.bin in the build/ directory instead of the normal one.
Then, I run QEMU with my Linux image. It works, and I can login to my Linux QEMU.
Now, the problem is that I am not sure if my Linux on QEMU really uses LinuxBIOS. How can I confirm that? "dmesg" doesnt seem to return anything special to me.
Use the '-serial stdio' command line option with QEMU, that will print a "LinuxBIOS starting..." or similar message if it's really LinuxBIOS.
Uwe.