Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
on chroot "proc" directory is empty
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
supapo
n00b
n00b


Joined: 06 Nov 2011
Posts: 11

PostPosted: Thu Feb 16, 2012 8:25 am    Post subject: on chroot "proc" directory is empty Reply with quote

hay.
i installing gentoo on 10 part.
i make the "grep -v rootfs /proc/mounts > /etc/mtab" command but he gave me err massege "grep: /proc/mounts: No such file or directory"
now when i go out to livecd i can see the files inside "proc" folder. and when i make chroot again the proc folder is empty
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1146
Location: Austria

PostPosted: Thu Feb 16, 2012 9:01 am    Post subject: Reply with quote

mount -t proc proc /proc

that should do the trick.
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
supapo
n00b
n00b


Joined: 06 Nov 2011
Posts: 11

PostPosted: Thu Feb 16, 2012 9:06 am    Post subject: Reply with quote

no work "mount: proc already mounted" error
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1146
Location: Austria

PostPosted: Thu Feb 16, 2012 9:11 am    Post subject: Reply with quote

you could try mounting it again from inside of the chroot after umounting it...
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
supapo
n00b
n00b


Joined: 06 Nov 2011
Posts: 11

PostPosted: Thu Feb 16, 2012 10:17 am    Post subject: Reply with quote

I just checked. Is empty the folder. What I saw had belonged to the livecd
What to do if the folder Is empty?
Back to top
View user's profile Send private message
supapo
n00b
n00b


Joined: 06 Nov 2011
Posts: 11

PostPosted: Thu Feb 16, 2012 10:23 am    Post subject: Reply with quote

In fact in the stage file the folder PROC is empty
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1146
Location: Austria

PostPosted: Thu Feb 16, 2012 10:25 am    Post subject: Reply with quote

as proc is a directory provided by the kernel (you have to mount it)
_________________
Blog | btrfs | Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
supapo
n00b
n00b


Joined: 06 Nov 2011
Posts: 11

PostPosted: Thu Feb 16, 2012 10:28 am    Post subject: Reply with quote

Yes. I download now the stage file in windows end unrar it and I see that the proc folder ar empty..
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7610

PostPosted: Fri Feb 17, 2012 12:08 am    Post subject: Reply with quote

OP: /proc is supposed to be empty in the downloaded ISO. It must exist so that a filesystem can be mounted there, but the pseudo-filesystem that is mounted at /proc is created and managed by the kernel, so it cannot be in the downloaded ISO.
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