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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-15-2007, 11:55 PM
|
#1
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Rep:
|
Fat32 equivalent of ntfsresize?
Easiest way to put this is, I need to figure out the fat32 equivalent of ntfsresize.
I used GParted to resize my fat32 partition. However, it only resized the partition, and not the filesystem. So, what tool is there to resize fat32 partitions, sorta like ntfsresize works? I'm working off an Ubuntu LiveCD, so I can't exactly compile right now. I can install new stuff, though.
Funny, who would've guessed that we'd hit the day where NTFS was easier to deal with in Linux than Fat32?
And for the record, I'm using FAT to have a partition compatible between Windows & Linux. Maybe I should switch it to NTFS now...
Thanks,
Doug the Neard
|
|
|
|
07-16-2007, 12:41 AM
|
#2
|
|
Senior Member
Registered: Mar 2006
Posts: 1,896
Rep:
|
Quote:
|
Originally Posted by gothgeek84
I used GParted to resize my fat32 partition. However, it only resized the partition, and not the filesystem. So, what tool is there to resize fat32 partitions, sorta like ntfsresize works?
|
Why do say it didn't resize the filesystem? I have used parted (a command line program which uses some of the same libraries Gparted uses) to resize a FAT32 partition containing a win95 installation and had no problems. I am prestty sure I checked the partition with MS's scandisk immediately afterwards.
(I know the installed version of Ubuntu has parted. I suspect the live CD does.)
|
|
|
|
07-16-2007, 12:58 AM
|
#3
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,229
|
gparted uses libparted - I would also expect it to work.
Presuming no errors on the partition - fsck it to be sure.
|
|
|
|
07-16-2007, 01:36 AM
|
#4
|
|
Senior Member
Registered: Mar 2006
Posts: 1,896
Rep:
|
Quote:
|
Originally Posted by syg00
Presuming no errors on the partition - fsck it to be sure.
|
FWIW, early in my Linux experience (and maybe it was just because I was inexperienced :-/ ) I became concerned with fsck's behavior when checking FAT32 (I forget details). Enough so that I decided it was best leaving checking FAT32 to MS's tools. (The only time I was using FAT32 was with MS. ) YMMV.
|
|
|
|
07-16-2007, 02:05 AM
|
#5
|
|
Senior Member
Registered: Jul 2004
Location: Nantes (France)
Distribution: Arch Linux
Posts: 1,897
Rep:
|
I recently installed Debian in dual-boot to Vista, which resides on a NTFS filesystem.
Despite being known to be able to do so, gparted was unable to resize (shrink) the NTFS filesystem. So I rebooted in Windows and ran a defragmentation. THEN gparted was able to resize the NTFS filesystem.
Maybe it is the same with FAT32: gparted would be able to resize it only if it is not fragmented?
Yves.
|
|
|
|
07-16-2007, 02:20 AM
|
#6
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Original Poster
Rep:
|
The problem is, for some reason in between the steps of resizing the partition, and resizing the filesystem, Ubuntu (Or possibly GParted) re-mounts the partitions; then GParted can't edit them anymore.
The reason I know what is happening is because my NTFS partition did the same thing when I resized it. In every tool, it looks fine, but if you look at the free space, it doesn't increase! For instance, I more than doubled the size of this partition, from 23ishGiBs to 50GiB, and still only had around 100MiB free, instead of the 26GiB I should've had free. That's how you know the filesystem's still the same size. And actually, the Disk Management tool in WinXP *almost* shows it right; it shows the "Capacity" as the filesystem size, rather than the partition size; however, it still shows the partition size in the display of the hard drive (the graphical diagram). That's how I found out before.
But I guess it's a moot point now; I just used parted (the command-line version) to resize the partition to the exact same size (GParted didn't give me that option) and it worked like a charm.
I just wonder why so many programs aren't able to differentiate between the partition and filesystem. As for individual tools (ntfsresize, fdisk, and the like), they work on separate pieces. And yet larger tools (GParted, Window's Disk Management, Paragon Partition Manager, and most likely Partition Magic) assume that the filesystem must fill the partition. Maybe because there's no use in a partition that's bigger than the filesystem (to my knowledge), but since it *can* happen, why not show it? *sigh*
</rant>
|
|
|
|
07-16-2007, 03:42 AM
|
#7
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,229
|
The GUIs are just front ends for the various tools - that's the *nix way; re-use good tools rather than re-invent them.
People who want to use GUIs (generally) don't want to have to worry about the details.
Get the gparted liveCD - best way to do this stuff if you feel the need to use a GUI. Else use the individual tools - this is my personal preference.
|
|
|
|
07-16-2007, 03:47 AM
|
#8
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Original Poster
Rep:
|
I got that. the Unix philosophy - each tool has a singular purpose, chain them together, you can do just about anything. GUIs add a new display to those chains, basically.
But, what *are* the individual tools? Is there a Fat32 equivalent to ntfsresize, ext2resize, etc?
|
|
|
|
07-16-2007, 03:50 AM
|
#9
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,229
|
Parted .... :shrug:
After-thought:
As an aside, I only resize as a last option. I prefer to backup, delete, reallocate, mkfs, restore.
That way I get what I want, and by definition it is re-organized.
Last edited by syg00; 07-16-2007 at 03:55 AM.
|
|
|
|
07-16-2007, 03:54 AM
|
#10
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Original Poster
Rep:
|
Yeah, I think you're right. Luckily, parted let me do what GParted didn't - resize the filesystem to the same size it already (thought it) was at. So technically, this thread is moot for me. But for posterity, might be good to see if there is an answer.
|
|
|
|
07-17-2007, 03:25 AM
|
#11
|
|
Senior Member
Registered: Jul 2004
Location: Nantes (France)
Distribution: Arch Linux
Posts: 1,897
Rep:
|
For your information, this LiveCD is what I use; it has Gparted and many more things:
http://www.sysresccd.org/
Yves.
|
|
|
|
07-17-2007, 03:29 AM
|
#12
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Original Poster
Rep:
|
I've burned a copy of SystemRescue, but haven't used it yet. Sounds good.
|
|
|
|
07-17-2007, 04:04 AM
|
#13
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,229
|
I haven't tried the system rescue CD for quite a while - was disappointed with its usability to be honest.
Hopefully it has become a good tool - personal recommendation is always good to hear.
|
|
|
|
07-18-2007, 12:37 AM
|
#14
|
|
Member
Registered: Feb 2004
Location: USA
Distribution: Ubuntu 7.04, Experimenting with others
Posts: 46
Original Poster
Rep:
|
I've got a copy of system rescue CD burned, but haven't really tried it yet. Couldn't get it to run before, but then I didn't try very hard. *shrug*
Last edited by gothgeek84; 07-18-2007 at 12:40 AM.
|
|
|
|
09-24-2008, 10:01 PM
|
#15
|
|
LQ Newbie
Registered: Nov 2007
Posts: 11
Rep:
|
I have used sysrescue from versions .3 to 1.1
The last version 1.1 of sysrescuecd
is simpler it works well on
a Toshiba Satellite A200 laptop
by itself not with Vista where they can't
coexist on my computer. I have ordered
UBUNTU HARDY from 'pctech101' for
$16 -+ dollars and shipping as well
as Fedora 9 for about $7
maybe next week I will start to learn
booting two OSes. 'www.agcmag.com'
in Australia has a good looking tutorial
on making them live together
to be save I check other sites
till the disks arrive.
Vista Home Premium was doing well
but for problems with Norton Anti Virus
which interfered with everything
including vista as she couldn't uninstall it
(she hung up) Used
Toshiba Recovery DVD to recover
the Vista partition alas stupid I __ allowed
it to wipe the whole disk it gave only
one option(if I wanted to install Vista) probably because there were
more than four partitions from sysrescuecd
also it may have been something else
suspicious to the recovery operation.
No PARAGON PARTITION MANAGER
versions 7 to 9 including all the 7 and 8
subversions nor GPARTED
nor Toshiba Recovery DVD were
installing any thing as the boot
sectors were kaput.
So in desperation I tried TESTDSK
on sysrescuecd 1.1 found all the partitions
exactly as they were before.
Being happy that it did a great job I let TESTDSK
fix the MBR(master boot record)
a huge mistake for the MBR was
destroyed and all partitions disappeared.
After that nothing would install I tried
wiping the disk then making partitions
as vista likes them three primaries,
even two primaries as
long as you have the proper files in
the recovery partition located last.
Here is where Paragon
Partition Manager version 9 came
to the rescue with its set of routines
called 'boot record recovery'
or something like it.
About four or five routines that
you can do for example
'fix boot record of drive'
, 'fix boot record of partition' and
'fix boot.ini ...
It's only last week that I did
this spending half the day working
out a logical sequence for these
routines to allow an install by way
of Toshiba Recovery DVD.
The best way for me:
have two partitions the end partition where
I placed the recovery files which
were saved on a DVD 5.9 GB placed
in 7 GB end partition the rest
was all one NTFS partition.
Make sure to have the recovery
disk in the DVD carriage but
don't start it up(or press F12 to start it)
the recovery routine will either
find the Recovery DVD or ask
for it.
Shut down anything running on
the computer after shutdown press zero
next to the digit 9 hold it down
start up Tosh and let go when
the a large blurb with the Toshiba
logo taking up about 30 %
of the screen comes up.
It gives only a single option
'DESTROY ALL DATA '
since it's the only option (if
you want to install) I said 'yes'
then it gave three options after
I chose yes 'DESTROY ALL...'
The options were something like
1. Destroy all data (again? didn't find out)
2. Keep all data but use empty space
to recover.
3. Can't remember
(2.) worked for me since it
left the last recovery partition
intact(the only important partition.)
So Vista lives on my Tosh
laptop now.
Now I am restoring all the prior programs
and downloading the virus
definitions from a year ago
AVG and AVAST much to go yet
on a slow(is there any other kind?)
'dial up' connection.
Cheers,
Solmoeban
Last edited by Solmoeban; 09-25-2008 at 05:13 PM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:07 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|