Why debootstrap can only run as root?Debootstrap for Backbox Error with release fileCan you pin a particular...
How can I fairly adjudicate the effects of height differences on ranged attacks?
How to back up a running Linode server?
What are the spoon bit of a spoon and fork bit of a fork called?
Is Cola "probably the best-known" Latin word in the world? If not, which might it be?
What was the state of the German rail system in 1944?
Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?
Visa for volunteering in England
Was Hulk present at this event?
Does the Darkness spell dispel the Color Spray and Flaming Sphere spells?
When and why did journal article titles become descriptive, rather than creatively allusive?
Why is Arya visibly scared in the library in S8E3?
Conflicting terms and the definition of a «child»
Packet sniffer for MacOS Mojave and above
Power LED from 3.3V Power Pin without Resistor
CRT Oscilloscope - part of the plot is missing
Short story about people living in a different time streams
LT Spice Voltage Output
Feels like I am getting dragged into office politics
Can fracking help reduce CO2?
What is the most remote airport from the center of the city it supposedly serves?
How did Arya manage to disguise herself?
Topological Spaces homeomorphic
Binary Numbers Magic Trick
I’ve officially counted to infinity!
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 3 hours ago
Kevin
28.1k1066103
28.1k1066103
asked 5 hours ago
jiwopenejiwopene
16718
16718
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 3 hours ago
answered 5 hours ago
kemotepkemotep
2,8683924
2,8683924
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