Re: New HD

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

 



Dan Clowater wrote:
> 
> OK so my current linux congif is too small.  2.5 GB "/" and 1 GB "/home"
> and 500MB swap.  I am putting a 6 GB drive in and am wondering how I
> should rearrange things.  I was thinking of putting /dev, /etc, /var
> /sbin and /bin onto my current designated home partition and making my
> new 6GB my new home.
> 
> So a couple of questions:
> a) Do I just copy the files, then update the fstab the delete the old
> ones?
> 
> b) Is my idea for moving things a good one - or is there a better way to
> arrange things?
> 
> c) what am I forgetting? =)
> 

I use cp -ax when moving from drive to drive, then run a cmp to verify the
cp.  Takes time, but hey, it's my data :-)  

Re fstab: yes.  Gotta know where the stuff really is.  Don't have to delete
the whole line, just change the address (/dev/)  

Don't delete anything until you're sure the new stuff is working.  Best to
rename e.g. 

mv /var /var_bak && \
mkdir /var && \
mount /dev/hd<newdrive><partition> /var &&\
cp -ax /var_bak/* /var 
etc.

I'd do this at runlevel 1 (init 1) just to be safe.

/usr

I tinker with a lot of tarballs so I need a lot of space in /usr/local/src. 
If you keep more than one kernel laying around you might need more space for
/usr/src as well.

Religion :-)

Rinaldi
-- 
The Devil is wise not because he is the Devil, but because he is old.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux