Unix Technical Forum

using RH 8 or 9 where is the command line Newbie Q's

This is a discussion on using RH 8 or 9 where is the command line Newbie Q's within the Linux Operating System forums, part of the Unix Operating Systems category; --> Yes, this is a newbie question. But I can not find the command line. I want to find the ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 06:11 AM
Sean Cleary
 
Posts: n/a
Default using RH 8 or 9 where is the command line Newbie Q's

Yes, this is a newbie question. But I can not find the command line.

I want to find the command line to alter the Grub files so that I can
change my default behavior.

I ideally would like grub to remember the last selection as the
current default. Any hope of that?

Sean
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 06:11 AM
Paul Lutus
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

Sean Cleary wrote:

> Yes, this is a newbie question. But I can not find the command line.


1. Ctrl+Alt+F1 through F6.

2. Or, run xterm.

>
> I want to find the command line to alter the Grub files so that I can
> change my default behavior.


Define "behavior".

>
> I ideally would like grub to remember the last selection as the
> current default. Any hope of that?


Define "last selection". Define "current default". In other words, tell us
what you wanted, what you got, and how they differ.

--
Paul Lutus
http://www.arachnoid.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 06:11 AM
Laurenz Albe
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

Sean Cleary <seanearlyaug@hotmail.com> wrote:
> Yes, this is a newbie question. But I can not find the command line.


What window manager do you use?
Search through all the menues for things that vaguely sound like
'terminal', 'console' or similar.
Try hitting Alt+F2 and if you get a small input line, write
'xterm' into it and hit enter.

> I want to find the command line to alter the Grub files so that I can
> change my default behavior.
>
> I ideally would like grub to remember the last selection as the
> current default. Any hope of that?


I cannot help you with that as I don't know grub, but I guess it's not
possible.

Laurenz Albe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 06:12 AM
Sean Cleary
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

Paul Lutus <nospam@nosite.zzz> wrote in message news:<10lmp0hjcs272fd@corp.supernews.com>...
> Sean Cleary wrote:
>
> > Yes, this is a newbie question. But I can not find the command line.

>
> 1. Ctrl+Alt+F1 through F6.
>
> 2. Or, run xterm.
>

Thank you.
> >
> > I want to find the command line to alter the Grub files so that I can
> > change my default behavior.

>
> Define "behavior".
>

Ok, now when I boot up it defaults to booting Linux. Always. What I
want is when I have last booted up and chosen Linux, that it boots
Linux, but when I have last chosen Windows, it boots windows, and when
I have not made a choice it boots the OS selected at the last
selection point. I also must keep the option of chosing to boot the
non-selected OS.

Sean
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 06:12 AM
Michael Heiming
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.setup Sean Cleary <seanearlyaug@hotmail.com> suggested:
> Paul Lutus <nospam@nosite.zzz> wrote in message news:<10lmp0hjcs272fd@corp.supernews.com>...
>> Sean Cleary wrote:

[..]

>> Define "behavior".


> Ok, now when I boot up it defaults to booting Linux. Always. What I
> want is when I have last booted up and chosen Linux, that it boots
> Linux, but when I have last chosen Windows, it boots windows, and when
> I have not made a choice it boots the OS selected at the last
> selection point. I also must keep the option of chosing to boot the
> non-selected OS.


The closest I could think of, remove grub, install lilo and use
the "-R" switch from some shutdown script to switch to booting
Linux, while leaving the default "M$" (shudder).

Use "timeout=" to specify the time lilo waits for manual boot
selection.

Good luck

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBXAuHAkPEju3Se5QRApSKAJ0WDPuZq+8sXbRY/tLue5CWJmvQNwCeKPr3
mWEfQMT2NFxwJDJ9M/MbjH8=
=t2bl
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-18-2008, 06:12 AM
Paul Lutus
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

Sean Cleary wrote:

/ ...

> Ok, now when I boot up it defaults to booting Linux. Always. What I
> want is when I have last booted up and chosen Linux, that it boots
> Linux, but when I have last chosen Windows, it boots windows, and when
> I have not made a choice it boots the OS selected at the last
> selection point. I also must keep the option of chosing to boot the
> non-selected OS.


Hmm. Can I ask why this nice, crystal-clear statement of the problem was not
in your first post?

Are you running Grub? You can change the contents of the Grub configuration
file from Linux after booting into Linux, but you can't from Windows.

--
Paul Lutus
http://www.arachnoid.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-18-2008, 06:12 AM
Sean Cleary
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

many questions, many answers, more questions:
>
> > Ok, now when I boot up it defaults to booting Linux. Always. What I
> > want is when I have last booted up and chosen Linux, that it boots
> > Linux, but when I have last chosen Windows, it boots windows, and when
> > I have not made a choice it boots the OS selected at the last
> > selection point. I also must keep the option of chosing to boot the
> > non-selected OS.

>
> Hmm. Can I ask why this nice, crystal-clear statement of the problem was not
> in your first post?
>

it is a heavily expanded restatement of:
"I ideally would like grub to remember the last selection as the
current default. Any hope of that?"
It assumed (a bit, in part) that my helper would be familiar with the
basic Grub boot up behavior, and so did not elaborately describe it.
The only obvious selections that Grub gives the user is which OS to
choose(1). Grub is a tool used to run two or more OSes on one
computer, one at a time, and with a boot between changing from one OS
to the next. How expanded does this need to be?

(1) with some options to use some commands, but not the generally
selected options

If this (grub config file or whatever is controling Grub) was a batch
file in Dos, I could have 3 files: one for the autoexec.bat, one
auto.1 and one auto.2 -- and copy the one selected into autoexec.bat
for the next boot. I can post this in expanded english version if
needed. Unix is supposed to be better/more powerful than DOS. So there
should be an awnser that does not involve going to a different Boot
loader. I though that Grub was the best, which is why I chose it.

> Are you running Grub?


Yes.

You can change the contents of the Grub configuration
file from Linux after booting into Linux, but you can't from Windows.

Thank you. I am ahead of my question, but your answer was kind,
useful, and could have been timely.
This is where I currently am:

Found the boot/grub directory. found grub.conf. Can not change it.
learned about chmod. found I do not have the permission to change grub
or read anything in that directory. Need to be sysop I guess. Since I
am (in a sense) (the only )sysop (this machine will ever have), how
can I convince the machine that I have permission to read the files in
grub? This might mean how can I log in as sysop in xterm. I have made
my login and password the same as the sysop one. Do I have to
reinstall the Linux system again? I think that I should get into the
sysop mode to change the sysop name and password. I can change the
password from the window system. Would this be enough? can the system
handle 2 users with the same user name?

Sean
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-18-2008, 06:12 AM
Paul Lutus
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

Sean Cleary wrote:

/ ...

> This is where I currently am:
>
> Found the boot/grub directory. found grub.conf. Can not change it.
> learned about chmod. found I do not have the permission to change grub
> or read anything in that directory. Need to be sysop I guess.


$ man sudo

> Since I
> am (in a sense) (the only )sysop (this machine will ever have), how
> can I convince the machine that I have permission to read the files in
> grub?


$ man sudo

> This might mean how can I log in as sysop in xterm.


You do not need to do it that way. In fact, that is a bad idea. Use "sudo".

> I have made
> my login and password the same as the sysop one.


Extremely bad idea. Spectacularly bad idea.

> Do I have to
> reinstall the Linux system again?


No. Just don't log on as root.

> I think that I should get into the
> sysop mode to change the sysop name and password.


Do it this way:

$ su
(asks for root password)
# passwd
(change root password)

And DO NOT change the login name of the root account, or your own account.

> I can change the
> password from the window system. Would this be enough?


Enough for what?

> can the system
> handle 2 users with the same user name?


No. Why would you want to do this?

--
Paul Lutus
http://www.arachnoid.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-18-2008, 06:12 AM
Sean Cleary
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

seanearlyaug@hotmail.com (Sean Cleary) wrote in message news:<1c5ac0c6.0409301616.ddf77af@posting.google.c om>...
> many questions, many answers, more questions:
> >
> > > Ok, now when I boot up it defaults to booting Linux. Always. What I
> > > want is when I have last booted up and chosen Linux, that it boots

>


Sorry if I may have sounded mean. I did not intend to do so. I was
tired. I need and appriciate your knowage and advice.
> Sean

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-18-2008, 06:12 AM
Sean Cleary
 
Posts: n/a
Default Re: using RH 8 or 9 where is the command line Newbie Q's

> I cannot help you with that as I don't know grub, but I guess it's not
> possible.
>
> Laurenz Albe

Thank you for the small help that you have provided.

Sean
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:58 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com