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

Re: apt-get debian-cd installs openoffice.org!!



On Tue, Feb 24, 2004 at 10:29:09PM -0500, xucaen wrote:
> On Wed, Feb 25, 2004 at 03:38:30AM +0100, Jan Minar wrote:
> > On Tue, Feb 24, 2004 at 09:09:30PM -0500, xucaen wrote:
> > > On Wed, Feb 25, 2004 at 01:56:11AM +0100, Jan Minar wrote:
> > > > On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
> > > > > I added a new hard drive but I can't use the drive until I install debian on it.
> > > > 
> > > > Hi, xucaen.
> > > > 
> > > > You don't have to reinstall the whole system just to add some disk
> > > > capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
> > > > -> resize a partition, whatever.
> > > > 
> > > 
> > > wha..wha..what? so you're saying I can simple copy my whole entire drive (the old one)
> > > to the new drive if I wanted to? 
> > 
> > Yap.  You can even add the new drive capacity, to the old disk, so
> > you'll end up with one big logical disk (lvm).
> > 
> 
> wow.. ok.. i hadn't thought of that.. so umm.. I could move all my stuff
> over to the new drive and...  edit /etc/fstab to mount..?
> is there anything else I would have to change?

mount /dev/newdrive /mnt/foo
tar cC /bar/baz . | tar xC /mnt/foo
mv /bar/baz{,.BACKUP}
mkdir /bar/baz
umount /dev/newdrive
mount /dev/newdrive /bar/baz

AFA the apps are concerned, nothing has changed.

-- 
Jan Minar                   "Please don't CC me, I'm subscribed." x 9

Attachment: pgpFSKVJ1h1nv.pgp
Description: PGP signature


Reply to: