Announcement

Collapse
No announcement yet.

How do I fsck my boot drive?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I fsck my boot drive?

    What is the procedure for checking your boot drive? Should I boot to the recovery boot option then go to root?

    fsck /dev/sda1

    I'm assuming I should check all partitions sda1, sda2 and sda5.
    Dell Inspiron 531/AMD Athlon 64 X2 5000+ 4GB RAM/GeForce 6150SE nForce 430
    Kubuntu 16.04
    "I have a problem with the fact that they just make really 3rd rate products." Steve Jobs on Microsoft. From “Triumph of the Nerds"

    #2
    You can always fsck a drive by booting from a live CD, but there are ways of getting it done at a regular boot.

    The boot drive will be fsck'd automatically every so often (possibly every 20 boots?), and you can change this frequency with tune2fs.

    Also you can force this in various ways - although I haven't done these recently nor confirmed they work on Ubuntu systems:
    Code:
    sudo touch /forcefsck
    and reboot as normal

    or
    Code:
    sudo shutdown -rF now

    As to which partitions you should check, yes, all partitions occasionally (except a swap partition - no point in fsck there); it depends if you have issues at the moment.
    I'd rather be locked out than locked in.

    Comment

    Working...
    X