Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 16 Dec 2019, 07:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
NTFSFIX - fix Windows from Linux
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 2084
Location: Canada

PostPosted: Tue 23 Jul 2019, 16:57    Post subject:  NTFSFIX - fix Windows from Linux
Subject description: How to fix a non-working Windows hard drive on Linux
 

https://www.addictivetips.com/ubuntu-linux-tips/fix-a-non-working-windows-hard-drive-on-linux/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Addictivetips+%28AddictiveTips%29

Some Puppy users, and/or gamers, still use Windows on a dual boot system or as their main OS. To me, Windows is not secure enough to be used on a daily basis, but let's say you need it from time to time.

So a tool such as ntfsfix might be useful to you.

The NTFS fix tool doesn’t come pre-installed on Linux. Furthermore, most Linux distributions cannot interact with NTFS file systems natively. So, before we can get into how to clean up a hard drive running the Windows file system, we must go over how to set up your Linux OS to be able to interact with the hard drive by installing Ntfs-3g, and some other packages.

First, install ntfs-3g from your package manager (APT/PPM)

Debian Linux is very similar to Ubuntu when it comes to NTFS Fix, as it doesn’t distribute the app as a unique package, but rather as a small piece of the Ntfs-3g package (which gives NTFS support to Linux).

To clean up an NTFS filesystem hard drive on Linux :
ntfsfix /dev/sdX1
ntfsfix --clear-bad-sectors /dev/sdX1
ntfsfix --clear-dirty /dev/sdX1
Back to top
View user's profile Send private message 
ozsouth

Joined: 01 Jan 2010
Posts: 611
Location: S.E Australia

PostPosted: Tue 23 Jul 2019, 19:26    Post subject:  

Thanks for the tip & syntax - this pkg is standard in every Puppy I have - Bionicpup64, DpupStretch7.5, Slacko64, ScPup (64 & 32), LxPup (64 & 32)
Back to top
View user's profile Send private message 
Ananda98


Joined: 03 Jul 2017
Posts: 52
Location: Bali, Indonesia

PostPosted: Sun 01 Sep 2019, 08:56    Post subject: Re: NTFSFIX
Subject description: How to fix a non-working Windows hard drive on Linux
 

labbe5 wrote:
https://www.addictivetips.com/ubuntu-linux-tips/fix-a-non-working-windows-hard-drive-on-linux/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+Addictivetips+%28AddictiveTips%29

Some Puppy users, and/or gamers, still use Windows on a dual boot system or as their main OS. To me, Windows is not secure enough to be used on a daily basis, but let's say you need it from time to time.

So a tool such as ntfsfix might be useful to you.

The NTFS fix tool doesn’t come pre-installed on Linux. Furthermore, most Linux distributions cannot interact with NTFS file systems natively. So, before we can get into how to clean up a hard drive running the Windows file system, we must go over how to set up your Linux OS to be able to interact with the hard drive by installing Ntfs-3g, and some other packages.

First, install ntfs-3g from your package manager (APT/PPM)

Debian Linux is very similar to Ubuntu when it comes to NTFS Fix, as it doesn’t distribute the app as a unique package, but rather as a small piece of the Ntfs-3g package (which gives NTFS support to Linux).

To clean up an NTFS filesystem hard drive on Linux :
ntfsfix /dev/sdX1
ntfsfix --clear-bad-sectors /dev/sdX1
ntfsfix --clear-dirty /dev/sdX1


There mentioned that most of Linux distribution cannot interact with NTFS. It is really?
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 13005
Location: S.C. USA

PostPosted: Sun 01 Sep 2019, 12:29    Post subject:  

This is already in Puppy Linux.

Quote:
root# ntfsfix
ERROR: You must specify a device.
ntfsfix v2017.3.23 (libntfs-3g)

Usage: ntfsfix [options] device
Attempt to fix an NTFS partition.

-b, --clear-bad-sectors Clear the bad sector list
-d, --clear-dirty Clear the volume dirty flag
-h, --help Display this help
-n, --no-action Do not write anything
-V, --version Display version information

For example: ntfsfix /dev/hda6

Developers' email address: ntfs-3g-devel@lists.sf.net
News, support and information: http://tuxera.com


However, it may not work as well as the programs in Windows, that are for repairing Windows file systems.

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
Burn_IT


Joined: 12 Aug 2006
Posts: 3608
Location: Tamworth UK

PostPosted: Sun 01 Sep 2019, 13:02    Post subject:  

In fact you should avoid fixing any "external" file system from any OS other than its native one.

You would warn people about fixing EXTn file systems from Windows as it can cause problems, The same applies to fixing NTFS from Linux.

Obviously there WILL be times when you cannot avoid it, but you should not do it as a matter of course.

_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0411s ][ Queries: 12 (0.0096s) ][ GZIP on ]