Questions tagged [chroot]

a linux command to change the filesystem root a process can see, limiting it's access to the real filesystem root

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

How to correctly run graphical application in schroot with Qt and D-Bus?

I was trying to get Audex running inside 16.04 LTS schroot on the 20.04 LTS host. The below method works normally for Gtk-based applications, I have tested it. In current case I did the following: ...
0
votes
0answers
43 views

Unity Ubuntu Missing Launcher, Many permission issues, and Unmounting issues

When I open Unity desktop on my Chromebook, the only thing I see is my desktop folders, no launcher or anything. This issue was described in another post (Unity doesn't load, no Launcher, no Dash ...
1
vote
0answers
18 views

While updating video drivers something went wrong, get only a “initramfs” prompt but can't use keyboard!

I was trying to use "ubuntu-drivers autoinstall" to upgrade my Nvidia drivers to 440, when the system (Lubuntu 18.04LTS, Dell Studio XPS 8100, 16GB ram, 1TB hard disk) just hung. I went out, came ...
0
votes
0answers
26 views

Loading another Ubuntu within Ubuntu?

I have an Ubuntu OS on a separate HDD. Is it possible to load that Ubuntu system with full Desktop GUI within my current running Ubuntu machine? I look for something like chroot but full desktop ...
0
votes
0answers
22 views

blank screen of death on ubuntu. huh?- via crouton

ubuntu 16.04, xenial is the chroot, intel braswell so I uninstalled lxde and reinstalled -t unity today. For some reason I get a blank screen in ubuntu with just a wallpaper image. I cannot see a ...
1
vote
1answer
74 views

Syntax error near unexpected token `then'

When I try to update (source .bashrc) my .bashrc in the Ubuntu terminal for changes in aliases, I get the error bash: ./.bashrc: line 34: syntax error near unexpected token `then' bash: ./.bashrc: ...
1
vote
0answers
51 views

Replace Chrome OS and install Ubuntu on an Lenovo C330 ARM processor laptop

I have tried everything. Developer mode and cd;bash <(curl https://johnlewis.ie/flash_cb_fw.sh) which just restarts my laptop and beeps. I've tried trying to boot from USB but it just beeps when I ...
0
votes
1answer
34 views

Change Xubuntu icon theme from Cubic chroot

I am using Cubic to customize Xubuntu 18.04. I want to change the icon theme to Paper. I have installed it, but cannot configure it. I have tried commands such as gsettings set org.gnome.desktop....
2
votes
0answers
211 views

chroot: failed to run command '/bin/bash': No such file or directory Ubuntu 18.04

I'm following these instructions to make a debian.img in a ubuntu 18.04 on a virtual box build On the PC, create a folder and generate a formatted, mountable image. Install a Debian Buster linux ...
0
votes
1answer
46 views

Multiple users access to the same vsftpd chroot environment in server 18.04

I have three different users in a Ubuntu Server 18.04.4: ls -la /home total 28 drwxr-xr-x 7 root root 4096 Mar 6 17:17 . drwxr-xr-x 25 root root 4096 Mar 4 15:...
0
votes
0answers
27 views

Giving ssh/chroot access to specific folders/files only to friends?

Running Ubuntu 18.04 LTS and wanting to give a few friends access to ssh into my computer but only specific folders/files without giving access to the whole computer is there a way to do this? Was ...
0
votes
0answers
92 views

How to concretely then make /bin/bash usable by chroot?

In order to solve the problem I described here: Missing operating system. error: unkown filesystem grub rescue I'm hitting to this hurdle: Opened a terminal with "Try Ubuntu" and then executed: ...
1
vote
0answers
302 views

Missing operating system. error: unknown filesystem grub rescue

I was installing hyperledger fabric, on Ubuntu 18.04.3 Desktop, through sudo -E, of this file https://raw.githubusercontent.com/hyperledger/fabric/master/scripts/bootstrap.sh and of another similar ...
1
vote
1answer
254 views

Why can't Ubuntu 18.04 chroot into a qemu environment?

I'm really struggling to understand what's to blame with chroot / qemu not work on Ubuntu 18.04. Later editions work (definitely by 19.10) but under 18.04 I get: cannot run command '/bin/sh' No such ...
2
votes
1answer
206 views

Snap Package installation in Chroot environment

I have a Chroot ubuntu environment installed in my Ubuntu 18.04 host computer. When I try to install a snap package in the chroot environment, the package gets installed in my host computer and not ...
0
votes
0answers
63 views

Can anybody help with failed to create symbolic link

Ive been using a Chromebook and trying to get Linux on my micro SD card so i have been doing this and creating a link to get the downloads on the SD card so this happend. sudo ln -s /media/removable/...
1
vote
0answers
331 views

Ubuntu 18.04 chroot locale can't set

I am installing a Ubuntu 18.04 chroot on a Debian 8 system, using ubuntu-base-18.04.3-base-i386.tar.gz as the base (found from the Ubuntu website). I mount the /sys and /proc directories into the ...
2
votes
0answers
50 views

Remote access with xfce4 installed on Chromebook ASUS CN60

I have ASUS chromebox CN60 with installed XFCE4.12 (Xubuntu). XFCE is automatically starting on chromebox startup with specific website in web browser. Everything is working good, but I have problem ...
0
votes
0answers
73 views

My Ubuntu 18.04 chroot doesn't link /bin to /usr/bin

So my Ubuntu 18.04 chroot was not linking /bin to /usr/bin. But my Ubuntu 19.04 chroot was linking /bin to /usr/bin. root@localhost:/# ls bin data etc lib mnt proc run sdcard sys usr ...
1
vote
2answers
121 views

create a system with no root [closed]

While I know it's useless in practice as such system won't be usable, can't be fixed, no apps can be installed...etc but I would like to know is it possible to have an OS that has no root at all. ...
0
votes
0answers
163 views

Make shm work in Chroot with Linux Deploy

I installed Dynamic Update Client (DUC) from No-IP on a Linux Deploy Ubuntu install but I can't get it to work due to issues with Shared memory (shm): "Can't get shared memory. (Function not ...
2
votes
0answers
193 views

Why are some busybox commands in interactive mode not available in a chrooted environment?

I try to setup a most minimal chrooted environment using busybox. I created a directory 'testRoot' and copied 'busybox' into it. from this directory I execute: sudo chroot ./ /busybox sh now I have ...
2
votes
1answer
51 views

I am running a chroot on chrome os and my Ubuntu version is 16.04.6. Can I update to a newer version?

I am on a Chromebook and am running a chroot. My Ubuntu version is 16.04.6 I want to upgrade to a newer version. Is this possible? If I look online, it says to open a program called update manager. ...
6
votes
3answers
552 views

Is it possible to run some application in the chroot or container but allow DBus interaction with host system?

I need to run old version of application in chroot (or container) and allow DBus interaction with host system. I can't install this application on host system because of serious dependency problems. ...
0
votes
2answers
427 views

SFTP Default Folder & Limiting Access With chroot

I want to default a given user to a specific folder when they SFTP to my Ubuntu 18.04 machine. I also wanted to lock down SFTP a bit. This Digital Ocean post gave me what I needed, and helped me get a ...
1
vote
0answers
2k views

Cannot start services : Running in chroot, ignoring request

I am working with Ubuntu Core using snap classic mode. I want to use some services, like Docker. I managed to install it, but when I try to start it (with sudo service docker start) or just even get ...
0
votes
0answers
668 views

update-initramfs failing when trying to install init from chroot

For a bit of a backstory, my laptop came with Windows 10(I don't use this now), to which I added another partition for Ubuntu 14. Then another for Ubuntu 16. Then I bought an SSD which now has another ...
0
votes
1answer
620 views

Lock user to single directory

I don't want to lock ssh users, I want to lock users in general. If a process is running as a user e.g. su -c "ls" user1 I want user1 to only ever see the folder /path/to/folder and it's subfolders/...
0
votes
2answers
299 views

How to change folder permission with chroot

So I played around some with display managers, and when I switched to LightDm it said in terminal to change file permission to root for /home/user/.config being tired I didn't really think about what ...
1
vote
0answers
75 views

Why there is no sbin folder in chroot jail path environment variable?

I am running Ubuntu 14.04 in a chroot jail and the value in /etc/environment is: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games". However, whenever I ...
-1
votes
1answer
332 views

How can I have all packages come with Ubuntu on a chroot?

Unfortunately, when I use debootstrap to install a chrooted ubuntu only a set of minimal packages gets installed. What should I do if I want to install all packages that come with Ubuntu? The reason ...
0
votes
2answers
2k views

/dev/null permission denied in chroot environment

I have Xubuntu 18.04 in a chroot environment. I just dropped it in there from a VM I had of it. Going into the chroot environment, if I try to run apt update I get this error: /usr/bin/apt-key: 624:...
0
votes
1answer
2k views

Can't launch Qt Creator in Ubuntu 18.04

My environment initially had qt4 and Qt Creator seemed to work fine back then. I installed qt5 and after that Qt Creator does not launch anymore. Qt Creator works fine in my virtual machine however. ...
1
vote
0answers
156 views

How to automount with a chroot?

So in a chroot I have a /etc/fstab file. If I run mount -a in the chroot, it mounts the partitions listed. However, even when using the auto option, they do not mount when entering the chroot. What ...
0
votes
0answers
181 views

Rebooted system during fsck command: How to recover?

Being a new linux user, I mistakenly thought the system had hung when running fsck on my root partition and proceeded to reboot. After that all my system directories went into lost+found and the ...
1
vote
0answers
563 views

Changing hostname (with hostnamectl) in chroot environment does not work (Iso customization) Ask

I can not change the hostname in the chroot environment (Ubuntu) I tried hostnamectl set-hostname but it says: Failed to create bus connection: Couldnt find file or folder Then I tried changing it ...
0
votes
2answers
304 views

“No journal files were found” on chrooted rescue system

I have a remote Ubuntu 16.04 server that I can't reach via ssh after I shut it down and booted it again. I had OpenSSH Server installed during system installation and I never disabled it (e.g. ...
1
vote
3answers
2k views

Can't connect to internet in chroot

I can't connect to the internet in chroot. For example, when I run apt update, I get a "temporary failure resolving". I tried copying resolv.conf over but still same error.
1
vote
0answers
892 views

Using apt-get install in chroot

I used debootstrap to create a chroot environment: sudo debootstrap trusty trusty/ sudo chroot trusty I'm using chroot. but command apt-get doesn't work: I have no name!@user:/# apt-get install ...
0
votes
0answers
683 views

Kernel panic at boot and many programs segfault / core dump

Today I booted up an Ubuntu computer I last used when it was working fine 2 weeks ago, and now every kernel I have (4.15.x and 4.13.x) panics at the beginning of boot, including in recovery mode. I ...
0
votes
1answer
96 views

Ubuntu won't boot after a power-cut during upgrade

I started an upgrade to (I believe) 18.04 and it got interrupted by a power-cut. I tried the solutions mentioned here --> Lost power during upgrade, how do I recover? I have booted on ubuntu 16.04 ...
1
vote
0answers
285 views

In ubuntu 18.04 LTScustomize my background from installation

I want to know how to customize my background from installation in ubuntu 18.04 LTS. I have installed cubic for live cd creation. How could I do this?
1
vote
0answers
279 views

getpwuid error with screen command for chroot user

The background is that I want to allow a chrooted user to execute a shell script in a detatched screen. I created a chroot user and gave him a home directory. In this directory I made a /bin ...
0
votes
1answer
167 views

How to install packages within pbuilder/cowbuilder chroot environment?

I want to do some automation of building/installing packages. I know cowbuilder allows you to build a package in a clean chroot environment. Is there a way to install built packages to make sure ...
0
votes
1answer
84 views

Determine if a shell script is running on a LiveOS/chroot/installed system?

How can I determine within a shell script if the script is running: On a Ubuntu LiveOS (not necessarily version dependant) -- (already answered here) Within a chroot on an Ubuntu LiveOS (already ...
1
vote
0answers
222 views

Configuring services in Cubic chroot

There's an excellent "using Cubic" guide already posted, but it didn't get into how to configure services in the Cubic chroot. For instance, I would like to pre-configure a RabbitMQ server so that it'...
2
votes
2answers
611 views

How to shutdown Ubuntu from chroot?

I installed an infrared receiver sensor and I plan to shutdown my Raspberry running Ubuntu Core using a remote control. The point is: Python and libraries like Rpi.GPIO are installed in an environment ...
1
vote
0answers
233 views

schroot exit error: 10mount: umount: /<chroot_key>/<home>: device is busy

Ubuntu: 14.04.5 LTS (GNU/Linux 3.19.0-25-generic x86_64) Schroot: schroot (Debian sbuild) 1.6.8 There is a problem on schroot environment. Does someone know the root cause of this issue? It ...
1
vote
0answers
178 views

How to fix non-default gnome-terminal opening failure?

I've recently updated one of my ubuntu(gnome) chroots to 18.04 from 16.04 LTS (before official release to 16.04 LTS). The chroot has the gnome target not gnome-desktop and has come with xterm (instead ...
0
votes
2answers
773 views

How to copy root file system in Ubuntu

I want to copy my Ubuntu's root file system into another folder (perhaps /home/rootfs). I am not trying to copy /, which is the root file directory, but am trying to copy the root file system. Does ...

1
2 3 4 5 6