How do I find out my motherboard model?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







210















Is there a way to find what motherboard model I have?



If yes, how, please?










share|improve this question




















  • 8





    Open the case and look.

    – NGRhodes
    Jan 27 '15 at 14:02






  • 1





    It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

    – Hastur
    Jan 27 '15 at 14:15






  • 2





    For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

    – dMatija
    Dec 27 '17 at 12:51


















210















Is there a way to find what motherboard model I have?



If yes, how, please?










share|improve this question




















  • 8





    Open the case and look.

    – NGRhodes
    Jan 27 '15 at 14:02






  • 1





    It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

    – Hastur
    Jan 27 '15 at 14:15






  • 2





    For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

    – dMatija
    Dec 27 '17 at 12:51














210












210








210


54






Is there a way to find what motherboard model I have?



If yes, how, please?










share|improve this question
















Is there a way to find what motherboard model I have?



If yes, how, please?







hardware






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 17 '14 at 0:49









Braiam

52.7k20138225




52.7k20138225










asked Aug 24 '12 at 16:48









EdericoEderico

2,07782223




2,07782223








  • 8





    Open the case and look.

    – NGRhodes
    Jan 27 '15 at 14:02






  • 1





    It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

    – Hastur
    Jan 27 '15 at 14:15






  • 2





    For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

    – dMatija
    Dec 27 '17 at 12:51














  • 8





    Open the case and look.

    – NGRhodes
    Jan 27 '15 at 14:02






  • 1





    It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

    – Hastur
    Jan 27 '15 at 14:15






  • 2





    For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

    – dMatija
    Dec 27 '17 at 12:51








8




8





Open the case and look.

– NGRhodes
Jan 27 '15 at 14:02





Open the case and look.

– NGRhodes
Jan 27 '15 at 14:02




1




1





It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

– Hastur
Jan 27 '15 at 14:15





It is not needed to run as root a command or to install new software, see below in the answer... or if you prefer an hardware answer it's always possible to follow the @NGRhodes suggestion ;-)

– Hastur
Jan 27 '15 at 14:15




2




2





For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

– dMatija
Dec 27 '17 at 12:51





For most hardware and so i'm using inxi. Try it tecmint.com/inxi-command-to-find-linux-system-information

– dMatija
Dec 27 '17 at 12:51










6 Answers
6






active

oldest

votes


















117














There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.





  1. Hardinfo



    Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.



    Hardinfo image




  2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team



    sudo add-apt-repository ppa:atareao/atareao
    sudo apt update
    sudo apt install cpu-g


    CPU-G image




  3. lshw-gtk – Graphical frontend for lshw command



    lshw-gtk image




  4. PerlMon



    Perlmon image








