Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
|
|
Source code |
1 2 |
- lege auf dem NFS-Server ein Verzeichnis an, z.B /home/Clients/hawk-10.2 - sorge dafür, daß dieses Verzeichnis für den Client r/w exportiert wird (/etc/exports) |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
- installiere ganz normal auf der lokalen Platte
- mache in /etc/fstab den Eintrag
server:/home/Clients/hawk-10.2 / nfs
- mache in /boot/grub/menu.lst einen Boot-Menü-Eintrag der Form
title openSUSE 10.2 NFS
root (hd0,0)
kernel /boot/vmlinuz root=/dev/nfs rw nfsroot=192.168.1.1:/home/Clients/hawk-10.2 vga=0x31a resume=/dev/hda2 splash=silent showopts
initrd /boot/initrd
(-> IP-Nummer des Servers!)
- Führe den Befehl aus
mkinitrd -I eth0
- Kopiere alles auf den Server
rsync -vax --numeric-ids --delete --force / server:/home/Clients/hawk-10.2
|
This post has been edited 2 times, last edit by "Nety" (Dec 16th 2007, 2:08pm)
|
|
Source code |
1 2 3 4 5 6 |
#/boot/grub/menu.lst title Debian GNU/Linux, kernel 2.6.18-5-486, NFS and Networkdriver support root (hd0,0) kernel /vmlinuz-2.6.18-5-486 network=static device=eth0 ip=192.168.1.13 netmask=255.255.255.0 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
|
|
Source code |
1 |
ifconfig 192.168.1.13 eht0 device not found |
|
|
Source code |
1 |
kernel /boot/vmlinuz root=/dev/nfs rw nfsroot=192.168.1.1:/home/Clients/hawk-10.2 vga=0x31a resume=/dev/hda2 splash=silent showopts |
|
|
Source code |
1 2 3 4 5 |
title Debian GNU/Linux, kernel 2.6.18-5-486, NFS and Networkdriver support root (hd0,0) kernel /vmlinuz-2.6.18-5-486 network=static device=eth0 ip=192.168.1.13 netmask=255.255.255.0 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
|
|
Source code |
1 2 3 4 5 6 7 |
Begin: Mounting root file system... ... Begin: Running /scrips/nfs-top ... Done. ipconfig: 192.168.1.13 SIOCGIFINDEX: No such device ipconfig: no devices to configure /init: .: 152: Can't open /tmp/net-eth0.conf Kernel panic - not syncing: Attempted to kill init! |
|
|
Source code |
1 2 3 4 5 6 |
title Network ifconfig --server=192.168.1.4 --gateway=192.168.1.100 --mask=255.255.255.0 --address=192.168.1.13 root (hd0,0) kernel /vmlinuz-2.6.18-5-486 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
|
|
Source code |
1 2 3 4 5 |
title Network root (hd0,0) kernel /vmlinuz-2.6.18-5-486 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
|
|
Source code |
1 2 3 4 5 |
Begin: Mounting root file system... ... Begin: Running /scrips/nfs-top ... Done. IP-Config: eth0 hardware address 00:02:b3:ce:a9:df mtu 1500 DCCP RARP e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex |
Quoted
Originally posted by Nety
![]()
Source code
1 2 3 4 5 title Debian GNU/Linux, kernel 2.6.18-5-486, NFS and Networkdriver support root (hd0,0) kernel /vmlinuz-2.6.18-5-486 network=static device=eth0 ip=192.168.1.13 netmask=255.255.255.0 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault
bekomme ich folgendes:
![]()
Source code
1 2 3 4 5 6 7 Begin: Mounting root file system... ... Begin: Running /scrips/nfs-top ... Done. ipconfig: 192.168.1.13 SIOCGIFINDEX: No such device ipconfig: no devices to configure /init: .: 152: Can't open /tmp/net-eth0.conf Kernel panic - not syncing: Attempted to kill init!
Quoted
mit diesen beiden
![]()
Source code
1 2 3 4 5 6 title Network ifconfig --server=192.168.1.4 --gateway=192.168.1.100 --mask=255.255.255.0 --address=192.168.1.13 root (hd0,0) kernel /vmlinuz-2.6.18-5-486 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault
Quoted
![]()
Source code
1 2 3 4 5 title Network root (hd0,0) kernel /vmlinuz-2.6.18-5-486 root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault
|
|
Source code |
1 2 3 4 5 6 |
title Network root (hd0,0) # ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf> kernel /vmlinuz-2.6.18-5-486 ip=192.168.1.13:192.168.1.4:<gw-ip>:255.255.255.0:<hostname>::none root=/dev/nfs rw nfsroot=192.168.1.4:/fileserver/root_ctvdr6_kueche vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
This post has been edited 1 times, last edit by "sparkie" (Dec 19th 2007, 6:41am)
. nun schauts so aus:|
|
Source code |
1 2 3 4 5 |
title Debian GNU/Linux, kernel 2.6.18-5-486, nfsroot root (hd0,0) kernel /vmlinuz-2.6.18-5-486 ip=192.168.1.13:192.168.1.4::255.255.255.0:::none root=/dev/nfs rw nfsroot=192.168.1.4:/netboot/root_ctvdr61_niko vga=0x31a splash=silent showopts initrd /initrd.img-2.6.18-5-486 savedefault |
|
|
Source code |
1 2 3 4 5 |
title Debian GNU/Linux, kernel 2.6.21.7 root (hd0,0) kernel /vmlinuz-2.6.21.7 root=/dev/nfs rw nfsroot=192.168.179.202:/srv/nfs-root/smt-wohnzimmer initrd /initrd.img-2.6.21.7 savedefault |
|
|
Source code |
1 2 3 4 |
cannot open root device "nfs" or unknown-block Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block |

