• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Lsblk: /dev/sda?: not a block device

Scheduled Pinned Locked Moved Solved
Bug Reports
6
28
16.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sgennadi
    last edited by Apr 30, 2015, 1:09 PM

    I try to restore image on hdd with broken mbr/partition table and receive message:
    lsblk: /dev/sda?: not a block device
    Error: Could not stat device mklabel -No such file or directory
    Failed to initialize disk…

    I can’t erase mbr/partition with fastwipe … same mistake

    After recreate mbr/partition table with external tool all work

    Can you fix this case ?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Apr 30, 2015, 1:20 PM

      Try undionly.kkpxe

      [url]http://fogproject.org/wiki/index.php/Troubleshoot_TFTP#DHCP_Settings[/url]

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • J
        Junkhacker Developer
        last edited by Apr 30, 2015, 1:40 PM

        so this was a disk that was not properly initialized and didn’t have an existing mbr or partition table?

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        1 Reply Last reply Reply Quote 0
        • S
          sgennadi
          last edited by Apr 30, 2015, 2:39 PM

          Disk was formatted using protection card magic card extra IV ([url=“http://www.rogev.co.il/”]www.rogev.co.il/[/url][B]magic[/B]-[B]card[/B]/[B]extra[/B]-4/[B]Magic[/B] [B]Card[/B] [B]Extra[/B] IV.pdf) after uninstalling card partition table was destroyed .
          I can ulpload backup of destroyed mbr / partition table

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by Apr 30, 2015, 2:46 PM

            If you’ve got an external drive bay, you can just use disk management in windows to delete/create a partition on it.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            1 Reply Last reply Reply Quote 0
            • S
              sgennadi
              last edited by Apr 30, 2015, 3:14 PM

              I can boot from fog / gparted.iso and create partition or fog debug fdisk /sfdisk but may be this case can be fixed automatically without my intervention

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Apr 30, 2015, 3:15 PM

                What makes you think that?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                1 Reply Last reply Reply Quote 0
                • S
                  sgennadi
                  last edited by Apr 30, 2015, 3:15 PM

                  Error Message

                  [url=“/_imported_xf_attachments/1/1947_WP_20150430_001.jpg?:”]WP_20150430_001.jpg[/url]

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Apr 30, 2015, 3:15 PM

                    Sure I “could” do it, but if you’re already aware you have a bad MBR, how am I supposed to detect it?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 0
                    • S
                      sgennadi
                      last edited by Apr 30, 2015, 3:22 PM

                      I choose open image of hdd with one partition ( Single Disk - Resizable) and option resize image to fill all space on hdd, fog must destroy all data on the disk and overwrite mbr ?

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Apr 30, 2015, 3:29 PM

                        Correct, but this only works if the disk can be initialized in the first place.

                        Think about it in this regard.

                        I have to validate that your disk is readable/usable on initial boot.

                        if for some reason it cannot work with FOG (can’t initialize or whatnot which it tries if it can) and I clear the MBR, you suddenly have a system that may have worked (just not with FOG) inoperational.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 0
                        • S
                          sgennadi
                          last edited by May 1, 2015, 5:52 AM

                          You are right when we talk about full / quick inventory but when we talk about quick image I think maybe you can add some extra question (option) if problem with disk detected (format, wipe, clear partition table, disktest, etc ) ?

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by May 1, 2015, 11:43 AM

                            sgennadi,

                            I guess I don’t know how to explain this so you understand.

                            If I clear the drive, before the system has even had a chance to start up, there’s a high chance your systems would lose data.

                            This is the first time I’ve ever heard of a hard drive having a “bad” mbr that FOG couldn’t at least continue on. As it’s the first (and I’m sure it’s only been reported this first time), i’m not going to change it.

                            If you knew your hard drive had a bad mbr written to it before imaging, then why would you think fog was just going to fix this for you?

                            Again:

                            If I clear the MBR/HDD and it still can’t initialize the drive, there’s a huge potential for Data Loss. Once FOG knows it can use the drive safely, it will go through and clear the tables and present them back as the image needs it to. But during that initial start up I don’t think this is a good or safe option.

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • S
                              sgennadi
                              last edited by May 1, 2015, 1:02 PM

                              Tom,
                              I understand you very well and I said you right this is not bug , can I ask you future request? Can you do in fog menu something like quick image advanced where you script check computer compatibility if problem found not exit with error code, but give to the user option to fix problem (or try to fix problem automatically) and re-run check ?

                              1 Reply Last reply Reply Quote 0
                              • M
                                Maurice Tift
                                last edited by May 4, 2015, 8:55 AM

                                [SIZE=5][B][FONT=Trebuchet MS][FONT=Tahoma]lsblk: /dev/sda?: not a block device[/FONT]
                                [FONT=Tahoma]Error: Could not stat device mklabel -No such file or directory[/FONT][/FONT][/B][/SIZE]

                                I get that message all the time with the current revision - images do not restore and it’s impossible to register a new host.

                                "Never wear anything that panics the cat." - [URL='http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html']P. J. O'Rourke [/URL]

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by May 4, 2015, 10:31 AM

                                  Does this only happen on specific devices?

                                  I ask because I’ve been testing imaging since working on many different changes. I haven’t seen this pop up.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Maurice Tift
                                    last edited by May 4, 2015, 10:44 AM

                                    I got it on a Toshiba Satellite notebook: M305D-S4830, an older computer with a K8T Neo-V MSI mainboard and a VirtualBox virtual machine.

                                    "Never wear anything that panics the cat." - [URL='http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html']P. J. O'Rourke [/URL]

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Maurice Tift
                                      last edited by May 4, 2015, 12:01 PM

                                      just tried it with a new hard drive (on the old MSI computer) and the update from a few minutes ago - same /dev/sda? error

                                      "Never wear anything that panics the cat." - [URL='http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html']P. J. O'Rourke [/URL]

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        Tom Elliott
                                        last edited by May 4, 2015, 12:40 PM

                                        please update and try again, does the error still occur?

                                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Maurice Tift
                                          last edited by May 5, 2015, 12:41 AM

                                          This time after updating…

                                          trying to register older MSI computer with new hard drive connected to SATA (configured as SATA and not RAID)

                                          Error: could not stat device mklabel - No such file or directory

                                          ** An error has been detected **

                                          Failed to initialize disk

                                          ** Computer will reboot in 1 minute **

                                          "Never wear anything that panics the cat." - [URL='http://www.brainyquote.com/quotes/authors/p/p_j_orourke.html']P. J. O'Rourke [/URL]

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            18/28
                                            Last post

                                          213

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project