Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UEFI dualboot with windows via kali, cant chroot into gentoo
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
Delupara
n00b
n00b


Joined: 03 Aug 2017
Posts: 22

PostPosted: Thu Aug 03, 2017 10:38 pm    Post subject: UEFI dualboot with windows via kali, cant chroot into gentoo Reply with quote

Im currently installing gentoo (or at least im trying to :lol: ) on my main pc. I knew I'd need another linux distro since I heard somewhere that the live rescue didn't had the fat32 file system I needed to make the ESP

anyway I use kali to do it, simply because I had it on hand, and I start reading / following the handbook up to here, entering Chroot gives me the following output:

Code:
root@kali:/dev# chroot /mnt/gentoo/ /bin/bash
bash: /dev/null: Permission denied
kali / #


why? I tried looking that up but not much luck, I found this stack exchange post which I tried and well it didn't do anything. so im turning here next, hopefully there are some peeps here that can help me out :D

EDIT: I already checked /dev/null permissions: they are fine, so I have no bloody clue what is going on here.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7134
Location: almost Mile High in the USA

PostPosted: Fri Aug 04, 2017 1:09 am    Post subject: Reply with quote

(just guessing here, if your observations about your /dev/null permissions are indeed correct and don't have xattr issues) Kali is probably has some very restrictive grsec kernel that blocks access to special devices that aren't root homed. Might want to try some other boot cd? I recently downloaded and burned a SystemRescueCD and found it to be quite useful - no more need to keep around multiple images for x86, x86_64, uefi or not...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13848

PostPosted: Fri Aug 04, 2017 1:44 am    Post subject: Reply with quote

Please post the output of uname -a so we can check eccerr0r's idea, and the output of cat /proc/self/mountinfo so we can check your mount options.
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