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

initrd for a diskless boot.



I've setup a diskless RH7.3 box naturally rootfs is nfs
mkinitrd fails to run correctly when the rootfs is nfs.

So the question is "Does anyone have any pointers to make this work?"

Regards John


root alpha root]# /sbin/mkinitrd -v -f /boot/initrd-2.4.18-3sat.img
2.4.18-3sat

ls: xxx.xxx.xxx.254:/remote/StarGate: No such file or directory
/sbin/mkinitrd: [: : integer expression expected
Using modules:
Using loopback device /dev/loop0
/sbin/nash -> /tmp/initrd.ft5pdM/bin/nash
/sbin/insmod.static -> /tmp/initrd.ft5pdM/bin/insmod
/sbin/mkinitrd: /sbin/lvmdiskscan: No such file or directory
/sbin/vgwrapper -> /tmp/initrd.ft5pdM/bin/vgwrapper
cp: cannot stat `/sbin/vgwrapper': No such file or directory
ln: accessing `/tmp/initrd.ft5pdM/bin/vgwrapper': No such file or
directory
ln: accessing `/tmp/initrd.ft5pdM/bin/vgwrapper': No such file or
directory

root alpha root]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / nfs
rw,v2,rsize=4096,wsize=4096,hard,udp,nolock,addr=xxx.xxx.xxx.254 0 0
/proc /proc proc rw 0 0
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0

root alpha root]# cat /etc/fstab
xxx.xxx.xxx.254:/remote/server   /              nfs     rw
0 0
none                    /dev/pts                devpts  gid=5,mode=620
0 0
none                    /proc                   proc    defaults
0 0
none                    /dev/shm                tmpfs   defaults
0 0





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