LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-09-2005, 08:15 AM   #1
rcainc
Member
 
Registered: Feb 2005
Posts: 36

Rep: Reputation: 15
Netinstall


Hi all,

I want to provide a apple netinstall server with my Slackware PC server to my
apple mac network
do some one know if a netinstall server exist in linux for mac ?
Thanks a lot
 
Old 07-10-2005, 01:07 AM   #2
OhMyAchingGut
Member
 
Registered: May 2004
Location: Ohio
Distribution: Slackware-current/10.1/10.0, Splack 10, Suse 9.2, NetBSD 2.0, OpenBSD 3.6, Solaris 8
Posts: 85

Rep: Reputation: 15
i've never done this, but i would imagine you're looking for either a TFTP or PXE server. Apples have something called "Openboot" which is a very full-featured BIOS. See what kind of options you've got there.
 
Old 07-12-2005, 02:41 AM   #3
Fantastic_Dan
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Well, you can do it with or without setting up a DHCP server. If you want to do it with a DHCP server, you can try to apply this (http://www.geeklan.co.uk/?p=26) to a single Slackware box. I decided to forgo DHCP because I'm just installing to one iMac (and not very often) and I already have a separate DHCP server (a router, actually). The following applies to two systems running Debian Sarge and Mac OS 10.3 under one router.

1) First you'll want to setup a TFTP server (I used the tftpd-hpa package) and an NFS server.

2) The default location for the TFTP server root on my system was /var/lib/tftpboot. It may be different on Slackware, so of course, change at will. But this directory is where we're going to put all the important files. Three files come from the Mac OS X disc (although you'll have to rename two of them) and the fourth is a simple image of the Mac OS X disc itself. So...

3) Mount the CD and copy and rename the following files into your TFTP server root:

cp /cdrom/System/Library/CoreServices/BootX /var/lib/tftpboot/BootX (not actually renamed)
cp /cdrom/mach_kernel /var/lib/tftpboot/mach.macosx
cp /cdrom/System/Library/Extensions.mkext /var/lib/tftpboot/mach.macosx.mkext

4) Unmount and make a simple image of the Mac Install CD in the TFTP server root.

dd if=/dev/hdc of=/var/lib/tftpboot/panther.img

5) For your NFS server, you'll want to modify /etc/exports (or wherever your exports file is) to include something like the following:

/var/lib/tftpboot/ mac-ip-address(ro)

where mac-ip-address is that which was assigned to the mac by the DHCP server.
6) Of course, at this point, you'll want to restart the TFTP server and NFS server.

On the Mac
7) Boot into open firmware (by holding command+option+O+F) and issue the following commands:

setenv boot-device enet:ip-address-of-linux-server,BootX
setenv boot-args rp=nfs:ip-address-of-linux-server:/var/lib/tftpboot/:panther.img
boot

Where ip-address-of-linux-server is... self-explanatory. The familiar boot up sequence should start except now you have a little spinning world as it tries to make a connection with the Linux server. You'll probably want to hold command+V while booting the Mac to see what's actually happening and to assure that the whole process went smoothly. That... should work. I hope that helped (and that I didn't forget anything)!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian NetInstall Help yourwar Debian 5 08-12-2005 12:54 AM
Debian k7 netinstall bladepdx Debian 12 03-03-2005 12:20 AM
Debian Netinstall - No X! djsmiley2k Linux - Newbie 4 02-20-2005 11:51 AM
netinstall royals1216 Debian 6 09-20-2003 03:26 PM
debian netinstall@#$% crashmeister Linux - Distributions 2 02-27-2003 03:28 AM


All times are GMT -5. The time now is 11:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration