Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
|
|||||||
Begin your free trial now
Pay-as-you-go options starting at $10/user/month
Pay-as-you-go options starting at $10/user/month
Installing Linux to Bochs
|
|
Thread Tools | Search this Thread |
|
#1
|
||||
|
||||
|
Installing Linux to Bochs
hi. I just found a program called Bochs which allows you to edit a virtual pc. I am currently installing Linux onto virtual drive, but it constantly says that there is an I/O error. Other than that, the installation seems to go fine, but then I am forced to quit the install. I hope to install Linux, please help.
Last edited by me(who else?); 02-28-2004 at 03:21 PM.. |
|
#2
|
||||
|
||||
|
What flavour of Linux? What says IO error - Bochs or the Linux. When exactly does it say that?
|
|
#3
|
||||
|
||||
|
RedHat 9 is the type of Linux, and it seems to say it whenever it has to access dev\hda0 (which is the boot record). It doesn't seem to have any problems getting to the swap partitions and the root directory. I changed a few settings and am trying it again, I'll post again when it's done.
|
|
#4
|
||||
|
||||
|
I just finished the new install. It turns out that the boot record isn't the problem, it's the swap partition. When it goes to read the disk, Red Hat says "Input/Output error during read on dev/hda". I usually tell it to ignore this error.
Then after I pick my install and all my packages and it gives a message about writing a log file, it says"Error enabling swap device hda3: invalid argument This most likely means the swap partition has not been initialized." Then I have to quit Bochs. I don't think that Bochs is causing the problem, as Anaconda is giving the error. I really have no clue as to why it doesn't work, I'm just glad I'm not installing to my real HD. |
|
#5
|
||||
|
||||
|
It's probably either just that, ie. no swap partition, or not enough RAM. The default in Bochs is 32 MB, it might not be enough for RH9. I had no problems installing it when I made a 200 MB swap partition onto a 2 GB image, with 64 MB of RAM (using Bochs 2.1.1).
|
|
|
|
#6
|
||||
|
||||
|
I have the RAM set to 256 and it still causes the problem. Could it have something to do with the fact that I'm starting with a completely blank HD without a MBR or anything?
|
|
#7
|
||||
|
||||
|
Never mind, I fixed it.
|
|
#8
|
||||
|
||||
|
No, I didn't ! I just got the same error again. I have 256mb RAM enabled, a 512mb swap partition on a 4gig disk image. This is getting irritating! Pls help!
|
|
#9
|
||||
|
||||
|
Well, one thing you could try is to go to console #2 in Red Hat's setup (hit alt+F2 if in textmode), and use mount, fdisk, mkswap and swapon commands to check, create and enable swap partition(s).
However, if you get I/O errors, I suspect swap alone won't help much then. Maybe IPS is set too high / low? |
|
#10
|
||||
|
||||
|
What would the IPS need to be? I set it 5 million and it doesn't work still. Any specific number?
edit: Come to think of it, does anybody else here use Bochs with Linux? If so could you PLEASE post your bochsrc file for me to look at. Last edited by me(who else?); 03-04-2004 at 08:46 PM.. |
|
#11
|
||||
|
||||
|
I got rid of this error..and a new one comes along. Now the RH9 installer tells me it occured a "bug" which prevents me from completeing the installation. I'll post back with the error a bit later.
Later: The error says that some kind of exception occured. It was a really, really long error. It said that I should make a dump, but when I tried it didn't work. This is most definitely because I don't have a disk image(for a floppy) or real floppy drive . It also gave an option to debug, but I couldn't once I chose save. edit: For future reference, I used mkswap and fdisk to create a swap partition, then I activated it. For some reason, the swap partition had to be hda1 (the first partition). Last edited by me(who else?); 03-06-2004 at 11:04 AM.. |
|
#12
|
||||
|
||||
|
Does anybody use Bochs to run Linux? I'm beginning to think that it would be easier to buy a new comp then go through the hassle. Anybody out there who can help...
?
|
|
#13
|
||||
|
||||
|
I don't use it for any "real" work because it's too slow. I'd just install Linux to a real machine.
Anyway, here's my .bochsrc (renamed to be able to attach). |
|
#14
|
||||
|
||||
|
Thanks Mict. I think I'll probably just get a new machine to install Linux to, as Bochs is trying my patience.
|
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
Need help installing linux
|
3 | The Alternative OS | ||
Installing Linux Again.
|
5 | The Alternative OS | ||
Installing Linux
|
13 | The Alternative OS | ||
Need help installing Linux Fedora 5
|
2 | The Alternative OS | ||
Installing software in linux
|
27 | The Alternative OS | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 01:22 PM.


?

Need help installing linux