LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Two small problems (https://www.linuxquestions.org/questions/linux-general-1/two-small-problems-38171/)

jimmmac 12-12-2002 07:45 PM

Two small problems
 
Hi everyone.

I have one problem and one "trying to do" running RedHat 8.0 on a Dell Dimension with two hard drives. My RedHat is on hdd1, Windows ME on hda1 and I have a Mandrake on hdd5.

1. I would like to install Grub as the bootloader, since I am hardly every in Windows. But when I run grub-install /dev/hda1 using either .92 or .93, I get the following message

/dev/hda1 does not have any corresponding BIOS drive.

2. With Ximian Evolution, I used to be able click on links and bring up Mozilla, until I erased an old Mozilla. Now I click on links, nothing comes up. When I right click, I get a pop-up with "Open Link in Browser" (which doesn't) or "Copy Link", to where I don't know. I did a google search and they told me to change my .gnome/Gnome file, which I did to the below. Nothing.

[URL Handlers]
default-show=gnome-moz-remote "%s"
info-show=gnome-help-browser "%s"
man-show=gnome-help-browser "%s"
ghelp-show=gnome-help-browser "%s"
http-show=gnome-moz-remote "%s"
https-show=gnome-moz-remote "%s"
ftp-show=gnome-moz-remote "%s"
aj@simulacron:~$

Any help would be really appreciated.

Jim Macdonald
jimmmac@attbi.com

Thymox 12-12-2002 07:47 PM

If you are trying to install Grub as the bootloader, then you should not be trying to put it into /dev/hda1... that is a partition. Try running grub-install /dev/hda

rufius 12-12-2002 08:11 PM

Well, out of pure honesty, I'd have to say your first mistake was installing Windows ME, ME meaning "Multiple Errors" or "Meltdown Eminent". But that would be my only comment, just talk to Grant, he knows everything, he helped me do everything lol.

DavidPhillips 12-13-2002 04:02 AM

if you upgraded mozilla you probably moved it path from usr/local/mozilla/mozilla to /usr/lib/mozilla/mozilla or something like that

just put mozilla in your path PATH=$PATH:/usr/lib/mozilla

or ln -s /usr/lib/mozilla /usr/local/mozilla

jimmmac 12-13-2002 08:00 AM

Hi everyone.

Don't blame me for Windows ME, it came installed on the computer. Putting RH Linux on is kind of like beginning to fix things. Now if I could only convince my wife. Well anyway, to Grant, I tried both and got the same messages. For Grant, thanks, I will try that when I get home tonight. Thanks for the response everyone.

Jim

P.S. Talk about Windows ME being bad, at least it doesn't take over your whole system like Windows XP does. That will never appear on any computer I have. The worst manifestation of the EVIL EMPIRE.

jimmmac 12-14-2002 07:22 AM

Hi everyone.

I found somewhere to try ./grub-install '(hd0)', which I did and got the following

[root@localhost sbin]# ./grub-install '(hd0)'


GRUB version 0.93 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,0)"... failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 p / boot/grub/menu.lst "... failed

Error 21: Selected disk does not exist
grub> quit
[root@localhost sbin]#

Dave, I tried ln -s /usr/lib/mozilla /usr/local/mozilla and got the following message back.

ln: `/usr/local/mozilla/mozilla': File exists

I would like to try your path change, but I can't remember where Linux stores the path. Would really appreciate any help. Thanks.

DavidPhillips 12-14-2002 04:16 PM

ok add the path to the path statement in ~/.bash_profile

~/ is your home folder

here is an example

cat ~/.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH




---------------------------------------------


this would add it to your path

PATH=$PATH:$HOME/bin:/usr/local/mozilla

jimmmac 12-14-2002 04:54 PM

Hi David

I did find it and managed to get it in my path. But my links are still not opening up in Ximian. And I still can't get Grub on my hard drive. Any other ideas would be more than appreciated. I have searched around and no luck so far. Thanks.

Jim

DavidPhillips 12-14-2002 09:35 PM

make the link like this

ln -s /usr/local/mozilla /usr/lib/mozilla


or in gnome control panel

Document handler -> default application -> web browser ->



Document handler -> URL handler ->

DavidPhillips 12-14-2002 09:36 PM

for grub help try this

info grub


All times are GMT -5. The time now is 07:13 PM.