Results 1 to 3 of 3

Thread: fdisk partition resizing

  1. #1

    Default fdisk partition resizing

    I was wondering how you resize a partition with fdisk. I have slackware12 installed and I want to resize to install backtrack 3. thanks for the help.
    Dell Inspiron E1705
    Geforce 7900 series graphics card
    2G of ram
    120G harddrive
    Dualcore

  2. #2
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    With fdisk you need to know the specific size you want to make each partition or it wont work. For example

    fdisk /dev/sda
    n <this is for new
    p <this is for primary
    1 < this is the number
    <enter> < the first size press enter because it does the first available by default
    +30720M <enter> < this makes it 30 gigs

    Do that for each partition then ...

    P <this prints out your table
    w < this writes the table


    for swap...
    t < for type
    2 < partition number
    82 < the code for swap

    (obviously do that before you write the table)

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    468

    Default

    Fdisk will create a new partition or change it's type but to resize it.
    Grab a copy of CloneZilla/GParted Boot CD.

    Quote Originally Posted by GONZO View Post
    I was wondering how you resize a partition with fdisk. I have slackware12 installed and I want to resize to install backtrack 3. thanks for the help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •