LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Booting a CD on nonbootable bios? (https://www.linuxquestions.org/questions/linux-general-1/booting-a-cd-on-nonbootable-bios-165087/)

mverrilli 04-01-2004 04:03 PM

Booting a CD on nonbootable bios?
 
I have a linux on cd utility package I need to boot up on an old machine that does not support cd booting. It's burned from a bootable iso image.

Am I able to make a floppy that will load a bootloader to boot the CD?

A long time ago I used linload or loadlin, I think, for DOS... and it would boot different disks from a command prompt. Has anyone tried this?

On the CD I have an isolinux directory with the following files:
boot.cat
initrd.img
isolinux.bin
isolinux.cfg
vmlinuz

Total size of this directory is like 7 mb.

XavierP 04-01-2004 04:06 PM

You'll need to make your floppy using rawrite.exe - should be a dos directory on your install disk with it in there.

mverrilli 04-01-2004 04:09 PM

Thanks for the quick response, but read my message again. :)

I am not trying to install a distribution. It is a linux utility package that runs on a bootable cd only. There are no floppy versions, no installation. The images on disk are too large for me to move to a floppy. I'm looking more for a way to boot this using a bootloader on a floppy and pointing to a cd somehow.

XavierP 04-01-2004 04:12 PM

What type of utility needs you to boot your pc from a cd?

Pauli 04-01-2004 04:18 PM

Maybe a live cd xavier?

Seesh, I thought you big mods were geniuses ;) :D

homey 04-01-2004 04:21 PM

You could boot up with smart boot manager on a floppy disk. Then select the cdrom from the menu. It has a lot of other neat features like selecting which hard drive to boot up to.....

http://btmgr.sourceforge.net/

trickykid 04-01-2004 04:24 PM

Quote:

Originally posted by Pauli
Maybe a live cd xavier?

Seesh, I thought you big mods were geniuses ;) :D

Come on, lets try to be a little more constructive in our posts please without the cracks please.

mverrilli 04-01-2004 04:24 PM

It's a specialized utility for accessing and changing some propietary software that sits on a hard disk.

The hardware setup is.. a FAT32 disk as the first disk, CDROM as a slave. Then the proprietary software on the first disk of the secondary. I must keep the first disk as FAT32, but I can put stuff on it, if necessary. But it still points to using a bootloader of some sort.

Pauli 04-01-2004 04:27 PM

Quote:

Originally posted by trickykid
Come on, lets try to be a little more constructive in our posts please without the cracks please.
geez. Ya can't even make a joke here without getting attacked.

mverrilli 04-01-2004 04:29 PM

Quote:

You could boot up with smart boot manager on a floppy disk. Then select the cdrom from the menu. It has a lot of other neat features like selecting which hard drive to boot up to.....
I tried this actually. It wouldn't boot the cd... and in fact it thought the cd was a hard disk for some reason. But I'm sure the cd is indeed bootable. Stupid old Dell.

Grayscale 04-01-2004 04:44 PM

Smart Boot Manager

it boots from a floppy which gives you a menu that allows you to boot to a cd or hd or whatever

http://btmgr.sourceforge.net/

Grayscale 04-01-2004 04:44 PM

wow. i should go kill myself. i didnt read the last post

homey 04-01-2004 05:01 PM

Quote:

On the CD I have an isolinux directory with the following files:
boot.cat
initrd.img
isolinux.bin
isolinux.cfg
vmlinuz
That should be bootable. Maybe you could copy the contents of the cdrom to a directory and run mkisofs using a bootable floppy image for boot emulation.

Cd into the directory where you put the stuff...

dd if=/dev/fd0 of=boot.img bs=10k count=1

mkisofs -r -b boot.img -c boot.cat -o /home/bootcd.iso

cdrecord -v speed=4 dev=0,0,0 -data /home/bootcd.iso

mverrilli 04-01-2004 05:09 PM

Quote:

That should be bootable. Maybe you could copy the contents of the cdrom to a directory and run mkisofs using a bootable floppy image for boot emulation.
Actually, the reason it won't boot is that the bios is too old and doesn't support cd booting (and there is no bios update, I checked, it's just an old machine).

Thanks though. :)

mverrilli 04-01-2004 05:18 PM

Posting my question reminded me of loadlin (I haven't used it since umm, 1997?). When I get home tonight, I'm going to try it out. I found some info on how use it.

What I am going to try:

1. Boot some flavor of DOS with CD drivers
2. go to d:\isolinux
3. loadlin vmlinuz root=/dev/ram rw initrd=initrd.img

No idea if the isolinux.bin file is needed for anything or not. I am thinking not... mostly because I am *guessing* that is where the boot code is kept which I am bypassing anyhow.

Seems possible to me. I just don't know how nicely loadlin is going to work with cd drivers being loaded and in use while it loads the images from the cd.

If anyone has any other ideas or comments, feel free to post. I'll respond later with my results.


All times are GMT -5. The time now is 08:08 PM.