if [ "$INITRDFS" = "initramfs" ]; then
inst_d /newroot
- [ ! -e "$DESTDIR/$rootdev" ] && inst $rootdev /dev
+ if [ "$rootdev" = "/dev/nfs" ]; then
+ echo "rootfs on NFS root=/dev/nfs"
+ else
+ [ ! -e "$DESTDIR/$rootdev" ] && inst $rootdev /dev
+ fi
# Parsing root parameter
# We support passing root as hda3 /dev/hda3 0303 0x0303 and 303
add_linuxrc <<-'EOF'