Best of Tech Support
I have a number of remote Linux workstations that I need to ensure are always available to me remotely. I am looking to set up these systems in a TiVo-like fashion, whereby each machine would have two boot partitions and two root partitions. The goal is to be able to perform maintenance operations on the primary-use partitions via a secondary-use boot and root partition. I require only basic functionality while in the secondary partition, namely e2fsprogs and a DHCP-networked sshd. I intend to use LILO or Grub and an init6 to switch between the setups. Assuming that console access is never an option, what is the most bulletproof way to lay out the partition tables and configuration for something like this?
—Marc Lavergne, mlavergne@cfl.rr.com
You really don't need a second partition to boot in to for updates. RPMs allow updates on the fly. In fact, the only reason you need to reboot is to run an upgraded kernel. That being said, the ping-pong methodology you discuss is always a good idea if you mess something up during an upgrade. AFAIK, LILO and Grub do not support a feature that allows you to boot an alternate partition if the previous boot failed. You would probably need to write some code to accomplish this. This solution, however, will not fix system hangups or hard crashes. Truly remote systems usually need some hardware console support.
—Christopher Wingert, cwingert@cwingert.qualcomm.com
It sounds as though you need a solution that doesn't require the remote user's assistance. Otherwise, I would recommend a bootable CD; some, like Gentoo, even include SSH functionality.
—Chad Robinson, crobinson@rfgonline.com
There's not really one partition table setup that would be better than the others. The only thing that's a tad more bulletproof is to use only four partitions so you don't use extended partitions. That way, your entire partition table is in the master boot record of your disk and not spread out around your disk in a linked list. That said, it won't really make a huge difference, unless very bad things happen to your disk.
—Marc Merlin, marc_bts@google.com
I recently installed a wireless PCI network card, but the company, Belkin, doesn't supply a Linux driver. I searched around and found the Linux-WLAN driver. I tried to install it, but when I was making the driver (make all), I received several error messages, and it wouldn't compile.
—Matt Jacobs, mjacobs519@hotmail.com
If you want to get on the Net fast, the good news is Belkin seems to be using the common Prism/2 chipset, like many other vendors. Tim Miller has put together an RPM for Red Hat 7.3 and 8.0 to support Prism/2-based cards (prism2.unixguru.raleigh.nc.us). If you want to build drivers from source, either because you want a custom kernel or want to learn how it's done, work through the Kernel HOWTO (www.tldp.org/HOWTO/Kernel-HOWTO.html). Make sure you have everything needed to build a “stock” kernel first.
—Don Marti, dmarti@ssc.com
I tried a number of times, by booting from the CD-ROM, to install Red Hat 7.3 in a NEC P150 machine. But I keep getting hung up half-way through the installation.
—Leong Y C, leongyc@tp.edu.sg
Try changing the use of DMA on the BIOS for your CD-ROM drive unit. On some machines the CD drive hangs if this is set incorrectly. This can happen not only with Linux, but with any operating system and with applications on CD.
—Felipe E. Barousse Boué, fbarousse@piensa.com
You can try three things: 1) disable autoprobing of hardware (boot with noprobe); 2) try an install in text mode; and 3) if you purchased it, talk to Red Hat for installation support.
—Marc Merlin, marc_bts@google.com
Does anybody know where I can find a one-stop shop that shows in-depth how to install Snort on a system with MySQL and ACID? I have been trying this for three weeks, but the ACID console will not log the events.
—Colin Slevin, Colslev@transwareplc.com
You don't mention whether entries are being logged via other means. Snort typically will log to a number of channels in its default installation. If you aren't getting entries logged at all, the problem is likely elsewhere. Otherwise, edit your snort.conf file. A number of logging examples are there, and you should be able to mimic one that suits your needs. Snort has a mailing list whose users are very supportive. You can subscribe by visiting www.snort.org/lists.html. I recommend submitting your question there. Supply your exact installation procedure so somebody can help you more thoroughly.
—Chad Robinson, crobinson@rfgonline.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- New Products
- Linux Systems Administrator
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- Reply to comment | Linux Journal
6 hours 22 min ago - Nice article, thanks for the
17 hours 3 min ago - I once had a better way I
22 hours 49 min ago - Not only you I too assumed
23 hours 6 min ago - another very interesting
1 day 59 min ago - Reply to comment | Linux Journal
1 day 2 hours ago - Reply to comment | Linux Journal
1 day 9 hours ago - Reply to comment | Linux Journal
1 day 10 hours ago - Favorite (and easily brute-forced) pw's
1 day 11 hours ago - Have you tried Boxen? It's a
1 day 17 hours ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




Comments
Snort Install cd
If you are having problems with Snort and looking for an easy way to install it, check out EasyIDS