[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with first attempt to use multistrap



In a thread discussing my attempts at a minimal {definition explicitly open} install, it was suggested that I investigate using deboostrap. I could not find a reference explicitly covering *ALL* the steps required to create a bootable system.

While searching for more details on steps mentioned only in passing, I came across https://wiki.debian.org/Multistrap whose first sentence states: Multistrap is a tool that does essentially the same job as debootstrap, using an entirely different method, and then extends the functionality to support
     automated creation of complete, bootable, root filesystems.

Following the information from that page and:
     https://wiki.debian.org/MultistrapManPage
and

http://manpages.debian.org/cgi-bin/man.cgi?query=multistrap&sektion=1

Everything seems well until dying with following error message:
     ERR: ./bin/sh symbolic link does not exist.
     No shell in /media/test1/. at /usr/sbin/multistrap line 599.

I conclude that documents I'm using are incomplete.
This view is supported by the fact that they make no reference to creation of users &/or passwords for the system being created. What other information is missing?

Guidance please.


Environment: dedicated laptop running Debian 6.0.5; *NO* internet
Repository: DVD 1 of 8 for Debian 6.0.5

multistrap invoked by:
mount /dev/sda10 /media/test1
multistrap --tidy-up --no-auth -a i386 -d /media/test1 -f /home/richard/green4.conf

Content of green4.conf
# configuration file

[General]
# extract all downloaded archives
unpack=true
aptsources=Debian
bootstrap=Debian

[Debian]
packages=
source=file:///media/cdrom0
keyring=debian-archive-keyring
suite=squeeze
omitdebsrc=true

Complete copy of what appeared in terminal screen:
root@sqz-gnome2:/home/richard# mount /dev/sda10 /media/test1
root@sqz-gnome2:/home/richard#
root@sqz-gnome2:/home/richard# multistrap --tidy-up --no-auth -a i386 -d /media/test1 -f /home/richard/green4.conf
multistrap 2.1.7 using /home/richard/green4.conf
Defaulting architecture to native: i386
multistrap building i386 multistrap on 'i386'
Getting package lists: apt-get -o Apt::Architecture=i386 -o Dir::Etc::TrustedParts=/media/test1/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/media/test1/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/media/test1/ -o Dir::Etc=/media/test1/etc/apt/ -o Dir::Etc::SourceList=/media/test1/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=/media/test1/var/lib/apt/ -o Dir::State::Status=/media/test1/var/lib/dpkg/status -o Dir::Cache=/media/test1/var/cache/apt/ update
Ign file: squeeze Release.gpg
Ign file:/media/cdrom0/ squeeze/main Translation-en
Ign file:/media/cdrom0/ squeeze/main Translation-en_US
Get:1 file: squeeze Release [4,206 B]
Ign file: squeeze/main i386 Packages
Ign file: squeeze/main i386 Packages
Reading package lists... Done
I: Calculating required packages.
apt-get --force-yes -y -o Apt::Architecture=i386 -o Dir::Etc::TrustedParts=/media/test1/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/media/test1/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/media/test1/ -o Dir::Etc=/media/test1/etc/apt/ -o Dir::Etc::SourceList=/media/test1/etc/apt/sources.list.d/multistrap.sources.list -o Dir::State=/media/test1/var/lib/apt/ -o Dir::State::Status=/media/test1/var/lib/dpkg/status -o Dir::Cache=/media/test1/var/cache/apt/ install base-files base-passwd bash bsdutils coreutils dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dpkg e2fslibs e2fsprogs findutils gcc-4.4-base grep gzip hostname initscripts libacl1 libattr1 libblkid1 libc-bin libc6 libcomerr2 libgcc1 liblocale-gettext-perl liblzma2 libncurses5 libpam-modules libpam-runtime libpam0g libselinux1 libsepol1 libss2 libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libuuid1 login lsb-base mawk mount ncurses-base ncurses-bin passwd perl-base sed sensible-utils sysv-rc sysvinit sysvinit-utils tar tzdata util-linux xz-utils zlib1g
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
gnupg gpgv insserv libbz2-1.0 libdb4.8 libreadline6 libslang2 libusb-0.1-4 readline-common
Suggested packages:
bash-doc debconf-doc debconf-utils whiptail dialog gnome-utils libterm-readline-gnu-perl libgnome2-perl libnet-ldap-perl libqtgui4-perl libqtcore4-perl diffutils-doc wdiff apt gpart parted e2fsck-static mlocate locate slocate gnupg-doc xloadimage imagemagick eog libpcsclite1 libpcre3 less bootchart glibc-doc locales libpam-doc nfs-common sysv-rc-conf bum sash bzip2 ncompress util-linux-locales kbd console-tools dosfstools
  xz-lzma
Recommended packages:
bash-completion bsdmainutils apt-utils libldap-2.4-2 gnupg-curl psmisc libc6-i686 libgpm2 libpng12-0
  uuid-runtime
The following NEW packages will be installed:
base-files base-passwd bash bsdutils coreutils dash debconf debconf-i18n debian-archive-keyring debianutils diffutils dpkg e2fslibs e2fsprogs findutils gcc-4.4-base gnupg gpgv grep gzip hostname initscripts insserv libacl1 libattr1 libblkid1 libbz2-1.0 libc-bin libc6 libcomerr2 libdb4.8 libgcc1 liblocale-gettext-perl liblzma2 libncurses5 libpam-modules libpam-runtime libpam0g libreadline6 libselinux1 libsepol1 libslang2 libss2 libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libusb-0.1-4 libuuid1 login lsb-base mawk mount ncurses-base ncurses-bin passwd perl-base readline-common sed sensible-utils sysv-rc
  sysvinit sysvinit-utils tar tzdata util-linux xz-utils zlib1g
0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/28.8 MB of archives.
After this operation, 86.4 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libc-bin gcc-4.4-base libc6 libgcc1 mawk base-files sensible-utils debianutils libbz2-1.0 libselinux1 zlib1g libattr1 libacl1 coreutils liblzma2 xz-utils dpkg dash libncurses5 bash diffutils e2fslibs perl-base liblocale-gettext-perl libtext-iconv-perl libtext-charwidth-perl libtext-wrapi18n-perl debconf debconf-i18n libpam0g libdb4.8 libpam-modules passwd libuuid1 libblkid1 libcomerr2 libss2 sed ncurses-bin lsb-base tzdata libsepol1 mount sysvinit-utils insserv sysv-rc initscripts libslang2 util-linux e2fsprogs findutils grep gzip hostname libpam-runtime login sysvinit tar base-passwd bsdutils ncurses-base readline-common libreadline6
  libusb-0.1-4 gpgv gnupg debian-archive-keyring libstdc++6
Authentication warning overridden.
Download complete and in download only mode
I: Calculating obsolete packages
Using directory /media/test1/ for unpacking operations
I: Unpacking complete.
I: dpkg configuration settings:
DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C
I: Native mode - configuring unpacked packages . . .
ERR: ./bin/sh symbolic link does not exist.
No shell in /media/test1/. at /usr/sbin/multistrap line 599.
root@sqz-gnome2:/home/richard#











Reply to: