Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: xyle_one on 8 May 2003, 07:14
-
When i installed mandrake 9.1 i just accepted the defaults for the partitions. can i go back and change that easily, without reinstalling? if not, i will just put an old harddrive in and move /var & /home to that. thanks
-
I had Mdrk on my computre some time ago. If I remember right there MIGHT be a partitioning GUI in the Mandrake Contral Center.
But if that existed you would have tryed it already never mind.
-
Doesn't Mandrake come with Diskdrake at the Mandrake Control Center? It's a GUI partitioning tool. You should be able to redistribute space from there easily enough. Otherwise, you'd have to use fdisk, which I wouldn't recommend if you don't have any experience.
-
diskdrake exists in mandrake however i found it was unworkable to use while actually running the system. the best way to use diskdrake in my opinion is to boot from your install disk number 1, then humour it until the diskdrake screen, and do your partitioning, then write the partitions and abort the rest of the 'install'. This is a bit destructive though. i seem to remember MoR had some good tips for resizing of partitions et c but that was not using any GUI stuff.
edit: sorry, thought you wanted GUI only (mandrake's like that), did you look into using 'parted'? i don't know if it comes with mandrake, but i like it as a partitioning tool, from what little i have done with it, not sure if it does non-destructive resizing though.
[ May 08, 2003: Message edited by: Calum: hopelessly outnumbered ]
-
so you just want to enlarge a partition on your hard drive?
How big is the Hard drive/partition. And is there any space after the partition (if you have another partition on your drive and it is the next number (hda1 hda2, etc) then you might not be able to resize.).
Which partition is your root?
If you dont know much about hte hardrive, then post the results of doing "fdisk -l" on the command line (As root).
I can tell you how to do it via the command line (well... there is a command line graphicish thinger). It is relatively easy, but its not hard if you have directions.
[ May 08, 2003: Message edited by: The Master of Reality / Bob ]
-
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
-
do you just want to split it... no resizing at all?
hmmmmmmmmmmmmmmm......
-
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. :/
-
yeah, i just want to split it.
-
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.
-
I think GNU parted can shrink a partition for you and then you can make a second.
Check it out.
-
GNU parted looks like the way to go. hopefully this works well. [fingersCrossed]
ahh. i love synaptic. installing & updating has never been easier(http://www.artformsdesign.com/uploads/smil3eb9accc7228e.gif)
-
hmmph, i did say parted in my first reply :rolleyes:
:D :D :D
-
quote:
Originally posted by Calum: hopelessly outnumbered:
hmmph, i did say parted in my first reply :rolleyes:
:D :D :D
you're right, you did. i guess i sorta glossed over that part.