#!/bin/sh
#
# copy boot imagem grub menu, and md configuration to initial RAM filesystem.
#

grub-mkdevicemap	# create current device name table
update-initramfs -k `uname -r` -c -t	# creates initial filesystem
grub-install --root-directory=/ /dev/md0	# transfers files to md0

