Problem with BareBones tutorial (Hangs at 'GRUB')

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
User avatar
Nick Carlson
Posts: 18
Joined: Fri Feb 29, 2008 6:08 pm

Problem with BareBones tutorial (Hangs at 'GRUB')

Post 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 1331 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.
User avatar
Nick Carlson
Posts: 18
Joined: Fri Feb 29, 2008 6:08 pm

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

Post by Nick Carlson »

Nevermind.

I found a different plan of attack for a workflow.

I'm using Q, textmate, and nasm under leopard.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

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

Post 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.
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

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

Post 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
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Nick Carlson
Posts: 18
Joined: Fri Feb 29, 2008 6:08 pm

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

Post 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.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

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

Post 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. ;)
C8H10N4O2 | #446691 | Trust the nodes.
User avatar
Nick Carlson
Posts: 18
Joined: Fri Feb 29, 2008 6:08 pm

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

Post by Nick Carlson »

Viva La Revolución!
Post Reply