From owner-freebsd-questions Mon Sep 25 13:45:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from inetminas.estaminas.com.br (inetminas.estaminas.com.br [200.251.191.247]) by hub.freebsd.org (Postfix) with ESMTP id 08F4A37B422 for ; Mon, 25 Sep 2000 13:45:20 -0700 (PDT) Received: from p24tamd5x86 (nas5-29.estaminas.com.br [200.251.35.221]) by inetminas.estaminas.com.br (8.9.1a/8.9.1) with SMTP id RAA09727 for ; Mon, 25 Sep 2000 17:44:43 -0300 (GMT) Message-Id: <3.0.6.32.20000925174537.00797bc0@uai.com.br> X-Sender: pamplona@uai.com.br (Unverified) X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 25 Sep 2000 17:45:37 -0300 To: freebsd-questions@freebsd.org From: Gustavo Pamplona Subject: Something like booting from disk images. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. What I want is a program that get a disk image already written in disk, (I dont'know) write it to a ram disk and boot from the ramdisk. For example: I get the boot.flp from freebsd floppy disk image, or a DOS boot disk already written, for example, "dosboot.img". The dosboot.img have a total file size of 1474560 bytes, in other words a reliable disk image of the first MS-DOS disk. (Of a three setup disks, MS-DOS 6.22) Again, something like it. # dd if=/dev/fd0c of=/dosboot.img bs=512 count=2880 And, I don't know, the program get the file dosboot.img, write to the RAM, and again, I don't know, handle the INT 19 (DOS based interruption), clean all the MS-DOS registers, and proceed to load the disk as it have been inserted in the floppy drive. in other words, the normal way of booting a MS-DOS Setup Disk. As I said in my previous e-mail, I don't have no floppy drives, cause I have a Colorado Jumbo 250 MB Floppy Tape Drive and I usually use CD-ROM to boot my system. []'s and Thanx. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message