Date: Thu, 8 Jul 2010 09:40:22 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: "Mikhail T." <mi+thun@aldan.algebra.com> Cc: freebsd-stable@freebsd.org Subject: Re: net-booting the install disks (Re: 8.x grudges) Message-ID: <20100708164022.GA46433@icarus.home.lan> In-Reply-To: <4C35E9D4.8080007@aldan.algebra.com> References: <4C34C5DE.7040007@aldan.algebra.com> <AANLkTil1jtcgOV5c5rLQabS2kJ2DA09haRY3VB0bgA8x@mail.gmail.com> <4C34CA31.7010804@aldan.algebra.com> <AANLkTimQFCxQpCx32dxvYscGspUkqyRbyPE_ru8RS5My@mail.gmail.com> <4C34E39A.7090905@aldan.algebra.com> <20100708135353.GA43460@icarus.home.lan> <4C35E9D4.8080007@aldan.algebra.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 08, 2010 at 11:08:04AM -0400, Mikhail T. wrote: > 08.07.2010 09:53, Jeremy Chadwick написав(ла): > >Then don't modify loader.conf. Instead, once the "Welcome to FreeBSD!" > >portion of loader appears, press "6" to shell to the loader prompt > >and type: > > > >set vfs.root.mountfrom="ufs:/dev/md0" > >boot > Yes, that works... It just should not be necessary. Okay, so let me get this straight. First the complaint was that you had to modify loader.conf, which involved extracting the CD image, editing the file, yadda yadda. Now that you've been shown you don't have to edit loader.conf, the complaint is "it shouldn't be necessary". :-) There's actually quite a bit about FreeBSD that "shouldn't be necessary" (from an administrator's point of view), but that's a completely separate issue when compared to your "when I do thing X in the kernel config, it breaks". Which of those two approaches do you want to focus on? > Red Hat's "kickstart" does not require one to extract CD-images to > fiddle with a couple of lines, and FreeBSD comes tantalizingly close > to offer the same functionality. Just not quite :-( I've PXE booted Ubuntu and Debian. It was easy to accomplish (read: easier than FreeBSD) because they offer pxelinux vs. FreeBSD's pxeboot. pxelinux[1] offers the ability to read a configuration file via TFTP, which configures pxelinux itself. The configuration capabilities are very impressive[2]. FreeBSD folks interested in PXE should really take a look at this thing. I believe the configuration file is read and applied immediately, so things like serial port speed changes happen before pxelinux outputs anything (e.g. no need to rebuild pxelinux just to get a faster rate). That said, given that FreeBSD's pxeboot requires a bunch of extra work (rebuilding for faster serial speed, and a bunch of other stuff -- it's in my doc), I'm a surprised you're not complaining about that. :-) The bottom line: the PXE booting framework in FreeBSD could be improved. Even Randi would agree with this point, I think. But the question then becomes: what can you bring to the table which can help improve the situation? If you have the skills to help improve the situation, please help. By making it better for yourself, you can help make it better for everyone; a win-win situation. Anyway, your list of irritations when upgrading from 7.x to 8.x are mainly opinions -- and that's okay. I don't necessarily have a problem with your opinions, despite some being inaccurate or wrong; nothing wrong with being wrong! I'm not being sarcastic when I say I *do* appreciate the feedback you've provided (the method of approach is similar to how I go about things; I've quite a big list of "WTFs" when it comes to software in general), but you need to be reasonable and focus on a compromise. I think the community wants to help you but you definitely want things a certain way or have a lot of pre-conceived notions regarding what kernel or userland pieces "should or should not change". That's just not a realistic way to approach computing these days. So like I said: things change. It's very hard to keep up with all the changes between major FreeBSD releases. The longevity of your use of FreeBSD doesn't matter -- I go back to the 2.2.x days. The difference between 2.x and 8.x is immense, and I'm talking on *all* levels. I had to adapt too, and it takes time to get familiar with all the changes. So please be a bit flexible and we'll do our best to help you fix what's broken *and* help you understand why things are different. [1]: http://syslinux.zytor.com/wiki/index.php/PXELINUX [2]: http://syslinux.zytor.com/wiki/index.php/SYSLINUX#How_do_I_Configure_SYSLINUX.3F (Not a typo; the pxelinux =~ syslinux, same options. See [1], section "What is PXELINUX" for validation) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100708164022.GA46433>