* Re: kernel args with miboot [not found] ` <38EA7D15.C453ED94@uncc.edu> @ 2000-04-05 0:27 ` Olaf Hering 2000-04-05 5:22 ` Setting up yaboot Tim Wojtulewicz 1 sibling, 0 replies; 11+ messages in thread From: Olaf Hering @ 2000-04-05 0:27 UTC (permalink / raw) To: William H. Schultz; +Cc: linuxppc-dev On Tue, Apr 04, William H. Schultz wrote: > Maybe I'm just not as quick as everyone else, but how do you > pass kernel arguments when using miboot? I found some stuff > when I looked at the "Sytem" file with ResEdit, but it > didn't look like that's where I was supposed to put the > stuff. I also haven't found any documentation on the > bootloader. There is a resource CMDL, you can have two configurations. Just enter your stuff carefully. Documentation is available in .c fomat ;) Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Setting up yaboot [not found] ` <38EA7D15.C453ED94@uncc.edu> 2000-04-05 0:27 ` kernel args with miboot Olaf Hering @ 2000-04-05 5:22 ` Tim Wojtulewicz 2000-04-05 6:32 ` Olaf Hering 1 sibling, 1 reply; 11+ messages in thread From: Tim Wojtulewicz @ 2000-04-05 5:22 UTC (permalink / raw) To: linuxppc-dev Is there some sort of instructions to setting up yaboot? I managed to get LinuxPPC 2000 installed on my Pismo, and I'd like to actually be able to use it now. Here's how I have the partitions set up. hda9 -> 2gb MacOS partition (HFS+) hda10 -> 32mb HFS partition hda11 -> 128mb swap hda12 -> Rest of drive is linux "/" Don't ask me why the partition numbers are so high, cuz I don't know. Any help offered would be appreciated. Tim ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-05 5:22 ` Setting up yaboot Tim Wojtulewicz @ 2000-04-05 6:32 ` Olaf Hering 2000-04-05 8:34 ` Tim Wojtulewicz 0 siblings, 1 reply; 11+ messages in thread From: Olaf Hering @ 2000-04-05 6:32 UTC (permalink / raw) To: Tim Wojtulewicz; +Cc: linuxppc-dev On Tue, Apr 04, Tim Wojtulewicz wrote: > > Is there some sort of instructions to setting up yaboot? I managed to > get LinuxPPC 2000 installed on my Pismo, and I'd like to actually be able > to use it now. Here's how I have the partitions set up. There is the suseboot.hqx at ftp://ftp.suse.com/pub/suse/ppc/update/BETA/ docs are included. > hda9 -> 2gb MacOS partition (HFS+) > hda10 -> 32mb HFS partition > hda11 -> 128mb swap > hda12 -> Rest of drive is linux "/" > > Don't ask me why the partition numbers are so high, cuz I don't know. > Any help offered would be appreciated. A pdisk -l will show you many system partitions for drivers etc. 8 System Partitions is very high, yes. Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-05 6:32 ` Olaf Hering @ 2000-04-05 8:34 ` Tim Wojtulewicz 2000-04-05 12:16 ` Ethan Benson 0 siblings, 1 reply; 11+ messages in thread From: Tim Wojtulewicz @ 2000-04-05 8:34 UTC (permalink / raw) To: linuxppc-dev; +Cc: linuxppc-dev At 8:32 AM +0200 4/5/00, Olaf Hering wrote: >On Tue, Apr 04, Tim Wojtulewicz wrote: > >> >> Is there some sort of instructions to setting up yaboot? I managed to >> get LinuxPPC 2000 installed on my Pismo, and I'd like to actually be able >> to use it now. Here's how I have the partitions set up. > >There is the suseboot.hqx at >ftp://ftp.suse.com/pub/suse/ppc/update/BETA/ >docs are included. Ok, I downloaded this file and got it all copied over correctly. I edited the os-chooser script to point to what I thought were the correct drives. I must be mistaken, sinced OF doesn't seem to want to boot from the one I want. If I boot into OF, then type 'boot' at the prompt, I get the following error message: boot load-size=196 adler32=2e0879a0 DEFAULT CATCH, code=70 at %SRR0: ff80b320 %SRR1:0000b030 Here's what I have for a os-chooser script: <CHRP-BOOT> <COMPATIBLE> iMac,1 PowerMac1,1 PowerBook1,1 PowerMac2,1 PowerMac3,1 PowerBook2,1 </COMPATIBLE> <DESCRIPTION> Linux/PPC Yaboot bootloader </DESCRIPTION> <BOOT-SCRIPT> " get-key-map" " keyboard" open-dev $call-method dup 20 dump 5 + c@ 08 = if " Booting MacOS ..." cr " boot ultra0:9,\\:tbxi" eval else " Booting Yaboot ..." cr " boot ultra0:10,\\yaboot" eval then </BOOT-SCRIPT> </CHRP-BOOT> As before, my MacOS partition is #9, and my boot partition is #10. Thanks. Tim ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-05 8:34 ` Tim Wojtulewicz @ 2000-04-05 12:16 ` Ethan Benson 2000-04-06 11:37 ` Olaf Hering 0 siblings, 1 reply; 11+ messages in thread From: Ethan Benson @ 2000-04-05 12:16 UTC (permalink / raw) To: Tim Wojtulewicz; +Cc: linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 1321 bytes --] On Wed, Apr 05, 2000 at 01:34:42AM -0700, Tim Wojtulewicz wrote: > > If I boot into OF, then type 'boot' at the prompt, I get the > following error message: > > boot load-size=196 adler32=2e0879a0 > > DEFAULT CATCH, code=70 at %SRR0: ff80b320 %SRR1:0000b030 ain't OF great ;-) > Here's what I have for a os-chooser script: this probably isn't it given the above gibberish, but try adding PowerBook3,1 to the <COMPATIBLE> line below. if that does not work try loading this script directly (or just load yaboot directly) like so: boot ultra0:10,ofboot.b (or whatever its called) or boot ultra0:10,yaboot <-- this one should work if not something is really borked. > <CHRP-BOOT> > <COMPATIBLE> > iMac,1 PowerMac1,1 PowerBook1,1 PowerMac2,1 PowerMac3,1 PowerBook2,1 > </COMPATIBLE> > <DESCRIPTION> > Linux/PPC Yaboot bootloader > </DESCRIPTION> > <BOOT-SCRIPT> > " get-key-map" " keyboard" open-dev $call-method > dup 20 dump > 5 + c@ 08 = if > " Booting MacOS ..." cr " boot ultra0:9,\\:tbxi" eval > else > " Booting Yaboot ..." cr " boot ultra0:10,\\yaboot" eval > then > </BOOT-SCRIPT> > </CHRP-BOOT> > > As before, my MacOS partition is #9, and my boot partition is #10. > > Thanks. > > Tim > > -- Ethan Benson http://www.alaska.net/~erbenson/ [-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-05 12:16 ` Ethan Benson @ 2000-04-06 11:37 ` Olaf Hering 2000-04-06 12:34 ` Ethan Benson 2000-04-06 13:23 ` Mark Steer 0 siblings, 2 replies; 11+ messages in thread From: Olaf Hering @ 2000-04-06 11:37 UTC (permalink / raw) To: Ethan Benson; +Cc: Tim Wojtulewicz, linuxppc-dev On Wed, Apr 05, Ethan Benson wrote: > On Wed, Apr 05, 2000 at 01:34:42AM -0700, Tim Wojtulewicz wrote: > > > > If I boot into OF, then type 'boot' at the prompt, I get the > > following error message: > > > > boot load-size=196 adler32=2e0879a0 > > > > DEFAULT CATCH, code=70 at %SRR0: ff80b320 %SRR1:0000b030 > > ain't OF great ;-) > > > Here's what I have for a os-chooser script: > > this probably isn't it given the above gibberish, but try adding > PowerBook3,1 to the <COMPATIBLE> line below. This is exactly the question I had now, so it seems we all have to update the os-chooser script and add PowerBook3,1 to it. I will update the suseboot.hqx today, it includes more funny AppleScript files for automate the setup process. SCSI Booting is still an issue, the only way is to boot directly into yaboot. It works here on many differnt machines. Why should ELF loading not work? boot hd:9,\\yaboot in the os-chooser script should be the same like hd:9,\\yaboot in boot-device for the OF. Yes, there is macboot on newer machine, I had no problems so far. Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-06 11:37 ` Olaf Hering @ 2000-04-06 12:34 ` Ethan Benson 2000-04-06 12:41 ` Olaf Hering 2000-04-06 13:23 ` Mark Steer 1 sibling, 1 reply; 11+ messages in thread From: Ethan Benson @ 2000-04-06 12:34 UTC (permalink / raw) To: Olaf Hering; +Cc: Tim Wojtulewicz, linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 1807 bytes --] On Thu, Apr 06, 2000 at 01:37:06PM +0200, Olaf Hering wrote: > > This is exactly the question I had now, so it seems we all have to > update the os-chooser script and add PowerBook3,1 to it. yup, ben made be aware of this recently.. it might be possible to do away with that part altogether but that would mean alot of testing, that i can't really do. > I will update the suseboot.hqx today, it includes more funny AppleScript > files for automate the setup process. SCSI Booting is still an issue, > the only way is to boot directly into yaboot. It works here on many > differnt machines. > Why should ELF loading not work? elf booting works so long as you don't try to call the yaboot file by its type (hd:,\\:tbxi) for some bizzare reason OF barfs if a tbxi file is not a CHRP script. just for kicks go open a MacOSROM file in a text editor to see how they worked around this. (about 80 lines of nasty Forth code) > boot hd:9,\\yaboot in the os-chooser script should be the same like > hd:9,\\yaboot in boot-device for the OF. yup, but the fact is people hate screwing with OF, so if i use a CHRP wrapper they should be able to zap OF to its default settings and still have it automagically boot into the yaboot menu. (if they followed my recommendations for how to setup the bootstrap partition) your failure occured when OF tried to load the CHRP script, not yaboot. i would think it would output a less obfuscated error then that if the COMPATIBLE tag was wrong... > Yes, there is macboot on newer machine, I had no problems so far. mac-boot works the same as boot, the only difference is it searches for bootable partitions like the old hardware ROMs did. but it trys to load blah:,\\:tbxi -- Ethan Benson http://www.alaska.net/~erbenson/ [-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-06 12:34 ` Ethan Benson @ 2000-04-06 12:41 ` Olaf Hering 0 siblings, 0 replies; 11+ messages in thread From: Olaf Hering @ 2000-04-06 12:41 UTC (permalink / raw) To: Ethan Benson; +Cc: linuxppc-dev On Thu, Apr 06, Ethan Benson wrote: > On Thu, Apr 06, 2000 at 01:37:06PM +0200, Olaf Hering wrote: > > I will update the suseboot.hqx today, it includes more funny AppleScript > > files for automate the setup process. SCSI Booting is still an issue, > > the only way is to boot directly into yaboot. It works here on many > > differnt machines. > > Why should ELF loading not work? > > elf booting works so long as you don't try to call the yaboot file by > its type (hd:,\\:tbxi) for some bizzare reason OF barfs if a tbxi file > is not a CHRP script. just for kicks go open a MacOSROM file in a > text editor to see how they worked around this. (about 80 lines of > nasty Forth code) Ok, our os-chooser looks like hd:9,\\yaboot and this way it works. Gruss Olaf -- $ man 1 current_release BUGS Users never read manuals... ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-06 11:37 ` Olaf Hering 2000-04-06 12:34 ` Ethan Benson @ 2000-04-06 13:23 ` Mark Steer 2000-04-06 13:40 ` Ethan Benson 1 sibling, 1 reply; 11+ messages in thread From: Mark Steer @ 2000-04-06 13:23 UTC (permalink / raw) To: Olaf Hering, Ethan Benson; +Cc: Tim Wojtulewicz, linuxppc-dev on 6/4/2000 12:37 pm, Olaf Hering at olh@suse.de wrote: > > On Wed, Apr 05, Ethan Benson wrote: > >> On Wed, Apr 05, 2000 at 01:34:42AM -0700, Tim Wojtulewicz wrote: >>> >>> If I boot into OF, then type 'boot' at the prompt, I get the >>> following error message: >>> >>> boot load-size=196 adler32=2e0879a0 >>> >>> DEFAULT CATCH, code=70 at %SRR0: ff80b320 %SRR1:0000b030 >> >> ain't OF great ;-) >> >>> Here's what I have for a os-chooser script: >> >> this probably isn't it given the above gibberish, but try adding >> PowerBook3,1 to the <COMPATIBLE> line below. > > This is exactly the question I had now, so it seems we all have to > update the os-chooser script and add PowerBook3,1 to it. > > I will update the suseboot.hqx today, it includes more funny AppleScript > files for automate the setup process. SCSI Booting is still an issue, > the only way is to boot directly into yaboot. It works here on many > differnt machines. > Why should ELF loading not work? > > boot hd:9,\\yaboot in the os-chooser script should be the same like > hd:9,\\yaboot in boot-device for the OF. > > Yes, there is macboot on newer machine, I had no problems so far. > > Gruss Olaf I've recently setup my new Pismo/400 with Linux and, as of this morning, Darwin 1.0 and I think I'm going to require a hard drive upgrade about 6 months sooner than I'd planned for... I can confirm that you do need to add the PowerBook3,1 line into the <COMPATIBLE> section before the Pismo will use the os chooser script correctly. One thing I noticed, at least with this machine, is that the line:- boot hd:10,\\yaboot will fail unless I rewrite it as:- boot hd:10,yaboot This is the first new world machine that I have setup with Linux so I don't know if this is right for others or if my configuration may be different. I'm going to be upgrading :-) an iMac DV with Linux this afternoon so I'll report back what that one does with regard to the os chooser script. Now I'm off to try and rewrite the script so that I can choose Darwin as well... Regards, Mark Steer. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-06 13:23 ` Mark Steer @ 2000-04-06 13:40 ` Ethan Benson 2000-04-06 14:27 ` Mark Steer 0 siblings, 1 reply; 11+ messages in thread From: Ethan Benson @ 2000-04-06 13:40 UTC (permalink / raw) To: Mark Steer; +Cc: Olaf Hering, Tim Wojtulewicz, linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 1888 bytes --] On Thu, Apr 06, 2000 at 02:23:38PM +0100, Mark Steer wrote: > I've recently setup my new Pismo/400 with Linux and, as of this morning, > Darwin 1.0 and I think I'm going to require a hard drive upgrade about 6 > months sooner than I'd planned for... ;-) > I can confirm that you do need to add the PowerBook3,1 line into the > <COMPATIBLE> section before the Pismo will use the os chooser script > correctly. thought so... > One thing I noticed, at least with this machine, is that the line:- > > boot hd:10,\\yaboot > > will fail unless I rewrite it as:- > > boot hd:10,yaboot that line means boot yaboot from the root directory, certianly the most reliable method i have found other then hd:,\\:tbxi (which only works on CHRP scripts with a properly blessed directory) the first notation means to load the file from the blessed directory, which if there isn't one will fail. macos tends to remove the blessing from non-macos directories. > This is the first new world machine that I have setup with Linux so I don't > know if this is right for others or if my configuration may be different. > I'm going to be upgrading :-) an iMac DV with Linux this afternoon so I'll > report back what that one does with regard to the os chooser script. > > Now I'm off to try and rewrite the script so that I can choose Darwin as > well... does darwin still use UFS or ffs for its default filesystem? if so it probably uses a bootstrap partition of type Apple_Bootstrap or Apple_BootROM setup pretty much the same way i advocate (that is where i got the idea, from OSX server) if it does still use this partition you should be able to add a reference to it like so: hd:6,\\:tbxi to your chooser script. where 6 is the real partition number of the darwin bootstrap partition. -- Ethan Benson http://www.alaska.net/~erbenson/ [-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Setting up yaboot 2000-04-06 13:40 ` Ethan Benson @ 2000-04-06 14:27 ` Mark Steer 0 siblings, 0 replies; 11+ messages in thread From: Mark Steer @ 2000-04-06 14:27 UTC (permalink / raw) To: Ethan Benson; +Cc: Olaf Hering, linuxppc-dev on 6/4/2000 2:40 pm, Ethan Benson at erbenson@alaska.net wrote: > On Thu, Apr 06, 2000 at 02:23:38PM +0100, Mark Steer wrote: > >> I've recently setup my new Pismo/400 with Linux and, as of this morning, >> Darwin 1.0 and I think I'm going to require a hard drive upgrade about 6 >> months sooner than I'd planned for... > > ;-) > >> I can confirm that you do need to add the PowerBook3,1 line into the >> <COMPATIBLE> section before the Pismo will use the os chooser script >> correctly. > > thought so... > >> One thing I noticed, at least with this machine, is that the line:- >> >> boot hd:10,\\yaboot >> >> will fail unless I rewrite it as:- >> >> boot hd:10,yaboot > > that line means boot yaboot from the root directory, certianly the > most reliable method i have found other then hd:,\\:tbxi (which only > works on CHRP scripts with a properly blessed directory) > > the first notation means to load the file from the blessed directory, > which if there isn't one will fail. macos tends to remove the > blessing from non-macos directories. > Ah! thank you, that clears it up. I haven't bothered to set a system folder on my HFS exchange disk. [Thanks also to BenH for that information.] >> This is the first new world machine that I have setup with Linux so I don't >> know if this is right for others or if my configuration may be different. >> I'm going to be upgrading :-) an iMac DV with Linux this afternoon so I'll >> report back what that one does with regard to the os chooser script. >> >> Now I'm off to try and rewrite the script so that I can choose Darwin as >> well... > > does darwin still use UFS or ffs for its default filesystem? The Darwin binary that I downloaded installs onto an HFS+ volume from an image (darwin.img) using the Apple Software Restore utility. In my case the supplied version of the Software Restore utility failed each time it was started(error: can't locate HID, I think) and I had to use the one that came with my system restore CD. > if so it probably uses a bootstrap partition of type Apple_Bootstrap or > Apple_BootROM setup pretty much the same way i advocate (that is where > i got the idea, from OSX server) if it does still use this partition > you should be able to add a reference to it like so: > > hd:6,\\:tbxi > > to your chooser script. where 6 is the real partition number of the > darwin bootstrap partition. Yes, that's it. The System Disk utility (version 3 is supplied) showed me the info that it writes into OF, giving me enough info to modify the script. In my case hd:13,\\:tbxi I think that's just too many partitions :-) Regards, Mark Steer. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2000-04-06 14:27 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200004040459.XAA03713@lists.linuxppc.org>
[not found] ` <38EA7D15.C453ED94@uncc.edu>
2000-04-05 0:27 ` kernel args with miboot Olaf Hering
2000-04-05 5:22 ` Setting up yaboot Tim Wojtulewicz
2000-04-05 6:32 ` Olaf Hering
2000-04-05 8:34 ` Tim Wojtulewicz
2000-04-05 12:16 ` Ethan Benson
2000-04-06 11:37 ` Olaf Hering
2000-04-06 12:34 ` Ethan Benson
2000-04-06 12:41 ` Olaf Hering
2000-04-06 13:23 ` Mark Steer
2000-04-06 13:40 ` Ethan Benson
2000-04-06 14:27 ` Mark Steer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).