PDA

View Full Version : Boot using Loadlin



yuu_shi
01-29-2004, 01:34 AM
For some reason, I need to create a DOS BOOTABLE rescue disk and wish to put a customized Knoppix on it.

In the CDROM, I have a directory /KNOPPIX with vmlinuz, miniroot.gz, and KNOPPIX; however, I can't start KNOPPIX using Loadlin on /KNOPPIX with the command like this:

loadlin vmlinuz initrd=miniroot.gz BOOT_IMAGE=KNOPPIX

So interesting, if I happen to have a /KNOPPIX with the KNOPPIX file on the C:, KNOPPIX will start.

The problem I have is that I can't assume I will have enough disk space for the file to be resident. I want the image to be on a DOS Bootable CDROM.

Any help would be appreciated.

Cheers,
{ B )
NNNN

garyng
02-05-2004, 08:17 AM
For some reason, I need to create a DOS BOOTABLE rescue disk and wish to put a customized Knoppix on it.

In the CDROM, I have a directory /KNOPPIX with vmlinuz, miniroot.gz, and KNOPPIX; however, I can't start KNOPPIX using Loadlin on /KNOPPIX with the command like this:

loadlin vmlinuz initrd=miniroot.gz BOOT_IMAGE=KNOPPIX

So interesting, if I happen to have a /KNOPPIX with the KNOPPIX file on the C:, KNOPPIX will start.

The problem I have is that I can't assume I will have enough disk space for the file to be resident. I want the image to be on a DOS Bootable CDROM.

Any help would be appreciated.

Cheers,
{ B )
NNNN

Well, you may have a problem here. The problem is you cannot cram both linux(vmlinuz, initrd etc.) and DOS file into one 1.44MB image(which I believe is what you mean DOS bootable).

But you don't have to. All you need is just a DOS bootable CD that can see the CD-ROM(after bootup) and the associated files(vmlinuz, initrd etc.). Then you just tell loadlin the usual parameters like KNOPPIX use. The only thing that matter is the big 700MB file must be \KNOPPIX\KNOPPIX be it on CD or whatever drive.

One thing I don't understand though is, what else you can put on the CD with KNOPPIX taken up all the space ? May be you mean you have a shrink downed KNOPPIX.