Page 1 of 1

Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 7:53 pm
by Nick Carlson
Hi,

I'm following the bare bones tutorial located Here. Here is a screenshot of my output. I get this useing both Bochs and Vmware.
Q Screenshot 1.png
Q Screenshot 1.png (7.58 KiB) Viewed 1336 times
I'm able to get the "A" to be displayed if I use QEMU and just the floppy image. However, I'm trying to get the kernel to boot using a cd image. I used this command:

Code: Select all

mkisofs -o mybootcd.iso -no-emul-boot -boot-load-size 4 -A MyOSName -b floppy.img cdcontents
I originally tried just this:

Code: Select all

mkisofs -o mybootcd.iso -A MyOSName -b floppy.img cdcontents
...but I received this error: "Size of boot image is 212 sectors -> mkisofs: Error - boot image 'cdcontents/floppy.img' has not an allowable size."

Any idea on what I'm doing wrong?

Thank you.

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 9:25 pm
by Nick Carlson
Nevermind.

I found a different plan of attack for a workflow.

I'm using Q, textmate, and nasm under leopard.

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 11:23 pm
by Alboin
"Nevermind"

Does that mean your OS is now happily booting off of a semi-happy* ISO image? Does that mean I should not have minded your post to begin with? -- Never -- What does that even mean? What is 'never'? How can we mere humans know what should not ever be? In fact, how can we even use that term considering that in its usage it implies that something should not be yet it is? Oh how the muses speak and foretell a strange fortune of this word!

So, yeah. Good Luck with your OS! (Considering my assumption is correct that you have, indeed, corrected your error.)

*Everyone knows that ISO images are always on the sad side. I mean, when they work fine they are as happy as can be, but that in itself it somewhat below the normal standard of, say, a floppy disk. I can hear you asking. Why? Well, I'll tell you. You see, ISO images are never actually CD's at any point in their lives. They're always the same. Once they're burned to a CD, they are not CD's, but still ISO images. The CD's steal their thunder and copy them like some terrible Van Gogh Copycat. You see? Their work is never acknowledged. No one ever says "I love the ISO image that this CD was burned from." No, never. Only, "I love this CD". You see their issues now, right? A terrible tale of hatred and discrimination it is.

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 11:30 pm
by piranha
*Everyone knows that ISO images are always on the sad side. I mean, when they work fine they are as happy as can be, but that in itself it somewhat below the normal standard of, say, a floppy disk. I can hear you asking. Why? Well, I'll tell you. You see, ISO images are never actually CD's at any point in their lives. They're always the same. Once they're burned to a CD, they are not CD's, but still ISO images. The CD's steal their thunder and copy them like some terrible Van Gogh Copycat. You see? Their work is never acknowledged. No one ever says "I love the ISO image that this CD was burned from." No, never. Only, "I love this CD". You see their issues now, right? A terrible tale of hatred and discrimination it is.
I'll join the ILM (ISO Liberation Movement)

-JL

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 11:32 pm
by Nick Carlson
You're right. My ISO developed a complex, thus failing to perform #-o .

No, I didn't solve my ISO issue. My emulator didn't support floppy images, so I needed to make a cd image. But, I found an emulator that does support floppy images. So I'm using that now.

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Thu Jul 03, 2008 11:39 pm
by Alboin
So I'm using that now.
That's relativity an awesome revelation right there now. Floppies are a bit 'friendlier' than CD's anyway.

Oh, and, yes, the ILM will be meeting every 5th Tuesday of every month in Reykjavik. I won't be there, but you're more than welcome to. ;)

Re: Problem with BareBones tutorial (Hangs at 'GRUB')

Posted: Fri Jul 04, 2008 1:32 am
by Nick Carlson
Viva La RevoluciĆ³n!