Mein Netzwerkboot will einfach nicht funktionieren...
Root Login nicht möglich, udev erzeugt keine devices.
Hier mein vorgehen:
Nzute Etherboot.
Habe meinen Kernel mit NFS root usw gebacken und mit mknbi getagged.
Der Rechnern bootet, aber udev geht nicht (kein login dann möglich, da tty1 nicht erstellt wird). Wenn Ich udev deaktiviere, geht mein Login, aber nicht als root.
Hier sind mal meine config files:
dhcp.conf:
#
# Sample configuration file for ISC dhcpd for Debian
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.130 192.168.1.180;
option broadcast-address 192.168.1.255;
option routers 192.168.1.13;
option subnet-mask 255.255.255.0;
}
# Dateiname des Kernels auf dem TFTP-Server
filename "netkernel";
#filename "netinstall/pxelinux.0";
get-lease-hostnames true;
use-host-decl-names on;
# TFTP-Server, sofern ungleich dem DHCP-Server
next-server 192.168.1.200;
if substring (option vendor-class-identifier, 0, 9) = "PXEClient"
{
filename "eb-5.4.0-3c90x.zpxe";
}
else if substring (option vendor-class-identifier, 0, 9) = "Etherboot"
{
filename "netkernel";
option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff;
}
option root-path "192.168.1.200:/tftpboot/nfsroot";
host fernseh01 {
hardware ethernet 00:0A:5E:5A:3F:76;
fixed-address 192.168.1.112;
}
exports:
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/tftpboot/nfsroot 192.168.1.*(rw,async,no_root_squash,no_all_squash)
fstab des clients....
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
192.168.1.200:/nfsroot / nfs rw,hard,intr 0 0
#/dev/hda1 / ext3 defaults,errors=remount-ro 0 0
#/dev/hda2 none swap sw 0 0
#/dev/hdc /media/cdrom0 iso9660 ro,user,noauto 0 0
#/dev/data/all /mnt/daten ext3 defaults 0 0
Lesezeichen