On 01/08/06, Amit Choudhary <amit2030@...> wrote:
> Thanks but I guess I have to be more specific. I have compiled linux
> kernel and got vmlinuz image.
> I wanted to know the steps to load the vmlinuz image into Bochs (Bochs
> is running on XP). Can I load vmlinuz directly or do I have to convert
> it to a bootable .iso image. In that case, what are the available
> tools. Is there any documentation available.
In any case treat it as a real PC, that stands next to you current
real PC. You have one Ms Windows computer with the vmlinuz on it and
you have a second computer that ..probably doesn't have any system on
it yet. What I do in this kind of situation is: I boot this blank PC
off a live-cd. From there I install a bootloader: you can't boot a
Linux kernel without a bootloader (I think you could do that with
versions up to 2.2). Then I transfer the kernel image to its harddisk
(there are several possibilities: over network, floppy, cdrom -- in
all cases it is a virtual floppy, virtual network, virtual cdrom), I
point the bootloader at the vmlinuz location, reset and the kernel
On a real network you could probably set up a network boot, but I
don't expect the bochs BIOS / NIC to support that and your host OS to
There's a different emulator, QEMU, that has a nice shurtcut option
for booting Linux kernel images (but it supports only Linux).
> On 7/31/06, andrzej zaborowski <balrog@...> wrote:
> > On 31/07/06, Amit Choudhary <amit2030@...> wrote:
> > > Hi,
> > >
> > > I read the user manual but there is not anything about compiling linux
> > > kernel and running in Bochs. I have made some modifications to the
> > > linux kernel and wanted to test it out. I am running Bochs on Windows
> > > XP.
> > That's probably because it is an issue totally unrelated to bochs.
> > Read the Linux kernel documentation instead (start with the README
> > file). I don't know if it can be done under Ms Windows because the
> > kernel is written in GNU C and requires a GNU compiler (gcc), but you
> > can probably compile it inside the emulator.
> > Treat bochs as a real PC. How would you run your kernel on a normal PC?
> > >
> > > Any help would be appreciated.
> > >
> > > Regards,
> > > Amit
> > > http://amit-choudhary.blogspot.com
> > >
> > > -------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > > opinions on IT & business topics through brief surveys -- and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > bochs-developers mailing list
> > > bochs-developers@...
> > > https://lists.sourceforge.net/lists/listinfo/bochs-developers
> > >
> > --
> > balrog 2oo6
> > Dear Outlook users: Please remove me from your address books
> > http://www.newsforge.com/article.pl?sid=03/08/21/143258
Dear Outlook users: Please remove me from your address books