View previous topic :: View next topic |
Author |
Message |
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Mon Mar 09, 2015 7:36 pm Post subject: gentoo on ft700t |
|
|
hi all
I am trying to install gentoo on my tf700t.i am using this guide: http://wiki.gentoo.org/wiki/Asus_Transformer_Infinity_%28TF700T%29/Install
.I am at the chroot and dont fully understand this:"remount with bind dev, proc, run, sys: for i in dev proc run sys; do mount -o bind /$i $i; done" .I did not find run and when i have made an other gentoo install i used:
livecd usr # cd /
livecd / # mount -t proc proc /mnt/gentoo/proc
livecd / # mount --rbind /dev /mnt/gentoo/dev
livecd / # mount --rbind /sys /mnt/gentoo/sys
livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
livecd / # chroot /mnt/gentoo /bin/bash
livecd / # source /etc/profile
After i chrooted i hade an other problem.i did not have any command....
regards hedmo |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Mon Mar 09, 2015 7:51 pm Post subject: |
|
|
hedmo,
/run is the new /var/run, its in tmpfs.
This allows for some writeable space before root is remounted rw.
If you don't have it you probobly don't need it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Mon Mar 09, 2015 8:00 pm Post subject: |
|
|
thanks NeddySeagoon
do you know why i dont have any commands in the chrooted env..?
regards hedmo. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Mon Mar 09, 2015 8:08 pm Post subject: |
|
|
hedmo,
Not even any error messages?
If bash won't start when you chroot, it should say something.
Does busybox work?
Try Code: | chroot /mnt/gentoo /bin/busybox |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Mon Mar 09, 2015 8:13 pm Post subject: |
|
|
NeddySeagoon
i got a message:
bash: ls: command not found
but i can exit.I will try yours. |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Mon Mar 09, 2015 8:44 pm Post subject: |
|
|
i manage to get some commands to work if i /bin/and the command . i will try to use a ssh from my
gentoo box so i can give a better view.
Thanks for now NeddySeagoon
Regards hedmo |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54421 Location: 56N 3W
|
Posted: Mon Mar 09, 2015 8:48 pm Post subject: |
|
|
hedmo,
Your PATH is not set.
What does export $PATH tell?
As a nrmal user, I get Code: | $ export $PATH
bash: export: `/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.2:/usr/x86_64-pc-linux-gnu/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.8.4:/usr/x86_64-pc-linux-gnu/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.8.4:/usr/games/bin:/usr/portage/local/layman/sunrise/scripts:/usr/portage/local/layman/sunrise/scripts': not a valid identifier |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Tue Mar 10, 2015 8:20 pm Post subject: |
|
|
NeddySeagoon
i did not try it but i manage to get some where with some commands:
/bin/passwd to get a new password and /bin/su to get to root.
after that i could emerge and stuff.but i got my self a new problem.i can emerge --sync but i can not emerge stuff and the error is something about
fetshing from distfiles or to distfiles.one step forward and more to go.
regards hedmo |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Wed Mar 11, 2015 6:26 pm Post subject: |
|
|
i need some help with my next problem. when i try to emerge some things i get the error: openpty failed "out of pty devices" and its because i have to use
mount -o bind /dev and not mount ---rbind /dev when i chroot .is there a way to solve this
regards hedmo |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Mon Mar 23, 2015 6:41 pm Post subject: |
|
|
i had to install ubuntu and now chroot works and i can emerge and boot up gentoo to .
i had to use ubuntus zImage and initrd.img to make it boot
regards hedmo |
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1307 Location: sweden
|
Posted: Wed Mar 25, 2015 8:30 pm Post subject: |
|
|
hi again
does anyone know where to find a xorg-server-1.13 ebuild
regards hedmo |
|
Back to top |
|
|
|