Questions on tools.

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Griallia
Posts: 5
Joined: Mon Sep 08, 2008 3:45 pm

Questions on tools.

Post by Griallia »

Well, before I get flamed for not looking on the wiki...

All the tutorials I found was only on putting the OS onto a Floppy drive...
I got NASM, my Assembler of choice.
I'm looking for an Emulator too, but found that they all use floppy images.

Long story short. I'm on a laptop, with no clue on how to create blank floppy images, and would like to find a way to stick this stuff onto a CD.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Questions on tools.

Post by Brynet-Inc »

Griallia wrote:Well, before I get flamed for not looking on the wiki...

All the tutorials I found was only on putting the OS onto a Floppy drive...
I got NASM, my Assembler of choice.
I'm looking for an Emulator too, but found that they all use floppy images.

Long story short. I'm on a laptop, with no clue on how to create blank floppy images, and would like to find a way to stick this stuff onto a CD.
I struggled to find the question in your question... ;)

All available emulators, QEMU/bochs.. and even the proprietary ones, support El Torito ISO images.

As for creating disk images, this is also on the Wiki.. utilities are available on almost every operating system.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Re: Questions on tools.

Post by Alboin »

I would suggest using a floppy until you actually need the space that a CD offers. Floppies make one's life simpler, and, when you're doing osdev, that's something you'll long for. ;)

Your best bet, as previously said, is to check the wiki.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Questions on tools.

Post by bewing »

But he doesn't HAVE a floppy -- that was his point. He would have to use a floppy image in an emulator. Which is silly, when you can use a hard disk image just as well.

My preference is -- if you have the ability to do it -- to create one more tiny partition on your laptop HD, and then put a dual booting MBR in your main partition. Then you can do all your OS development for real on the tiny partition. If you are using a *NIX, you can use that partition inside an emulator, equally well.
Griallia
Posts: 5
Joined: Mon Sep 08, 2008 3:45 pm

Re: Questions on tools.

Post by Griallia »

Thanks.

*sigh* I guess I'm going to have to read all of that crap in the end. lol. Even though that was still a google away.
brickhead20
Member
Member
Posts: 38
Joined: Mon Mar 24, 2008 4:17 pm

Re: Questions on tools.

Post by brickhead20 »

It is perhaps easiest to use GRUB with a CD. If you get yourself the stage2_eltorito file, and follow the instructions in the GRUB manual, bootable CD's are easy. You can also use them with for example qemu, by using the -cdrom image.iso flags to load the iso image as an emulated CD-ROM. Then if you want to test it "for real" you can burn it to a real CD. Of course to read it you need to develop an ISO filesystem etc. but its fine to start with.

Hope that helps,
Richard
Griallia
Posts: 5
Joined: Mon Sep 08, 2008 3:45 pm

Re: Questions on tools.

Post by Griallia »

I decided to take on the odds.

Making my own boot.img, turns out, after reading the El Torito stuff like I should have, a week ago... It solved every single problem I have.

Now I feel like bashing my head into my monitor for being an idiot. But of course, lets save that when I get to the kernel debugging. lol.
Post Reply