Page 4 of 8
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 3:50 pm
by lbalan79
There is no /dev/pts anymore... /dtv/pts/ is where they are...
Code: Select all
# mount -t devpts devpts /tmp/ubuntu/dev/pts
mount: mounting devpts on /tmp/ubuntu/dev/pts failed: No such file or directory
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 4:16 pm
by sectroyer
lbalan79 wrote:There is no /dev/pts anymore... /dtv/pts/ is where they are...
Code: Select all
# mount -t devpts devpts /tmp/ubuntu/dev/pts
mount: mounting devpts on /tmp/ubuntu/dev/pts failed: No such file or directory
This tutorial is NOT for F/H
Although you can base your work on this
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 4:48 pm
by lbalan79
lbalan79 wrote:sectroyer wrote:lbalan79 wrote:There is no /dev/pts anymore... /dtv/pts/ is where they are...
Code: Select all
# mount -t devpts devpts /tmp/ubuntu/dev/pts
mount: mounting devpts on /tmp/ubuntu/dev/pts failed: No such file or directory
This tutorial is NOT for F/H
Although you can base your work on this
Yes. That is what I am trying to. I did the following but I am not sure what the impact is after chroot. :
Code: Select all
# mkdir /tmp/ubuntu/dtv
# mkdir /tmp/ubuntu/dtv/pts
# mount -t devpts devpts /tmp/ubuntu/dtv/pts
Also I get this error on chroot:
Code: Select all
# chroot /tmp/ubuntu /usr/bin/env -i HOME="/root" LD_LIBRARY_PATH="" TMPDIR="/tmp" FONTCONFIG_FILE="/etc/fonts/fonts.conf" FONTCONFIG_PATH="/etc/fonts" PANGO_RC_FILE="/usr/lib/arm-linux-gnu
eabi/pango/pangorc" TERM=xterm PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" DISPLAY=":0" /usr/bin/xrandr --output LCD --mode 1920x1080
/usr/bin/env: /usr/bin/xrandr: No such file or directory
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 5:13 pm
by sectroyer
well it's nothing strange it didn't work
It's for E
randomly running commands won't help you
You should set everything up "from scratch"
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 5:17 pm
by lbalan79
sectroyer wrote:well it's nothing strange it didn't work
It's for E
randomly running commands won't help you
You should set everything up "from scratch"
I am not running commands randomly
. I am trying to set it from scratch. I did chroot into the new system but where I need help is on how to mount /dtv/pts to /dev/pts properly.
Of course on every error log output I get this error:
Code: Select all
Can not write log, openpty() failed (/dev/pts not mounted?)
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 5:19 pm
by lbalan79
lbalan79 wrote:There is no /dev/pts anymore... /dtv/pts/ is where they are...
Code: Select all
# mount -t devpts devpts /tmp/ubuntu/dev/pts
mount: mounting devpts on /tmp/ubuntu/dev/pts failed: No such file or directory
Is mount -o bind /dtv/pts /dev/pts correct? I guess not because the mount point doesn't exist. Any ideas on how to do this?
Thank you
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 5:59 pm
by sectroyer
lbalan79 wrote:lbalan79 wrote:There is no /dev/pts anymore... /dtv/pts/ is where they are...
Code: Select all
# mount -t devpts devpts /tmp/ubuntu/dev/pts
mount: mounting devpts on /tmp/ubuntu/dev/pts failed: No such file or directory
Is mount -o bind /dtv/pts /dev/pts correct? I guess not because the mount point doesn't exist. Any ideas on how to do this?
Thank you
Code: Select all
mount -o bind /dtv/pts /tmp/ubuntu/dev/pts
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 6:02 pm
by lbalan79
The mount point doesn't exist at all
:
Code: Select all
root@(none):~# mount -o bind /dtv/pts /tmp/ubuntu/dev/pts
mount: mount point /tmp/ubuntu/dev/pts does not exist
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 7:31 pm
by sectroyer
lbalan79 wrote:The mount point doesn't exist at all
:
Code: Select all
root@(none):~# mount -o bind /dtv/pts /tmp/ubuntu/dev/pts
mount: mount point /tmp/ubuntu/dev/pts does not exist
Did you at least read/analyze what I did prepare ?
It's not I want to discourage you but if you have problems at this "level" I think you should give up
Or at least start solving such "problems" by yourself
Re: Installing Ubuntu in Samsung Smart TV natively
Posted: Fri Apr 03, 2015 7:39 pm
by lbalan79
sectroyer wrote:lbalan79 wrote:The mount point doesn't exist at all
:
Code: Select all
root@(none):~# mount -o bind /dtv/pts /tmp/ubuntu/dev/pts
mount: mount point /tmp/ubuntu/dev/pts does not exist
Did you at least read/analyze what I did prepare ?
It's not I want to discourage you but if you have problems at this "level" I think you should give up
Or at least start solving such "problems" by yourself
I did fully read what you did prepare. That is how I got up to finding out that there is no xfs filesystem support and i switched to ext4, xrandr doesn't work and so on. I know my level is too low for you but a little help here and there is always appreciated. Actually I was thinking that using -p might help in replacing 2> /dev/null output error from your scripts. I did not think that mkdir -p would work in this case though.
Now the chroot fully works. I am updating the packages that I need from apt-get.