On Sun, Dec 02, 2001 at 04:37:39AM -0600, Jason Pepas wrote:
> Hi guys,
> 
> I have a diskless workstation setup (which I had working fine) and am
> having trouble incorporating 100Mbps NICs into the picture.
> 
> I have 10Mbps NICs and 100Mbps NICs, but netboot and etherboot only
> support the 10Mbps NICs I have.
> 
> However there are ways around this - just have the workstation use the
> 10Mbps NIC to get an IP, grab its kernel, mount root via NFS and begin
> booting.  While booting, it configures its 100Mbps NIC and remounts root
> over the 100Mbps line.
> 
> The problem is that when trying to mount root via the 100Mbps line I keep
> getting permission denied error messages.  So it is failing at literally
> the very last step.
> 

[...]

> ----------------------------------------------------
> Server: (seele)
> 
> -----------------------------------------------------
> /etc/hosts
> 
> 127.0.0.1     seele   localhost
> 192.168.0.1   seele   localhost
> 192.168.1.1   seele   localhost
> 192.168.0.2     casper
> 192.168.1.2     casper
> 
> ----------------------------------------------------
> /etc/network/interfaces
> 
> auto lo
> iface lo inet loopback
> 
> # internet 100Mbit connection (top card)
> auto eth2
> iface eth2 inet static
>         address 192.168.1.1
>         netmask 255.255.255.0
> 
> # internet 10Mbit connection (middle card)
> auto eth0
> iface eth0 inet static
>         address 192.168.0.1
>         netmask 255.255.255.0
> 
> # external 10Mbit connection (bottom card)
> auto eth1
> iface eth1 inet dhcp
> 
> ------------------------------------------------------
> /etc/bootptab
> 
> default:ds=192.168.0.1:\
>     sm=255.255.255.0:\
>     gw=192.168.0.1:\
>     ds=66.245.60.4
> 
> casper:ht=ethernet:\
>     sa=192.168.0.1:\
>     ha=0x52544c1d2fb1:\
>     ip=192.168.0.2:\
>     tc=default:\
>     hd=/tftpboot/casper:\
>     bf=kernel:\
>     rp=/nfsroot/casper:
> 
> ------------------------------------------------------
> /etc/exports
> 
> /nfsroot/casper/      192.168.0.2(rw,no_root_squash)
> /nfsroot/casper/      192.168.1.2(rw,no_root_squash)
> /root/                        192.168.1.2(rw,no_root_squash)
> /home/jason/          192.168.1.2(rw,no_root_squash)
> /boot/                        192.168.1.2(rw,no_root_squash)
> /usr/src/             192.168.1.2(rw,no_root_squash)
> /usr/audio/           192.168.1.2(rw,no_root_squash)
> /usr/video/           192.168.1.2(rw,no_root_squash)
> 
> ---------------------------------------------------

1. What good does the first line in /etc/export do?
192.168.0.2 is 10 Mb and is only used for getting the
kernel, not its root fs, so it does not need this one


> Client: (casper)
> 
> ---------------------------------------------------
> /etc/fstab
> 
> # <file system>       <mount point>   <type>  <options>       <dump>  <pass>
> none          /proc           proc    defaults        1       0
> 
> # 192.168.0.1 is 10Mbps
> # 192.168.1.1 is 100Mbps
> 
> # first mount at 10Mbps
> # <file system>                       <mount point>   <type>  <options>       
>                 <dump>  <pass>
> 192.168.0.1:/nfsroot/casper/  /               nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 
> # then remount at 100Mbps
> # <file system>                       <mount point>   <type>  <options>       
>                 <dump>  <pass>
> 192.168.1.1:/nfsroot/casper/  /               nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/root/            /root           nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/home/jason/      /home/jason     nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/boot/            /boot           nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/usr/src/         /usr/src        nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/usr/audio/               /usr/audio      nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 192.168.1.1:/usr/video/               /usr/video      nfs     
> rsize=8192,wsize=8192,nolock    0       1
> 
> # <file system>       <mount point>   <type>  <options>               <dump>  
> <pass>
> /dev/cdrom    /cdrom          iso9660 defaults,ro,user,noauto 0       0
> /dev/dvd      /cdrom          iso9660 defaults,ro,user,noauto 0       0
> /dev/fd0      /mnt/floppy     auto    defaults,user,noauto    0       0
> 
> -------------------------------------------------------

2. Again, there is, as I far as I can tell, no need to mount the root fs from
192.168.0.1. By the time the kernel wants to mount its root fs, it is 
192.168.1.1.

That might not be the source of your "permission denied" problem though. What
does seeles syslog say about attempt to mount nfs?

/Hans Ekbrand

Attachment: pgpQJ5FHbnydE.pgp
Description: PGP signature

Reply via email to