Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
segmentation fault when trying to chroot[solved]
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Jun 01, 2013 8:37 am    Post subject: segmentation fault when trying to chroot[solved] Reply with quote

All I did so far was extract the latest stage 3 tarball into my express ssd card
I try to chroot and i get:
localhost gentooo # chroot /mnt/gentooo
Segmentation fault


I have tried this twice and I'm getting the same result

thanks

apparently I was using a corrupt stage 3 tarball


Last edited by Adel Ahmed on Sat Jun 01, 2013 7:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 01, 2013 12:55 pm    Post subject: Reply with quote

blakdeath,

What does fsck say about your filesystems on your SSD card?
I suspect its corrupt.
_________________
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
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Jun 01, 2013 1:36 pm    Post subject: Reply with quote

actually It's brand new, this is the first time for me to mount it
and the fsck returns:
/dev/sdb1: clean, 43507/245760 files, 226493/983032 blocks

:(
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sat Jun 01, 2013 3:53 pm    Post subject: Reply with quote

note you changed the command prompt from the handbook suggestion, perhaps some other part of the chroot process was changed?
suggest boot cd, mount gentoo partitions,
Code:
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"

_________________
Defund the FCC.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Jun 01, 2013 5:30 pm    Post subject: Reply with quote

I did try out both ways, a simple chroot and the handbook chroot
I just inserted one of my already installed gentoo USBs and chroot worked
I think I might have downloaded a corrupt stage 3 image, I'll try redownloading and see how it goes
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1158

PostPosted: Sat Jun 01, 2013 7:02 pm    Post subject: Reply with quote

yup, the image I just downloaded is working fine
thanks everyone
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