Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Installing Linux to Bochs

me(who else?)
02-23-2004, 08:17 PM
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.

Nodsu
02-24-2004, 01:08 PM
What flavour of Linux? What says IO error - Bochs or the Linux. When exactly does it say that?

Ad
02-24-2004, 01:08 PM
  

me(who else?)
02-24-2004, 01:53 PM
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.

me(who else?)
02-24-2004, 02:03 PM
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.

Mictlantecuhtli
03-01-2004, 11:42 PM
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).

me(who else?)
03-02-2004, 05:11 PM
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?

me(who else?)
03-04-2004, 09:11 AM
Never mind, I fixed it.

me(who else?)
03-04-2004, 09:13 AM
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!

Mictlantecuhtli
03-04-2004, 10:41 AM
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?

me(who else?)
03-04-2004, 01:47 PM
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.

Ad
03-04-2004, 01:47 PM
  

me(who else?)
03-05-2004, 06:30 PM
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).

me(who else?)
03-15-2004, 06:25 PM
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...:confused: ?

Mictlantecuhtli
03-16-2004, 02:34 AM
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).

me(who else?)
03-16-2004, 11:46 AM
Thanks Mict. I think I'll probably just get a new machine to install Linux to, as Bochs is trying my patience.

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Weekend tech reading: How to run Chrome OS as a virtual machine

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

More Tech News

  
 Software Downloads

WinDVD 10.05 Pro 2010 (formerly WinDVD Platinum)

Opera 10.10 for Windows

Mp3tag 2.45

FinalBurner 2.15

Google Chrome 4.0.249.00 Beta

Magic DVD Creator 11.0.10.189

Dynamic Notes 3.44

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.