LinuxMCE Forums
May 20, 2013, 12:04:11 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: 8.10 install: failed to set up mdadm... (Running Diskless_CreateTBZ.sh)  (Read 437 times)
jamo
Guru
****
Posts: 352


View Profile WWW
« on: April 12, 2012, 07:47:52 am »

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:
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:
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
Logged
jamo
Guru
****
Posts: 352


View Profile WWW
« Reply #1 on: April 12, 2012, 07:56:39 am »

Oh I see I'm not the first to hit this issue: Post by am
Logged
jamo
Guru
****
Posts: 352


View Profile WWW
« Reply #2 on: April 12, 2012, 08:03:42 am »

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:
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?
Logged
jamo
Guru
****
Posts: 352


View Profile WWW
« Reply #3 on: April 12, 2012, 01:37:22 pm »

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.
Logged
jamo
Guru
****
Posts: 352


View Profile WWW
« Reply #4 on: April 13, 2012, 08:23:10 am »

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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!