Having problems with chroot

If none of the more specific forums is the right place to ask

Having problems with chroot

Postby SystemUser » 2018-08-07 15:27

Hi!

I am trying to customise debian iso (debian-live-9.4.0-amd64-cinnamon) like this https://github.com/weaknetlabs/debian-c ... so-scripts.

But when I get to part where it tell me to chroot ./chroot I get:

chroot: cannot run command `/bin/bash': Input/output error

I have checked that /bin/bash exists in ./chroot/bin/bash. I am doing it in VM that is installed from the same ISO that I am trying to customize so there should be 32 bit vs 64 bit issue either. What could be wrong?
SystemUser
 
Posts: 9
Joined: 2018-08-01 19:59

Re: Having problems with chroot

Postby Segfault » 2018-08-07 15:41

I/O error usually means the file is damaged. I.E. the device where it is read from is defective or the filesystem is corrupted.
Segfault
 
Posts: 808
Joined: 2005-09-24 12:24

Re: Having problems with chroot

Postby Dai_trying » 2018-08-07 16:18

I think this would be the most helpful route for you.

your GitHub link README file wrote:Please make sure you report errors with logs or terminal output so I can better help troubleshoot any issues that arise during your ISO building.


The Author sounds like he would help (and be best placed to do so)
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25

Re: Having problems with chroot

Postby SystemUser » 2018-08-10 19:23

Ok, thight it was more debian question since I only used these commands from his tutorial, not his scripts yet.
SystemUser
 
Posts: 9
Joined: 2018-08-01 19:59

Re: Having problems with chroot

Postby Dai_trying » 2018-08-10 21:20

I have posted in another thread about my method to remaster a LiveCd, you might find it useful as it is the easiest method I have found. Although if chroot is not working in your VM those instructions might not work either.

One suggestion: try re-installing in another VM to see if there was an issue with your first install. That's what I would try anyway...
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable