LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 06-01-2008, 01:43 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Rep: Reputation: 49
How to read/write, install micros. windows system on a HD image created with bximage?


Hello,

I created an image img of a hd of 600MB with bximage, and would like to install it a msdos on the hdd image. How could I do so ?

Code:
1.	Create a new directory for the Minix installation:

	$ mkdir minix
	$ cd minix

2.	Create a new hard disk file for Minix, for which you must use 
	the 'bximage' program (included with Bochs). The listing below 
	shows my input for bximage where I create an 80 Mb hard disk 
	file: 

	$ bximage
	...
	Please type hd or fd. [hd] <enter>
	Please type flat, sparse or growing. [flat] <enter>
	Enter the hard disk size in megabytes, between 1 and 32255
	[10] 80
	What should I name the image?
	[c.img] minix.img

	You'll need the cyl, heads and sectors per track numbers in step 
	4 so be sure to write them down somewhere (for an 80 Mb hard 
	disk they are 162, 16 and 63).
 
Old 06-01-2008, 02:44 PM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
with qemu, it might be possible:
http://wiki.ubuntuusers.de/QEMU


1. Edit /etc/apt/sources.list and uncomment the Universe apt repositories
2. sudo apt-get install qemu
3. mkdir ~/qemuImages
4. mkdir ~/qemuImages/FedoraCore1
5. cd ~/qemuImages/FedoraCore1
6. qemu-img create disk.img 20G
7. export SDL_VIDEO_X11_DGAMOUSE=0
8. qemu -boot -d -cdrom /dev/cdrom -m 512 disk.img
9. If your Fedora Core 1 CD is in the CD-ROM drive then qemu will boot the image and boot from the CD, then you can do the normal install routine. I did a "linux text" install. Mouse emulation was giving me problems, so I chose "No mouse."



Code:
 qemu -fda ~/bootdisk/Dos4.01.img  -hda windows98se.img  -boot a
http://www.allbootdisks.com/download/dos.html

Quote:
qemu -cdrom /dev/cdrom -fda ~/bootdisk/Dos6.22.img -hda ~/qemu/windows.img -boot a

Solved

Last edited by frenchn00b; 06-01-2008 at 03:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux won't write to a Windows-created folder joshknape Linux - Newbie 6 07-25-2005 10:05 PM
Windows driver to read/write Linux file system bmccurdy General 3 08-23-2004 05:06 PM
which is the best file system for read write access from linux and windows tomank Linux - Newbie 4 04-05-2004 08:48 AM
When a process locks up the system - what is the created image file called? thatgentleman Linux - General 3 03-22-2002 09:36 PM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration