{"id":84254,"date":"2020-06-06T19:42:11","date_gmt":"2020-06-06T17:42:11","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora"},"modified":"2020-06-06T19:42:11","modified_gmt":"2020-06-06T17:42:11","slug":"ustanovka-debian-na-netgear-stora","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","title":{"rendered":"Installing Debian on Netgear Stora","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Recently, I got my hands on this marvel: <noindex><a rel=\"nofollow\" href=\"https:\/\/www.netgear.ru\/support\/product\/MS2000.aspx\">netgear ms 2000 \u2014 stora<\/a><\/noindex>. I immediately decided to abandon the built-in OS and install debian on the hard drive. <\/p>\n<p>The information online is a bit scattered, the links have long since died, so I decided to update the installation process of debian on stora. If you're interested, welcome under the cut.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\nThe main source was this <noindex><a rel=\"nofollow\" href=\"https:\/\/www.sites.google.com\/site\/samelent\/ustanovka-debian-na-netgear-stora\">article<\/a><\/noindex>.<\/p>\n<p>First, we need the images to install the system: <noindex><a rel=\"nofollow\" href=\"https:\/\/mirror.yandex.ru\/debian\/dists\/Debian9.12\/main\/installer-armel\/20170615\/images\/kirkwood\/netboot\/marvell\/openrd-base\/\">got them here<\/a><\/noindex>. Download both files. Place these files in the root directory of a flash drive formatted in fat32.<br \/>\nYou will also need a USB to UART converter PL2303TA.<\/p>\n<p>                        <b class=\"spoiler_title\">I had this one<\/b><br \/>\n                        <img decoding=\"async\" alt=\"Installing Debian on Netgear Stora\" src=\"\/wp-content\/uploads\/2020\/06\/26db7fd890f4405a15599d2002bae57b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\nYou will also need software to connect to the device, such as hyperterminal or putty (I had trouble with putty: there were always garbled characters in the terminal, so I used hyperterminal.<\/p>\n<p>To connect the device via cable, you first need to disassemble it. The process is straightforward, so I won't describe it. And don't forget to insert a hard drive into the first slot of the stora, where the installation will actually take place.<\/p>\n<p>After disassembling the device, connect the adapter. Be careful, do not connect the red wire; you only need to connect three wires (from the battery: black, green, white).<br \/>\nSo, the wire is connected, drivers are attached. In the com port driver, set the parameters: speed 115200, data bits 8, stop bits 1, no parity check. After that, turn on the device and connect to it in the terminal. When you see the message Press any key..., press any key to enter the u-boot loader.<\/p>\n<p>A brief digression.<\/p>\n<p>                        <b class=\"spoiler_title\">Here\u2019s the list of commands we'll operate with and that will be useful:<\/b><br \/>\n                        usb reset, ide reset \u2014 initializes usb, ide devices<br \/>\nfatls, ext2ls \u2014 views the directory on fat or ext2 file system.<br \/>\nsetenv \u2014 sets the environment variables<br \/>\nsaveenv \u2014 saves variables to internal memory<br \/>\nreset \u2014 reboots the device<br \/>\nprintenv \u2014 outputs all variables<br \/>\nprintenv NAME \u2014 outputs the variable NAME<br \/>\nhelp \u2014 outputs all commands<\/p>\n<p>After entering the loader, we will set the network parameters, initialize the usb device, check that the necessary files are on the flash drive, save those parameters to the device's memory, and reboot:<\/p>\n<p>                        <b class=\"spoiler_title\">Commands<\/b><\/p>\n<pre><code class=\"plaintext\">usb reset\nfatls usb 0\nsetenv mainlineLinux yes\nsetenv arcNumber 2743\nsetenv ipaddr your_IP\nsetenv gatewayip your_GW_IP\nsetenv dnsip your_DNS_IP\nsaveenv\nreset<\/code><\/pre>\n<p>\nAfter rebooting, enter the commands to begin the installation of debian:<\/p>\n<pre><code class=\"plaintext\">usb reset\nfatload usb 0 0x200000 uImage\nfatload usb 0 0x800000 uInitrd\nsetenv bootargs console=ttyS0,115200n8 base-installer\/initramfs-tools\/driver-policy=most\nbootm 0x200000 0x800000\n<\/code><\/pre>\n<p>\nAfter this, the standard installation of Debian in text mode will begin. We install the system, reboot after installation, enter U-Boot, and enter the commands to boot the device from the hard drive:<\/p>\n<pre><code class=\"plaintext\">setenv bootcmd_ide 'ide reset; ext2load ide 0 0x200000 \/uImage; ext2load ide 0 0x800000 \/uInitrd'\nsetenv bootcmd 'setenv bootargs $(console) root=\/dev\/sda2; run bootcmd_ide; bootm 0x200000 0x800000'\nsaveenv\nreset\n<\/code><\/pre>\n<p>\nAfter rebooting, Debian boots from the hard drive, which was our original goal.<\/p>\n<p>                        <b class=\"spoiler_title\">P.S. Restoring the original bootloader:<\/b><\/p>\n<pre><code class=\"plaintext\">setenv mainlineLinux=no\nsetenv arcNumber\nsetenv bootcmd_ide\nsetenv bootcmd 'nand read.e 0x800000 0x100000 0x300000; setenv bootargs $(console) $(bootargs_root); bootm 0x800000'\nsaveenv\nreset<\/code><\/pre>\n<p>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/505386\/\">habr.com<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora. \u0420\u0435\u0448\u0438\u043b \u0441\u0440\u0430\u0437\u0443 \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u041e\u0421 \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430 \u0436\u0435\u0441\u0442\u043a\u0438\u0439 \u0434\u0438\u0441\u043a debian. \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0432 \u0441\u0435\u0442\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0440\u043e\u0437\u043d\u0435\u043d\u0430, \u0441\u0441\u044b\u043b\u043a\u0438 \u0434\u0430\u0432\u043d\u043e \u0443\u0436\u0435 \u0443\u043c\u0435\u0440\u043b\u0438, \u043f\u043e\u044d\u0442\u043e\u043c \u0440\u0435\u0448\u0438\u043b \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 debian \u043d\u0430 stora. \u041a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0431\u044b\u043b\u0430 \u0432\u043e\u0442 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":84255,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-84254","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Debian \u043d\u0430 Netgear Stora | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-06T17:42:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-06T17:42:11+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Installing Debian on Netgear Stora | ProHoster","description":"Recently, I got my hands on this marvel: Netgear MS2000 - Stora.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Debian \u043d\u0430 Netgear Stora | ProHoster","og:description":"\u041d\u0430 \u0434\u043d\u044f\u0445 \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0435 \u0447\u0443\u0434\u043e: netgear ms 2000 \u2014 stora.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/ustanovka-debian-na-netgear-stora","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-06-06T17:42:11+00:00","article:modified_time":"2020-06-06T17:42:11+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"84254","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 15:01:58","updated":"2022-09-30 16:27:33","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/84254","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=84254"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/84254\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/84255"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=84254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=84254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=84254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}