Re: new hard drive mounting to /home
On Thu, Dec 31, 1998 at 12:52:48AM -0500, Noah L. Meyerhans wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> On Wed, 30 Dec 1998, AJ wrote:
>
> > can anyone tell me the best way to do this?
> > i was thinking among the lines of:
> > tar -vcf home.tar /home/
> > rm -rf /home/
> > mkdir /home
> > mount /dev/hdb3 /home
> > tar -xvf home.tar
>
> That will work, but here's a slightly nicer way to do it:
> mount /dev/hdb3 /mnt
> cp -ax /home/* /mnt
> rm -rf /home/*
NOTE: You can mount the new home over the old one to test it before you go
and rm the old home dir.
> umount /mnt
> mount /dev/hdb3 /home
>
> Read the man page for cp to understand how the -ax is helpful.
>
> > will that work?
> > then what files would i have to edit besides /etc/fstab? well plz let me
> > know remember i wanna keep all permissions and that in tact,
>
> Just /etc/fstab.
>
> hth,
> noah
>
> PGP public key available at
> http://lynx.dac.neu.edu/home/httpd/n/nmeyerha/mail.html
> or by 'finger -l frodo@ccs.neu.edu'
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.2
>
> iQCVAwUBNosRNIdCcpBjGWoFAQHmzwP5Ac02WgSh8V7TnHCGAC7XkT1DLJPqdEzf
> cl50kYHK1iQ6kkNDoRlQgZB6XsAsgYfXhQe/IVPF44fAI97wgRV8/dyRUz+RnLCY
> 2XQ9gYvrp0lqLz/Sobq0noxGXUVNXLjohuDc6zhxL8S4vKCutS+VODqFabZv+9uj
> nRWWH7qdueU=
> =0kft
> -----END PGP SIGNATURE-----
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Jim Foltz <aa204@acorn.net>
AOL/IM: jim foltz
Reply to: