View Single Post
Posts: 264 | Thanked: 28 times | Joined on May 2006
#159
I put the insmod near the top of /etc/init.d/minircS just after the PATH= line,
I put the mount near the bottom of that file just before the exit 0.

I unmount (umount) the filesystem in /etc/init.d/minireboot and minishutdown on the same line that mmc1 is unmounted:

Code:
echo "Unmounting filesystems... "
umount -r /media/mmc1 /media/mmc2 /mnt/initfs /
swapoff -a
echo "done."
I can reference just the mountpoint because I have a line in /etc/fstab for mmc2:

Code:
/dev/mmcblk0p2  /media/mmc2 ext2 rw,noauto      0 0
Neil, copy your stuff off to your hard drive, delete the ext3 partition, create an ext2 partition (and maybe a swap partition) then copy your stuff back.

Last edited by BanditRider; 2006-08-17 at 12:41.