Re: diskless feature in fedora?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thank you, I have tried it, but still not working :(
would u like write some manual 

my step is, please correct me
                                    
I have 1 server fedora OS with gigabit ethernet on board from Asus P4800, 
and diskless client with Compaq Deskpro 6000 with tlan ethernet that using etherboot for network booting
(how do I know if cards is support PXE???)
                                                                                         
1. copy fedora OS( / ) in server to /a/root with default kernel, mkdir /a/snapshot
2. running redhat-config-nfs export /a/root /a/snapshot, starting portmap, nfs
checking with:
# rpcinfo -p
# exportfs
# cat /etc/exports
/a/root/ *(rw,sync,no_root_squash)
/a/snapshot/ *(rw,sync,no_root_squash)

add line to /etc/hosts.allow
portmap:ALL

3. running redhat-config-netboot->diskless->create with name for example: diskless
4. create a snapshot in redhat-config-netboot with name for example: 172.16.15.2
5. create dhcpd.conf that contain file for boot (created by mknbi later)
________________________________
not authoritative;
ddns-update-style none;
ignore client-updates;
allow booting;
allow bootp;
                                                                                                                             
subnet 172.16.15.0 netmask 255.255.255.0 {
        option routers                  172.16.15.1;
        option subnet-mask              255.255.255.0;
                                                                                                                             
        option domain-name              "mitindo.com";
        option domain-name-servers      172.16.15.1;
                                                                                                                             
        range dynamic-bootp 172.16.15.128 172.16.15.150;
        default-lease-time 21600;
        max-lease-time 43200;
                                                                                                                             
        # we want the nameserver to appear at a fixed address
        host ichtus {
                hardware ethernet 00:80:5f:2a:05:2e;
                fixed-address 172.16.15.2;
                next-server 172.16.15.1;
                if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
                filename "/thunder.zpxe";
                } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" {
                        filename "/vmlinuz.nbi";
                        }
        }
}
_______________________________________

6. starting dhcpd, tftpd
7. download floppy image for booting in client in http://www.rom-o-matic.com (for mine is eb-5.2.2-thunder.zdsk)
# cat eb-5.2.2-thunder.zdsk  > /dev/fd0

8. enter /tftpboot/linux-install/diskless 
what's next????
where do I get /dev/ram0? rdev from vmlinuz or initrd??

9. mv vmlinuz.nbi /tftpboot/

what I'm doing so long is:

#mknbi-linux --rootdir=172.16.15.1:/a/root --ip=172.16.15.2:172.16.15.1:172.16.15.1:ichtus:eth0 --append=nfsroot=172.16.15.1:/mnt/lvmroot/root vmlinuz initrd.img > vmlinuz.nbi

above I try with recompiled kernel that having 
IP kernel auto configuration in Networking options, then 
network device tlan,
file system->network file system->nfs file system->root nfs
compiled as built in kernel

but having problem for mounting nfs root, the error messages is
nfs server .... not responding
nfs server .... still retrying
nfs server .....OK

so the booting running so slow



On Wed, Jan 14, 2004 at 05:59:48PM +0200, Kaspars Melkis wrote:
> Use the append feature when generating etherboot image and then it will
> work.
> 
> I used the following command, but you can adjust it for your
> configuration:
> 
> /usr/bin/mknbi-linux --append "noauto root=/dev/ram0 init=disklessrc
> NFSROOT=192.168.0.43:/mnt/storage/diskless/fc1 ramdisk_size=10000
> ETHERNET=eth0 SNAPSHOT=maya" \
> vmlinuz initrd.img > kernel
> 
> Cheers,
> 
> Kaspars
> 
> 2004-01-14 at 11:52, Lewi rakst??ja:
> > I want to asking about redhat-config-netboot, 
> > I have read diskless environment manual, 
> > 
> > my conclusion is, fedora without install any other packages like k12ltsp can't serve like netboot server
> > I look at kernel configuration default NFS_ROOT don't set
> > 
> > system root for diskless workstation, just I copied from host installation fedora
> > so maybe I will d/w ltsp 4.0 or k12ltsp 4.0
> > 
> > or my conclusion is wrong???
> > 
> > 
> > -- 
> > ichtus
> > ------
> > Lewi Supranata .K
> > ICQ: 50643061
> > IPLUG Team
> > Homepage :  http://mbone.petra.ac.id/u/ichtus
> > GnuPG Public Key :  http://mbone.petra.ac.id/u/ichtus/ichtus-keys2
> > 
> 
> 
> -- 
> fedora-list mailing list
> [email protected]
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

-- 
ichtus
------
Lewi Supranata .K
ICQ: 50643061
IPLUG Team
Homepage :  http://mbone.petra.ac.id/u/ichtus
GnuPG Public Key :  http://mbone.petra.ac.id/u/ichtus/ichtus-keys2




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux