Why debootstrap can only run as root?Debootstrap for Backbox Error with release fileCan you pin a particular...
Password expiration with Password manager
What happened to Rhaegal?
Airbnb - host wants to reduce rooms, can we get refund?
I caught several of my students plagiarizing. Could it be my fault as a teacher?
How to get SEEK accessing converted ID via view
Does hiding behind 5-ft-wide cover give full cover?
I lost my Irish passport. Can I travel to Thailand and back from the UK using my US passport?
Pigeonhole Principle Problem
Does the time required to copy a spell into a spellbook have to be consecutive, or is that just the cumulative time required?
Public Salesforce Site and Security Review
Visa for volunteering in England
If I supply 24v to a 50v rated 22000uf electrolytic capacitor, does that mean it will store 44000uf at 24v?
How did Arya manage to disguise herself?
Why is Arya visibly scared in the library in S8E3?
Entropy as a function of temperature: is temperature well defined?
Why debootstrap can only run as root?
Why do computer-science majors learn calculus?
The barbers paradox first order logic formalization
Geometry - Proving a common centroid.
Hang 20lb projector screen on Hardieplank
How long can a 35mm film be used/stored before it starts to lose its quality after expiry?
Historically, were women trained for obligatory wars? Or did they serve some other military function?
How to efficiently calculate prefix sum of frequencies of characters in a string?
How can I close a gap between my fence and my neighbor's that's on his side of the property line?
Why debootstrap can only run as root?
Debootstrap for Backbox Error with release fileCan you pin a particular version of a chroot?Initramfs in debootstrap chroot of fully encrypted systemDebootstrap debian into root with SW RAID1Unable to execute redirection in chroot environmentHow Can I Run debootstrap Offline?How to create a Debian sid chroot from Arch Linux?Trouble with an unprivilaged users in a chroot under Debianusing debootstrap to create rootfs offlineFilesystem permission problems with user namespaces and debootstrap
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I want to download Debian system using debootstrap
(creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp
, debootstrap
says:
E: debootstrap can only run as root
Why can't debootstrap
be run without root permissions?
debian not-root-user debian-installer debootstrap
add a comment |
I want to download Debian system using debootstrap
(creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp
, debootstrap
says:
E: debootstrap can only run as root
Why can't debootstrap
be run without root permissions?
debian not-root-user debian-installer debootstrap
add a comment |
I want to download Debian system using debootstrap
(creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp
, debootstrap
says:
E: debootstrap can only run as root
Why can't debootstrap
be run without root permissions?
debian not-root-user debian-installer debootstrap
I want to download Debian system using debootstrap
(creating chroot environment) and when I run debootstrap stable ./dir $debian_ftp
, debootstrap
says:
E: debootstrap can only run as root
Why can't debootstrap
be run without root permissions?
debian not-root-user debian-installer debootstrap
debian not-root-user debian-installer debootstrap
edited 1 hour ago
Kevin
28.1k1066103
28.1k1066103
asked 3 hours ago
jiwopenejiwopene
16218
16218
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to be able to create a chroot when you use debootstrap
. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap
with the --variant=fakechroot
option to use fakechroot
, which installs the packages without root privileges. An example in your case would be something along the lines of this:
debootstrap --variant=fakechroot stable ./dir $debian_ftp
Please read the Wiki for more information on how to use debootstrap
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f516229%2fwhy-debootstrap-can-only-run-as-root%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to be able to create a chroot when you use debootstrap
. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap
with the --variant=fakechroot
option to use fakechroot
, which installs the packages without root privileges. An example in your case would be something along the lines of this:
debootstrap --variant=fakechroot stable ./dir $debian_ftp
Please read the Wiki for more information on how to use debootstrap
.
add a comment |
You need to be able to create a chroot when you use debootstrap
. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap
with the --variant=fakechroot
option to use fakechroot
, which installs the packages without root privileges. An example in your case would be something along the lines of this:
debootstrap --variant=fakechroot stable ./dir $debian_ftp
Please read the Wiki for more information on how to use debootstrap
.
add a comment |
You need to be able to create a chroot when you use debootstrap
. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap
with the --variant=fakechroot
option to use fakechroot
, which installs the packages without root privileges. An example in your case would be something along the lines of this:
debootstrap --variant=fakechroot stable ./dir $debian_ftp
Please read the Wiki for more information on how to use debootstrap
.
You need to be able to create a chroot when you use debootstrap
. Plus if you plan on partitioning, or doing any mounts, etc. you will need root permissions.
If you check out the debootstrap manpage you should be able to use debootstrap
with the --variant=fakechroot
option to use fakechroot
, which installs the packages without root privileges. An example in your case would be something along the lines of this:
debootstrap --variant=fakechroot stable ./dir $debian_ftp
Please read the Wiki for more information on how to use debootstrap
.
edited 34 mins ago
answered 2 hours ago
kemotepkemotep
2,8583924
2,8583924
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f516229%2fwhy-debootstrap-can-only-run-as-root%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown