Before I go into what I'm planning, here's a little background on me since this is my first post. I consider myself an intermediate level linux user. I used Ubuntu desktop exclusively for about 5 years before the introduction of Unity. In that time period, I also flirted with other distros, mainly lightweight ones (dsl, slax, puppy, mint, lbuntu, etc etc). I'll also admit that (unfortunately) the last few years have been spent mainly in front of Windows thanks to work and personal projects requiring Adobe products. So forgive me if I'm a bit rusty.
About 2 years ago, I re-purposed an HP laptop with a horribly busted up screen into a nice, headless Ubuntu media server. And it worked great! I won't go into all the specifics, but as a local network server it fulfilled it's purpose very well.
Well, now after much deliberation, I've decided it's time to upgrade to make the server more useful. Ubuntu server is just too bloated. Also, I want to add some internet-facing features, like linking the server to dyndns or no-ip for external access. I may also use it as a test webserver for a few personal projects. Since security will be a concern, Slackware came to mind. But mainly I want to do this because I like the challenge of building a completely custom server without all the fluff and Slackware seems like a good candidate.
Now the real issue:
Since this laptop is essentially headless (screen isn't particularly useful in it's current state and I have NO plans of spending ~$170 for a replacement lcd) my options for install are limited.
When I installed the Ubuntu server, I used the (very outdated) JEOSS distro to control the install over ssh from another computer. I then used APT to upgrade until it was at the current release for the time. I can only imagine the amount of bloat this added to the OS. I would like to avoid a similarly ham-handed method if possible.
I can use a vga cable to plug the laptop up to another monitor (on boot, Fn+F7 I think) to access the BIOS, but this isn't feasible as a permanent solution for installation due to the external monitor being huge and very far away from the router (the server's final home).
So, here's what I would like to attempt:
1)Plug server-laptop to external monitor, access server-laptop's BIOS, set boot order - #1 Network boot
2)Disconnect server-laptop from external monitor, move to permanent home near router and connect ethernet.
3)On my other PC, boot Slackware 14.1 installation, use "pxesetup" option, configure and activate PXE server.
4)Back at the server-laptop, boot it up, it detects my PXE server and the bootstrapping process begins.
5)The server-laptop bootstraps using a modified pxelinux.cfg_default with the keyboard layout and network interface questions already appended. This allows the installer to skip those questions and start the dropbear ssh server.
6)Back at the other computer, I ssh to the laptop-server and control the install. :)
Steps 1-4, no problem. Where I'm foggy is steps 5 & 6. I'm not sure exactly WHERE to append the "kbd=us nic=auto:eth0:dhcp" into the pxelinux.cfg_default. Does it matter which line? Also, I would like to run the PXE server on the same computer that I'll be using ssh to access the installation. Is it possible to run the PXE server inside, say VirtualBox, so that I can still use Putty simultaneously to ssh into the installation process? Using 3 computers (1 for the actual server to be installed, 1 for the pxe server, and 1 to ssh and actually control the installation) seems incredibly wasteful and tedious.
If anyone could review my process here and make sure I'm thinking about this correctly that would extremely helpful. Any advice, suggestions, insights on making this process smooth(er) are greatly appreciated!
Also, I've been using these as references:
http://docs.slackware.com/slackware:pxe_install
http://alien.slackbook.org/blog/remo...are-using-ssh/