Bootable CD - how can I do this?

Talk about and discuss various advancements and achievents in the arts and sciences of invention and modification; computers, sciences, mathematics, and technology for all.
Post Reply
User avatar
5829
Posts: 1610
Joined: Sun Jan 22, 2006 11:09 pm
Location: The Village
Contact:

Bootable CD - how can I do this?

#1

Post by 5829 »

Bootable CD - how can I do this?

So here is what I want to do. I want to create a bootable CD to boot into DOS.
There is no problem there, I can find a DOS ISO and create a CD that will boot into DOS.

But what I want to do is to add my own program to the image and modify the autoexec.bat file to run that program. The problem lies in that I don't know how to extract the ISO, add the program and modify the autoexec.bat file and recreate the ISO so that it is still bootable.
My Personal Site - My Personal Site

Free Rice - feed the world - play for free
National Domestic Violence Hotline - 1-800-799-7233
National Rape, Sexual Assault Hotline - 1-800-656-4673
Love Is Respect - 1-866-331-9474

~~~ accept everything - Believe Whatever - TRUST NOTHING ~~~~
There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy.
Never tell all you know...
Disclaimer: The opinions are my own. Nobody else wants them.

BBcode:
Hide post links
Show post links

User avatar
Über
392
Posts: 37927
Joined: Fri Sep 17, 2004 2:25 pm
Location: Washington, D.C.
Contact:

Re: Bootable CD - how can I do this?

#2

Post by Über »

Holy shit 5829, are you trying to show us up..? :D

I don't want to under think this thing, but here's what I got so far, don't be mad if its insulting, it's late/early and I'm on fumes and day old coffee...

1. If you have a bootable ISO to start, great. For lack of a better word, an ISO is just a disc archive. So, if for example you already have a disc, use your favorite ISO program to make an ISO on your drive. I use the latest version of Daemon Tools.

2. Use an archiving program to alter the ISO. WinRAR or 7zip are the two I use, both of them will allow you to open and view ISO files as archives. So, you could in essence, extract your bootable ISO to a folder on your C: Drive. Put into it the files you want to add to the disc. And then use IMG Burn to create an entirely new ISO...

That said, I suppose you could use IMGBurn to do it all, but I like the archive method, as there is little chance to miss system files...

Shit, I hope that makes sense...I'll be checking the topic if not... :D

BBcode:
Hide post links
Show post links

User avatar
5829
Posts: 1610
Joined: Sun Jan 22, 2006 11:09 pm
Location: The Village
Contact:

Re: Bootable CD - how can I do this?

#3

Post by 5829 »

That is what I did before I posted here.

Used 7-zip to extract the iso. Made the changes. Used imgburn to recreate the iso. Burned it to a cd using imgburn. But it will not boot. Tried a few different ways but no luck. If I burn the dos iso without any changes to disk it works.
My Personal Site - My Personal Site

Free Rice - feed the world - play for free
National Domestic Violence Hotline - 1-800-799-7233
National Rape, Sexual Assault Hotline - 1-800-656-4673
Love Is Respect - 1-866-331-9474

~~~ accept everything - Believe Whatever - TRUST NOTHING ~~~~
There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy.
Never tell all you know...
Disclaimer: The opinions are my own. Nobody else wants them.

BBcode:
Hide post links
Show post links

User avatar
Über
392
Posts: 37927
Joined: Fri Sep 17, 2004 2:25 pm
Location: Washington, D.C.
Contact:

Re: Bootable CD - how can I do this?

#4

Post by Über »

What boot ISO are you using? That's why I wondered about that, I know boot discs can be tricky. One wrong file and it will not boot, no matter what. I seem to remember though, when burning a CD, there being a box to check if the disc was to be bootable or not. I can't verify though, if it was IMG burn or not. I think that was back in the day when I used to use Nero, when it was still good...

BBcode:
Hide post links
Show post links

shin_dr
Posts: 1231
Joined: Thu Sep 29, 2011 4:00 am

Re: Bootable CD - how can I do this?

#5

Post by shin_dr »

Pulled up a ton of "buy our custom boot disk!" type results but these might be relevant:

http://www.styma.org/bootcdrom/bootcdrom.shtml
http://www.hiren.info/pages/bootablecd

BBcode:
Hide post links
Show post links

BarryLen
Posts: 10
Joined: Sat Jun 29, 2019 8:15 pm

Bootable CD how can I do this

#6

Post by BarryLen »

I got this macbook pro and picked up a lion osx image. Just need to put it on a bootable 8gb usb flash drive I have laying around. How to?

Thanks brothas

BBcode:
Hide post links
Show post links

Post Reply