LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-20-2002, 06:37 PM   #1
pcmatt
LQ Newbie
 
Registered: Nov 2002
Location: wisconsin USA
Posts: 3

Rep: Reputation: 0
Angry editing grub


how do i edit grub when I am logged in as SU???
I mean... what are the commands for editing any text???

I need to get back to an older kernal because I REALLY
messed up this one...
here is what I wrote to Xfree86 to see if they can help.
Maybe someone here can????

thanks

Hello,

I am new to Linux so this is a learning experience.



I am running RedHat 8.0 with all the updates on an AMD 1.2proc,

20gig Harddrive partitioned to run win2000/XP/ RedHat.

I wanted to install XF86 4.2.0 so I thought I read the instructions

Pretty good before installing anything but something happened.

First I ran the xinstall with the –check to see if I got any reports back…all was good.

Then I ran xinstall and followed the prompts going with yes on everything, rebooted and

Got a gray screen with a screen in the lower right corner looking for localhost@ yada yada yada

It just kept repeating it self.

So I hit CTRL ALT F1 bring up a CLI (after rebooting) and tried to startx…this is what I got.





Xlib: connection to :”0.0” refused by server

Xlib: Invalid Mit-Magic-cookie-1 key

Giving up

Xinit: unable to connect to server

Xinit: no such process (error 3):server error



I did make a back up of X11 directory but that about it,

Like I said, this is a learning experience for me so I hope you can

Help me out without much headach.



Thanks
 
Old 11-20-2002, 06:39 PM   #2
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
you are in RH, ok. go to your xterm, SU, get into root mode, and then open gedit, which is a nice graphical editor, just by typing gedit. Then go to your /etc folder and edit grub.conf that's all your need to do. When you finish don't forget to save it, and then just reboot, no need to re-run it. good luck,
 
Old 11-20-2002, 06:43 PM   #3
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
oh, btw, I once trying upgrading the xf86 server as well, and I also did follow the instructions step by step, everything seemed cool. I rebooted, and ran startx, the thing never worked properly...I ended up having to re-install the entire system again and I never bothered upgrading the server again...screw it. It is quite delicate and more than often doesn't work when you do it manually. Best bet would be upgrading it by installing newer version of redhat, but then again, RH 8.0 comes with th elatest versino of XF86 I think...and if it doesn't then you're just going to have to wait for them to put in it the update agent or wait for RH 8.1, , that is your safest bet.
 
Old 11-21-2002, 07:43 AM   #4
pcmatt
LQ Newbie
 
Registered: Nov 2002
Location: wisconsin USA
Posts: 3

Original Poster
Rep: Reputation: 0
Angry

editing grub did nothing so I am going to
reinstall RH and say screw it with the
Xfree86 shit...(untill I understand it more).

MY BIG question is:
Are there any steps to be taken with GRUB
before I reinstall, or just go ahead with it
and GRUB will overwrite itself??
Another words....When I use DISK DRUID,
should I just delete the partitions and reinstall
like I INSTALLED or do I have to FDISK /MBR
and hope like hell I dont screw up my WIN2000/XP
boot sequence.

many thanks to all that are helping me......
 
Old 11-21-2002, 11:57 AM   #5
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Yes it will...
You do that:
1. You don't need delete any parttion in DiskDruid, you select 'Format partition' using some FS
2. You install GRUB ( or LILO) directly in MBR!
3. Configure all you Systems right though the installation, I think it is not difficult. Just the select the partition >> Give it a name >> and setup some part to boot first.

Nothing should happen to you WinXP!
BTW When I had RH I have reinstalled 8 times, and it was ok.
 
Old 11-21-2002, 04:23 PM   #6
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
Since I started using Linux, I probably have reinstalled a distribution on a single and same computer some good 7 to 10 times, hehe. So, don't feel bad at all if you reinstall many, many times, :-D
 
Old 11-21-2002, 08:06 PM   #7
pcmatt
LQ Newbie
 
Registered: Nov 2002
Location: wisconsin USA
Posts: 3

Original Poster
Rep: Reputation: 0
Thumbs up

install went good....
doin all the updates now
thanks for all the help guys
 
Old 11-21-2002, 10:49 PM   #8
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
grats,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Editing hoe Linux - General 2 11-07-2004 06:45 PM
Editing Grub onelung02 Suse/Novell 3 10-27-2004 03:45 AM
Editing Grub Permaximus Linux - Newbie 9 09-22-2004 09:14 AM
need help editing grub orionpc84 Linux - Newbie 5 09-11-2004 11:50 PM
Grub: Editing Kryptow Linux - Newbie 4 09-05-2002 01:47 AM


All times are GMT -5. The time now is 03:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration