Re: PXE on 7.0 problem and solution

Previous thread: Re: FreeBSD 7.0-RELEASE Available by Abdullah Ibn Hamad Al-Marri on Thursday, February 28, 2008 - 7:19 am. (1 message)

Next thread: ldconfig problems by Chuck Robey on Thursday, February 28, 2008 - 5:34 pm. (4 messages)
To: <freebsd-current@...>, <hackers@...>
Date: Thursday, February 28, 2008 - 4:30 pm

Hi there,

Installing 7.0 via PXE has a slight problem that is easily worked around. The
file /boot/mfsroot.gz on the installation media needs to be unzipped to make
PXE boot via tftp/nfs work. Otherwise the loader ultimately complains that it
cant find the device to boot from. For example, if you have the installation
media living at /usr/pxe/nfs/ on the PXE server, then do:

gzip -d /usr/pxe/nfs/boot/mfsroot.gz

After doing this it now loads the kernel and starts the installation procedure
as expected. Someone more knowledgeable than me might want to let whoever needs
to know about this.

Apart from that, it looks great, the work is appreciated, thanks for the new
release :-)

Cheers, Tim.

We are BSD ... resistance is futile.
http://www.freebsd.org/ - http://www.openbsd.org/ - http://www.netbsd.org/

____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

To: Tim Clewlow <tim1timau@...>
Cc: <hackers@...>, <freebsd-current@...>
Date: Friday, February 29, 2008 - 11:35 am

I documented this in my "how to get FreeBSD to install via PXE and
serial console" document:

http://jdc.parodius.com/freebsd/pxeboot_serial_install.html

I opened a PR at the time of this discovery as well:

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/120127

--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

To: Tim Clewlow <tim1timau@...>
Cc: <hackers@...>, <freebsd-current@...>
Date: Thursday, February 28, 2008 - 4:51 pm

I've had problems with other files fetched over NFS in the past. In
theory (at least that's what a tcpdump says), it should be possible to
provide all files gzipped, and even split the files in smaller chunks.
Files are tried in this order:

boot/loader.rc.split
boot/loader.rc.gz.split
boot/loader.rc.gz
boot/loader.rc

However, I only got the plain files to work reliably.

Erik
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

Previous thread: Re: FreeBSD 7.0-RELEASE Available by Abdullah Ibn Hamad Al-Marri on Thursday, February 28, 2008 - 7:19 am. (1 message)

Next thread: ldconfig problems by Chuck Robey on Thursday, February 28, 2008 - 5:34 pm. (4 messages)