fixing partition after resizing (pref w/o reformatting)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199
Rep:
fixing partition after resizing (pref w/o reformatting)
I have a dual boot system set up for a friend, win and Ubuntu,
I resized the ubuntu partition from 45 GB to 35 GB to give some space for both OSs to share
using puppy 4.2.1 Gparted to resize (its ext3)
now when trying to boot ubuntu, error occurs relating to partition, it asks me to hit ctrl-D to continue (which loops back to same error), or enter root password to fix,
when i log in root i try fsck
it continually gives me
"Error writing block 9240597 (invalid argument) while getting next inode from scan. Ignore error?"
it asks this twice, then
"Force rewrite?"
ive held down Yes for at least a minute or so while it scrolls up block number and continues same pattern.
I decided to go back to puppy and "check" the partition,
in GParted There is ! next to the partition, when I tell it to "check",
it instantly gives me an error and doesn't continue to check/repair.
One other thing i noticed
I booted with Knoppix to and noticed the label of partition "hda5 35 GB"
but, when i open it on the window it says "36 GB free out of 45 GB", (45 being the original size before i resized it to 35)
the new ~10 GB fat32 partition is working, windows can use it, and puppy can use it.
I would rather not have to reformat the partition, as i dont want to worry the owner and redo settings.
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199
Original Poster
Rep:
well now I got this yes loop going for about 10 mins now, anyway to automate this?
the -y wont work, cause the first option is a no.
well i can access everything on the "corrupted" partition. so I'm guessing the superblock is wrong, since looking at partition sizes from live cds shows the old and new size of the partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.