Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im having a little problem right now. This was my setp up 2 weeks ago
2 HDD
DRIVE A==>XP
DRIVE B==>REDHAT9. Then I decided to go out and buy another HD and install other distros on the new drive without messing with the data i had on the drive B. So I removed Drive B and install the new drive(i'll call it C for continuity). Proceeded to install FC2, everything went fine. Today I decided to remove drive C and reinstall drive B so i can access some data on that drive. Now it boots, it comes to the screen where grub appears and just hangs there. I can boot into rescue mode but dont know what to do next. Can someone point in the right direction. I want to edit grub.conf so i have the option of xp or redhat9. thanks in advance for your help. Another questions, if and when i decided to reinstall Drive C, am I going to have the same problem??
thanks for the reply massand, but i want to be able to boot into redhat9 which is
different hard drive than fedora core2. I want to be able to boot into rescue mode
using redhat9 cd which i did and got to the shelll prompt and typed chroot /mnt/
sysimage. I dont understand why this is happening. 'Grub is installed on botgh
drives, the one with Fedora and the one with Redhat9. what lines do i have to add to grub.conf to restore to its original default configuration?? thanks in advance
hi messand, after booting into rescue mode and chroot /mnt/sysimage, is there a way to log into graphical mode??
"grub-install /dev/hda
and reboot"
will this re-install grub or re-set it to its orginal configuration??
thanks in advance
I already followed your advise. im now at shell. it mounted the sysimage directory. how can i log into the graphical environment from this point? i tried startx and i got the following error
hostname: localhost.localdomain: unknown host
xauth: creating new authority file //.Xauthority
xauth: creating new authority file //.Xauthority
using authority file //.Xauthority
writing authority file //.Xauthority
fatal server error:
cannot open log file "/var/log/Xfree86.0.log
i opened my grub.conf file and everything looks ok
#boot=/dev/hde
default=1
timeout=10
splashimage=(hd1, 0)/grub/splash.xpm.gz
password*******************
title Red Hat Linux(2.4.20-6)
root (hd1,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.20-6.img
title DOS
rootnoverify (hd0, 0)
chainloader +1
should i make any changes?? or should re-install grub? if re-install grub, will that fix the problem?? thanks in advance
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.