do nfs mount on vlan interface
Hello,
i use live-initramfs (1.156.1+1.157.2-1) on debian lenny.
i am trying to hack live's script to manage a vlan interface.
i had a vconfig static binary in my initramfs file and applied this patch:
--- scripts/live 2010-10-05 11:22:46.000000000 +0200
+++ scripts/live-new 2010-10-05 11:23:16.000000000 +0200
@@ -703,7 +703,9 @@
udevsettle
fi
- ipconfig ${DEVICE} | tee /netboot.config
+ vconfig set_name_type VLAN_PLUS_VID_NO_PAD
+ vconfig add eth0 699 >/dev/null
+ ipconfig vlan699 | tee /netboot.config
# source relevant ipconfig output
OLDHOSTNAME=${HOSTNAME}
but i got this kernel panic:
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/live-premount ... done.
[ 31.513650] Kernel panic - not syncing: Attempted to kill init!
[ 31.519615] Pid: 1, comm: init Not tainted 2.6.33.7-fai-install #2
[ 31.525830] Call Trace:
[ 31.528326] [<ffffffff81641406>] ? panic+0x86/0x140
[ 31.533331] [<ffffffff810bc15e>] ? mntput_no_expire+0x23/0xe8
[ 31.539203] [<ffffffff8103d50a>] ? exit_ptrace+0x30/0x120
[ 31.544727] [<ffffffff810381db>] ? do_exit+0x6e/0x6c7
[ 31.549904] [<ffffffff810388a3>] ? do_group_exit+0x6f/0x96
[ 31.555513] [<ffffffff810388dc>] ? sys_exit_group+0x12/0x16
[ 31.561210] [<ffffffff810028ab>] ? system_call_fastpath+0x16/0x1b
any idea how i could achieve this ?
thanks in advance for your help.
Reply to: