Subject: Re: Apple UFS support and swap partition
To: Rob Newberry <robthedude@mac.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 03/18/2005 19:50:00
--Signature=_Fri__18_Mar_2005_19_50_00_-0500_pNPD0D0R0f/FRquY
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hello,
> 1) Does NetBSD REQUIRE a swap partition?
Not really, but some programs ( like gcc ) feel uncomfortable without one. For instance I couldn't build QT3 on an iBook G4 with 640MB RAM without a swap partition. It built successfully on other machines where RAM+swap was less than 640MB.
> 2) What's the state of Apple UFS support in NetBSD-2.0 and/or later?
> I'm trying to use NetBSD-2.0, and I'd like to keep doing that, as
> binaries are available...
Works just fine for me - my iBook G4 has NetBSD installed in an Apple UFS partition.
> and the NetBSD kernel loads.
>
> Unfortunately, at the end of the process, I get stuck with the
> following repeating sequence:
>
> cannot mount root, error = 69
> root device (default wd0a)
> dump device (default wd0b)
>
> I don't know what it's doing here.
Well known problem. You need to hard-code the root device into your kernel, change your kernel config like this and roll your own:
# Kernel root file system and dump configuration.
config netbsd root on wd0g type ffs
wd0g is hd:7 here, for you it will be a different device, obviously ;)
> Is it possible to boot from an Apple UFS partition, without a swap
> partition? Can this be made to work?
Definitely yes.
have fun
Michael
--Signature=_Fri__18_Mar_2005_19_50_00_-0500_pNPD0D0R0f/FRquY
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
iQEVAwUBQjt3OMpnzkX8Yg2nAQJSTggAtVRQc6ctGIXYe6voworkcnvZfjI8SjyS
58ICcuYXUaz6TyIJuiIqdvx53rGHLtMGUFC3d9qLqSpY/rdsZQ08ZPNZcjEzW1l9
6HCqf1Fa5cGSlVbUFqCUJtU56wTqkgullPax+ilI7Cx8qcP46U83I4JJH2qBYpZ2
WiqhPIb1VZcaML4Dix1dTNfprfvfAg+xZJyqmzW7rrqNRCDeSRFCZWtMIBYyPgEi
YgxoEJi2RvUTGKIGbnJXZTUBjV9nFEy4sg4+DmZehyhxKT6mG+24qnmyJnYxwwYO
w7kRGHUEaLYj4DUqDSH0FvYVsQOzFa2FxZVZc/NqXL2mrKciyT+E0Q==
=bT6S
-----END PGP SIGNATURE-----
--Signature=_Fri__18_Mar_2005_19_50_00_-0500_pNPD0D0R0f/FRquY--