Comment 64 for bug 120375

Revision history for this message
ar (ar-renovabis) wrote :

I successfully installed raid 1 on an Ubuntu Desktop 8.04 64-bit machine according to Martiis intructions:

http://users.piuha.net/martti/comp/ubuntu/en/raid.html

The only thing missing in Martiis instructions was

sudo update-initramfs -u (thx to Alexander)

after inserting Kens lines

 # The following code was added to allow degraded RAID arrays to start
 if [ ! -e "${ROOT}" ] || ! /lib/udev/vol_id "${ROOT}" >/dev/null 2>&1; then
  # Try mdadm and allow degraded arrays to start in case a drive has failed
  log_begin_msg "Attempting to start RAID arrays and allow degraded arrays"
   /sbin/mdadm --assemble --scan
  log_end_msg
 fi

into /usr/share/initramfs-tools/scripts/local script just before the comment "# We've given up, but we'll let the user fix matters if they can" as described in Kens posting.