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

Bug#615600: BOOTIF= kernel commandline option does not work



Hi,

On Tuesday, March 01, 2011 04:28:16 pm Marc Haber wrote:
> On Sun, Feb 27, 2011 at 04:22:28PM -0400, Joey Hess wrote:
> > Thomas Mieslinger wrote:
> > > I try to install a HP DL180G6 fully automated. The Server has an
> > > addtional dualport NIC. kernel and initrd are loaded over the NIC
> > > labeled 0 on the Box, after the kernel has initialized all NICs the
> > > first Ethernet on the add in card is eth0.
> > > 
> > > ~ # cat /proc/cmdline
> > > initrd=/boot/DEBIAN6_x8664/initrd.gz
> > > preseed/url=http://4.3.2.1/installation/profiles/1cc1deebab9e
> > > BOOTIF=01-1C-C1-DE-EB-AB-9E BOOT_DEBUG=2 DEBCONF_DEBUG=5 fb=false
> > 
> > BOOTIF is a pxelinux boot parameter. It is supported by the Debian
> > initramfs when pxe booting, but it is not supported by the Debian
> > installer.
> > 
> > Perhaps it should be. In the meantime, you can use the documented
> > preseeding interface of booting with interface=eth1. I don't think
> > netcfg allows specifying a interface by MAC though.
> 
> I guess the following changes do kind of a job:
> etc/udev/rules.d/69-bootif.rules (inside the installer's initrd)
> ACTION=="add", SUBSYSTEM=="net", IMPORT{program}="bootif $attr{address}"

The related Ubuntu bug has a patch as well: https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/56679

(Matt already mentioned he doesn't like that patch, so it's not a permantent solution.
But if you are just looking for a quick fix for now, you can use it in your own build).


-- 
Yours sincerely,

Floris Bos



Reply to: