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

Re: Partitioning done. And then?



Hans, 

the traditional way of tackling multiple filesystems is to mount all those
filesystems *before* installing. I suppose after-the-fact isn't impossible..

A few notes -- each filesystem will have a lost+found directory.

cp probably won't do such a good job of moving everything. One common
suggestion is:
(cd /from/dir && tar cf - .) | (cd /to/dir && tar xvfp -)

(I think Alan Cox suggested that for one of the tips-documents located in
/usr/doc..) Recently, a fellow debian-user subscriber suggested a cpio
command similar to that tar command -- cpio is better at handling devices
than tar is -- but if you are only moving normal files, I am not sure it
matters.. 

With the right mounts and umounts, you can probably have this finished
before too long -- faster than reinstalling, probably. :)

On Sun, Aug 29, 1999 at 03:36:29PM +0800, Hans van den Boogert wrote:
> I have one of those bright days and for the life of me can't think of how
> to proceed.
> 
> 1) I made the following partitioning.
>    /dev/hda5 50M (for /)
>    /dev/hda6 100M (for SWAP)
>    /dev/hda7 250M (for /var)
>    /dev/hda8 550M (for /usr)
>    /dev/hda9 550M (for /usr/local)
>    /dev/hda10 1500M (for /home)
> 2) I installed the base on /dev/hda5 and I can boot with LILO from /dev/hda3.
> 3) hda7-10 all have a ext2 file system.
> 
> Now my thoughts were to first move the contents from /var to /dev/hda7,
> then automount hda7 with an entry in /etc/fstab (/dev/hda7  /var
> defaults,auto   0    0). 
> 
> So I first mount /dev/hda7 on /mnt, then issue "cp /var /mnt" but the only
> thing that shows up on /mnt is lost+found.
> 
> So forget about that then. I see a lot of people talking about sym-linking,
> but from where to where? Do I put this sym-link in /, /var, or on
> /dev/hda7? The content of /var still has to be moved to /dev/hda7 one way
> or another. Where do I go wrong? Hope somebody can tell me where my mind
> strays away from Unix-thinking. TIA
> 
> Hans
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

-- 
Seth Arnold | http://www.willamette.edu/~sarnold/
Hate spam? See http://maps.vix.com/rbl/ for help
Hi! I'm a .signature virus! Copy me into
your ~/.signature to help me spread!


Reply to: