How to check the disk (e2fsck)

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
divisionmd
Posts: 606
Joined: Sat 14 Jul 2007, 20:42

How to check the disk (e2fsck)

#1 Post by divisionmd »

Hello,

- I know how to check the save file for errors - but how do i check the disk/filesystem? which the filesystem resides on?

Thanks for help,

Best regards,
Johan

mill0001
Posts: 358
Joined: Thu 01 Feb 2007, 16:30
Location: "People's Republik of Kalifornia"

#2 Post by mill0001 »

Exit to prompt (control-alt-backspace)
Type "e2fsck -p /sda1" (or whatever the designation is of the disk that you want to check) don't type the quotes of course.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

there are many many filesystems around, and puppy supports by default ext2,ext3,ext4,swap,fat,ntfs .

for many other you would need to get the appropriate fsck_fs binary like fsck.xfs from elsewhere (source and compile) .

for ntfs /usr/sbin/ntfsfix might be of interest .

one good binary to determine the filesystem is the /sbin/guess_fstype binary .

/usr/sbin/disktype is also interesting .

fdisk -l does only roughly determine the fs type .

Puppy 4 series had the /sbin/fsck wrapper binary incl. , Puppy 5 uses fsck as link to e2fsck .

Post Reply