# Write to the MBR. Assuming grub.conf is intact, continue with the process. Type "grub" (return) to enter the grub shell.
Tell grub where to find the requisite files. If you know where they are, enter something like:
(hd0,1) means primary controller master, second partition. If you DON'T know where they are, type:
This command will install grub on the MBR of the first drive.
# Type quit and reboot. Everything should proceed normally.
In our case, the details were all identical except that we used (hd0,0) in place of (hd0,1) because our /boot was on the first partition of the first drive.
This set of commands will get rid of the stupid gcj java that is packaged with Fedora and other Linux distros and replace it with the real java from Oracle.
alternatives --config java
alternatives --remove java /usr/lib/jvm/jre-1.4.2-gcj/bin/java
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1
alternatives --config javac
alternatives --remove javac /usr/lib/jvm/java-1.4.2-gcj/bin/javac
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 1
update-java-alternatives -s java-6-sun
This sets the hash algorithm and the payload compression used by RPM to be compatible with older versions of rpm. This avoids the following errors:
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by x
rpmlib(PayloadIsXz) <= 5.2-1 is needed by x