Discussion Locked

fdisk Partition?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
When I boot, a message says to fdisk /var partition (I go into maintenance mode). If I do, will this necessitate a reinstall because all data would be lost? Is there an alternative to relieve or change partition size or content?

3 replies

by ulairi

make sure the system is telling you to FDISK.
Most of the time, the system will tell you to "FSCK" the partition due to an improper shutdown or numerous errors.
The command is "fsck /var". If there are any errors found, you will be prompted if you want to correct them or not. To avoid having to answer all those confirmations, use the -y flag ("fsck -y /var") - beware, this may cause files to become corrupt or data clipped from them, but you don't get much of a choice on this one. Most of the time, it is safe to use -y.

This discussion is closed to new replies.