Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Default root password?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
MrHost56
n00b
n00b


Joined: 27 Apr 2017
Posts: 5

PostPosted: Sat Jun 17, 2017 4:31 am    Post subject: Default root password? Reply with quote

I am attempting to mount some hard drives and thus install Gentoo on them on some old towers I found. I am booting from a live USB, but for some reason it is refusing to allow me access to mount said hard drives. Gentoo is telling me I need root permissions in order to do so, even though I never set up a root password. I have heard of a method referred to as chrooting, but I have found very little tutorials on this subject.
If anyone could help me with this I would owe them one. Thanks in advance.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7094
Location: Saint Amant, Acadiana

PostPosted: Sat Jun 17, 2017 5:04 am    Post subject: Reply with quote

Sorry this does not make sense to me. What is the exact command and what is the exact response. I have to say I've never used Gentoo install disk so I have no clue how it behaves, but I'd assume you are logged in as root by default, no password asked.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jun 17, 2017 5:12 am    Post subject: Re: Default root password? Reply with quote

MrHost56 wrote:
Gentoo is telling me I need root permissions in order to do so, even though I never set up a root password.
It's not really clear what's telling you what without some detail and context. Where did the live USB come from? What step of the Handbook install are you on? What exact command did you issue and what were the exact messages that resulted?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Jun 17, 2017 1:05 pm    Post subject: Reply with quote

Ninja'd by Jaglover, but some thoughts occurred to me overnight. First, chrooting involves selecting a different place to be the root filesystem, not establishing root user privileges, so no need to bark up that tree. Second, if you're using the Gentoo Live CD, opening a command prompt doesn't directly give you root privileges; however, you can get there:
Gentoo Handbook wrote:
The occasional Gentoo LiveDVD

Occasionally, a special DVD is crafted by the Gentoo Ten project which can be used to install Gentoo. The instructions further down this chapter target the Minimal Installation CD so might be a bit different. However, the LiveDVD (or any other bootable Linux environment) supports getting a root prompt by just invoking sudo su - or sudo -i in a terminal.
There is not typically a default root password on live media because it would have to be random (and thus unknowable) or fixed (and thus of little security value).

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum