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 ...
- 01-19-2012 #1Just 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.
- 01-19-2012 #2
Hello emediaboard!
It might help if you can post the output of:
$ fdisk -l (l is a lower case L)
regards,
nujinini
- 01-19-2012 #3Just Joined!
- Join Date
- Jan 2012
- Posts
- 2
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
- 01-22-2012 #4
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!
- 01-23-2012 #5
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.


Reply With Quote

