Running fsck from cygwin shell?Ext3 drive will not mount after power failure; how to recover...

The No-Straight Maze

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Single-row INSERT...SELECT much slower than separate SELECT

Why does 0.-5 evaluate to -5?

Does the ditching switch allow an A320 to float indefinitely?

What species should be used for storage of human minds?

Does it take energy to move something in a circle?

In harmony: key or the flow?

Why avoid shared user accounts?

What makes papers publishable in top-tier journals?

What can I do to encourage my players to use their consumables?

Broad Strokes - missing letter riddle

How is this property called for mod?

Plausible reason for gold-digging ant

Eww, those bytes are gross

Why do neural networks need so many training examples to perform?

Boss asked me to sign a resignation paper without a date on it along with my new contract

How does Leonard in "Memento" remember reading and writing?

Coworker asking me to not bring cakes due to self control issue. What should I do?

Which RAF squadrons and aircraft types took part in the bombing of Berlin on the 25th of August 1940?

When Are Enum Values Defined?

If angels and devils are the same species, why would their mortal offspring appear physically different?

Square Root Distance from Integers

Why did Luke use his left hand to shoot?



Running fsck from cygwin shell?


Ext3 drive will not mount after power failure; how to recover files?Partitioning and safely removing compact flash cards with Windows 7Is fsck for ext4 available for 64-bit systems?Problem with my partitions?Seeing Ubuntu-made files on an NTFS partition from within Windows 7Can't recover hard driveBad blocks detected by fsck. SMART says disk is goodfsck from a Windows boxHow host local files from HOST OS in Apache running on a Virtual Box Guest OSfsck on root partition on BBB based custom board













5















I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot fanless PCs to debian)



SD cards in question have 3 partitions - 2 of which are ext2. When I plug the card into the win7 machine I only see /dev/sdb1 appear. (unf dmesg isn't installed so i can't see what errors might be).



When I try e2fsck on this partition Im told "bad magic number in superblock", etc etc. This leads me to believe it isn't a linux partition.



(Note - if I put this SD card in a CentOS machine I see all three partitions appear and can work with them)



Anyway: question(s):




  • is there a better way to check / fix ext2 partitions from a win7 machine?

  • is there a way to get e2fsck to work from cygwin?










share|improve this question














bumped to the homepage by Community 6 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    5















    I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot fanless PCs to debian)



    SD cards in question have 3 partitions - 2 of which are ext2. When I plug the card into the win7 machine I only see /dev/sdb1 appear. (unf dmesg isn't installed so i can't see what errors might be).



    When I try e2fsck on this partition Im told "bad magic number in superblock", etc etc. This leads me to believe it isn't a linux partition.



    (Note - if I put this SD card in a CentOS machine I see all three partitions appear and can work with them)



    Anyway: question(s):




    • is there a better way to check / fix ext2 partitions from a win7 machine?

    • is there a way to get e2fsck to work from cygwin?










    share|improve this question














    bumped to the homepage by Community 6 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      5












      5








      5








      I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot fanless PCs to debian)



      SD cards in question have 3 partitions - 2 of which are ext2. When I plug the card into the win7 machine I only see /dev/sdb1 appear. (unf dmesg isn't installed so i can't see what errors might be).



      When I try e2fsck on this partition Im told "bad magic number in superblock", etc etc. This leads me to believe it isn't a linux partition.



      (Note - if I put this SD card in a CentOS machine I see all three partitions appear and can work with them)



      Anyway: question(s):




      • is there a better way to check / fix ext2 partitions from a win7 machine?

      • is there a way to get e2fsck to work from cygwin?










      share|improve this question














      I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot fanless PCs to debian)



      SD cards in question have 3 partitions - 2 of which are ext2. When I plug the card into the win7 machine I only see /dev/sdb1 appear. (unf dmesg isn't installed so i can't see what errors might be).



      When I try e2fsck on this partition Im told "bad magic number in superblock", etc etc. This leads me to believe it isn't a linux partition.



      (Note - if I put this SD card in a CentOS machine I see all three partitions appear and can work with them)



      Anyway: question(s):




      • is there a better way to check / fix ext2 partitions from a win7 machine?

      • is there a way to get e2fsck to work from cygwin?







      windows-7 cygwin fsck ext2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 9 '14 at 16:57









      ethrbunnyethrbunny

      232517




      232517





      bumped to the homepage by Community 6 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 6 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Due to limitations of the cygwin environment I would recommend using a virtual machine (that's what I have done in the past). Set up the Linux environment you are accustomed to using (with or without X) using Virtual Box or some alternative and then bridge access to your SD Card adapter. Under VirtualBox you can enable access under the VM settings -> USB -> Enable USB Controller and add the appropriate filter for your SD card adapter. You should then be able to access the sdcard as your expected block device file(s) under /dev and run fsck.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f739710%2frunning-fsck-from-cygwin-shell%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Due to limitations of the cygwin environment I would recommend using a virtual machine (that's what I have done in the past). Set up the Linux environment you are accustomed to using (with or without X) using Virtual Box or some alternative and then bridge access to your SD Card adapter. Under VirtualBox you can enable access under the VM settings -> USB -> Enable USB Controller and add the appropriate filter for your SD card adapter. You should then be able to access the sdcard as your expected block device file(s) under /dev and run fsck.






            share|improve this answer




























              0














              Due to limitations of the cygwin environment I would recommend using a virtual machine (that's what I have done in the past). Set up the Linux environment you are accustomed to using (with or without X) using Virtual Box or some alternative and then bridge access to your SD Card adapter. Under VirtualBox you can enable access under the VM settings -> USB -> Enable USB Controller and add the appropriate filter for your SD card adapter. You should then be able to access the sdcard as your expected block device file(s) under /dev and run fsck.






              share|improve this answer


























                0












                0








                0







                Due to limitations of the cygwin environment I would recommend using a virtual machine (that's what I have done in the past). Set up the Linux environment you are accustomed to using (with or without X) using Virtual Box or some alternative and then bridge access to your SD Card adapter. Under VirtualBox you can enable access under the VM settings -> USB -> Enable USB Controller and add the appropriate filter for your SD card adapter. You should then be able to access the sdcard as your expected block device file(s) under /dev and run fsck.






                share|improve this answer













                Due to limitations of the cygwin environment I would recommend using a virtual machine (that's what I have done in the past). Set up the Linux environment you are accustomed to using (with or without X) using Virtual Box or some alternative and then bridge access to your SD Card adapter. Under VirtualBox you can enable access under the VM settings -> USB -> Enable USB Controller and add the appropriate filter for your SD card adapter. You should then be able to access the sdcard as your expected block device file(s) under /dev and run fsck.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 7 '16 at 23:02









                ebpaebpa

                157210




                157210






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f739710%2frunning-fsck-from-cygwin-shell%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...