Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I usually install all of them. For some reason, the packages called something-devel are share libraries for development purposes (guess again, I'm pretty new at linux too, but I love it). In your case, I believe devel would work. It's hard for something go wrong though. If you installed a package that you don't need, you can also remove it with synaptic pretty easy.
Get wxGTK under system environment/libraries first and try installing bochs. If does not work, try installing wxGTK-devel under development/libraries
And you are the most welcome It's the less I can do to LQ. If it was not this forum, Linux would only be a couple of dust CD's today forgotthen somewhere under my messy bed and I would be using M$ ...eek
hmmmm, we need a little more luck here . I'm totally running out of options . Have you ever compiled from source? Perhaps that could be a solution...
I will try to install bochs rpm in my machine. If also fails in my machine, we have a problem with that package Hold on buddy...
I DID COMPILING IT FROM SOURCE...WHOHOOO... Actually, the rpm seems to be buggy. Anyway, this will be a great learning for you . I will write soon how to compile. Just want to tell you that it worked, and that I'm working on it brb
I knew I'd have to learn this pretty soon, but I wanted to get my computer dedicated linux before I went full-in for the learning aspects (like compiling)...something I couldn't do until I get applications I need (most notably AutoCAD) runable in Linux. Hopefully, if bochs is what it appears to be, this will be the last step and I'll be taking the plunge - no more dual-boot :-)
Bochs looks like a neat program anyway...I installed the old DOS on a windows ME machine earlier using the windows bochs. I like the way it works...Wine wasn't doing it for me.
"Talk" to you soon...thanks for the help. Looking forward to geting true proficiency at something...the ability to compile from source will, no doubt, be huge in my linux experience :-)
Here is what we will do. Compiling from source. Again, I think this work we have done here is great for learning. With Linux, when something goes wrong, we don't waste time or anything.... but we do, learn a lot and there's always another way to do everything.
First thing you've got to do, is to download the tarball package . Get this one here:
As you can see, the file ends with a tar.gz. That means we have a gunziped tarball, roughly saying. First thing we got to do with that, is to unzip it
Note that now you have a bigger file with .tar only. Now we have a tarball. To untar it, type:
tar -xvf bochs-2.0.2.tar
A directory will be created named bochs-2.0.2. Type:
Inside this folder, there're loads of documents. The most important is README Read this always before compiling anything. Always...
Most of the programs though, compiles with 3 commands, described bellow:
This will check for the components installed at your computer. It's usually here that error messages are reported. If it happens, write down the errors and install the needed packages with synaptic. Now, type:
This will do most of the compiling job. Erros can also appear here, but it's not common. Turn into root now with "su" command and type
This does the final process of compiling and creating the needed files. Although not necessary, it's always good to type
to clean unecessary files created during the compiling process. If you ever need to uninstall this program, go into this folder where you've uncompressed the file and type
That's all about it. You should be able to run bochs by typing bochs at the terminal. This is my installed version:
Bochs x86 Emulator 2.0.2
January 21, 2003
00000000000i[ ] reading configuration from .bochsrc
Bochs Configuration: Main Menu
This is the Bochs Configuration Interface, where you can describe the
machine that you want to simulate. Bochs has already searched for a
configuration file (typically called bochsrc.txt) and loaded it if it
could be found. When you are satisfied with the configuration, go
ahead and start the simulation.
You can also start bochs with the -q option to skip these menus.
1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now
If you can make all this process, you've just mastered how to install programs thru rpm and source, so you are a Linux guru and I hope if it works, you tell me what bochs is used for, cause I've never heard of it before
Last edited by Mega Man X; 07-23-2003 at 04:31 PM.
You're awesome...it worked perfectly! So that's all it is, huh? I got scared off by people talking about how to compile Linux itself from source code. Great stuff. Thanks so much for your help.
OK, I owe you at least an explanation of what Bochs is now...
Bochs appears to run a workstation on any other workstation (not positive I have all my terms 100% right). That is, while I'm running RedHat, I can start up Bochs, and it pops up in its own happy little window, runs through its own custom BIOS, and boots whatever OS you have installed on "its" drive. Now the big difference is how it runs the drive. Instead of needing its own partition and whatever, it just puts a FILE on your hard drive the size of the hard drive you want to simulate. So on my ME workstation at work, I had it make a 1gb file called c.img, pointed it to that as the hard drive, and I was able to boot it, format it and install DOS6.22 on it. And it's just a file, so you can take it from computer to computer and retain everything (provided you have a way to transfer a file that large). So what I'm doing in Linux to get my CAD to work is I'm going to make about a 750mg hard drive, install WinME as minimally as possible on it, then install CAD on that. No running programs in linux through a translator, they can just run on their native OSes. And unlike Wine and other programs, you can see the desktop, the start button, etc...you have access to all the control panels and everything built into windows that you don't with other emulators. The drawback is that I can't transfer a file from Linux to Windows unless I go through the network, and back to my computer, or burn it to a CD, as I understand it. Interesting toy...here's hoping it works as promised. Since I've only installed Dos thus far, I can't tell you too much more.
Thanks again for the help - I learned stuff today I'll use forever now :-)
Thanks a lot for your replying Michael. I really enjoyed working together with you in this mission . It's nice when we get replies such as "it worked" or "it didn't", so other peoples surfing the net or searching the forum might use this later as reference. This "bochs" really turned into a bit of challenge. But at the end of working we all have learned a lot. You've got the basics of installing programs, which is the place where usually Linux starters/rookies give up, thus, very very important and I've learned a lot about a new cool emulator that will be handy and that I've never heard before . I believe into the Linux chain... you know... when someone needs help, I try to explain as detailed as I can, so they get happy and, next time a friend or someone in forums like this face the same problem, they will help for sure, as I will recommend bochs to somebody too . (but surely not the rpm package of it...ghehe)
It was not hard was it? Linux is no Dragon with 7 heads as the one in Dungeon and Dragons, neither takes so long to learn as Dragon Ball saga after the DragonBalls...LOL (well, I'm no nerd, but I love Dragonball and games...ghehe)
Well, I will read some docs about bochs now. Thanks again for the replies and the tips.
Farewell for now my friend. I will always be here around .
Last edited by Mega Man X; 07-24-2003 at 03:24 AM.