[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RAID1 root on nslu2



On Sun, Apr 08, 2007 at 07:29:16AM +0200, Toon Verstraelen wrote:
> cd ${newrootdirectory}
> tar -C / -clspf - bin boot dev etc initrd lib media opt root sbin selinux
> srv usr var | tar -xlspvf -
> mkdir home sys proc tmp
> chmod 1777 tmp

What is wrong with something like: cp -ax / ${newrootdirectory}
That should take care of all those steps above.

Repeat for any other filesystems mounted if you have any.

--
Len Sorensen



Reply to: