Changes between Version 6 and Version 7 of TBR/UserManual/QemuTutorial


Ignore:
Timestamp:
Aug 14, 2009, 4:25:10 PM (10 years ago)
Author:
Cocanlucian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/QemuTutorial

    v6 v7  
    2525   bunzip2 floppy.img.bz2
    2626
    27 4.
     274. Before you can access this image file you must create a '''mtools''' configuration file. Create and then open ~/.mtoolsrc with your favourite editor and add the following information:
     28
     29  drive a:
     30  file=path_to_the_floppy_image_file
     31  fat_bits=12
     32  cylinders=80 heads=2 sectors=18
     33  mformat_only
     34
     35Now you should be able to see the following information if you type '''mdir a:'''
     36
     37   Volume in drive A has no label
     38   Directory for A:/
     39
     40   kernel   gz     670491 2009-08-14  13:59  kernel.gz
     41   stage2           30816 1998-05-13  11:56  stage2
     42   grubmenu            45 2006-05-31   8:19  grubmenu
     43        3 files             701 352 bytes
     44                            755 200 bytes free
     45
     465. This GRUB disk image is designed to boot any compressed kernel in the root directory called kernel.gz, meaning that to install hello.exe, you simply compress it and copy it into your virtual disk image.
     47
     48   cd ~/where_you_want
     49   cat hello.exe | gzip -9 > kernel.gz
     50   mcopy kernel.gz a: