View previous topic :: View next topic |
Author |
Message |
finalturismo Guru
Joined: 06 Jan 2020 Posts: 410
|
Posted: Fri Jan 28, 2022 9:02 pm Post subject: Debian complaining about locales when chroot from Gentoo |
|
|
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 |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Fri Jan 28, 2022 9:18 pm Post subject: |
|
|
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 |
|
|
finalturismo Guru
Joined: 06 Jan 2020 Posts: 410
|
Posted: Fri Jan 28, 2022 9:23 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21630
|
Posted: Fri Jan 28, 2022 11:13 pm Post subject: |
|
|
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 |
|
|
finalturismo Guru
Joined: 06 Jan 2020 Posts: 410
|
Posted: Fri Jan 28, 2022 11:49 pm Post subject: |
|
|
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 |
|
|
|