Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 2007 19:58:06 +0300
From:      "Andrew N. Below" <defan@zenon.net>
To:        <freebsd-stable@freebsd.org>
Subject:   using md-mounted ISO as NFS root for PXE booting and installing
Message-ID:  <0de801c735a1$aa490f30$970da8c0@jam.zenon.net>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0DE5_01C735BA.CF8F4250
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: 7bit

Hello.

I have 6.1-STABLE FreeBSD box I want to use as network
boot and install server for PXE clients.

At this moment I'm experimenting with 4.11-RELEASE-i386-disc1-gnome.iso
and 6.2-RC2-i386-disc1.iso images.

Related DHCP config section is:
  host netboot {
    hardware ethernet 00:04:**;   
    fixed-address 192.168.13.2;
    next-server 192.168.13.1;
    filename "boot/pxeboot";
    option root-path "192.168.13.1:/mnt/netboot";
  }

Exports (/etc/exports):
/mnt/netboot -network 192.168.13 -mask 255.255.255.

TFTP is running under xinetd with "-l /mnt/netboot" options.

Then I mount ISO image to /mnt/netboot with mdconfig and mount_cd9660,
and boot PXE client.

All is fine if we are booting into 4.11 (root mounted from MFS,
sysintall runs and we able to install OS to local disks via NFS).

But in case of 6.2-RC2 root mounted from NFS, not MFS:

192.168.13.1:/mnt/netboot on / (nfs)
devfs on /dev (devfs, local)
/dev/md1 on /var (ufs, local)
/dev/md2 on /tmp (ufs, local)

and I can see just another "Amnesiac" system w/o root password etc.

Where is my mistake?

I attached dmesg output for 6.2-RC2 boot to this letter.

--
Andrew N. Below

------=_NextPart_000_0DE5_01C735BA.CF8F4250
Content-Type: text/plain;
	name="dmesg-6.2-RC2-iso-pxe-boot.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="dmesg-6.2-RC2-iso-pxe-boot.txt"

Copyright (c) 1992-2006 The FreeBSD Project.=0A=
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0A=
	The Regents of the University of California. All rights reserved.=0A=
FreeBSD is a registered trademark of The FreeBSD Foundation.=0A=
FreeBSD 6.2-RC2 #0: Sun Dec 24 23:17:34 UTC 2006=0A=
    root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC=0A=
ACPI APIC Table: <A M I  OEMAPIC >=0A=
Timecounter "i8254" frequency 1193182 Hz quality 0=0A=
CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.51-MHz 686-class CPU)=0A=
  Origin =3D "GenuineIntel"  Id =3D 0xf43  Stepping =3D 3=0A=
  =
Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>=0A=
  Features2=3D0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>=0A=
  AMD Features=3D0x20100000<NX,LM>=0A=
  Logical CPUs per core: 2=0A=
