Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless networking with wpa2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jls7884
n00b
n00b


Joined: 14 Mar 2014
Posts: 21

PostPosted: Thu Apr 10, 2014 3:26 pm    Post subject: Reply with quote

Sorry, that was a typo in the forum post. It was correct in my code but I just never bothered to correct my post. It is supposed to be wlp3s0.

From Ubuntu mount returns:

Quote:

jacob@jacob-VGN-TZ150N:~$ mount
/dev/sdb2 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=jacob)


I then mounted all of the file systems and then chrooted.

code:

Code:

jacob@jacob-VGN-TZ150N:~$ sudo mount /dev/sda4 /mnt/gentoo
[sudo] password for jacob:
jacob@jacob-VGN-TZ150N:~$ sudo mount /dev/sda2 /mnt/gentoo/boot
jacob@jacob-VGN-TZ150N:~$ sudo mount -t proc none /mnt/gentoo/proc
jacob@jacob-VGN-TZ150N:~$ sudo mount --rbind /sys /mnt/gentoo/sys
jacob@jacob-VGN-TZ150N:~$ sudo mount --rbind /dev /mnt/gentoo/dev
jacob@jacob-VGN-TZ150N:~$ sudo chroot /mnt/gentoo /bin/bash
jacob-VGN-TZ150N / # source /etc/profile
jacob-VGN-TZ150N / # export PS1="(chroot) $PS1"


Mount from chroot doesn't return anything.

Code:

(chroot) jacob-VGN-TZ150N / # mount
(chroot) jacob-VGN-TZ150N / #


Not sure how to tell if the permissions are 1777 but here is my code:

Code:

(chroot) jacob-VGN-TZ150N / # ls -ld /dev/shm
lrwxrwxrwx 1 root root 8 Apr 10 08:56 /dev/shm -> /run/shm
(chroot) jacob-VGN-TZ150N / #
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Apr 10, 2014 9:17 pm    Post subject: Reply with quote

mount
lrwxrwxrwx should be drwxrwxrwx
/dev/shm -> /run/shm should be /dev/shm without a symlink

either sudo is inadequate or ubuntu can no longer support a gentoo chroot
choices:
su
su -
su --
su -i maybe ubuntu cd only
sysresccd instead of ubuntu
_________________
Defund the FCC.
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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