Bochs disk problem

This is a discussion on Bochs disk problem within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I wasn't sure where to post this so... I just got hold of Bochs because I was thinking about reading ...

  1. #1
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709

    Bochs disk problem

    I wasn't sure where to post this so...

    I just got hold of Bochs because I was thinking about reading into bootloaders, then I realised it *should* be able to boot into my Linux partition while being run from Windows. So I've configured it to (try to) load 'disk' (HDD) but it just refuses to - no reason why. It just "can't". If boots floppies fine, but I have the same problem with CD's.

    Anyone have a clue why it doesn't work?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,255
    AFAIK, you can't use actual hard drive partitions. All HDs must come from image files (which is a pain in the butt, because getting files onto these images isn't easy).

    CD drives should work fine though, although Bochs can react badly to you changing the disc without telling it.

    So, the way I usually use it is:-

    1. Save files onto a Nero CD image
    2. Load the image into the Nero ImageDrive virtual drive
    3. Run Bochs and copy files to the HD from the "CD".

    It's probably much easier in Linux.

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Yeah it probably is (what isn't?) but I've got >2GB of music on my Windows partition that I can't be arsed to copy across and if I mount my win partition it doesn't matter because I can never get sound to work properly on Linux. Well, I can, but xmms (or whatever) can never play what I want to play. Yeah it's a whole big codec thing probably, but it's kinda pointless spending hours setting it all up when I've got it all on Windows anyway.

    I wanted to run Linux on an emulator so I can use gcc etc while doing other stuff on Windows. I just prefer Linux as a development platform aside from it's varying inconveniences.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. searching problem
    By DaMenge in forum C Programming
    Replies: 9
    Last Post: 09-12-2005, 01:04 AM
  2. 30G hd and Speed Disk
    By kevinalm in forum Tech Board
    Replies: 2
    Last Post: 10-27-2002, 03:25 PM
  3. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 08:37 AM
  4. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 01:52 PM
  5. boot problem
    By Unregistered in forum Linux Programming
    Replies: 4
    Last Post: 02-25-2002, 11:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21