real memory  =3D 2147352576 (2047 MB)=0A=
avail memory =3D 2092195840 (1995 MB)=0A=
ioapic0 <Version 2.0> irqs 0-23 on motherboard=0A=
ioapic1 <Version 2.0> irqs 24-47 on motherboard=0A=
ioapic2 <Version 2.0> irqs 48-71 on motherboard=0A=
kbd1 at kbdmux0=0A=
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, =
RF5413)=0A=
acpi0: <A M I OEMRSDT> on motherboard=0A=
acpi0: Power Button (fixed)=0A=
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000=0A=
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0=0A=
cpu0: <ACPI CPU> on acpi0=0A=
acpi_throttle0: <ACPI CPU Throttling> on cpu0=0A=
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0=0A=
pci0: <ACPI PCI bus> on pcib0=0A=
pci0: <unknown> at device 0.1 (no driver attached)=0A=
pci0: <base peripheral> at device 1.0 (no driver attached)=0A=
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 2.0 on pci0=0A=
pci1: <ACPI PCI bus> on pcib1=0A=
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1=0A=
pci2: <ACPI PCI bus> on pcib2=0A=
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0xc800-0xc8ff mem =
0xfced0000-0xfcedffff,0xfcec0000-0xfcecffff irq 26 at device 5.0 on pci2=0A=
mpt0: [GIANT-LOCKED]=0A=
mpt0: MPI Version=3D1.2.14.0=0A=
mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE )=0A=
mpt0: 0 Active Volumes (1 Max)=0A=
mpt0: 0 Hidden Drive Members (6 Max)=0A=
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0xcc00-0xccff mem =
0xfcef0000-0xfcefffff,0xfcee0000-0xfceeffff irq 25 at device 5.1 on pci2=0A=
mpt1: [GIANT-LOCKED]=0A=
mpt1: MPI Version=3D1.2.14.0=0A=
mpt1: Capabilities: ( RAID-1E RAID-1 SAFTE )=0A=
mpt1: 0 Active Volumes (1 Max)=0A=
mpt1: 0 Hidden Drive Members (6 Max)=0A=
pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1=0A=
pci3: <ACPI PCI bus> on pcib3=0A=
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port =
0xdc00-0xdc3f mem 0xfcfa0000-0xfcfbffff irq 54 at device 4.0 on pci3=0A=
em0: Ethernet address: 00:04:23:c9:ff:f6=0A=
em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port =
0xdc80-0xdcbf mem 0xfcfe0000-0xfcffffff irq 55 at device 4.1 on pci3=0A=
em1: Ethernet address: 00:04:23:c9:ff:f7=0A=
pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0=0A=
pci4: <ACPI PCI bus> on pcib4=0A=
pci4: <display, VGA> at device 12.0 (no driver attached)=0A=
isab0: <PCI-ISA bridge> at device 31.0 on pci0=0A=
isa0: <ISA bus> on isab0=0A=
atapci0: <Intel ICH5 UDMA100 controller> port =
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0=0A=
ata0: <ATA channel 0> on atapci0=0A=
ata1: <ATA channel 1> on atapci0=0A=
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)=0A=
acpi_button0: <Power Button> on acpi0=0A=
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0=0A=
atkbd0: <AT Keyboard> irq 1 on atkbdc0=0A=
kbd0 at atkbd0=0A=
atkbd0: [GIANT-LOCKED]=0A=
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on =
acpi0=0A=
sio0: type 16550A=0A=
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0=0A=
sio1: type 16550A=0A=
pmtimer0 on isa0=0A=
orm0: <ISA Option ROMs> at iomem =
0xc0000-0xca7ff,0xca800-0xce7ff,0xce800-0xcf7ff,0xcf800-0xd07ff,0xdd800-0=
xe17ff on isa0=0A=
ppc0: parallel port not found.=0A=
sc0: <System console> at flags 0x100 on isa0=0A=
sc0: VGA <16 virtual consoles, flags=3D0x300>=0A=
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=0A=
Timecounter "TSC" frequency 2992511483 Hz quality 800=0A=
Timecounters tick every 1.000 msec=0A=
Waiting 5 seconds for SCSI devices to settle=0A=
md0: Preloaded image </boot/mfsroot> 4423680 bytes at 0xc0af64c0=0A=
ses0 at mpt0 bus 0 target 6 lun 0=0A=
ses0: <ESG-SHV SCA HSBP M30 1.08> Fixed Processor SCSI-2 device =0A=
ses0: 3.300MB/s transfers=0A=
ses0: SAF-TE Compliant Device=0A=
da0 at mpt0 bus 0 target 0 lun 0=0A=
da0: <SEAGATE ST318404LC 0006> Fixed Direct Access SCSI-3 device =0A=
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged =
Queueing Enabled=0A=
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)=0A=
Trying to mount root from nfs:=0A=
NFS ROOT: 192.168.13.9:/mnt/netboot=0A=

------=_NextPart_000_0DE5_01C735BA.CF8F4250--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0de801c735a1$aa490f30$970da8c0>