|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
Dateisystem Gr’’e Benut Verf Ben% Eingeh’ngt auf
tmpfs 61M 0 61M 0% /lib/init/rw
udev 10M 56K 10M 1% /dev
tmpfs 61M 140K 61M 1% /dev/shm
rootfs 2,1T 1,3T 683G 66% /
/dev/hda1 61M 13M 46M 22% /boot
192.168.xxx.202:/srv/vdrvideo
2,1T 1,3T 683G 66% /srv/vdrvideo
192.168.xxx.202:/srv/musik
2,1T 1,3T 683G 66% /srv/musik
192.168.xxx.202:/srv/bilder
2,1T 1,3T 683G 66% /srv/bilder
|
This post has been edited 2 times, last edit by "der-brumm-baer" (Feb 27th 2008, 10:51am)
Quoted
Original von der-brumm-baer
Wie ihr seht habe ich schon einiges Probiert, aber jede Zeile für ein root-Verzeichnis in der fstab sorgt dafür das der client nicht mehr hochkommt.
|
|
Source code |
1 |
server:/netboot/nfsroot/zaphod_etch / nfs defaults,hard,intr,rsize=65536,wsize=65536 0 0 |
Quoted
Original von kilroy
Ich mounte auf dem Client das root Filesystem mit
Einen "unmount request" sehe ich auf dem Server zwar dafür nicht, aber ich kann problemlos rebooten.
![]()
Source code
1 server:/netboot/nfsroot/zaphod_etch / nfs defaults,hard,intr,rsize=65536,wsize=65536 0 0
|
|
Source code |
1 2 3 4 5 6 7 |
marvin:~$ cat /etc/default/nfs-kernel-server # Number of servers to start up #RPCNFSDCOUNT=8 RPCNFSDCOUNT=16 # Options for rpc.mountd RPCMOUNTDOPTS="--no-nfs-version 2" |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
eth0: no link during initialization. input: ImPS/2 Logitech Wheel Mouse as /class/input/inputl eth0: link up. Sending DHCP requests IP-Config: Got DHCP answer from 192.168.1.1, my address is 192.168.1.101 IP-Config: Complete: device=eth0, addr=192.168.1.101, mask=255.255.255.0, gw=192.168.1.1 host=192.168.1.101, domain=, nis-domain=(none), bootserver=192.168.1.1, rootserver=192.168.1.5, rootpath= Looking up port of RPC 100003/3 an 192.168.1.5 Looking up port of RPC 100005/3 an 192.168.1.5 VFS: Mounted root (nfs filesystem). Freeing unused kernel memory: 206k freed Warning: unable to open an initial console. nfs: server 192.168.1.5 not responding, still trying nfs: server 192.168.1.5 not responding, still trying |
|
|
Source code |
1 2 3 |
title Network root (hd0,0) kernel /boot/vmlinuz-2.6.25 ip=dhcp root=/dev/nfs rw nfsroot=192.168.1.5:/mnt/HD_a2/Backup/Linux/VDR,v3 vga=791 splash=silent showopts |