Find the answer to your Linux question:
Results 1 to 5 of 5
This question relates to a totally unknown area of LINUX for me... partitions. I have installed a while back Debian Squeeze of a sheevaplug. The system can accept SSD cards ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2

    Increase partition size


    This question relates to a totally unknown area of LINUX for me... partitions.
    I have installed a while back Debian Squeeze of a sheevaplug. The system can accept SSD cards as external drives and treats them as SCSI. To clone these cards I am using protocol based on dd and bzip/bunzip.

    I have cloned a 4GB card to a 16GB card and my new clone works exactly as the original.

    Problem is... I have 12GB totally unknown. Using webmin I see:

    SCSI device B
    Disk size: 15.03 GB | Make and model: Myson SD/MMC/MS Reader | Cylinders: 15387 | Partition format: MSDOS

    When I look at the partition #2, the one I want to extend I see the size is (correctly 3.39 GB).

    I have fsck /dev/sdb2 and I have tried to use resize2fs but this tells me all the available space is used... it doen't recognize the "empty" space on that drive.

    Is there another way I should use to be able to extend sdb2 as I don't want to create a new partition? Thanks.

  2. #2
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Hello emediaboard!

    It might help if you can post the output of:

    $ fdisk -l (l is a lower case L)


    regards,

    nujinini
    nujinini
    Linux User #489667

  3. #3
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2
    Quote Originally Posted by nujinini View Post
    Hello emediaboard!

    It might help if you can post the output of:

    $ fdisk -l (l is a lower case L)

    Hello Nujinini... her


    regards,

    nujinini
    Hello Nujinini. Here is the output:

    root@emediaDebian:~# fdisk -l

    Disk /dev/mmcblk0: 4102 MB, 4102029312 bytes
    4 heads, 16 sectors/track, 125184 cylinders
    Units = cylinders of 64 * 512 = 32768 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000db766

    Device Boot Start End Blocks Id System
    /dev/mmcblk0p1 * 33 7008 223232 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/mmcblk0p2 7009 118016 3552256 83 Linux
    Partition 2 does not end on cylinder boundary.
    /dev/mmcblk0p3 118048 125152 227329 5 Extended
    Partition 3 does not end on cylinder boundary.
    /dev/mmcblk0p5 118049 125152 227328 82 Linux swap / Solaris

    Disk /dev/sdb: 16.1 GB, 16134438912 bytes
    64 heads, 32 sectors/track, 15387 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000db766

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 2 219 223232 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sdb2 220 3688 3552256 83 Linux
    Partition 2 does not end on cylinder boundary.
    /dev/sdb3 3689 3911 227329 5 Extended
    Partition 3 does not end on cylinder boundary.
    /dev/sdb5 3690 3911 227328 82 Linux swap / Solaris
    root@emediaDebian:~#

    /dev/sdb2 is the one I want to increase

    I was going to try fdisk....

    Cheers

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,274
    Thank you!

    I hope the gurus can take a look at this and give you some advise on how to proceed. I'm bumping this up for some chance of visibility!

    Good luck!
    nujinini
    Linux User #489667

  6. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    Hi there.

    You should be able to use a tool such as Parted Magic or GParted to accomplish what you need.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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