WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Installing into windows Bochs  (Read 5058 times)

Offline technobuddha

  • Newbie
  • *
  • Posts: 5
Installing into windows Bochs
« on: March 13, 2014, 07:05:49 PM »
Hello all,

I've been trying to run Tiny Core Linux in a windows version of Bochs,
and I just can't get the X window to work.
Sure it boots, but I just get a text prompt.

How does one get the x window to run in Bochs?
does anyone have a Bochs config file, or,

Can anyone show me the "text" install how to via the cdrom and a blank HD?

thank you!

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Installing into windows Bochs
« Reply #1 on: March 13, 2014, 07:17:53 PM »

Offline technobuddha

  • Newbie
  • *
  • Posts: 5
Re: Installing into windows Bochs
« Reply #2 on: March 14, 2014, 09:20:49 AM »
Thank you for pointing out the book.
I've gone over it. but not to sure where in the book would have the information I need.

For starters, I couldn't find where the boot log file is located? I looked in /var/log but its not there.
so how does one troubleshoot? clearly TCL can't figure out what the monitor type is sooo...

so I'm still hoping someone here as a Bochs config file? I'm thinking there is a combo for the vga setting at boot time..

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Installing into windows Bochs
« Reply #3 on: March 14, 2014, 09:51:26 AM »
run 'dmesg' to see the kernel boot log.
You are trying to install into a VM which has no "monitor".
What Core thinks the video card is will depend on the virtual machine.
You need to read the book so you can understand how Core works, and the various ways to install it.
Once you have core installed so that it boots to a command line, you can install the X components.
You would run "tce-load -iw Xprogs Xvesa flwm_topside aterm wbar"
Then run "xsetup"  then "startx".
I would hope that the Xvesa driver would be supported, but if not try Xfbdev.

Offline technobuddha

  • Newbie
  • *
  • Posts: 5
Re: Installing into windows Bochs
« Reply #4 on: March 14, 2014, 10:17:12 AM »
AHHH! ok. I got confused, because when I boot, there are all choices of different, like:

Boot Core Plus with X/GUI, or "with default FLWM topside". etc...

Ok, so I'll setup networking, and install as you've said.
and I've gone over parts here or there of the manual.
120 pages of reading is a bit and thought this was a specific issue with bochs, etc.
but.. DUH! (slap on forhead) one still needs to install the x window!

sorry about that!!

thank you very much!

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Re: Installing into windows Bochs
« Reply #5 on: March 15, 2014, 04:48:33 AM »
Since Volker Ruppert got it to work I tried it too. Yes, I could boot Tinycore 4.7.7 and 5.0.1 with Bochs 2.6.2 just fine. No changes required. I did not need to boot into text mode and then start X after that.

Here are some lines from my bochsrc.bxrc file:

cpu: model=turion64_tyler, count=1, ips=50000000, reset_on_triple_fault=1, ignore_bad_msrs=1, msrs="msrs.def"
cpu: cpuid_limit_winnt=0
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
ata0-slave: type=cdrom, path="D:\Programme\QemuManager\media\TinyCore-4.7.7.iso", status=inserted
boot: cdrom,disk

The rest of the lines seems to be unchanged from the default bochsrc.bxrc file.

I had trouble with Bochs 2.5.0 but this could be caused by too many changes to the bochsrc.bxrc file I have made over time.

Offline technobuddha

  • Newbie
  • *
  • Posts: 5
Re: Installing into windows Bochs
« Reply #6 on: March 25, 2014, 05:07:51 PM »
WOW!!! Thank you, that worked!

now the question is, did you get the ne2000 network driver to work with with it? because I don't have a network device for eth0..
and I believe the network care is an emulated ne2000.

thanks!

Offline georgp24

  • Jr. Member
  • **
  • Posts: 58
Re: Installing into windows Bochs
« Reply #7 on: March 25, 2014, 05:51:02 PM »
I have not tried network cards with Bochs yet. You will have to uncomment and configure the ne2000 card in the bochsrc.bxrc file.

I have doubts wether Tinycore still supports NE2000 cards, you may have more luck with the Intel e1000 emulation which is the alternative in the bochsrc.bxrc file.

Offline technobuddha

  • Newbie
  • *
  • Posts: 5
Re: Installing into windows Bochs
« Reply #8 on: April 07, 2014, 04:53:50 PM »
Thanks for your help and sorry for not responding sooner. I did get the Intel e1000 to work. And I can ping both the Guest and the Host IP that gets assigned.

e1000: enabled=1, mac=52:54:00:12:34:56, ethmod=vnet, , ethdev="c:/pplsnet"

BUT, for some reason, I can't ping the IP's that are assigned in my Windows 7 host environment via command line.
is there some other service or program that must be installed?