LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Making a bootdisk on a CD-ROM? (https://www.linuxquestions.org/questions/slackware-14/making-a-bootdisk-on-a-cd-rom-254487/)

Spasmolytic 11-13-2004 06:30 PM

Making a bootdisk on a CD-ROM?
 
I know you can make a floppy bootdisk in Slackware using the makebootdisk command but is there a way to write one to a CD-ROM? I'm asking because my new PSU fried my floppy connecter pins and I'm without a floppy drive for now, if my computer screws up am I completely screwed or is there a way around this?

egag 11-13-2004 06:38 PM

hi ,

i think you can always use the Slack-cd's to boot up. ( well ... i 've got Slack 10, but 9.1 should work also. )
furthermore, there is a " isolinux " dir. ( think cd-2 ), witch contains a " howto make your own bootable cd " .

egag

Spasmolytic 11-13-2004 06:43 PM

That will bring up the Slackware Install Menu, right? Would you have to run any special commands to mount the image you want?

:newbie:

egag 11-13-2004 06:49 PM

well...i'd say : just try it. you will get onscreen instructions on how to boot into your own system.
( smth. like : " bare.i mount root= ....(etc.). )

egag

jong357 11-13-2004 10:42 PM

Code:

mkrescue --iso
;) Thats what your looking for. Make sure you have a working /etc/lilo.conf

I use grub myself but I keep a lilo.conf for this purpose. Slackware is one of the VERY few distros that has the --iso switch for mkrescue. After running that command, look in the directory you were in at the time, most likely your home directory. You'll see a 'rescue.iso' file. Burn that to cd like you would any other .bin or .iso image. cdrecord, k3b or what have you.

We should sticky this or append it to a sticky... Yes? VERY cool command that hardly NO ONE knows about...

For Grub users who are unfamiliar with lilo:

/etc/lilo.conf
Code:

boot=/dev/hda
timeout=30
vga=788
default=Slackware

image=/boot/MyKernelImage
        label=Slackware
        initrd=/boot/MyBootsplashInitrdImage
        read-only
        root=/dev/hda3

other=/dev/hda1
        label=Games


Spasmolytic 11-14-2004 12:15 AM

Thanks for the replies, guys.

jong357: That's exactly what I was looking for, a way to write a bootdisk to my CD drive... it worked perfectly and I appreciate it. This should definitely be sticky'd because a lot of people don't have floppy drives now... I don't... but not by choice :(


All times are GMT -5. The time now is 10:07 AM.