[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NewWorld CD Booting?
From: |
Andrei Warkentin |
Subject: |
NewWorld CD Booting? |
Date: |
Tue, 14 Mar 2006 22:43:26 -0600 |
Hello,
I really don't know who else to approach with this, and this is
(potentially) GRUB 2 related (if/when GRUB2 boots from CD). Basically
I hack away at my "kernel attempt" on a an '05 iBook (dev system is
10.4), and decided to look into making a bootable CD so I could use
QEMU PPC emulator instead of rebooting to test after every compile.
I created the bootinfo file (like this):
<CHRP-BOOT>
<COMPATIBLE>
MacRISC MacRISC3 MacRISC4
</COMPATIBLE>
<DESCRIPTION>
EKP++ for Mac.
</DESCRIPTION>
<BOOT-SCRIPT>
boot cd:,\ekp++\kernel
</BOOT-SCRIPT>
</CHRP-BOOT>
Created an HFS+ filesystem, blessed the right folder. Basically OF
considers the made CD a "bootable CD". Moreover, I can boot
everything fine if I do something like...
boot cd:,\ekp++\BootX <--- note that BootX is what bless(8) copies
my bootinfo script as to the image. This is just behaviour on the
part of the Darwin bless(8) command. By "everything fine", I mean I
get the gray screen, then it says "Booting ELF" and I see the text
printed by my "kernel".
If I boot up while holding "C", I get the gray screen, I can hear the
CDROM spin up, then I get kicked back to the white and black OF
screen and there is an error about memory access violation.
Is there some technical difference between both boot-ups? Maybe the
OF entry is passed differently? Maybe stdout handle isn't open? Help :(.
Andrei Evgenievich Warkentin
address@hidden
Cell: (+1) (847) 321-15-55
- NewWorld CD Booting?,
Andrei Warkentin <=