LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-12-2007, 10:53 AM   #1
Zayar Win
LQ Newbie
 
Registered: Dec 2005
Location: Myanmar, Russian Federation
Distribution: RedHat 9, RHEL AS, Dyne:bolic, Open SUSE 10.3
Posts: 18

Rep: Reputation: 0
How to resize my USB partition?


Dear all,
I have a big problem with my 4Gb USB drive. Due to the soft: ("Partition manager") my partition was resized from 4Gb to 16Mb. Drive is still working well with 16Mb. How to do to get original size(4Gb)?
Any Idea???
zayar
 
Old 12-12-2007, 11:24 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 273Reputation: 273Reputation: 273
Try using GParted to resize the partition to the maximum.
 
Old 12-12-2007, 04:08 PM   #3
Zayar Win
LQ Newbie
 
Registered: Dec 2005
Location: Myanmar, Russian Federation
Distribution: RedHat 9, RHEL AS, Dyne:bolic, Open SUSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks!!! But it's don't work for me. Any idea???
 
Old 12-12-2007, 07:16 PM   #4
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Due to the vaugeness of your reponse, I am going to guess that you do not have gparted installed. Start off by going to distros package manager, and installing it. Then you should be able to use it to manipulate the partitions on your drive.


Alternatively, you can back up the data on the drive, and use cfdisk on it, and then mkfs.<whatever you want> to set it back up.


Give more details about your exact errors or issues and we can give you more useful answers.
 
Old 12-12-2007, 09:10 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,787

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
Probably the geometry of the drive has been mangled - what does "fdisk -l" for the drive show.
 
Old 12-13-2007, 06:40 AM   #6
Zayar Win
LQ Newbie
 
Registered: Dec 2005
Location: Myanmar, Russian Federation
Distribution: RedHat 9, RHEL AS, Dyne:bolic, Open SUSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
Here is "fdisk -l"

Disk /dev/sdc: 16 MB, 16334848 bytes
1 heads, 32 sectors/track, 997 cylinders
Units = cylinders of 32 * 512 = 16384 bytes

Device Boot Start End Blocks Id System
 
Old 12-13-2007, 07:10 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,787

Rep: Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574Reputation: 3574
Yep - that looks screwed.

There are a few (potential) ways to fix it - if you knew the correct numbers. I'd guess at something like maybe 126 heads and 63 sectors for a LBA disk.
fdisk/sfdisk/grub (at least) allow you to set geometry. If you're game, try it - I've never needed to attempt it.
 
Old 12-13-2007, 07:25 AM   #8
Zayar Win
LQ Newbie
 
Registered: Dec 2005
Location: Myanmar, Russian Federation
Distribution: RedHat 9, RHEL AS, Dyne:bolic, Open SUSE 10.3
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks syg00,
Can you tell me detail, step by step? I have been worked with "fdisk /dev/sdc". But it doesn't worked. Thanks!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Resize VFAT partition on USB drive jantman Linux - General 3 11-20-2007 02:04 AM
Unable to Resize NTFS partition with 4 different partition editors Alexandrian Linux - Newbie 11 05-19-2006 06:09 PM
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 08:56 AM
resize an ext3 partition with coexisting ntfs partition andy_g Linux - Newbie 1 02-03-2004 05:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration