LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-09-2005, 10:02 PM   #1
Adriann
Member
 
Registered: Sep 2003
Location: St. Paul Mn
Distribution: OpenSuse 13.1 AND Win 10
Posts: 76

Rep: Reputation: 18
Unhappy Mandrake 10.1 terminal start


Greetings all;

Well, I messed up. I've been using 10.1 now for two weeks and it has performed flawlessly.
I tried to change the root name in the user section of 10.1 settings.
When I tried a reboot I get the following:

No directory /root!
Logging in with home = "/".
-bash: /root/.bash_profile: permission denied
-bash-2.05b$

I tried fail safe and got the same thing. I tried startx and nothing happened.

Help

Adriann

 
Old 05-09-2005, 10:32 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
What did you try to name it too? You said your typed "startx" That would be assuming you were able to login to some account...

Seems like it changed your user name to root...??? I think the /root in /root/.bash_profile is suppose to be your $HOME folder. If you can''t get into root from rescue mode don't know what you can do except maybe load a liveCD try to mount your linux partition and go from there...

KC
 
Old 05-10-2005, 07:06 AM   #3
thunderweasel
Member
 
Registered: Mar 2005
Distribution: Void Linux
Posts: 143

Rep: Reputation: 15
You aren't supposed to change the name of your root account, as linux looks for some startup info in the /root folder (or so I've read), which has now been renamed to whatever you changed the root account name to. Sorry, I don't have alot of experience yet, so I can't really help you fix it, but I'm sure it's possible. Like has already been said, try a live cd like knoppix, mount your drive and see if you can change the folder name from /"whateveryouchangeditto" back to /root
 
Old 05-10-2005, 01:52 PM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Thats a tough one, you shouldn't really change roots username. Are you still able to run gui programs as root e.g. the Mandrake Control Center when logged in as another user? If you can you can try and restore your settings from there. if not you may need to use a live cd like Mepis or Knoppix to edit the /etc/passwd file and restore the root acount to what its supposed to be and make sure that /root exists on the root (/) filesystem.
 
Old 05-10-2005, 06:29 PM   #5
Adriann
Member
 
Registered: Sep 2003
Location: St. Paul Mn
Distribution: OpenSuse 13.1 AND Win 10
Posts: 76

Original Poster
Rep: Reputation: 18
Smile Re: Mandrake terminal start

Thank all of you for your suggestions. I will give them all a try.
The important thing here is I KNOW what I did wrong now and
I certainly will not do THAT again! :-) Secondly, the install was
only a couple of weeks old, so nothing of importance was lost.
If worst comes to worst case I can always reinstall the OS.

Thanks again

Adriann
 
Old 05-11-2005, 01:24 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
What you could do to possibly fix this problem is use a MOVE CD like Knoppix of Mandrake MOVE. Then go in and change your root folder back to whatever it was. Just a guess
 
  


Reply



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
Can't start a terminal!!! FXRS Slackware 17 08-31-2008 10:15 AM
Switching back to the Mandrake 9.1 desktop from terminal rdesktop terminal session marc218 Linux - General 6 02-08-2007 02:45 PM
Start up process in terminal vitaliiluchka Linux - General 1 10-18-2004 11:21 PM
Can't start a terminal blixel Linux - Newbie 1 10-06-2003 06:11 PM
How to start a prog in another terminal ? gluon Linux - General 3 07-18-2002 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration