Results 1 to 4 of 4

Thread: preseed setting to use /cdrom as mirror in automated install

  1. #1
    Join Date
    May 2019
    Beans
    2

    preseed setting to use /cdrom as mirror in automated install

    Hi,

    I am working on a system where I want to install from /cdrom. The initial install cannot use network mirror for some reasons.

    I need to have automated install and thus I am using preseed file.

    What is the right preseed config for mirror to specify to use the /cdrom.

    Based on an old thread, I have tried:

    d-i mirror/protocol string file
    d-i mirror/file/directory string /cdrom

    But this does not work.

    The main-menu log (screen 1) is:



    !! ERROR: Bad archive mirror


    An error has been detected while trying to use the specified Debian archive
    mirror.


    Possible reasons for the error are: incorrect mirror specified; mirror is not
    available (possibly due to an unreliable network connection); mirror is broken
    (for example because an invalid Release file was found); mirror does not
    support the correct Debian version.


    Additional details may be available in /var/log/syslog or on virtual console 4.


    Please check the specified mirror or try a different one.
    [Press enter to continue]



    Here is the tail end of the installer debug capture:

    May 30 20:46:55 debconf: <-- 0 ftp.us.debian.org
    May 30 20:46:55 debconf: --> GET mirror/http/directory
    May 30 20:46:55 debconf: <-- 0 /debian/
    May 30 20:46:55 choose-mirror[30932]: DEBUG: command: wget --no-verbose http://ftp.us.debian.org/debian/dists/stretch/Release -O - | grep -E '^(Suite|Codename|Architectures):'
    May 30 20:47:51 choose-mirror[30932]: WARNING **: mirror does not support the specified release (stretch)
    May 30 20:47:51 debconf: --> FSET mirror/http/hostname seen false
    May 30 20:47:51 debconf: <-- 0 false
    May 30 20:47:51 debconf: --> FSET mirror/http/directory seen false
    May 30 20:47:51 debconf: <-- 0 false
    May 30 20:47:51 debconf: --> FSET mirror/country seen false
    May 30 20:47:51 debconf: <-- 0 false
    May 30 20:47:51 debconf: --> FSET mirror/suite seen false
    May 30 20:47:51 debconf: <-- 0 false
    May 30 20:47:51 debconf: --> INPUT critical mirror/bad
    May 30 20:47:51 debconf: <-- 0 question will be asked
    May 30 20:47:51 debconf: --> GO

    Any pointers on how I can proceed?

    thx
    -a

  2. #2
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    13,636
    Distro
    Ubuntu Budgie Development Release

    Re: preseed setting to use /cdrom as mirror in automated install

    Welcome !

    Is this installation Debian ?
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

  3. #3
    Join Date
    May 2019
    Beans
    2

    Re: preseed setting to use /cdrom as mirror in automated install

    Quote Originally Posted by Frogs Hair View Post
    Welcome !

    Is this installation Debian ?

    Yes, this is debian

  4. #4
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    13,636
    Distro
    Ubuntu Budgie Development Release

    Re: preseed setting to use /cdrom as mirror in automated install

    Moved to Debian.
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Flavors

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •