Help!

netbooting oldworld

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Ports PowerPC RSS
Next:  Questions on pkg-perl documentation  
Author Message
Nick Schmalenberger
External


Since: Apr 08, 2007
Posts: 6



PostPosted: Thu Aug 09, 2007 9:20 am    Post subject: netbooting oldworld
Archived from groups: linux>debian>ports>powerpc (more info?)

Hi,
Is there currently any way to netboot the installer on old world?
http://wiki.debian.org/DebianInstaller/PowerPC/OldWorld/PreAlphaManualUpdates
suggests that it is possible but the installation manual doesn't have
clear instructions, section 4.6 mentioned on the wiki page doesn't
address old world, such as what boot loader to use. Could this
bootloader http://www.dialectronics.com/bootloader/ be made to work with
the debian linux initrds?
Thanks, Nick Schmalenberger


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Brad Boyer
External


Since: Jun 13, 2004
Posts: 92



PostPosted: Thu Aug 09, 2007 7:50 pm    Post subject: Re: netbooting oldworld [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, Aug 09, 2007 at 12:14:57AM -0700, Nick Schmalenberger wrote:
> Is there currently any way to netboot the installer on old world?
> http://wiki.debian.org/DebianInstaller/PowerPC/OldWorld/PreAlphaManualUpdates
> suggests that it is possible but the installation manual doesn't have
> clear instructions, section 4.6 mentioned on the wiki page doesn't
> address old world, such as what boot loader to use. Could this
> bootloader http://www.dialectronics.com/bootloader/ be made to work with
> the debian linux initrds?

I suspect the correct way to do this would be to take the kernel and
initrd from the installer and make a vmlinux.coff file out of it. This
used to be the way it was done about 10 years ago.

The kernel tree I'm checking is slightly out of date, but it should be
close enough. There is a script arch/powerpc/boot/wrapper that can
take a kernel and initrd and do the correct magic for several types of
boot wrappers. The correct platform for this case is "pmaccoff", which
will also require the hack-coff utility (source is in the same directory).
You can give that script both a vmlinux file and an initrd file and it
will produce the appropriate files you need. It may need other utilities
out of the kernel tree built, but the Makefile in that directory should
be enough to give you some hints in that area. Obviously this requires
a copy of the Linux kernel source and a compiler.

Once you have a vmlinux.coff file, you need to setup a bootp server
that will give the system an IP address and a location to download
the vmlinux.coff file. The file will need to be available on a TFTP
server. Then just get to an OF prompt on the machine and do
"boot enet:,vmlinux.coff".

Note that depending on the exact hardware there may be various bugs
that make this a painful procedure. There is a reason this isn't an
entirely supported configuration.

The NetBSD people have much better documentation for this type of
thing. If you look at their docs, they use a file called ofwboot.xcf
which is the equivalent of vmlinux.coff.

http://www.netbsd.org/ports/macppc/

Please note that I have not tried this myself and I have no idea if
it will work. I do not keep up to date with the Debian installer
development, and it is possible that a current installer will fall
over dead if used in this way. I really don't know.

Brad Boyer
flar.TakeThisOut@allandria.com


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Ports PowerPC All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum