Author Topic: can't create Md under lmce1204  (Read 3794 times)

hanafi

  • Veteran
  • ***
  • Posts: 99
    • View Profile
can't create Md under lmce1204
« on: December 24, 2013, 11:09:35 am »
hello
i have a big problem can somebody help me?

sudo /usr/pluto/bin/Diskless_CreateTBZ.sh
mardi 24 décembre 2013, 11:05:20 (UTC+0100) - Logging initiatilized to /var/log/pluto/Diskless_MD_Creation_20131224_110520.log
mardi 24 décembre 2013, 11:05:20 (UTC+0100) - BEGIN: Target: ubuntu - precise - i386
mardi 24 décembre 2013, 11:05:20 (UTC+0100) - BEGIN: Host: ubuntu - precise - i386
mardi 24 décembre 2013, 11:05:20 (UTC+0100) - Creating chroot for MD creation at: /tmp/Diskless_CreateTBZ.uKSQ4oIuK
mardi 24 décembre 2013, 11:05:20 (UTC+0100) - Untarring /usr/pluto/install/PlutoMD_Debootstraped.tar.bz2
mardi 24 décembre 2013, 11:05:53 (UTC+0100) - Preparing the diskless system
mardi 24 décembre 2013, 11:05:54 (UTC+0100) - Setting up /etc/sources.list for ubuntu
mardi 24 décembre 2013, 11:05:54 (UTC+0100) - Setting up SSH
mardi 24 décembre 2013, 11:05:54 (UTC+0100) - Setting up kernel postinst.d/
mardi 24 décembre 2013, 11:05:54 (UTC+0100) - Setting up Foxconn NT330i compatability
mardi 24 décembre 2013, 11:05:54 (UTC+0100) - PreSeeding package installation preferences
W: Failed to fetch http://packages.medibuntu.org/dists/precise/InRelease 

W: Failed to fetch http://packages.medibuntu.org/dists/precise/Release.gpg  Temporary failure resolving 'packages.medibuntu.org'

W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
E: Unable to locate package medibuntu-keyring
An error (Exit code 100) occured during the last action
medibuntu apt add keyring

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: can't create Md under lmce1204
« Reply #1 on: December 24, 2013, 08:15:53 pm »
edit diskless create tbz, check where the apt-get update line is, and at the end type || :

and re-run it.

huh

  • Guru
  • ****
  • Posts: 245
    • View Profile
Re: can't create Md under lmce1204
« Reply #2 on: December 25, 2013, 06:55:18 am »
edit diskless create tbz, check where the apt-get update line is, and at the end type || :

and re-run it.

Did this work for you?  I too am having an error creating a MD- the MD gets an ip address, but is "Unable to locate configuration file".  There isn't an "apt-get update line" in /usr/pluto/bin/Diskless_CreateTBZ.sh.

Edit:  I take that back- I think it is on line 417:
Code: [Select]
       LC_ALL=C chroot $TEMP_DIR apt-get -y -qq update || :[/s]

My mistake- didn't realize you needed to run the diskless create on the current snapshots- to get it to run I had to use:
Code: [Select]
sudo -i /usr/pluto/bin/Diskless_CreateTBZ.sh
Thanks again phenigma!
« Last Edit: December 25, 2013, 08:02:19 am by huh »