d9c8cb51f5
- Features : - add enhanced bios - add Multiple ATA channels - fix harddrive and cdrom - add info about keyoard mapping - add link to tuntap config - add PCI - add Copy and Paste - add reference to openprojects.net IRC channel - bochsrc : - add optromimage[1-4] paragraph - add example of LGPL vgabios - add ata[0-3] paragraph - add ataX-[master|slave] paragraph - change boot: options - add logprefix: paragraph - complete ne2k paragraph - add user_shortcut: paragraph - Tips and techniques - convert internal debugger doc from html - add Bios Tips section (to be completed) - expand guest os chapter - add WinME info from misc.txt - add titles of other doc to be included
58 lines
1.7 KiB
Plaintext
58 lines
1.7 KiB
Plaintext
$Id: misc.txt,v 1.13 2002-11-03 23:24:41 cbothamy Exp $
|
|
|
|
Testing testing....
|
|
|
|
This is a temporary place to paste in stuff that should go into the docs one
|
|
day. When it is transferred into docbook, let's remove it from misc.txt.
|
|
|
|
--------------------------------------------------------------------------
|
|
--------------------------------------------------------------------------
|
|
--------------------------------------------------------------------------
|
|
--------------------------------------------------------------------------
|
|
Date: Thu, 15 Nov 2001 13:31:34 -0800
|
|
From: David Christy <davidc@davidc.biz>
|
|
To: bryce@tlw.com
|
|
Subject: usefull info for mounting
|
|
|
|
|
|
I didn't see this in the doc's so I thought you might like a
|
|
short description of how to mount a disk image file into
|
|
loopback filesystem for maintenance purposes.
|
|
|
|
--------------------------------------------
|
|
|
|
1) First run
|
|
|
|
fdisk -l <image_name>
|
|
|
|
... and it should print out a partition table (with a few
|
|
complaints requesting the drive geometry, and I don't know
|
|
if older versions require a block device) In fact fdisk will
|
|
even work to modify partitions in an image, but you must
|
|
specify the drive geometry that's in the bocsrc first.
|
|
|
|
2) Whatever it says the starting partition is, subtract 1
|
|
and multiply by 512
|
|
|
|
3) Type
|
|
|
|
mount -o loop,offset=<insert number here> <image_name>
|
|
/mount/dir
|
|
|
|
or if it's just a floppy image, just
|
|
|
|
mount -o loop floppy.img /mount/dir
|
|
|
|
---------------------------------------------------
|
|
|
|
I would recommend putting -o ro for read only access if
|
|
bochs is in use. For unusual filesystems you may need to
|
|
add a -t <fstype> flag to the mount command to specify the
|
|
filesystem type.
|
|
|
|
see man mount, losetup, and fdisk for more info
|
|
|
|
|
|
|
|
BOCHS Rocks!!!
|