flat assembler
Message board for the users of flat assembler.

Index > OS Construction > booting with compact disc?

Author
Thread Post new topic Reply to topic
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Hello asm guru's!

I have pieced together my own spoof operating system from stuff i've read.

It only knows 3 commands but it supports basic in/out interface =)

Right now im booting from floppy drive (FAT12) on my test pc.

My other pc has no floppy drive, but can write/read cd's.

I would like to write my own strapper for cd drive booting.

I dont want to use FAT12 format but my own instead.

Does anyone have any ideas on how i could skin a cat of this breed?

Could i just write the 512 byte boot sector to the beginning of a clean cd?

Any help would be greatly appreciated.

Ok, thanks and happy coding...
Post 09 Dec 2007, 11:15
View user's profile Send private message Reply with quote
SimianChatter



Joined: 09 Dec 2007
Posts: 1
SimianChatter
about where i'm at...
'el torito' is the cd boot standard; not sure the world needs a new fs, but you get 2KB for your bootcode with cdfs
Post 09 Dec 2007, 13:07
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
bitshifter wrote:
Hello asm guru's!

Could i just write the 512 byte boot sector to the beginning of a clean cd?


CD do not uses the same boot method than floppies or hard disks,it uses
boot descriptors and can load more than one sector,read 'el torito' specification for more info .
If your computer can boot from usb ,i recommend to forget cds and use usb instead.Or better boot from the hard disks ,there are boot managers
to allow booting many oses(windowsxp also has a boot manager).
Post 09 Dec 2007, 15:01
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Yes i have USB!

I prefer not to keep stuff like this on my HD.

How might one go about writing USB booter?
Post 09 Dec 2007, 20:12
View user's profile Send private message Reply with quote
Octavio



Joined: 21 Jun 2003
Posts: 366
Location: Spain
Octavio
bitshifter wrote:
Yes i have USB!

I prefer not to keep stuff like this on my HD.

How might one go about writing USB booter?

first look at the bios options for booting from usb to see wich kind of emulation it can do.
Post 09 Dec 2007, 23:08
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Im a bit lost on where to seek this information.

When i google the net, it comes up with 1685631 results...

There are just way too many pages to look at.

(Especially when your connection speed is 26.5 kbps on a good day)

Can someone throw me a link or two, or three?

Ok, thanks...
Post 10 Dec 2007, 07:46
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u
For CD booting, you just need to make a bootable floppy image, it does not matter what file sys, has long as its bootable.
Then using your CD burn software, click "make bootable" in the options, then point it to a bootable floppy image or a floppy drive, with the bootable floppy in it.
It wiil then add some bin files to the CD and now its bootable.

USB is not that easy, there no one way to boot usb, you need to try differant methods.
This may give you some pointers
http://menuet.2.forumer.com/index.php?showtopic=1112
Post 11 Dec 2007, 13:40
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
to boot from cdrom:
three times:

1 get a bootable cd
2 get a computer with cdrom drive
3 boot the computer from cdrom

Laughing
Post 12 Dec 2007, 05:06
View user's profile Send private message Visit poster's website Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo
You can make a floppy image (made from FreeDOS diskcopy, RAREAD, etc.) into a bootable .ISO via either MTOOLS or MKBISO. And Smart BootManager can (supposedly) boot from CD-ROM even if your BIOS doesn't support it.
Post 12 Dec 2007, 12:45
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4242
Location: 2018
edfed
one theory:
http://en.wikipedia.org/wiki/ISO_9660
compile an iso 9660 image wih fasm, need a macro
file.iso
burn
boot???
Post 03 Jan 2008, 00:46
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.