Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Troubles installing partitions
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
Alive-adn-well
n00b
n00b


Joined: 30 May 2013
Posts: 6

PostPosted: Thu May 30, 2013 7:56 pm    Post subject: Troubles installing partitions Reply with quote

Hi i am trying to install gentoo (for the first time)

but i'm stuck right at the beginning.
After changing the root Directory "fdisk -l" shows nothing ( see screenshot)
http://imageshack.us/photo/my-images/819/errorkl.png/


any Ideas what i am doing wrong?

Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43192
Location: 56N 3W

PostPosted: Thu May 30, 2013 9:00 pm    Post subject: Reply with quote

Alive-adn-well,

Welcome to Gentoo.

I think you probably missed the bind mounting of /dev to /mnt/gentoo/dev before the chroot step, so that inside the chroot, /dev is empty ... so /dev/sda does not exist.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Alive-adn-well
n00b
n00b


Joined: 30 May 2013
Posts: 6

PostPosted: Fri May 31, 2013 6:43 am    Post subject: Reply with quote

i used

Code:
mount --rbind /dev /mnt/gentoo/dev


before i used the chroot command (see screenshot) but the problem still appears.


Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43192
Location: 56N 3W

PostPosted: Fri May 31, 2013 5:27 pm    Post subject: Reply with quote

Alive-adn-well,

Ah, I misread your screenshot.

The problem is that the fdisk command is not installed in your chroot. That's odd as its provided by sys-apps/util-linux

Looking more closely at your screenshot, you appear to have skipped the env-update command. That probably sets your path.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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