Best of Technical Support
I have two hard drives on my system. One is dedicated to Linux, the other is for Windows 98 (second edition). I can't boot to Win98 when both drives are up. They're set up fine (one master, one slave, BIOS finds them, etc.). I can boot Linux with both drives connected. If I disconnect the Linux drive, I can run Win98 fine. LILO seems to know that it has a DOS drive and a Linux drive. If I say “dos” at the boot prompt, LILO doesn't complain—things just hang. I've even tried booting with a Win98 boot floppy; the system reads from the floppy for a while and then just hangs—no message, no nothing. One drive is a WD, the other is IBM. Please help! —Mitch, firstname.lastname@example.org
I am assuming that the master disk has Linux on it, therefore you can boot fine with both disks active. It seems there is just a misconfiguration of your lilo.conf file. You have to tell LILO where (which physical disk and which partition) DOS/Windows is located. Check on the specified devices in /etc/lilo.conf. Look in the section where you have your “dos” label for /dev/hdaX and /dev/hdbY (X and Y being partition numbers) and hda, hdb representing your physical disks. You may need to find which disk holds what. Two lines like:
may be what is needed for you to be able to boot DOS (and Linux) with both disks on. Don't forget to write that LILO info to the boot sector with /sbin/lilo -v after you have made changes in /etc/lilo.conf. —Felipe E. Barousse Boué, email@example.com
You don't say whether Windows is on the slave or the master. By default, Windows won't boot from a secondary drive. However, you can try booting from the second drive by putting the following in lilo.conf to boot DOS/Windows (it swaps the drive letters):
other = /dev/hdb1 label = dosb loader = /boot/any_d.b
—Marc Merlin, firstname.lastname@example.org
I am running a console on an HpUX box. This application is run from an xterm on my Linux box. The HpUX box has no X libs and does not accept my function keys. Does anyone know how to make my function keys work while telneted into this HP system? —David, email@example.com
Since you state that the HpUX has no X libs, and it looks to me that you are just using a terminal emulation window (xterm) in your Linux box, you should be able to define which code to generate whenever you press a function key so it gets sent to the HpUx box through your xterm. You can use the xmodmap command to define such sequences on your Linux box. Put those sequences in the .xmodmaprc file of your login account or in Xmodmap's general configuration file. Try also keying ESC-1 for F1, ESC-2 for F2, etc., to test whether your application is getting Fkey sequences. Lastly, terminal emulation affects the way Fkeys work. You should have the terminal emulation correctly set up, with the termcap definitions in both the HpUX side and the Linux xterm session. --Felipe E. Barousse Bouéfbarousse@piensa.com I don't have experience with this specific case, but the normal way to get your function keys (and other nonstandard keys) recognized is to modify your TERM setting after logging in on the remote machine. You do this with something like export TERM=termtype (for bash or ksh) or setenv TERM termtype (for csh or tcsh). You may need to experiment with values for “termtype”--I would try values like “xterm”, “vt100”, “vt220”, “hpterm” and “linux” (in increasing order of desperation). If none of those works, look through /etc/termcap on the remote machine for other possible values of TERM. When you find a value that works, simply copy the TERM assignment into your shell startup file (.bash_profile, .cshrc, or whatever) on the remote system, and you'll never have to worry about it again. —Scott Maxwell, maxwell@ScottMaxwell.org
I lost the link to my C: drive (Windows). In the process of trying to connect my scanner, I changed sda1 to hda1 and now I can't gain access to my C: drive from Linux or from LILO. When it gets to the LILO prompt and I select Windows, it just locks up. How do I get the link back? —Faron Ducharme, firstname.lastname@example.org
You don't mention how you “changed sda1 to hda1”. However, LILO's configuration information is stored in /etc/lilo.conf. After editing this file, you will need to run LILO from a command prompt to tell it to reread its settings. —Chad Robinson, email@example.com Does Linux boot fine? Seems you are using SCSI disks, so if you renamed sda1 to hda1 in the /dev directory, changing it back should solve the problem, providing you haven't changed LILO's configuration at /etc/lilo.conf. Logged in as root, use mv /dev/hda1 /dev/sda1. If you cannot boot Linux, then you would have to use the emergency boot disk (you have one, don't you?) you made at installation time to be able to boot the machine and then change the device names back to normal as indicated above. —Felipe E. Barousse Boué firstname.lastname@example.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
- Astronomy for KDE
- Understanding Ceph and Its Place in the Market
- Hack and / - Status Messages in Screen
- Git 2.9 Released
- Linux Clustering with Ruby Queue: Small Is Beautiful
- SoftMaker FreeOffice
- Linux MIDI: A Brief Survey, Part 3
- Snappy Moves to New Platforms
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