|
|
|
|
| Getting "joe" to work when emergency booting RedHat Linux |
|
Problem: If the Linux Loader (LILO) has been damaged/corrupted or some other reason dictates the use of a removable boot media for emergency repair, certain steps have to be taken for the "joe" text editor to work.
This method may or may not apply to other Linux distributions.
|
|
Solution: 1. Boot the RedHat install CD, hit enter for "install".
2. Choose "custom" install and to partition using "fdisk".
3. Hit Alt+F2 to access TTY2, at this point you should be able to type console commands.
4. Mount the partition containing "/usr/lib" on "/mnt", for example:
"mkdir /mnt; mount /dev/sda1 /mnt"
5. Now make a symbolic link from the mounted "/usr/lib/" into the active one, for example:
"mkdir /usr/lib/joe; ln -s /mnt/usr/lib/joe/joerc /usr/lib/joe/joerc"
6. Create a temporary copy of "lilo.conf". Caution!! Remember the differences between the current filesystem structure and the one you will be booting with LILO.
7. Type "lilo -C /your/tmp/lilo.conf -D linux" to write the new Linux Loader to the boot sector specified in "/your/tmp/lilo.conf"
(Obviously, "/your/tmp/lilo.conf" is not to be taken literally)
|
|
|
|
|
|
This is free technical advice without any warranties.
Use at your own risk. Solutions offered may not apply to your particular problem at all.
Opinions and views expressed in the articles are the authors' personal
and may not necessarily reflect or coincide with those of Ano-Tech Computers.
We take no responsibility if anything bad happens from following any of
the intructions given. If you don't understand and accept this, please
contact us for personal assistance instead.
To read our full disclaimer, go
here.
We welcome anyone who is willing to contribute to this public knowledge base,
contact siteadmin@atc.no
if you have information you would like to share. The idea is not to replace
the commercial support sites, but to publish those hard-to-find
solutions you've found yourself looking for over and over again.
Show all articles