Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 2967  / 1 Year ago, fri, february 24, 2023, 11:32:54

I am wondering if there is anyone out there that can explain an error that happens when I try to use debootstrap.



sudo debootstrap --arch i386 wheezy /srv/chroot/wheezy http://http.debian.net/debian
mknod: `/srv/chroot/wheezy/test-dev-null': Operation not permitted
E: Cannot install into target '/srv/chroot/wheezy' mounted with noexec or nodev

More From » mount

 Answers
7

The error is self-explanatory: the filesystem that is mounted at (or that contains) /srv/chroot/wheezy has either the noexec or nodev mount flags. Try:



mount -o remount,rw,exec,dev /srv/chroot/wheezy

[#23267] Saturday, February 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uccase

Total Points: 473
Total Questions: 100
Total Answers: 110

Location: Anguilla
Member since Sun, Jan 29, 2023
1 Year ago
uccase questions
;