Author Topic: 8.10 install: failed to set up mdadm... (Running Diskless_CreateTBZ.sh)  (Read 4430 times)

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Ok, may be related to my other post regarding the libdvdcss2 libraries.

Maybe it is a sources.list thing, I don't know but after the above, I tried running the Diskless_CreateTBZ.sh and failed at the mdadm.conf stage as per the messages below. I have done nothing (not even apt-get update or apt-get upgrade) after doing a basic install from 8.10 final dvd, then installing libdvdcss2 (after a fashion) and then running Diskless_Create.

Anyone have any ideas?

Errors (and point of hang) from Diskless_Create script:
Code: [Select]
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.27-17-generic
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package pluto-storage-devices.
(Reading database ... 29382 files and directories currently installed.)
Unpacking pluto-storage-devices (from .../pluto-storage-devices_2.0.0.44.11090624520_i386.deb) ...
Adding `diversion of /bin/umount to /bin/umount.wraped by pluto-storage-devices'
Adding `diversion of /bin/mount to /bin/mount.wraped by pluto-storage-devices'
Selecting previously deselected package pluto-test-serial-port.
Unpacking pluto-test-serial-port (from .../pluto-test-serial-port_2.0.0.44.11090624520_i386.deb) ...
Selecting previously deselected package mdadm.
Unpacking mdadm (from .../mdadm_2.6.7-3ubuntu8_i386.deb) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up mdadm (2.6.7-3ubuntu8) ...
Generating array device nodes... /var/lib/dpkg/info/mdadm.postinst: 170: /dev/MAKEDEV: not found
failed.
Generating mdadm.conf...

My sources.list file, in case it's relevant-

Code: [Select]
deb file:/usr/pluto/deb-cache/ ./
deb http://debian.slimdevices.com/ stable  main
deb http://deb.linuxmce.org/ubuntu/ intrepid  beta2
deb http://old-releases.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb http://packages.medibuntu.org/ intrepid  free non-free
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid  main restricted multiverse universe
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu/ intrepid  main universe multiverse
deb http://archive.ubuntu.com/ubuntu/ replacements_debian  main
deb http://archive.ubuntu.com/ubuntu/ main  main non-free contrib
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main

Anyone have any ideas? Any log files I should check?

Thanks in advance.

James

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Oh I see I'm not the first to hit this issue: Post by am

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Could be a known bug in mdadm as per link below:

https://bugs.launchpad.net/ubuntu/+source/mdadm/+bug/382535

I could try the suggested fix:
Code: [Select]
sudo ln -s /sbin/MAKEDEV /dev/MAKEDEV before running the diskless create script but I wonder why no-one else has hit this error (apart from myself and am)...

Any suggestions from the gurus before I start tinkering?

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Too late... I tinkered.

So I created a normal ext partition on /dev/sdb with fdisk, then re-ran Diskless_CreateTBZ.sh and it appears to have run through ok! Holding thumbs.

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
To clarify re my tinkering- since mdadm is part of the RAID system, I thought there may be some issue with the fact that I have multiple hard-drives, so I checked the partitioning of the drives and saw that the 2nd one (sdb) was still partitioned with an NTFS file system and had a few other issues so I thought I should clean that up. After doing so, the diskless create script ran through fine.... I think. Had a problem setting up a media director but that's a story for another post.