[School-GNU-Linux] editing menu.lst

  • From: "Vimal Joseph" <vimal@xxxxxxxxxxxxxxxx>
  • To: schoolgnu@xxxxxxxxxxxxx
  • Date: Thu, 30 Nov 2006 12:21:55 +0530

---------- Forwarded message ----------
From: anju paul <anju_dencil@xxxxxxxxx>
Date: Nov 2, 2006 12:04 AM
Subject: sir.....
To: linuxqa@xxxxxxxxx


Sir,

I am a high school teacher. I installed IT school Linux version in my
laptop. Hear are my some doubt. I am not that much efficient in IT. I
am not qualified also.stil I like to learn more about Linux.

Hello Anju

You can join schoolgnu@xxxxxxxxxxxxx
(http://support.space-kerala.org/mailinglist.html)
and ask your querries there. There are many people in this mailing
list who are qualified and ready to help.


Doubts
While booting it directly going to Linux o.s with out giving a chance
to go to other o.s. I know that we should edit menu list for that. But
I don't know were should I edit. My wish is that cursor should stop on
"other operating system". From there I can go to any of the operating
system. hope u got it,

You have to edit the /boot/grub/menu.lst and change the default to the
item you wish to be the default one.

In a typical situation, the default value will be 0 (for Debian
GNU/Linux) if you want to make the other operating system tag as the
default one, change the value of default to 2

If I forgot the root pass word what shall I do? I know that some thing
to be done in recovery mode. But don't know in full.

To recover password, in the blue screen of GRUB, edit the first option
(Debian GNU/Linux) with the key 'e'

you'll get another screen which shows Kernel on the second line. Edit
that with 'e'

And on that line, move the cursor to the end and change 'ro' to 'rw'
and add the following : init=/bin/sh

Then Enter and press 'b' to boot the system.

The system boots up and give you a shell Ie. #

use the command passwd to change the password of root or any user
(passwd username)

HTH
regards,

~vimal

--
Free Software, Free Society <http://fsfs.hipatia.net>
For Tips and Tricks on School GNU/Linux visit
http://support.space-kerala.org

To change your subscription options to this list visit
http://support.space-kerala.org/mailinglist.html


Other related posts: