Skip to contentSkip to conversation

Example miboot on new world rom problem

DISCUSSION [email protected] 3 participants 5 messages Nov 9, 2000 – Nov 11, 2000 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 13 lines
Quoted 13 lines

Some new ibook I think. I get the same behavior on the iMac DV. Startup disk doesn't change the boot-device value on there. Instead, it loads the first TBXI file from the first HFS partition it finds. Then the MacOS ROM finds out that "LinuxPPC Boot" is the name of the partition to boot and then continues...

Thus miboot is loaded on a new world rom machine.

This is the reason I think either:

1) yaboot needs the code from pmac_support.c (aka SetPRAMBoot )

Quoted 7 lines
Quoted 1 line

2) We'll have to write a new startup disk control panel( like system disk)

Whatever you do with SetPRAMBoot won't help since miBoot won't boot reliably the new machines. The problem is to have MacOS Startup Disk properly set boot to the yaboot image... I beleive you checked that you have the proper <COMPATIBLE> entries for those new machines in the OF boot script ? (tbxi should be a script that in turns load yaboot, look at ybin scripts).

Yes I need to look at the ybin script again. However, this doesn't fix the problem of miBoot running on New World ROM machines and also does not provide a solution to the problem either. The problem that the guy was having with his ibook and I have with the iMac DV. The only way that this guy is left to boot yaboot is to go into OF and do:

boot hd:9,\\:tbxi

The functionality of SetPRAMBoot(by that I mean the ability to do what startup disk does) needs to be added to yaboot not for the reasons I stated earlier. So I was wrong about the reasons I stated in the last email. Sorry about that... this all can be rather convoluted! This functionality needs to be there if yaboot is to ever allow users to select thier MacOS boot partitions.

In the other case, miBoot needs to have the ability to change the boot-device if it detects that it is running on a New World ROM machine. Maybe Harry Eaton or Mike Tesch are still around and can help grok bootvars code to add to miboot?

Jeff

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 2 lines · On 9 Nov, [email protected] wrote:

The functionality of SetPRAMBoot(by that I mean the ability to do what startup disk does) needs to be added to yaboot not for the reasons I

'functionality'... has anyone tested/written new code SPB for other systems yet?

also must remember to add the bootvars/nvsetenv/ybin functionality for the OF settings too. Darwin seems to have its own System Disk program that has XPRAM and OF covered.. except the pram part. If that project is open, might we want to try some code sharing? Or does Apple own it? Or might Apple be willing to share 9's Startup Disk info...

--
Joseph P. Garcia
http://www.execpc.com/~jpgarcia

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
In reply to [email protected]
Quoted 5 lines · On Thu, Nov 09, 2000 at 11:12:09AM -0600, [email protected] wrote:

Yes I need to look at the ybin script again. However, this doesn't fix the problem of miBoot running on New World ROM machines and also does not provide a solution to the problem either. The problem that the guy was having with his ibook and I have with the iMac DV. The only way that this guy is left to boot yaboot is to go into OF and do:

setup a 800K Apple_Bootstrap partition where the newworld bootstrap is installed, that will solve your problem. if you put it first you don't need to do anything to OpenFirmwares configuration, just reset it to defaults.

Quoted 4 lines

boot hd:9,\\:tbxi

The functionality of SetPRAMBoot(by that I mean the ability to do what startup disk does) needs to be added to yaboot not for the reasons I

huh? i don't see why. recent ybin creates a nice boot menu that takes care of loading macos just fine without any of this StartupDisk garbage.

Quoted 4 lines

stated earlier. So I was wrong about the reasons I stated in the last email. Sorry about that... this all can be rather convoluted! This functionality needs to be there if yaboot is to ever allow users to select thier MacOS boot partitions.

making yaboot load macos would be non-trivial. however with current ybin versions you can add `macos=/dev/hda10' to /etc/yaboot.conf and ybin will build a menu that is displayed on bootup. works very nicely.

Quoted 4 lines

In the other case, miBoot needs to have the ability to change the boot-device if it detects that it is running on a New World ROM machine. Maybe Harry Eaton or Mike Tesch are still around and can help grok bootvars code to add to miboot?

miboot needs alot of things... simplest way to deal with this is don't install miboot on a newworld! we don't install lilo on sparcs or silo on x86 boxes afterall.

Signature · 2 lines
Ethan Benson
http://www.alaska.net/~erbenson/
#4 lore raw
Quoted 5 lines

setup a 800K Apple_Bootstrap partition where the newworld bootstrap is installed, that will solve your problem. if you put it first you don't need to do anything to OpenFirmwares configuration, just reset it to defaults.

Ok. That sounds workable. Is that what OSX does also? If so, will it conflict?

Quoted 1 line

making yaboot load macos would be non-trivial. however with current

True!

Quoted 8 lines
Quoted 4 lines

In the other case, miBoot needs to have the ability to change the boot-device if it detects that it is running on a New World ROM machine. Maybe Harry Eaton or Mike Tesch are still around and can help grok bootvars code to add to miboot?

miboot needs alot of things... simplest way to deal with this is don't install miboot on a newworld! we don't install lilo on sparcs or silo on x86 boxes afterall.

Well, I think that the macos will not like the system folder unless it has a system file. But whatever we put in the system folder as the system file, we will still have the problem we were having:

Anyone that has a partition visable to the macos and trys to boot off of it will still get miboot. And, I think, It will be hard to get people not to expect that to work.
Jeff

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw
Quoted 7 lines · On Fri, Nov 10, 2000 at 04:53:32PM -0600, [email protected] wrote:
Quoted 4 lines

setup a 800K Apple_Bootstrap partition where the newworld bootstrap is installed, that will solve your problem. if you put it first you don't need to do anything to OpenFirmwares configuration, just reset it to defaults.

Ok. That sounds workable. Is that what OSX does also? If so, will it conflict?

when OSX is installed on an OldWorld or with UFS filesystems it creates two bootstrap partitions, the first being Apple_Boot the second being Apple_Secondary or something close to that. since i have been using Apple_Bootstrap OSX appears to ignore ours. (the installer does sometimes reorder all the partitions around to put its own first, which is annoying since it hoses /etc/fstab among other things. its fixable with mac-fdisk though i added explanation on how to my mac-fdisk doc)

Quoted 6 lines
Quoted 3 lines

miboot needs alot of things... simplest way to deal with this is don't install miboot on a newworld! we don't install lilo on sparcs or silo on x86 boxes afterall.

Well, I think that the macos will not like the system folder unless it has a system file. But whatever we put in the system folder as the system

the MacOS does not like fake system folders of any kind, even these fake ones you create are being deblessed and thus made unbootable by MacOS very regularly. i have a large mailbox of users asking me what to do about this, i always tell them to change the partition type of thier bootstrap partition to Apple_Bootstrap so MacOS can't see it anymore. that is the only solution that works 100%

Quoted 6 lines

file, we will still have the problem we were having:

Anyone that has a partition visable to the macos and trys to boot off of it will still get miboot. And, I think, It will be hard to get people not to expect that to work.
Jeff

thats why you don't install miboot on a newworld ;-)

Signature · 2 lines
Ethan Benson
http://www.alaska.net/~erbenson/