Best of Technical Support
I am using Red Hat 9 on an HP Brio (PIII,
20GB and 192MB of RAM). I first installed Linux when my
hard drive was a primary slave. Later I changed
it to primary master. I am using a boot disk to
boot in to Linux, but when I try to boot in to the
system, I get an error that the swap partition was
not initialized. The kernel could detect changes
to my root and boot, but it was unable to in the
case of swap partition.
How can I change the swap partition dynamically? In other words, what parameter
should I pass to the kernel before booting so as to specify my swap at
the command line? Also, can I use the same boot disk to boot on other systems
with different partition allocations, as with Windows startup disks?
This is easy to explain; Linux is looking for the swap partition on one device (the primary slave), probably named /deb/hdbX, X being the partition number, and it happens that it now resides on the primary master disk, which probably is /dev/hdaX. Therefore, Linux can't find the designated swap partition and is unable to initialize it. To fix this, edit your /etc/fstab file and change the device on the line that has the swap entry. It may be something like:
/dev/hdb2 swap swap defaults 0 0
So, change it to:
/dev/hda2 swap swap defaults 0 0
In this example, the swap partition is number 2 on the disks.
Then, reboot your system, and it should work fine. An alternate way to reboot
would be to start the swap partition manually with the command
swapon -a -e, after editing the /etc/fstab file as indicated above.
Felipe Barousse Boué
I intend to install SuSE 8.2 and want to know if I can
install it on a Serial ATA hard drive.
Serial ATA hard drives are supported by Linux
(including the SuSE 8.2 distribution's stock kernel
version 2.4.19). This will be obvious, but
as always, first you must check that the BIOS
and/or disk controller hardware of your system
does support Serial ATA hard drives.
Felipe Barousse Boué
As usual, the first question is, does your BIOS
support booting from your serial ATA interfaces?
If your BIOS doesn't support booting from this
controller, you might be able to install Linux to
boot from some other device.
You can look up your hardware on SuSE's component
database at hardwaredb.suse.de. Other Linux
distributions also maintain their own hardware
Although something technically might be supported
in the kernel version that your distribution
ships, it's best to check your distribution's
hardware compatibility list before you go hardware
shopping. Items on the list are more likely to be
detected by the installer automatically, and your
distribution is more likely to include up-to-date
utilities with support for items on the list.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- My +1 Sword of Productivity
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Non-Linux FOSS: Caffeine!
- Managing Linux Using Puppet
- Doing for User Space What We Did for Kernel Space
- Tech Tip: Really Simple HTTP Server with Python
- SuperTuxKart 0.9.2 Released
- Parsing an RSS News Feed with a Bash Script
- Rogue Wave Software's Zend Server
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide