mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
debootstrap: add page (#4971)
This commit is contained in:
parent
c27417d566
commit
a1cf7408bf
1 changed files with 20 additions and 0 deletions
20
pages/linux/debootstrap.md
Normal file
20
pages/linux/debootstrap.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# debootstrap
|
||||
|
||||
> Create a basic Debian system.
|
||||
> More information: <https://wiki.debian.org/Debootstrap>.
|
||||
|
||||
- Create a Debian stable release system inside the `debian-root` directory:
|
||||
|
||||
`sudo debootstrap stable {{path/to/debian-root/}} http://deb.debian.org/debian`
|
||||
|
||||
- Create an Ubuntu 20.04 system inside the `focal-root` directory with a local mirror:
|
||||
|
||||
`sudo debootstrap focal {{path/to/focal-root/}} {{file:///path/to/mirror/}}`
|
||||
|
||||
- Switch to a bootstrapped system:
|
||||
|
||||
`sudo chroot {{path/to/root}}`
|
||||
|
||||
- List available releases:
|
||||
|
||||
`ls /usr/share/debootstrap/scripts/`
|
Loading…
Add table
Reference in a new issue