Author Topic: partition question.  (Read 810 times)

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
partition question.
« 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

suselinux

  • Member
  • **
  • Posts: 711
  • Kudos: 30
partition question.
« Reply #1 on: 8 May 2003, 11:43 »
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.

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
partition question.
« Reply #2 on: 8 May 2003, 16:13 »
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.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
partition question.
« Reply #3 on: 8 May 2003, 17:27 »
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 ]

visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
partition question.
« Reply #4 on: 9 May 2003, 02:02 »
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 ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
partition question.
« Reply #5 on: 9 May 2003, 03:16 »
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
 

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
partition question.
« Reply #6 on: 9 May 2003, 04:00 »
do you just want to split it... no resizing at all?
hmmmmmmmmmmmmmmm......
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Pantso

  • Member
  • **
  • Posts: 1,249
  • Kudos: 55
    • http://www.support-freesoftware.org
partition question.
« Reply #7 on: 9 May 2003, 04:03 »
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

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
partition question.
« Reply #8 on: 9 May 2003, 04:06 »
yeah, i just want to split it.

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
partition question.
« Reply #9 on: 9 May 2003, 14:05 »
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.
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
partition question.
« Reply #10 on: 9 May 2003, 14:22 »
I think GNU parted can shrink a partition for you and then you can make a second.

Check it out.
In brightest day, in darkest night, no evil shall escape my sight....

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
partition question.
« Reply #11 on: 9 May 2003, 14:35 »
GNU parted looks like the way to go. hopefully this works well. [fingersCrossed]

ahh. i love synaptic. installing & updating has never been easier

Calum

  • Global Moderator
  • Member
  • ***
  • Posts: 7,812
  • Kudos: 1000
    • Calum Carlyle's music
partition question.
« Reply #12 on: 9 May 2003, 16:12 »
hmmph, i did say parted in my first reply   :rolleyes:  

 :D   :D   :D
visit these websites and make yourself happy forever:
It's my music! | My music on MySpace | Integrational Polytheism

xyle_one

  • VIP
  • Member
  • ***
  • Posts: 2,213
  • Kudos: 135
partition question.
« Reply #13 on: 9 May 2003, 23:39 »
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.