• Linux utility needed in Windoz

    From Robert Baer@robertbaer@localnet.com to alt.computer on Mon Jan 17 18:52:18 2022
    What i need to do is turn on/off the boot bit(byte).

    Right now i can copy one or more partitions, thereby adding the
    requisite 100MB system sector to a windows system, making it usable.
    But without that magic mark, it is not fully testable.

    Yes, one could use Partmagic, but that requires re-cabling the
    computer and switching the OS.
    Big PITA.

    The Linux DD routine has been emulated for Windoz, so why not a Linux routine for this?

    Thanks.
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Paul@nospam@needed.invalid to alt.computer on Mon Jan 17 22:33:36 2022
    On 1/17/2022 9:52 PM, Robert Baer wrote:
      What i need to do is turn on/off the boot bit(byte).

      Right now i can copy one or more partitions, thereby adding the requisite 100MB system sector to a windows system, making it usable.
      But without that magic mark, it is not fully testable.

      Yes, one could use Partmagic, but that requires re-cabling the computer and switching the OS.
      Big PITA.

      The Linux DD routine has been emulated for Windoz, so why not a Linux routine for this?

       Thanks.

    On a legacy partitioned disk (not a GPT) that would be

    administrator command prompt

    diskpart
    list disk # keep diskmgmt.msc open on the screen while you are working...
    select disk 3
    list partition
    select partition 2
    active
    exit

    Diskpart has pretty good help, to help you
    figure it out.

    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).

    http://mistyprojects.co.uk/documents/ptedit/index.html

    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example, "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking. This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.

    HTH,
    Paul
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Robert Baer@robertbaer@localnet.com to alt.computer on Tue Jan 18 22:18:59 2022
    Paul wrote:
    On 1/17/2022 9:52 PM, Robert Baer wrote:
       What i need to do is turn on/off the boot bit(byte).

       Right now i can copy one or more partitions, thereby adding the
    requisite 100MB system sector to a windows system, making it usable.
       But without that magic mark, it is not fully testable.

       Yes, one could use Partmagic, but that requires re-cabling the
    computer and switching the OS.
       Big PITA.

       The Linux DD routine has been emulated for Windoz, so why not a
    Linux routine for this?

        Thanks.

    On a legacy partitioned disk (not a GPT) that would be

       administrator command prompt

       diskpart
       list disk           # keep diskmgmt.msc open on the screen while you
    are working...
       select disk 3
       list partition
       select partition 2
       active
       exit

    Diskpart has pretty good help, to help you
    figure it out.
    * Noodled around and discovered Diskpart.
    It solved the problem very nicely.


    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).
    * I got Ptedit.exe way back then, and their Partinfo.exe also.
    Never had any problem in DOS or older versions of Windows
    that did not give hissy-fits WRT direct access to hard drives.


    http://mistyprojects.co.uk/documents/ptedit/index.html
    * Thanks for mentioning Ptedit32.exe!
    Looks spiffy. Thanks.


    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example, "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking.
    * Meaning Win 10 crashes ranDUMBly?
    How often, and is it hard to fix?

    This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.

    HTH,
       Paul

    Thanks again.
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Paul@nospam@needed.invalid to alt.computer on Wed Jan 19 03:59:29 2022
    On 1/19/2022 1:18 AM, Robert Baer wrote:

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking.
    * Meaning Win 10 crashes ranDUMBly?
    How often, and is it hard to fix?

    $MFTMIRR is *damaged* by Windows 10.

    If you are in Linux and get a complaint that a partition
    cannot be mounted, that's when you might try ntfsfix.
    Assuming it is an NTFS partition of course.

    *******

    Moving back and forth between Windows and Linux is a
    pain in the ass, when it really should not be like that.
    But Microsoft must mess around, and that's just a taste
    of what happens.

    The System32 folder in a Windows C: is compressed with
    New Compression attribute, and that must be undone before
    you can modify System32 DLLs and the like, from Linux.

    In Windows 10

    compact.exe /compactos:query # Check Windows C: System32 for New Compression present

    compact.exe /compactos:never # Tell Windows 10 to undo the compression. Now the
    # files can be modified from Linux.

    You would not do that to a Windows tablet with 32GB Flash storage, but
    for most other hard drive based desktops and the like, the option to
    disable compression is perfectly viable.

    HTH,
    Paul
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Robert Baer@robertbaer@localnet.com to alt.computer on Sun Jan 23 12:50:45 2022
    Paul wrote:
    On 1/17/2022 9:52 PM, Robert Baer wrote:
       What i need to do is turn on/off the boot bit(byte).

       Right now i can copy one or more partitions, thereby adding the
    requisite 100MB system sector to a windows system, making it usable.
       But without that magic mark, it is not fully testable.

       Yes, one could use Partmagic, but that requires re-cabling the
    computer and switching the OS.
       Big PITA.

       The Linux DD routine has been emulated for Windoz, so why not a
    Linux routine for this?

        Thanks.

    On a legacy partitioned disk (not a GPT) that would be

       administrator command prompt

       diskpart
       list disk           # keep diskmgmt.msc open on the screen while you
    are working...
       select disk 3
       list partition
       select partition 2
       active
       exit

    Diskpart has pretty good help, to help you
    figure it out.

    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).

    http://mistyprojects.co.uk/documents/ptedit/index.html

    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example, "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking. This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.

    HTH,
       Paul
    WTH? Used DuckDuckGo to search for a source of the program, and no
    reference had it, and a large number of them screamed "virus".

    Thanks.

    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Paul@nospam@needed.invalid to alt.computer on Sun Jan 23 20:17:20 2022
    On 1/23/2022 3:50 PM, Robert Baer wrote:
    Paul wrote:
    On 1/17/2022 9:52 PM, Robert Baer wrote:
       What i need to do is turn on/off the boot bit(byte).

       Right now i can copy one or more partitions, thereby adding the requisite 100MB system sector to a windows system, making it usable.
       But without that magic mark, it is not fully testable.

       Yes, one could use Partmagic, but that requires re-cabling the computer and switching the OS.
       Big PITA.

       The Linux DD routine has been emulated for Windoz, so why not a Linux routine for this?

        Thanks.

    On a legacy partitioned disk (not a GPT) that would be

        administrator command prompt

        diskpart
        list disk           # keep diskmgmt.msc open on the screen while you are working...
        select disk 3
        list partition
        select partition 2
        active
        exit

    Diskpart has pretty good help, to help you
    figure it out.

    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).

    http://mistyprojects.co.uk/documents/ptedit/index.html

    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example,
    "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking. This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.

      WTH? Used DuckDuckGo to search for a source of the program, and no reference had it, and a large number of them screamed "virus".

       Thanks.

    In Linux, if it's not present, you use the Package Manager (like Synaptic)
    to find and install it from the Repository tree.

    That's not a Windows executable, and it is not "ntfsfix.exe".
    It's an ELF executable and is "ntfsfix".

    https://linux.die.net/man/8/ntfsprogs

    It's interesting, that in Linux Mint 20.3 Uma, it is not
    in Package Manager, yet it is in the file tree as /usr/bin/ntfsfix.

    sudo ntfsfix /dev/sda2 # Assume /dev/sda2 is an NTFS partition

    Attempts to find it, it does not even show in the tree, which
    means some genius has repackaged it somehow.

    apt search ntfsprogs # nothing shows up

    Normally, executables are packaged somehow, so that they can be
    updated if a bug shows up and a new one is released.

    https://community.linuxmint.com/software/view/ntfsprogs

    And as it says there, it is now ntfs-3g package

    apt search ntfs-3g

    You should not need to be doing that sort of search, as
    searching on ntfsfix should identify the package automatically.

    Doing Properties in Synaptic, on the already-installed "ntfs-3g"
    package, and checking the File tab, shows that the package
    owns and controls ntfsfix program.

    But for some reason, the convenient wiring is buggered. And this
    was harder to trace down than you would expect.

    Paul
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Robert Baer@robertbaer@localnet.com to alt.computer on Tue Feb 1 14:39:43 2022
    Paul wrote:
    On 1/23/2022 3:50 PM, Robert Baer wrote:
    Paul wrote:
    On 1/17/2022 9:52 PM, Robert Baer wrote:
       What i need to do is turn on/off the boot bit(byte).

       Right now i can copy one or more partitions, thereby adding the
    requisite 100MB system sector to a windows system, making it usable.
       But without that magic mark, it is not fully testable.

       Yes, one could use Partmagic, but that requires re-cabling the
    computer and switching the OS.
       Big PITA.

       The Linux DD routine has been emulated for Windoz, so why not a
    Linux routine for this?

        Thanks.

    On a legacy partitioned disk (not a GPT) that would be

        administrator command prompt

        diskpart
        list disk           # keep diskmgmt.msc open on the screen while
    you are working...
        select disk 3
        list partition
        select partition 2
        active
        exit

    Diskpart has pretty good help, to help you
    figure it out.

    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).

    http://mistyprojects.co.uk/documents/ptedit/index.html

    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example,
    "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking. This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.
       WTH? Used DuckDuckGo to search for a source of the program, and no
    reference had it, and a large number of them screamed "virus".

        Thanks.

    In Linux, if it's not present, you use the Package Manager (like Synaptic)
    to find and install it from the Repository tree.

    That's not a Windows executable, and it is not "ntfsfix.exe".
    It's an ELF executable and is "ntfsfix".

    https://linux.die.net/man/8/ntfsprogs

    It's interesting, that in Linux Mint 20.3 Uma, it is not
    in Package Manager, yet it is in the file tree as /usr/bin/ntfsfix.

       sudo ntfsfix /dev/sda2   # Assume /dev/sda2 is an NTFS partition

    Attempts to find it, it does not even show in the tree, which
    means some genius has repackaged it somehow.

       apt search ntfsprogs   # nothing shows up

    Normally, executables are packaged somehow, so that they can be
    updated if a bug shows up and a new one is released.

    https://community.linuxmint.com/software/view/ntfsprogs

    And as it says there, it is now ntfs-3g package

       apt search ntfs-3g

    You should not need to be doing that sort of search, as
    searching on ntfsfix should identify the package automatically.

    Doing Properties in Synaptic, on the already-installed "ntfs-3g"
    package, and checking the File tab, shows that the package
    owns and controls ntfsfix program.

    But for some reason, the convenient wiring is buggered. And this
    was harder to trace down than you would expect.

       Paul
    * My computer slowly degraded to the point thatt no matter what i did,
    more and more sites became insecure and thus impossible to visit/use
    with any browser.
    Wasted 4 hours chasing that.
    Formatted a wiped drive and installed Win7, the 2 daze to
    load/install my programs and my 60 some icons.
    In the process, i lost 3 programs, and replaced one of them with a
    newer version.
    Do you know anyone that has EAGLE 7.6.0, and would be willing to email
    a zipped replacement to me?

    Thanks
    --- Synchronet 3.20a-Win32 NewsLink 1.114
  • From Paul@nospam@needed.invalid to alt.computer on Tue Feb 1 18:17:57 2022
    On 2/1/2022 5:39 PM, Robert Baer wrote:
    Paul wrote:
    On 1/23/2022 3:50 PM, Robert Baer wrote:
    Paul wrote:
    On 1/17/2022 9:52 PM, Robert Baer wrote:
       What i need to do is turn on/off the boot bit(byte).

       Right now i can copy one or more partitions, thereby adding the requisite 100MB system sector to a windows system, making it usable.
       But without that magic mark, it is not fully testable.

       Yes, one could use Partmagic, but that requires re-cabling the computer and switching the OS.
       Big PITA.

       The Linux DD routine has been emulated for Windoz, so why not a Linux routine for this?

        Thanks.

    On a legacy partitioned disk (not a GPT) that would be

        administrator command prompt

        diskpart
        list disk           # keep diskmgmt.msc open on the screen while you are working...
        select disk 3
        list partition
        select partition 2
        active
        exit

    Diskpart has pretty good help, to help you
    figure it out.

    Third party application "ptedit32.exe" from powerquest,
    a free utility in their paid suite, could also do it.
    But as utilities go, it whines a bit, and if it does
    not like the partition boundaries, size, or any other
    casual integer number, it can actually just bail on
    you. The utility was offered for download for ten years
    from an FTP server at Symantec, until they closed down
    the server one day. It still exists as a package download,
    on "one of those downloader sites" (filehorse or the likes).

    http://mistyprojects.co.uk/documents/ptedit/index.html

    PTEDIT32 is sometimes good, if you need to visualize the
    numbers in the partition table in the MBR sector 0, as well
    as displaying the chained list of logical partition declarations.

    But really, with the function in diskpart, look no further.

    Microsoft utilities are seldom uniform from one OS to the next,
    and Robocopy is an example of that. Even the venerable CHKDSK,
    has a few extra flags (poorly documented) that actually do
    stuff you might appreciate. And you might have to boot an
    installer DVD to use them. No, I have not done a comparative
    study, just noticed there are differences. They don't believe
    in backporting things, unless it is to MSFT advantage. For example,
    "cleanmgr.exe", that WAS back-ported, which is at least one
    example of a standup move by the corporation.

    Even Linux has utilities, such as "ntfsfix" for fixing the $MFTMIRR
    that Windows 10 keeps breaking. This allows mounting NTFS
    partitions that the Linux desktop told you they weren't going
    to mount. I usually record the chit-chat that utility dumps to
    terminal, in my "disk drive inventory" directory, for future usage.
    That way, if at a future time, the partition is damaged, I can look
    back and see if NTFSFIX might have played a part.
       WTH? Used DuckDuckGo to search for a source of the program, and no
    reference had it, and a large number of them screamed "virus".

        Thanks.

    In Linux, if it's not present, you use the Package Manager (like Synaptic) >> to find and install it from the Repository tree.

    That's not a Windows executable, and it is not "ntfsfix.exe".
    It's an ELF executable and is "ntfsfix".

    https://linux.die.net/man/8/ntfsprogs

    It's interesting, that in Linux Mint 20.3 Uma, it is not
    in Package Manager, yet it is in the file tree as /usr/bin/ntfsfix.

        sudo ntfsfix /dev/sda2   # Assume /dev/sda2 is an NTFS partition

    Attempts to find it, it does not even show in the tree, which
    means some genius has repackaged it somehow.

        apt search ntfsprogs   # nothing shows up

    Normally, executables are packaged somehow, so that they can be
    updated if a bug shows up and a new one is released.

    https://community.linuxmint.com/software/view/ntfsprogs

    And as it says there, it is now ntfs-3g package

        apt search ntfs-3g

    You should not need to be doing that sort of search, as
    searching on ntfsfix should identify the package automatically.

    Doing Properties in Synaptic, on the already-installed "ntfs-3g"
    package, and checking the File tab, shows that the package
    owns and controls ntfsfix program.

    But for some reason, the convenient wiring is buggered. And this
    was harder to trace down than you would expect.

        Paul
    * My computer slowly degraded to the point thatt no matter what i did, more and more sites became insecure and thus impossible to visit/use with any browser.
      Wasted 4 hours chasing that.
      Formatted a wiped drive and installed Win7, the 2 daze to load/install my programs and my 60 some icons.
      In the process, i lost 3 programs, and replaced one of them with a newer version.
      Do you know anyone that has EAGLE 7.6.0, and would be willing to email
    a zipped replacement to me?

       Thanks

    How will I know I have the correct file ???

    http://eagle.autodesk.com/eagle/software-versions/2

    Paul
    --- Synchronet 3.20a-Win32 NewsLink 1.114