Best of Technical Support
A frequently asked question is how to remove Linux from a computer. What about removing Windows 98 safely? I had Windows 98 on the first partition of my hard disk (/dev/hda1) and Red Hat 6.0 on logical partitions (/dev/hda5, 6, ...). I was able to dual-boot using LILO, which was installed on the master boot record. One day, I decided to part with Windows 98 forever. I ran mke2fs on /dev/hda1 and divided it into three partitions. Now when I boot my computer, LILO does not appear at all, and I need to boot using a floppy.
I tried to install LILO (by running /sbin/lilo), but in vain. I tried removing LILO and re-installing it, but when I ran /sbin/lilo -u, I got the following error message:
The boot sector of /dev/hda does not have a LILO signature.
I booted the machine using a Windows 98 boot disk, ran fdisk /mbr and reinstalled LILO. Nothing doing.
I got a CD of TurboLinux from the March issue of Linux Journal, installed it on the new partitions I created and had LILO installed in the master boot record. It didn't work. What should I do to boot using LILO again? —Tam Laying, firstname.lastname@example.org
Make sure your lilo.conf file looks like this:
boot=/dev/hda compact # faster, but won't work on all systems. ramdisk = 0 map=/boot/map install=/boot/boot.b prompt timeout=100 image=/boot/vmlinuz label=linux root=/dev/hda5 read-only
Then run lilo, and it should install a fresh boot block. Your problem may have been linked to partitions being shifted or renamed when you created the new ones. —Marc Merlin, email@example.com
When playing movie files in Linux, the video is very jumpy and there is no sound. I have set up my Soundblaster Live! which works okay. I also have a Voodoo2 3dfx card—do I have to set this card up to allow trouble-free movie playing? My video card is an ATI all-in-wonder pro with 16MB. The PC is a PII/333 with 128MB RAM. —Graham Bell, firstname.lastname@example.org
There are many issues when playing video (and audio), not only in Linux but in other operating systems as well. First, if you intend to play video from the Internet, such as streaming video, make sure you get a good connection, the faster the better. This way, the video quality will improve substantially. There may be adjustments on your software related to quality of video vs. video-playback speed: the best image quality may be slower, and some frames may get lost. Also, be sure to check that the formats you are trying to play are consistent according to the software you are using in terms of versions. If your software does not fully support the video formats you want to play, it may not work as expected. I would set up all the hardware and make “local” tests to ensure everything works fine, then I would go watch on-line broadcasts. —Felipe E. Barousse, email@example.com
You did not mention which video program (xanim?) or video format (avi, mpeg, real video) you are using. There are some known issues with each format I've mentioned, and the client part available is somewhat limited. Recently, Real Networks released a client (RealPlayer) with better Linux support, and it is running okay. —Mario de Mello Bittencourt Neto, firstname.lastname@example.org
I am connecting a Linux server to a Macintosh. I have installed Netatalk, and everything seems to be running. When I go to the Macintosh, I can see the Linux server and access any file I want from it. However, if I try to save to the Linux server, I get a message telling me I do not have “Make Changes” permission and cannot do that. My Windows 98 machines work fine, so I do not believe it is a chmod issue. I think it is something I am missing in the NetaTalk configuration. —Aime Emery, email@example.com
It looks like there is a problem related to passwords. NetaTalk must be compiled with shadow password support if your Linux uses them. Also, there is a huge variety of options to configure NetaTalk and all its related protocols. A useful web page for you to check on these parameters is http://thehamptons.com/anders/netatalk/. —Felipe E. Barousse, firstname.lastname@example.org
After installing Red Hat Linux, when it is booted, I get:
Failed Message Starting sshd.error Could not load host key: /etc/ssh/ssh_host_key: no such file or directory How do I fix this? —Qamar Ansari, email@example.com
sshd tries to find ssh_host_key by looking for the HostKey entry in its configuration file (normally /etc/ssh/sshd_config), falling back to a default of /etc/ssh/ssh_host_key. Ensure the HostKey file name in the configuration file matches the location of the ssh_host_key file you want to use. Some ssh installations put all ssh files directly under /etc, so maybe your file is there for some reason (although this is unlikely). If the ssh_host_key file doesn't exist at all, you can create a new one by running
ssh-keygen -f /etc/ssh/ssh_host_key
as root. —Scott Maxwell, maxwell@ScottMaxwell.org
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- Profiles and RC Files
- Understanding Ceph and Its Place in the Market
- Astronomy for KDE
- OpenSwitch Finds a New Home
- Git 2.9 Released
- Maru OS Brings Debian to Your Phone
- SoftMaker FreeOffice
- What's Our Next Fight?
- The Giant Zero, Part 0.x
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