News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

8.10 install: failed to set up mdadm... (Running Diskless_CreateTBZ.sh)

Started by jamo, April 12, 2012, 08:47:52 AM

Previous topic - Next topic

jamo

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:

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-


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


jamo

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: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

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

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.