LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Big leap... Booting Problem editing GNU GRUB 1.97 (https://www.linuxquestions.org/questions/linux-newbie-8/big-leap-booting-problem-editing-gnu-grub-1-97-a-771273/)

gburdine 11-24-2009 12:48 PM

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?

malekmustaq 11-24-2009 01:13 PM

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.

gburdine 11-24-2009 02:55 PM

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...

Bratmon 11-24-2009 05:15 PM

Quote:

Originally Posted by gburdine (Post 3768317)
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).


All times are GMT -5. The time now is 09:31 PM.