Ask Your Question

Error creating Live CD: fsck after resize returned an error

asked 2017-02-24 04:43:39 -0500


Currently, I am building my own custom fedora 22 image. I have already added the kernel src rpm included my custom rpms which I created. Most of the rpm packages are working except for one. When I add the rpm package I am being shown this error:

Error creating Live CD: fsck after resize returned an error

I am using the kickstart file to build my fedora image. At first I made the changes on the fedora-live-base.ks file. Here I changed the partition size from 4096 to 8192. The fstype which I am using is ext4. And the other changes i did at the fedora-live-workstation.ks file. Here the same i change the root partition size from 6144 to 8192. After changing this I am being shown the error regarding fsck. Can I know are there any ways to fix this issue? Help needed. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-24 14:34:14 -0500

cmurf gravatar image

Manually run e2fsck and see if that provides more information on the problem; also try manually shrinking the file system from old to new size and see if there are errors. The error you've provided just says resize failed, it gives no hint why. You have to run the program running into the problem to have a chance of finding out.

Also, note that Fedora 22 is EOL. Back then Fedora also wasn't using livemedia-creator (part of lorax) for live media creation. The old stuff is no longer maintained.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-02-24 04:43:39 -0500

Seen: 285 times

Last updated: Feb 24 '17