LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 11-24-2009, 12:48 PM   #1
gburdine
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Big leap... Booting Problem editing GNU GRUB 1.97


I have had to delete a line gnu that pointed to my floppy drive. After deleting that line my system boots fine. But the line returns during next boot. How do I save the Grub after editing it?
 
Old 11-24-2009, 01:13 PM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,208

Rep: Reputation: 230Reputation: 230Reputation: 230
Quote:
I have had to delete a line gnu that pointed to my floppy drive. After deleting that line my system boots fine. But the line returns during next boot. How do I save the Grub after editing it?

gburdine,

You don't need to Delete the line, you may only comment it by putting "#" (without quote marks) before each line of that entry. However, if you want to delete and save the menu.lst you must do it after booting, not upon 'grub>' prompt.

What distro are you using? Some distros do not allow you save an altered /boot/grub/menu.lst unless you are doing it as "root". So it means do this:

user@host--$: sudo vi /boot/grub/menu.lst [replace vi to gedit if you want]
user@host--$: <Enter Password>
----- vi or geditor is launched, you can save changes using "Quit"-----

Hope this helps. Good luck.
 
Old 11-24-2009, 02:55 PM   #3
gburdine
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
thanks... I have ubuntu 9.1

I will tryt the # first... actually I think that I did that earlier but not sure if I changed something else.

I don't mind crawling first... especially for opensource...
 
Old 11-24-2009, 05:15 PM   #4
Bratmon
Member
 
Registered: Jul 2009
Location: 75.126.162.205:80
Distribution: Arch / Mint 17
Posts: 297
Blog Entries: 3

Rep: Reputation: 50
Quote:
Originally Posted by gburdine View Post
thanks... I have ubuntu 9.1
Just a little nitpick here: it's 9.10. The 0 is in fact important with the Ubuntu version system (Year.Month).
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grub editing problem in suse 11.0 mobinskariya Suse/Novell 1 09-17-2008 05:01 PM
LXer: Report: Big Vendors Leap To More Linux In Retail Stores LXer Syndicated Linux News 1 05-24-2006 04:22 PM
Problem with GNU Grub, trying to load windows ProxyKing Linux - Games 4 06-10-2005 03:14 PM
BIG Linux booting problem---HELP Robin01 Linux - Newbie 11 12-04-2003 05:23 AM
big problem with RH8 booting...plz help rosko Linux - General 0 02-06-2003 11:48 PM


All times are GMT -5. The time now is 08:19 PM.

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