Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Debian complaining about locales when chroot from Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Fri Jan 28, 2022 9:02 pm    Post subject: Debian complaining about locales when chroot from Gentoo Reply with quote

So Debian is complaining about system locales when i do a chroot from a Gentoo live USB.

This does not make sense because once i am in the cheroot environment i thought i was 100% inside the Debian installation?

I even tried mount pts

I have tried the Gentoo way and the following
Code:
mount /dev/sda3 /mnt/debian/
chroot -t proc /proc /mnt/debian/proc
chroot -t sysfs /sys /mnt/debian/sys
chroot -o bind /dev /mnt/debian/dev
chroot /mnt/debian
source /etc/profile
mount /dev/sda1 /boot



Both perl and the package manager seem to be complain....
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3879

PostPosted: Fri Jan 28, 2022 9:18 pm    Post subject: Reply with quote

Quote:

chroot -t proc /proc /mnt/debian/proc
chroot -t sysfs /sys /mnt/debian/sys
chroot -o bind /dev /mnt/debian/dev

Plz replace "chroot" with "mount".
_________________
:)
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Fri Jan 28, 2022 9:23 pm    Post subject: Reply with quote

alamahant wrote:
Quote:

mount -t proc /proc /mnt/debian/proc
mount -t sysfs /sys /mnt/debian/sys
mount -o bind /dev /mnt/debian/dev

Plz replace "chroot" with "mount".


zomg,no that was a type now. Dam you got me bad oops/
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21630

PostPosted: Fri Jan 28, 2022 11:13 pm    Post subject: Reply with quote

Is the correction from alamahant sufficient, or are you saying that you only got that wrong in the thread, but entered it correctly in the shell?

If you still need help, note that environment variables can be carried through if not wiped out, and you might have an environment from the live USB that confuses the Debian system. If so, reset your locale related environment variables.
Back to top
View user's profile Send private message
finalturismo
Guru
Guru


Joined: 06 Jan 2020
Posts: 410

PostPosted: Fri Jan 28, 2022 11:49 pm    Post subject: Reply with quote

Hu wrote:
Is the correction from alamahant sufficient, or are you saying that you only got that wrong in the thread, but entered it correctly in the shell?

If you still need help, note that environment variables can be carried through if not wiped out, and you might have an environment from the live USB that confuses the Debian system. If so, reset your locale related environment variables.


Correct, just in thread. In shell i got it correct. Brain fart.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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