On Mon, 2005-05-23 at 14:31, Jim Lemon wrote:
> Carl William Spitzer IV wrote:
> 
> >>>I want to make my own bootable dos CD.  My current attempts using K3b
> >>>under Suse make bootable cd's but I can not then access the additional
> >>>files.
> >>>
> >>>1) What am I doing wrong?
> 
> You may not be adding the boot image and the boot catalog to the ISO9660 
> image. Say you have everything you want in a directory MYDOSCD. Here's 
> how I would do it under Fedora Core 2.
> 
> 1) Make a bootable floppy with all the drivers you will need at boot 
> time. (I use SHSUCDX for the CD extension plus free ASPI drivers - you 
> can check if everything works by booting from the floppy).
> 
> 2) Mount the DOS partition where your contents are, put the floppy in 
> the drive and create the boot image from the floppy.
> mount -t vfat /dev/hda1 /mnt/dos
> cd /mnt/dos/mydoscd
> dd if=/dev/fd0 of=image/boot.img
> (make sure you have a directory MYDOSCD\IMAGE)
> 
> 3) Create the ISO9660 image.
> mkisofs -b image/boot.img -c boot.cat -A FreeDOS \
> -o /mnt/dos/mycdimag -P 'My DOS CD' \
> -p C_Spitzer -r -V DOSCD -v .
> 
> 4) Change to the image directory and write the CD.
> cd ..
> cdrecord -v dev=/dev/hdc mycdimag
> 
> Note that I have left a lot of things that are specific to my system 
> like /dev/hdc is the CD burner and /dev/hda1 is my DOS partition.

Based upon the messages* that does work though without blackslash
continues and the period at the end was something I overlooked.  I used
the image from the freedos site linked.

Unfortunately it seems there is still a problem.  I have a cdrom and a
cdrw on this machine and it does not want to see the bootable dos cd.
Seems bios sees both as CDROM Mode 4.  No problem for linux which uses
different addressing methods not limited by bios.  I tried the boot disk
in both drives.  Next stop a friends house.

I did figure out one trick there must be a file called boot.cat or
whatever after "-c".  So I created a one byte file and mkisofs worked. 

Perhaps the solution is a drive switch allowing me to choose between
cdrom, cdrw and both.  Is there such a thing?

 mkisofs -b image/fdos1440.img -c boot.cat -A FreeDOS -o
/home/juno/mycdimage.iso -P 'MY DOS CD' -p C_Spitzer -r -V DOSCD -v .

riting:   End Volume Descriptor                   Start Block 18
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 19
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 20
Done with: Path table                              Block(s)    4
Writing:   Directory tree                          Start Block 24
Done with: Directory tree                          Block(s)    266
Writing:   Directory tree cleanup                  Start Block 290
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 290
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 291
  5.54% done, estimate finish Mon Jun 20 14:03:45 2005
 11.06% done, estimate finish Mon Jun 20 14:03:45 2005
 16.59% done, estimate finish Mon Jun 20 14:03:45 2005
 22.11% done, estimate finish Mon Jun 20 14:03:40 2005
 27.63% done, estimate finish Mon Jun 20 14:03:34 2005
 33.16% done, estimate finish Mon Jun 20 14:03:33 2005
 38.67% done, estimate finish Mon Jun 20 14:03:27 2005
 44.20% done, estimate finish Mon Jun 20 14:03:27 2005
 49.72% done, estimate finish Mon Jun 20 14:03:25 2005
 55.26% done, estimate finish Mon Jun 20 14:03:25 2005
 60.78% done, estimate finish Mon Jun 20 14:03:28 2005
 66.30% done, estimate finish Mon Jun 20 14:03:30 2005
 71.83% done, estimate finish Mon Jun 20 14:03:32 2005
 77.36% done, estimate finish Mon Jun 20 14:03:33 2005
 82.87% done, estimate finish Mon Jun 20 14:03:40 2005
 88.41% done, estimate finish Mon Jun 20 14:03:39 2005
 93.92% done, estimate finish Mon Jun 20 14:03:38 2005
 99.45% done, estimate finish Mon Jun 20 14:03:38 2005
Total translation table size: 2048
Total rockridge attributes bytes: 279005
Total directory bytes: 538624
Path table size(bytes): 1276
Done with: The File(s)                             Block(s)    90065
Writing:   Ending Padblock                         Start Block 90356
Done with: Ending Padblock                         Block(s)    150
Max brk space used 20d000
90506 extents written (176 MB) 

      +-----------------<<<<<<<CWSIV>>>>>>>----------------+
      |                                                    |
      |    |  \   /|\  ||   |\ /  |~~\ /~~\  /~~| //~~\    |
      |    |   \ / | \ ||   | X   |__/|    ||   |( `--.    |
      |    |__  |  |  \| \_/ / \  |  \ \__/  \__| \\__/    |
      |                                                    |
      +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to