-   Programming (
-   -   making a bootable disk (

udayan 07-15-2002 07:47 AM

making a bootable disk
How can i make a bootable disk in Linux... which command should i use.??:jawa:

rao 07-15-2002 10:11 AM

Dear Udayan,

Now i am giving details of bootable disk.
We can create bootable disks with three types
1)Boot(boot.img)- Use this boot image to create a boot disk for installing Red Hat Linux from a CD or from a copy Red Hat on the local disk
2)Network Boot(bootnet.img) - Create a boot disk from this image for instaling Red Hat Linux over a network(NFS, HTTP, or FTP)
3)PCMCIA support(pcmcia.img) - use this image if u need to use a PCMCIA adapter to install Red Hat Linux( Suc as LAN card or your laptop)

I will give some more information for bootable disk

format a:/s

After creating boot floppy copy the following files from CD-1
those are restorrb.exe, fips.exe and errors.txt. These files are located in dosutils/fips20 in CD-1

I am giving one more way......

follow the steps
1) Insert redhat CD. this may be d: or e:
2)insert blank formated disket
3)change dosutils directory (cd \dosutils)
4) Run the 'rawrite' command as follows
It will give one message like
Enter disk image source file name : type"D:\images\boot.img"
enter target diskette drive : a:
press enter ... that's enoughf

If any thing required give reply with details

Mara 07-15-2002 11:03 AM

Rao's answer is good when you're going to create a Linux bootdisk without having Linux. If you do, use
mkbootdisk kernel_version_here
Or from an image
dd if=image_filename of=/dev/fd0 bs=1024
Note that in both cases it's better to have the floppy unmounted (if you're using automount etc).

All times are GMT -5. The time now is 12:38 AM.