Operating Systems > Linux and UNIX

partition question.

<< < (2/3) > >>

xyle_one:
well, the dafaults duriing installation gave me this-
/ - 5.5gb
swap - 494mb
/home - 3.4gb

what i want to do is slice / into two partitions, / & /var/www

i cant do it from diskdrake, i have to unmount the volume and, since im using the volume, cannot do it.

okay, here are the results from fdisk -l
 
quote:                                 Device Boot    Start       End    Blocks   Id  System
/dev/ide/host0/bus0/target0/lun0/part1   *         1       729   5855661   83  Linux
/dev/ide/host0/bus0/target0/lun0/part2           730      1247   4160835    5  Extended
/dev/ide/host0/bus0/target0/lun0/part5           730       792    506016   82  Linux swap
/dev/ide/host0/bus0/target0/lun0/part6           793      1247   3654756   83  Linux
 
--- End quote ---

Master of Reality:
do you just want to split it... no resizing at all?
hmmmmmmmmmmmmmmm......

Pantso:
Ooops, that's way over my head, especially when fdisk is involved.   :D   Sorry about mentioning diskdrake before. I didn't understand completely what you wrote in your first post and what Calum wrote can be done but it could be destructive as well. :/

xyle_one:
yeah, i just want to split it.

Calum:
you'll need to shunt all the contents to one end of the partition first, and i don't know how to do that... if it were me i would tarball the partition's contents, then copy the tarball to a removable disk (or more likely another partition), then boot from a floppy or maybe use knoppix, and replace the / partition with my two new partitions, then still in knoppix (or my floppy linux, probably tomsrtbt), i would untarball the tarball onto the new / partition, edit the fstab file to reflect the new partition numbers and reboot with fingers crossed.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version