Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, when I setup Red Hat I set a specific size for it. But now I would like to give it more space (resize it) with free space from the Windows partition. I've tried using Resize w/ Partition Magic 8, but no luck, it won't resize a ext3 partition.
I always had good luck with it though it was mostly ext2 and DOS, rather than ext3 and Windows. As long as the Windows isn't NTFS, it should be good. With parted (Linux), presizer (DOS) and fdisk (DOS and Linux) or cfdisk, I've been able to do most anything I wanted, even if it meant deleting a partition out from under a filesystem and recreating it at a different size with the data still intact. (Not recommended, though.)
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
you have to worry about losing/corrupting data with
any partition resizer. that's why you're supposed to backup
data. you WILL at some point have a hard drive crash,
and it's up to you how much you will lose when that
happens.
parted works ok. also, you can convert the ext3 to ext2
easily, and use partition magic on it if you want.
I think he means you can deconvert ext3 to ext2 to make PM happy. I don't know - I've only converted the other way, but check tune2fs and see if it says anything about deconverting.
And whansard's definitely right. $h!t happens, so always be prepared with good backups. Nothing's guaranteed even if PM is guaranteed. *g* You'd still have to reinstall if anything went wrong, even if PM would give you your money back.
All that being said, I've yet to lose anything by using parted.
actually PM 8 will let you do partition functions on ext3. you're just lucky that for some reason it wouldn't let you.
i've used PM 8 to successfully resize and move my linux partition twice to make my linux partition big enough to handle .vob files generated from dvdrip. the last time i used PM 8, the friggin' program corrupted my ext3 journal (as in deleted it because PM 8 generated and wrote some friggin' errors to some inodes and stopped. the display showed my once ext3 filesystem as an ext2 filesystem) causing linux to be unbootable, unrepairable, and un-upgradeble (think windows dirty install). have never used it since. if you ask me, you're lucky PM 8 won't let you work on your ext3 linux partition.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
if you want to convert ext3 to ext2
this is how you do it. do it from a rescue disk,
NOT with the partition mounted. I guess if
you had to you could be mounted read only.
that tune2fs has weird options names doesn't it.
I'm attempting to use parted as described on this forum with no avail. I continuously get the error:
Quote:
No Implementation: This ext2 filesystem has a rather strange layout! parted can't resize this (yet).
The file system is ext3. I've tried the knoppix 3.2 disk which now only includes qtparted which doesn't support ext3. I downloaded, burned, and am now running Mepis (debian based, similar to knoppix) which includes a 1.6 version of parted which gives the error described above.
Any ideas? I had a hell of a time getting parted on a boot disk as the gnu site is in lockdown with the parted boot images due to the recent hack. Now that I finally have it, its not functioning. What a pain in the arse.
Edit: I changed the ext3 partition to ext2 like so,
tune2fs -O^has_journal
and retried parted, I STILL get the same error on the console. Grrr..
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
i think there's something else you have to clear to make
it really ext2. i'll look later. that tune2fs command
is horrible isn't it. maybe they don't want anybody running
it that can't figure out how to type it in the first place.
Yeah, I converted to ext2, used resize2fs to shrink the partition as qtparted gave an error (as well as parted), reconverted to ext3, rebooted, and....still no change in partition size. I'm at my wits end on this one. I may have to go to a non-free alternative...that sucks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.