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
Floor tile layout process?
Survey Confirmation - Emphasize the question or the answer?
Why are notes ordered like they are on a piano?
Was Hulk present at this event?
Accidentally deleted the "/usr/share" folder
Airbnb - host wants to reduce rooms, can we get refund?
Can commander tax be proliferated?
Was the ancestor of SCSI, the SASI protocol, nothing more than a draft?
How did Arya get back her dagger from Sansa?
Unidentified items in bicycle tube repair kit
Is this homebrew race based on the Draco Volans lizard species balanced?
Disabling Resource Governor in SQL Server
A non-technological, repeating, phenomenon in the sky, holding its position in the sky for hours
How could a planet have most of its water in the atmosphere?
You look catfish vs You look like a catfish?
Does the time required to copy a spell into a spellbook have to be consecutive, or is that just the cumulative time required?
Can fracking help reduce CO2?
If an enemy is just below a 10-foot-high ceiling, are they in melee range of a creature on the ground?
How to reply this mail from potential PhD professor?
Why debootstrap can only run as root?
Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?
What is the most remote airport from the center of the city it supposedly serves?
Copy line and insert it in a new position with sed or awk
Why is the SNP putting so much emphasis on currency plans?
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 2 hours ago
Kevin
28.1k1066103
28.1k1066103
asked 4 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 1 hour ago
answered 4 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