List Info

Thread: Re: PowerMac 7300/200 boot problems (current)




Re: PowerMac 7300/200 boot problems (current)
country flaguser name
United States
2007-07-19 22:36:38
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 19, 2007, at 23:06, Sampson Stein wrote:

> +++ Michael Lorenz [freebsd] [19/07/07 14:26 -0400]:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello,
>>
>> On Jul 19, 2007, at 14:02, Sampson Stein wrote:
>>
>>> I want to use that obj dir whilst building on
the FreeBSD machine, 
>>> but wouldnt using '-O /usr/netbsd/obj' to
build.sh result in paths 
>>> being screwed up when installing from the mac?
>>
>> No. obj is for .o files and similar stuff, the
actual userland you're 
>> building will show up in whatever dir you passed as
destination using 
>> - -D
>>
>>> Also, how should I upgrade the userland and
such on the mac.. the 
>>> kernel, I just copied it... but I'm guessing if
I did all the 
>>> building on the freebsd, I could use build.sh
to install too 
>>> correct?
>>
>> Yes, but I usually prefer building tarballs (
build.sh sets, they'll 
>> show up in whatever you passed as release dir -R )
- tar xpzf 
>> base.tgz etc., then run 'postinstall fix' to get
rid of obsolete 
>> files an such ( make sure /usr.src points at your
sources or 
>> postinstall won't work )
>> With tarballs you can build everything on FreeBSD
and just unpack on 
>> the Mac.
>
> By /usr.src did you mean /usr/src?

Yes. I'm fluent in typo :p

> Also, should be unpacking these tarballs to /? like...
`cd /; tar xpzf 
> /path/to/tarballs/tarball.tgz; postinstall fix'
> correct?

Exactly. the p option is important so file permissions and
ownership 
will be restored correctly - without that you'd end up with
- for 
instance - a /usr/bin/su without suid bit set which
therefore wouldn't 
work.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRqAtxspnzkX8Yg2nAQJY+gf/X3abALn6MzYYC8mhKJ84tjRnveXX
rUHp
/8CQnSb5jjvNrBGxo2+4GMtZGiFys89EBprEup0CBCp6DrB3008RbKk/CdPA
okKI
aac7moPSXnJTg/iIFpWL332Q0oLVraxSfGWEaaZXYFcVlM76lSnmmEuvrxcm
com1
9mzt3kGwsqtkftCMaNd/kFsFrEdm2Bj1k96LZ19csnM681oCLPFAbYyjwP5i
GKpR
PckvRAL/H3n+CWf/4s16ZhvNdfGErdLoOmI9vx3ATir/X2uTbFTAL3NZazci
8ZQ+
rfS6FjVXKUHp5znn3/GJ38YknHxu/JnvSVU4C33kCzD50DljkeuD+Q==
=DtE0
-----END PGP SIGNATURE-----


RE: PowerMac 7300/200 boot problems (current)
user name
2007-07-20 02:20:02
 
> -----Original Message-----
> From: port-macppc-ownerNetBSD.org 


> >>
> >>> Also, how should I upgrade the userland
and such on the mac.. the 
> >>> kernel, I just copied it... but I'm
guessing if I did all the 
> >>> building on the freebsd, I could use
build.sh to install too 
> >>> correct?
> >>

I used
build.sh -U -u tools 
build.sh -U -u distribution
build.sh -U -u kernel=MYKERNEL
build.sh -U -u sets
Then I copied MYKERNEL to /netbsd
Then rebooted 
build.sh install=/
Then run postfix

And this worked for me

You may want to check out http://
www.netbsd.org/docs/current/index.html

The main benefit of build.sh approach is in its capability
of easy crosscompiling.
I used i386 machine running NetBSD to build macppc, hp700
vax and prep ports with no problems

 

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )