Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-25-2005, 10:25 AM   #1
LQ Newbie
Registered: Oct 2005
Posts: 16

Rep: Reputation: 0
Updating Grub - Debian

Greetings From Noobville,

I just installed Debian last week from CD images I created by downloading files. The installation whet pretty well. I loaded kernel version 2.4.27-386 onto my Dell PIII. I have This is a dual boot system. I have two hard drives. My main drive is 60GB which holds WindowsME (donít) laugh. My secondary drive is 80GB. This is broken into two partitions of which 40GB is for Windosí files (MP3, JPGs) and the second partition holds Debian. The grub boot loader worked fine and Iím able to boot either Windows or Debian. Grub defaults to Debian after 5 seconds. Iíd like to change this to default to Windows after 30 seconds or so. (This way, I can keep the wife and kids happy until I have a chance to introduce them to Linux).

Thereís seems to be plenty of information on what to change in the Grub file, but I donít know how to change it. Specifically, when I open menu.lst from the desktop, I can make changes but I canít save them. I get an error message. I suspect the problem is that I canít login to desktop as root. So, do I need to login as root and how do I do this in Debian Ė GNOME.

Thank you,

Old 10-25-2005, 10:32 AM   #2
Registered: Feb 2005
Posts: 95

Rep: Reputation: 17

Yes, you do need to make changes to menu.lst as root. An easy way to do this is to use the su command to become root in an existing shell window:

su root

You will be promted for your root password.

At this point, you should be able to edit the menu.lst file.

Good Luck.

- Dave
Old 10-25-2005, 10:35 AM   #3
Senior Member
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,158

Rep: Reputation: 61
easiest way would be to use the gedit text editor that comes with GNOME

su -
Enter your root password:

gedit /boot/grub/menu.lst
Make changes, close the file and exit out of root account.

The fact that you are able to view the file but not change it is because of file permissions. Only root can make changes to system critical files.

Old 10-25-2005, 10:36 AM   #4
Senior Member
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Couldn't agree more


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
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Debian Menus not updating reyemarr Debian 0 03-22-2004 06:27 AM
Updating or editing grub loader newbie Mike Linux - Newbie 1 03-17-2004 06:49 PM
Updating Grub.conf With New Kernel hanserr Linux - Newbie 3 02-27-2004 05:01 AM
Updating grub after libranet istallation marcoc Libranet 3 11-10-2003 11:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 AM.

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