3

Some Linux distributions is lack of installation script, like Gentoo or Arch. Everything can be done by hand (partitioning disk, making filesystems, installing, etc). The questions is:

Is it possible to install Ubuntu in that way?

I'm making some tests with Ubuntu and I want to install Ubuntu Server in mounted disk image file. But installer can't skip disk partition step.

bain
  • 10,860
  • 2
  • 42
  • 48
QkiZ
  • 1,237
  • 2
  • 19
  • 34
  • 4
    Use the normal Arch installation procedure, but instead of `pacstrap`, use `debootstrap`: https://wiki.ubuntu.com/DebootstrapChroot – muru Jan 22 '16 at 10:50

1 Answers1

3

Using debootstrap I can install system in image file with command:

debootstrap --arch i386 trusty /mnt/imagefile/ http://archive.ubuntu.com/ubuntu/

thx @muru

QkiZ
  • 1,237
  • 2
  • 19
  • 34
  • Is the 64 bit `--arch` option `amd64`? The man page doesn't say if it is x86-64 or amd64 or something else. Is `http://archive.ubuntu.com/ubuntu/` still a valid URL for the SCRIPT (http://manpages.ubuntu.com/manpages/xenial/en/man8/debootstrap.8.html)? – MountainX Mar 01 '19 at 05:23
  • 1
    @MountainX See this answer: https://unix.stackexchange.com/a/489203/4196 which points to this: https://help.ubuntu.com/lts/installation-guide/ – Wodin Mar 14 '19 at 17:02