share|improve this answer

































    402














    This will directly show you motherboard info:



    sudo dmidecode -t 2


    or



    sudo dmidecode | more


    You can also try:



    lspci





    share|improve this answer





















    • 36





      I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

      – bksunday
      Oct 29 '14 at 22:04






    • 1





      Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

      – Cestarian
      Mar 2 '16 at 9:25











    • dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

      – erm3nda
      Feb 11 '18 at 9:53











    • @erm3nda -t 2 means Baseboard information, see man dmidecode

      – Vadim Kotov
      Jun 18 '18 at 13:46



















    51














    Non root user variant



    I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:



    cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}


    that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:



    FUJITSU
    D3062-A1
    S26361-D3062-A1


    Note:

    Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.





    Privileged user variant



    Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...



    ...but, maybe, if privileges are available it's more cosy to use dmidecode piped in some filter as said in other answers too.



    Below the version I prefer, because compact and quick:



    sudo dmidecode  | grep -A4 '^Base Board Information'


    Often it works in the short version too sudo dmidecode | grep -A4 '^Base'



    Output:



    Base Board Information
    Manufacturer: FUJITSU
    Product Name: D3062-A1
    Version: S26361-D3062-A1
    Serial Number: MySerialNumber(1)


    (1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)



    Ps> it works fine too sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then dmidecode






    share|improve this answer





















    • 1





      Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

      – CodeBrauer
      Feb 6 '17 at 14:22






    • 1





      @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

      – Hastur
      Feb 6 '17 at 18:43













    • As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

      – Hastur
      Mar 23 '17 at 16:17





















    46














    You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run



    sudo lshw  


    and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:



    *-core
    description: Motherboard
    product: Aspire 1700
    vendor: acer
    physical id: 0
    version: 0303
    serial: None
    *-firmware
    description: BIOS
    vendor: acer
    physical id: 0
    version: 3C13
    date: 05/12/04
    size: 109KiB
    capacity: 448KiB
    capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification


    lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.



    As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.






    share|improve this answer


























    • FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

      – Sridhar-Sarnobat
      Mar 3 '15 at 22:25



















    8














    I found the quickest & easiest way to determine the motherboard model on my computer is:



    dmesg | grep DMI:


    which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:



    dennis ~ $ dmesg | grep DMI:
    [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011





    share|improve this answer

































      5














      This worked for me:



      sudo dmidecode --string baseboard-product-name


      see: https://charlieharvey.org.uk/page/motherboard_model_make_serial_linux_or_debian_bash_shell






      share|improve this answer


























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        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%2faskubuntu.com%2fquestions%2f179958%2fhow-do-i-find-out-my-motherboard-model%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        117














        There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.





        1. Hardinfo



          Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.



          Hardinfo image




        2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team



          sudo add-apt-repository ppa:atareao/atareao
          sudo apt update
          sudo apt install cpu-g


          CPU-G image




        3. lshw-gtk – Graphical frontend for lshw command



          lshw-gtk image




        4. PerlMon



          Perlmon image








        share|improve this answer






























          117














          There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.





          1. Hardinfo



            Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.



            Hardinfo image




          2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team



            sudo add-apt-repository ppa:atareao/atareao
            sudo apt update
            sudo apt install cpu-g


            CPU-G image




          3. lshw-gtk – Graphical frontend for lshw command



            lshw-gtk image




          4. PerlMon



            Perlmon image








          share|improve this answer




























            117












            117








            117







            There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.





            1. Hardinfo



              Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.



              Hardinfo image




            2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team



              sudo add-apt-repository ppa:atareao/atareao
              sudo apt update
              sudo apt install cpu-g


              CPU-G image




            3. lshw-gtk – Graphical frontend for lshw command



              lshw-gtk image




            4. PerlMon



              Perlmon image








            share|improve this answer















            There's also some great graphical tools that show you not just your motherboard info, but all info about your computer.





            1. Hardinfo



              Search for the hardinfo package in the Software Center or run sudo apt-get install hardinfo from the command line. The motherboard make and model can be found on the Devices > DMI page.



              Hardinfo image




            2. CPU-G - Linux alternative to the popular Windows application CPU-Z. Originally created by ftsamis, it has since been picked up by Atareao Team



              sudo add-apt-repository ppa:atareao/atareao
              sudo apt update
              sudo apt install cpu-g


              CPU-G image




            3. lshw-gtk – Graphical frontend for lshw command



              lshw-gtk image




            4. PerlMon



              Perlmon image









            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 27 '17 at 12:48









            David Foerster

            28.7k1367113




            28.7k1367113










            answered Aug 24 '12 at 17:03









            LnxSlckLnxSlck

            10.4k13049




            10.4k13049

























                402














                This will directly show you motherboard info:



                sudo dmidecode -t 2


                or



                sudo dmidecode | more


                You can also try:



                lspci





                share|improve this answer





















                • 36





                  I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                  – bksunday
                  Oct 29 '14 at 22:04






                • 1





                  Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                  – Cestarian
                  Mar 2 '16 at 9:25











                • dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                  – erm3nda
                  Feb 11 '18 at 9:53











                • @erm3nda -t 2 means Baseboard information, see man dmidecode

                  – Vadim Kotov
                  Jun 18 '18 at 13:46
















                402














                This will directly show you motherboard info:



                sudo dmidecode -t 2


                or



                sudo dmidecode | more


                You can also try:



                lspci





                share|improve this answer





















                • 36





                  I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                  – bksunday
                  Oct 29 '14 at 22:04






                • 1





                  Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                  – Cestarian
                  Mar 2 '16 at 9:25











                • dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                  – erm3nda
                  Feb 11 '18 at 9:53











                • @erm3nda -t 2 means Baseboard information, see man dmidecode

                  – Vadim Kotov
                  Jun 18 '18 at 13:46














                402












                402








                402







                This will directly show you motherboard info:



                sudo dmidecode -t 2


                or



                sudo dmidecode | more


                You can also try:



                lspci





                share|improve this answer















                This will directly show you motherboard info:



                sudo dmidecode -t 2


                or



                sudo dmidecode | more


                You can also try:



                lspci






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 2 at 19:59









                daaawx

                1053




                1053










                answered Aug 24 '12 at 16:50









                SchweinsteigerSchweinsteiger

                4,96941423




                4,96941423








                • 36





                  I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                  – bksunday
                  Oct 29 '14 at 22:04






                • 1





                  Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                  – Cestarian
                  Mar 2 '16 at 9:25











                • dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                  – erm3nda
                  Feb 11 '18 at 9:53











                • @erm3nda -t 2 means Baseboard information, see man dmidecode

                  – Vadim Kotov
                  Jun 18 '18 at 13:46














                • 36





                  I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                  – bksunday
                  Oct 29 '14 at 22:04






                • 1





                  Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                  – Cestarian
                  Mar 2 '16 at 9:25











                • dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                  – erm3nda
                  Feb 11 '18 at 9:53











                • @erm3nda -t 2 means Baseboard information, see man dmidecode

                  – Vadim Kotov
                  Jun 18 '18 at 13:46








                36




                36





                I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                – bksunday
                Oct 29 '14 at 22:04





                I wish this was the accepted answer and that I could remember that forever. No more pausing during bios boot, no more opening the case, no need to install anything.

                – bksunday
                Oct 29 '14 at 22:04




                1




                1





                Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                – Cestarian
                Mar 2 '16 at 9:25





                Lol, has more upvotes as the question and accepted answer combined! But, in the end, I think Hastur's answer is the best (and it took 3 years to get that rock solid answer that doesn't require 3rd party utilities!)

                – Cestarian
                Mar 2 '16 at 9:25













                dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                – erm3nda
                Feb 11 '18 at 9:53





                dmidecode -t 1 gave me the current Product Name. type 2 gave some serials which will not help that much. Im sure that types of dmi data differs across motherboards.

                – erm3nda
                Feb 11 '18 at 9:53













                @erm3nda -t 2 means Baseboard information, see man dmidecode

                – Vadim Kotov
                Jun 18 '18 at 13:46





                @erm3nda -t 2 means Baseboard information, see man dmidecode

                – Vadim Kotov
                Jun 18 '18 at 13:46











                51














                Non root user variant



                I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:



                cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}


                that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:



                FUJITSU
                D3062-A1
                S26361-D3062-A1


                Note:

                Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.





                Privileged user variant



                Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...



                ...but, maybe, if privileges are available it's more cosy to use dmidecode piped in some filter as said in other answers too.



                Below the version I prefer, because compact and quick:



                sudo dmidecode  | grep -A4 '^Base Board Information'


                Often it works in the short version too sudo dmidecode | grep -A4 '^Base'



                Output:



                Base Board Information
                Manufacturer: FUJITSU
                Product Name: D3062-A1
                Version: S26361-D3062-A1
                Serial Number: MySerialNumber(1)


                (1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)



                Ps> it works fine too sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then dmidecode






                share|improve this answer





















                • 1





                  Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                  – CodeBrauer
                  Feb 6 '17 at 14:22






                • 1





                  @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                  – Hastur
                  Feb 6 '17 at 18:43













                • As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                  – Hastur
                  Mar 23 '17 at 16:17


















                51














                Non root user variant



                I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:



                cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}


                that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:



                FUJITSU
                D3062-A1
                S26361-D3062-A1


                Note:

                Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.





                Privileged user variant



                Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...



                ...but, maybe, if privileges are available it's more cosy to use dmidecode piped in some filter as said in other answers too.



                Below the version I prefer, because compact and quick:



                sudo dmidecode  | grep -A4 '^Base Board Information'


                Often it works in the short version too sudo dmidecode | grep -A4 '^Base'



                Output:



                Base Board Information
                Manufacturer: FUJITSU
                Product Name: D3062-A1
                Version: S26361-D3062-A1
                Serial Number: MySerialNumber(1)


                (1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)



                Ps> it works fine too sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then dmidecode






                share|improve this answer





















                • 1





                  Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                  – CodeBrauer
                  Feb 6 '17 at 14:22






                • 1





                  @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                  – Hastur
                  Feb 6 '17 at 18:43













                • As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                  – Hastur
                  Mar 23 '17 at 16:17
















                51












                51








                51







                Non root user variant



                I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:



                cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}


                that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:



                FUJITSU
                D3062-A1
                S26361-D3062-A1


                Note:

                Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.





                Privileged user variant



                Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...



                ...but, maybe, if privileges are available it's more cosy to use dmidecode piped in some filter as said in other answers too.



                Below the version I prefer, because compact and quick:



                sudo dmidecode  | grep -A4 '^Base Board Information'


                Often it works in the short version too sudo dmidecode | grep -A4 '^Base'



                Output:



                Base Board Information
                Manufacturer: FUJITSU
                Product Name: D3062-A1
                Version: S26361-D3062-A1
                Serial Number: MySerialNumber(1)


                (1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)



                Ps> it works fine too sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then dmidecode






                share|improve this answer















                Non root user variant



                I would like to suggest a variant for the unprivileged users, since not always it's possible to execute commands as root (some users simply cannot and however it is always a good practice to avoid to run commands as root when it's not needed), or there is no will or possibility to install new program:



                cat /sys/devices/virtual/dmi/id/board_{vendor,name,version}


                that it is a short version, shell expanded, of cat /sys/devices/virtual/dmi/id/board_vendor /sys/devices/virtual/dmi/id/board_name /sys/devices/virtual/dmi/id/board_version and gives as a spartan output respectively vendor, name and version:



                FUJITSU
                D3062-A1
                S26361-D3062-A1


                Note:

                Inside the path /sys/devices/virtual/dmi/id/ it's possible to find some files with information relative to BIOS, board (motherboard), chassis... not all are readable by an unprivileged user due to a security or privacy issues.





                Privileged user variant



                Of course, e.g, a sudo cat board_serial (that usually is readable only by root, -r--------) or a sudo cat board_* can easily overcame this limit...



                ...but, maybe, if privileges are available it's more cosy to use dmidecode piped in some filter as said in other answers too.



                Below the version I prefer, because compact and quick:



                sudo dmidecode  | grep -A4 '^Base Board Information'


                Often it works in the short version too sudo dmidecode | grep -A4 '^Base'



                Output:



                Base Board Information
                Manufacturer: FUJITSU
                Product Name: D3062-A1
                Version: S26361-D3062-A1
                Serial Number: MySerialNumber(1)


                (1) if it is protected for unprivileged user maybe it's better to avoid to post it :-)



                Ps> it works fine too sudo lshw | grep -A5 "Motherboard", but I find it a little lazier then dmidecode







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 27 '15 at 13:58

























                answered Jan 27 '15 at 13:53









                HasturHastur

                2,86511832




                2,86511832








                • 1





                  Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                  – CodeBrauer
                  Feb 6 '17 at 14:22






                • 1





                  @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                  – Hastur
                  Feb 6 '17 at 18:43













                • As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                  – Hastur
                  Mar 23 '17 at 16:17
















                • 1





                  Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                  – CodeBrauer
                  Feb 6 '17 at 14:22






                • 1





                  @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                  – Hastur
                  Feb 6 '17 at 18:43













                • As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                  – Hastur
                  Mar 23 '17 at 16:17










                1




                1





                Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                – CodeBrauer
                Feb 6 '17 at 14:22





                Perfect! is /sys/devices/ only available on debian-based or any bigger distro?

                – CodeBrauer
                Feb 6 '17 at 14:22




                1




                1





                @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                – Hastur
                Feb 6 '17 at 18:43







                @CodeBrauer It seems it depends from kernel > 2.6.x and not from distro, as you can read in this Fedora thread. ps> "Note that this dmi information may only be applicable to Intel-based PCs" Comment on another answer

                – Hastur
                Feb 6 '17 at 18:43















                As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                – Hastur
                Mar 23 '17 at 16:17







                As non privileged user, to ignore the access error, it's possible to use a more easy to remember command cat /sys/devices/virtual/dmi/id/board_* 2>/dev/null, redirecting the errors to the holy /dev/null. Of course (I'm lazy) it's always possible to use the command without redirection in an alias or in a script...

                – Hastur
                Mar 23 '17 at 16:17













                46














                You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run



                sudo lshw  


                and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:



                *-core
                description: Motherboard
                product: Aspire 1700
                vendor: acer
                physical id: 0
                version: 0303
                serial: None
                *-firmware
                description: BIOS
                vendor: acer
                physical id: 0
                version: 3C13
                date: 05/12/04
                size: 109KiB
                capacity: 448KiB
                capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification


                lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.



                As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.






                share|improve this answer


























                • FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                  – Sridhar-Sarnobat
                  Mar 3 '15 at 22:25
















                46














                You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run



                sudo lshw  


                and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:



                *-core
                description: Motherboard
                product: Aspire 1700
                vendor: acer
                physical id: 0
                version: 0303
                serial: None
                *-firmware
                description: BIOS
                vendor: acer
                physical id: 0
                version: 3C13
                date: 05/12/04
                size: 109KiB
                capacity: 448KiB
                capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification


                lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.



                As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.






                share|improve this answer


























                • FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                  – Sridhar-Sarnobat
                  Mar 3 '15 at 22:25














                46












                46








                46







                You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run



                sudo lshw  


                and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:



                *-core
                description: Motherboard
                product: Aspire 1700
                vendor: acer
                physical id: 0
                version: 0303
                serial: None
                *-firmware
                description: BIOS
                vendor: acer
                physical id: 0
                version: 3C13
                date: 05/12/04
                size: 109KiB
                capacity: 448KiB
                capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification


                lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.



                As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.






                share|improve this answer















                You can also use lshw. It is usually run with sudo as that allows it to probe your devices and accurately report back information. Just run



                sudo lshw  


                and the first entries in the results will detail your system and the motherboard and the bios, like in the example below:



                *-core
                description: Motherboard
                product: Aspire 1700
                vendor: acer
                physical id: 0
                version: 0303
                serial: None
                *-firmware
                description: BIOS
                vendor: acer
                physical id: 0
                version: 3C13
                date: 05/12/04
                size: 109KiB
                capacity: 448KiB
                capabilities: isa pci pcmcia pnp upgrade shadowing escd cdboot bootselect socketedrom int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp smartbattery biosbootspecification


                lshw will give you a lot of other information as well; if you want any particular data in future you can run, for example, sudo lshw -class video to find out about your graphics card. For a listing of the hardware classes lshw analyses, enter sudo lshw -short. For more information on the program, enter man lshw in the terminal or visit the Ubuntu manpages.



                As Schweinsteiger has noted, dmidecode is also a useful tool for reporting on motherboard info.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 29 '16 at 22:24









                Zanna

                51.5k13141244




                51.5k13141244










                answered Aug 24 '12 at 17:12







                user76204




















                • FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                  – Sridhar-Sarnobat
                  Mar 3 '15 at 22:25



















                • FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                  – Sridhar-Sarnobat
                  Mar 3 '15 at 22:25

















                FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                – Sridhar-Sarnobat
                Mar 3 '15 at 22:25





                FYI, this comes in the same package as the one for lstopo. You can install both using sudo apt-get install -y hwloc

                – Sridhar-Sarnobat
                Mar 3 '15 at 22:25











                8














                I found the quickest & easiest way to determine the motherboard model on my computer is:



                dmesg | grep DMI:


                which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:



                dennis ~ $ dmesg | grep DMI:
                [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011





                share|improve this answer






























                  8














                  I found the quickest & easiest way to determine the motherboard model on my computer is:



                  dmesg | grep DMI:


                  which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:



                  dennis ~ $ dmesg | grep DMI:
                  [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011





                  share|improve this answer




























                    8












                    8








                    8







                    I found the quickest & easiest way to determine the motherboard model on my computer is:



                    dmesg | grep DMI:


                    which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:



                    dennis ~ $ dmesg | grep DMI:
                    [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011





                    share|improve this answer















                    I found the quickest & easiest way to determine the motherboard model on my computer is:



                    dmesg | grep DMI:


                    which, for the Gigabyte Z68MA-D2H-B3 in my computer, yields:



                    dennis ~ $ dmesg | grep DMI:
                    [ 0.000000] DMI: Gigabyte Technology Co., Ltd. Z68MA-D2H-B3/Z68MA-D2H-B3, BIOS F2 04/15/2011






                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Dec 29 '16 at 22:28









                    Zanna

                    51.5k13141244




                    51.5k13141244










                    answered Dec 29 '16 at 21:59









                    destensondestenson

                    26023




                    26023























                        5














                        This worked for me:



                        sudo dmidecode --string baseboard-product-name


                        see: https://charlieharvey.org.uk/page/motherboard_model_make_serial_linux_or_debian_bash_shell






                        share|improve this answer






























                          5














                          This worked for me:



                          sudo dmidecode --string baseboard-product-name


                          see: https://charlieharvey.org.uk/page/motherboard_model_make_serial_linux_or_debian_bash_shell






                          share|improve this answer




























                            5












                            5








                            5







                            This worked for me:



                            sudo dmidecode --string baseboard-product-name


                            see: https://charlieharvey.org.uk/page/motherboard_model_make_serial_linux_or_debian_bash_shell






                            share|improve this answer















                            This worked for me:



                            sudo dmidecode --string baseboard-product-name


                            see: https://charlieharvey.org.uk/page/motherboard_model_make_serial_linux_or_debian_bash_shell







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jul 12 '17 at 5:53









                            muru

                            1




                            1










                            answered Jul 12 '17 at 5:48









                            Paul WPaul W

                            14615




                            14615






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • 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%2faskubuntu.com%2fquestions%2f179958%2fhow-do-i-find-out-my-motherboard-model%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

                                數位音樂下載

                                When can things happen in Etherscan, such as the picture below?

                                格利澤436b