> I have gone off and did a bad thing. Instead of making separate
>partions for /usr /home /local etc. I have just made one big /
>partition and now it is full. To my understanding it is impossibe to
>resize a ext2 partitionI want to install StarOffice but I do not have
>enough room. So my question is: If I wanted to install StarOffice in
>the /local dir, would I have to backup everything in the /local dir,
>erase the dir, make a larger /local partition, store the backup, and
>then install StarOffice?
You can't make a larger /local partition because /local (or hopefully it is
really /usr/local) doesn't currently exist as a partition. You actually
have the drive set up for the maximum usable space. For every partition that
you create on a hard disk, you give up space to manage that partition. If
you would have had separate partitions for /, /usr and /usr/local, you'd
actually have less user space than you do now.
Your disk must be pretty small in the first place if Linux fits within
1024 cylinders of the hard drive. Remember, the /boot directory MUST fit
within the first 1024 cylinders of the hard disk that it is located on.
You need to add another hard disk and partition it up. In your case,
maybe partition it so that you will end up with two new partitions,
/usr and /usr/local. You can then temporarily mount each of the partitions
on /mnt and get the stuff copied from /usr/local to the new disk and then
remove the current /usr/local. The problem arrives when working with /usr.
since it contains goodies that you need while using Linux, you can't just
copy the stuff to the new disk and then blow it away and mount the new
partition.
You might get away with it in single user mode. Otherwise you can get all
of the stuff moved, reboot Linux using the recovery mode of the install
disks and mount / and remove all of /usr and then edit /etc/fstab and
have it now mount the new /usr. Reboot the system and all should be well.
But you need to sit down and carefully plan out your attack, otherwise you
will be bit by a mistake and your system won't boot.
Step one: new hard drive.
MB
--
System Administrator - Finnigan FT/MS - Madison WI. URL:http://www.ftms.com/
e-mail: [EMAIL PROTECTED]
phone: (608) 273-8262 ext: 612 fax: (608) 273-8719
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.