Re: enlarge my / directory
I don't think you can "merger" trhe 2 partitions....
it would be a real feat to do it and would involve changing the partition tabl,
moving other partitions, and re-writing disk structures through ALL of the
partitions
(probably) and I know of no program that can do it...
you coul dposibly however use parition magic
to grow and shrink partitions of the FAT16 typw to try
and "coax" the free space right nxt to the linux partition..and then it would
just
be a matter of finding a utility to enlarge the linux partition
here might be a better way though...
use mke2fs /dev/hdc7 to make a new partition and then
use /dev/hdc7 for your user home directories....the reason...
user home directories ar where you tend to keep almost all
of your data...personal etc
basiclaly the stuff that is hardest if not impossible
to recover
that way if there is a major crash within the / partition..you can
format, r-install etc without loosing the data in /home
(a good idea is to create a dir in home called something like "save"
and periodically save some system cofigs there
ie. XF86config, the dir /etc/ppp/, /etc/passwd (this would only be importnat
if there are other people whose acount info you wish to preserve..and
if that..get groups files too)
but....that my dime bag....
if you wanna do it...here is how I did it:
mount /dev/hdc7 /mnt
the idea would be then to cd /home
cp -rf * /mnt
then rm -rf *
and umount /mnt
mount /dev/hdc7 /home
Benoit Joly wrote:
> hi, i plan to enlarge my / directory but i dont know how, this is my info of
> partition:
>
> Filesystem 1024-blocks Used Available Capacity Mounted on
> /dev/hdc3 460612 352226 84598 81% /
> /dev/hda1 521840 339744 182096 65% /wmnt/c
> /dev/hdc1 519824 406496 113328 78% /wmnt/d
> /dev/hda5 521832 11696 510136 2% /wmnt/e
> /dev/hda6 521832 76720 445112 15% /wmnt/f
> /dev/hda7 495640 358872 136768 72% /wmnt/g
> /dev/hdc5 519824 401056 118768 77% /wmnt/h
> /dev/hdc6 411008 16 410992 0% /wmnt/i
> /dev/hdc7 665056 32 665024 0% /wmnt/j
> /dev/hdd 661852 661852 0 100% /cdrom
>
> all partition other than /dev/hdc3 are fat16 partion
>
> i want to remove my /dev/hdc7 and put this in a linux partition...
> this part i know how, but how can i merge this new partition with the /
> directory?
> show i copy all from /dev/hdc3 to my new linux partition and then remove my
> /dev/hdc3 and enlarge the new linux partition?
>
> is it possible to do this in linux? i know partition magic for windows but it
> dont work with linux partition...
>
> thanks
>
> Benoit Joly
> jolb01@gel.usherb.ca
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
-=Signature has been removed because it made an unfair comparison between NT 4
and Linux =-
replacement: (ok I admit...I am bored..its a slow day at work)
[sjc@debian ~]$fortune -o
Anything more than 3 shakes is for fun.
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: