Re: Installing Debian from NFS

2011-02-17 Thread Martin Habets
On Wed, Feb 02, 2011 at 01:49:47PM -0500, RR wrote:
 Hello,
 
 this may be a very obvious one of those things that I should just  Google
 but given my last experience, and unsuccessful Googling, I figured maybe I
 should ask the community as to what the CORRECT way to install Debian on a
 Sun machine such that it uses the ISO/Distribution on my local NFS server as
 opposed to just picking up the boot.img and then have the rest of it be
 downloaded from the Internet. I have a LOT of SUN machines to install and
 it'd be cool if I can just install them off the distro on the nfs server.
 
 The way my boot server is setup is, that it has tftp, /etc/ethers and
 /etc/hosts files all setup.

You'll also need either bootparamd or dhcpd set up.

 I have the boot.img from Debian Lenny for sparc
 in /tftpboot and also have the hex and decimal/AF_INET format of the
 intended IP Address soft-linked to this boot.img in the /tftpboot directory
 i.e. 0A01030B - boot.img.

I've go this as 
C0A8000F.SUN4M - sparcroot/boot/tftpboot.img
The debug log of the daemons above will tell you exactly whan name the SUN
machine is looking for.

 I also have the entire debian-DVD-lenny.iso
 available and is mounted on /mnt/iso by way of lofiadm so that /mnt/iso has
 the contents of the ISO and not the bundled iso image.
 
 Now, how do I tell the installer to go pick it up from there? I have done a
 bit of research and all I see everywhere is mentions of some file called
 root.tar.gz and debian-installer and what not...but I can't figure out where
 do I get that from.
 
 I have tried:
 ok boot net

Should be enough to get thing started.
I hope it prints out that it's trying to in touch with a bootp server.

Martin

 and
 
 ok boot net - install nfsroot=10.1.3.1:/mnt/iso
 
 and
 
 ok boot net install
 
 Any one wish to comment?
 
 Thanks so much
 \RR


-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110217231243.GB24381@palantir8



Re: Installing Debian from NFS

2011-02-17 Thread RR
On Thu, Feb 17, 2011 at 6:12 PM, Martin Habets 
errandir_n...@mph.eclipse.co.uk wrote:

  The way my boot server is setup is, that it has tftp, /etc/ethers and
  /etc/hosts files all setup.

 You'll also need either bootparamd or dhcpd set up.


I don't believe that's required by Debian. Bootparamd is required by Solaris
for a jumpstart. Also, I have installed Debian previously over the network
without a DHCPd running, purely using rarp and then assigning a manual IP
address which is what I needed to assign to it anyway



  I have the boot.img from Debian Lenny for sparc
  in /tftpboot and also have the hex and decimal/AF_INET format of the
  intended IP Address soft-linked to this boot.img in the /tftpboot
 directory
  i.e. 0A01030B - boot.img.

 I've go this as
 C0A8000F.SUN4M - sparcroot/boot/tftpboot.img
 The debug log of the daemons above will tell you exactly whan name the SUN
 machine is looking for.


This is specific to the machine architecture. Ultrasparc machines with the
Sun4U architecture do not require an extension and can simply be installed
with the filename as shown above


   I have tried:
  ok boot net

 Should be enough to get thing started.
 I hope it prints out that it's trying to in touch with a bootp server.


yes, it does get the machine installed, and it IS currently up and running.
The only problem is that I had to install it using the Internet as opposed
to a local repo. It's ok for 1 machine but when I need to install a bunch of
them, it'll be an unnecessary waste of our data download budget, which is
why apt-cacher-ng seemed such a good solution, but I can't get it to compile
on Solaris 8 on Sparc. Still waiting on Eduard to find the time to be able
to play it himself to see if he can make it work in a VM or something :(


Re: Installing Debian from NFS

2011-02-02 Thread Karl E. Jorgensen
On Wed, 2011-02-02 at 13:49 -0500, RR wrote: 

 Hello,
  
 this may be a very obvious one of those things that I should just
 Google but given my last experience, and unsuccessful Googling, I
 figured maybe I should ask the community as to what the CORRECT way to
 install Debian on a Sun machine such that it uses the ISO/Distribution
 on my local NFS server as opposed to just picking up the boot.img and
 then have the rest of it be downloaded from the Internet. I have a LOT
 of SUN machines to install and it'd be cool if I can just install them
 off the distro on the nfs server.


How about FAI ?  http://fai-project.org/

This is based around PXE Boot, NFS root file system for installer and
unattended install. Slightly fiddly to get started, but afterwards it is
smooth sailing.


  
 The way my boot server is setup is, that it has tftp, /etc/ethers
 and /etc/hosts files all setup. I have the boot.img from Debian Lenny
 for sparc in /tftpboot and also have the hex and decimal/AF_INET
 format of the intended IP Address soft-linked to this boot.img in
 the /tftpboot directory i.e. 0A01030B - boot.img. I also have the
 entire debian-DVD-lenny.iso available and is mounted on /mnt/iso by
 way of lofiadm so that /mnt/iso has the contents of the ISO and not
 the bundled iso image.
  
 Now, how do I tell the installer to go pick it up from there? I have
 done a bit of research and all I see everywhere is mentions of some
 file called root.tar.gz and debian-installer and what not...but I
 can't figure out where do I get that from.
  
 I have tried:
 ok boot net
  
 and
  
 ok boot net - install nfsroot=10.1.3.1:/mnt/iso
  
 and
  
 ok boot net install
  
 Any one wish to comment?
  
 Thanks so much
 \RR
  


-- 

Karl E. Jørgensen
IT Operations
Fizzback Group


Re: Installing Debian from NFS

2011-02-02 Thread Frans van Berckel
On Wed, 2011-02-02 at 13:49 -0500, RR wrote:
  
 The way my boot server is setup is, that it has tftp, /etc/ethers
 and /etc/hosts files all setup. I have the boot.img from Debian Lenny
 for sparc in /tftpboot and also have the hex and decimal/AF_INET
 format of the intended IP Address soft-linked to this boot.img in
 the /tftpboot directory i.e. 0A01030B - boot.img. I also have the
 entire debian-DVD-lenny.iso available and is mounted on /mnt/iso by
 way of lofiadm so that /mnt/iso has the contents of the ISO and not
 the bundled iso image.
  
 Now, how do I tell the installer to go pick it up from there? I have
 done a bit of research and all I see everywhere is mentions of some
 file called root.tar.gz and debian-installer and what not...but I
 can't figure out where do I get that from.

Did it in the past several time's. Google searching on Debian Sparc
Netboot installs I found a blog article. Think it covers your needs.

http://www.de-brauwer.be/docs/debian_on_sun.html

The stable netboot image is available in the repo.

http://ftp.debian.org/debian/dists/stable/main/installer-sparc/current/images/netboot/

Thanks,


Frans van Berckel



-- 
To UNSUBSCRIBE, email to debian-sparc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1296682275.1637.39.camel@deblnxsrv222