{"id":21,"date":"2014-05-09T20:14:43","date_gmt":"2014-05-09T20:14:43","guid":{"rendered":"http:\/\/vkrastev1blog.com\/?p=21"},"modified":"2026-10-19T12:22:21","modified_gmt":"2026-10-19T12:22:21","slug":"how-to-install-testdisk-on-ubuntu-and-to-add-universe-repository","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-testdisk-on-ubuntu-and-to-add-universe-repository\/","title":{"rendered":"Ubuntu \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u0441\u044b\u043d\u0430\u049b \u0434\u0438\u0441\u043a\u0456\u0441\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u0443 \u0436\u04d9\u043d\u0435 \u0493\u0430\u043b\u0430\u043c\u0434\u044b\u049b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439\u0434\u0456 \u049b\u043e\u0441\u0443 \u04d9\u0434\u0456\u0441\u0456"},"content":{"rendered":"<p>Ubuntu \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u0434\u0435 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437. \u041a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440 \u04af\u0448\u0456\u043d \u0436\u0430\u0441\u0430\u043b\u0493\u0430\u043d <span class=\"st\"><span class=\"f\">\u00a0<\/span><em>Ubuntu<\/em> 12,04 LTS (<em>\u0414\u04d9\u043b<\/em> \u041f\u0430\u043d\u0433\u043e\u043b\u0438\u043d). \u0424<\/span>\u043d\u0435\u043c\u0435\u0441\u0435 Ubuntu \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u043e\u0441\u044b \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0435\u0440\u0434\u0435\u0433\u0456 &#8220;\u0434\u04d9\u043b&#8221; \u0441\u04e9\u0437\u0456\u043d Ubuntu \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d\u044b\u04a3 \u0430\u0442\u0430\u0443\u044b\u043c\u0435\u043d \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u044b\u04a3\u044b\u0437:<\/p>\n<pre>sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise universe miltiverse\"\r\n\r\nsudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise-updates universe miltiverse\"\r\n\r\nsudo apt-get update\r\n\r\nsudo apt-get install testdisk\r\n\r\ntestdisk device\r\n<\/pre>\n<p>\u0421\u0456\u0437 \u0431\u0430\u043b\u0430\u043c\u0430 \u043d\u04b1\u0441\u049b\u0430\u043d\u044b \u0434\u0430 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0430 \u0430\u043b\u0430\u0441\u044b\u0437<\/p>\n<pre>fsck.ext4 -p device<\/pre>\n<p>\u0421\u044b\u043d\u0430\u049b \u0434\u0438\u0441\u043a\u0456\u0441\u0456\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443 \u0442\u0443\u0440\u0430\u043b\u044b \u049b\u043e\u0441\u044b\u043c\u0448\u0430 \u0430\u049b\u043f\u0430\u0440\u0430\u0442 \u0430\u043b\u0443 \u04af\u0448\u0456\u043d \u043a\u0435\u043b\u0435\u0441\u0456 \u0441\u0430\u0439\u0442\u0442\u0430\u0440\u0493\u0430 \u043a\u0456\u0440\u0456\u04a3\u0456\u0437.<\/p>\n<p><a href=\"http:\/\/www.cgsecurity.org\/wiki\/TestDisk\" rel=\"nofollow\">http:\/\/www.cgsecurity.org\/wiki\/TestDisk<\/a><\/p>\n<p><a href=\"http:\/\/www.cgsecurity.org\/wiki\/Data_Recovery_Examples\" rel=\"nofollow\">http:\/\/www.cgsecurity.org\/wiki\/Data_Recovery_Examples<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u0434\u0435 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437. \u041a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440 \u04af\u0448\u0456\u043d \u0436\u0430\u0441\u0430\u043b\u0493\u0430\u043d \u00a0Ubuntu 12,04 LTS (\u0414\u04d9\u043b \u041f\u0430\u043d\u0433\u043e\u043b\u0438\u043d). \u0424\u043d\u0435\u043c\u0435\u0441\u0435 Ubuntu \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u043e\u0441\u044b \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0435\u0440\u0434\u0435\u0433\u0456 &#8220;\u0434\u04d9\u043b&#8221; \u0441\u04e9\u0437\u0456\u043d Ubuntu \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d\u044b\u04a3 \u0430\u0442\u0430\u0443\u044b\u043c\u0435\u043d \u0430\u0443\u044b\u0441\u0442\u044b\u0440\u044b\u04a3\u044b\u0437: sudo add-apt-repository &#8220;deb <a href=\"http:\/\/us.archive.ubuntu.com\/ubuntu\" rel=\"nofollow\">http:\/\/us.archive.ubuntu.com\/ubuntu<\/a> precise universe miltiverse&#8221; sudo add-apt-repository &#8220;deb <a href=\"http:\/\/us.archive.ubuntu.com\/ubuntu\" rel=\"nofollow\">http:\/\/us.archive.ubuntu.com\/ubuntu<\/a> precise-updates universe miltiverse&#8221; sudo apt-get update sudo apt-get install testdisk testdisk device \u0421\u0456\u0437 \u0431\u0430\u043b\u0430\u043c\u0430 \u043d\u04b1\u0441\u049b\u0430\u043d\u044b \u0434\u0430 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0430 \u0430\u043b\u0430\u0441\u044b\u0437 fsck.ext4 -p [&hellip;]<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"How to install testdisk on Ubuntu","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[559],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-559"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-l","jetpack-related-posts":[{"id":19,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-the-newest-nvidia-driver-on-ubuntu\/","url_meta":{"origin":21,"position":0},"title":"Ubuntu \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u0435\u04a3 \u0441\u043e\u04a3\u0493\u044b NVIDIA \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0456\u043d \u049b\u0430\u043b\u0430\u0439 \u043e\u0440\u043d\u0430\u0442\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Open console window and type following commands: -------------------------------------------------------------------------------------------------------------- sudo apt-add-repository ppa:ubuntu-x-swat sudo apt-get update sudo apt-get install nvidia-current --------------------------------------------------------------------------------------------------------------- And you have the newest Driver installed.","rel":"","context":"In &quot;\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440&quot;","block_context":{"text":"\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440","link":"https:\/\/vkrastev1blog.com\/category\/%d0%b1%d0%b0%d1%81%d2%9b%d0%b0%d0%bb%d0%b0%d1%80\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-repair-bootloader-after-installing-ubuntu-on-preinstalled-windows-pc-als-second-operating-system\/","url_meta":{"origin":21,"position":1},"title":"\u0415\u043a\u0456\u043d\u0448\u0456 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u0430\u043b\u0434\u044b\u043d \u0430\u043b\u0430 \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d Windows \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0456\u043d\u0435 Ubuntu \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d Bootloader \u049b\u0430\u043b\u0430\u0439 \u0436\u04e9\u043d\u0434\u0435\u0443\u0433\u0435 \u0431\u043e\u043b\u0430\u0434\u044b","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"I used this many times as the bootloader gone corrupted after the install and it was only possible to start in Linux but not in Windows after the Linux install. So you should do following to get it right. Execute following commands in Linux: ------------------------------------------------------------------------------------- sudo add-apt-repository ppa:yannubuntu\/boot-repair sudo apt-get\u2026","rel":"","context":"In &quot;\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440&quot;","block_context":{"text":"\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440","link":"https:\/\/vkrastev1blog.com\/category\/%d0%b1%d0%b0%d1%81%d2%9b%d0%b0%d0%bb%d0%b0%d1%80\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":107,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/20\/important-git-commands\/","url_meta":{"origin":21,"position":2},"title":"\u041c\u0430\u04a3\u044b\u0437\u0434\u044b Git \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440\u044b \u0436\u04d9\u043d\u0435 \u043e\u049b\u0443\u043b\u044b\u049b\u0442\u0430\u0440","author":"vkrastev2014","date":"20.05.2014","format":false,"excerpt":"How to get help for a Git commands git help [-a|--all|-i|--info|-m|--man|-w|--web] [COMMAND] Example: git help git It launches a browser and shows a help in HTML. Setting up local repository and making initial push: cd my_project git init git add * git commit -m \"My initial commit message\" git remote\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":129,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/26\/new-gpu-bitcoin-miner-is-there-named-diamantminer-how-to-install-on-windows\/","url_meta":{"origin":21,"position":3},"title":"\u0416\u0430\u04a3\u0430 GPU Bitcoin Miner DiamantMiner \u0434\u0435\u043f \u0430\u0442\u0430\u043b\u0430\u0434\u044b. Windows \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u049b\u0430\u043b\u0430\u0439 \u043e\u0440\u043d\u0430\u0442\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b","author":"vkrastev2014","date":"26.05.2014","format":false,"excerpt":"New GPU Bitcoin Miner is there named DiamantMiner. How to install on Windows I have tried the new bitcoin miner and I find it very good. What you should do to install it on Windows is described here. How to build and install DiamantMiner requires the SDK for Java Version\u2026","rel":"","context":"In &quot;\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440&quot;","block_context":{"text":"\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440","link":"https:\/\/vkrastev1blog.com\/category\/%d0%b1%d0%b0%d1%81%d2%9b%d0%b0%d0%bb%d0%b0%d1%80\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":247,"url":"https:\/\/vkrastev1blog.com\/2024\/04\/11\/how-to-create-pdf-from-html-or-image-using-java-pdfbox-framework\/","url_meta":{"origin":21,"position":4},"title":"Java pdfbox \u043d\u0435\u0433\u0456\u0437\u0456\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u044b\u043f HTML \u043d\u0435\u043c\u0435\u0441\u0435 \u043a\u0435\u0441\u043a\u0456\u043d\u043d\u0435\u043d PDF \u0444\u0430\u0439\u043b\u044b\u043d \u049b\u0430\u043b\u0430\u0439 \u0436\u0430\u0441\u0430\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b","author":"vkrastev2014","date":"11.04.2024","format":false,"excerpt":"Following example code here: In pom.xml insert or get the jar files and add them to the java project if you don't use maven <repositories> <repository> <id>jitpack.io<\/id> <url>https:\/\/jitpack.io<\/url> <\/repository> <\/repositories> <!-- https:\/\/mvnrepository.com\/artifact\/org.apache.pdfbox\/pdfbox --> <dependency> <groupId>org.apache.pdfbox<\/groupId> <artifactId>pdfbox<\/artifactId> <version>3.0.2<\/version> <\/dependency> <!-- https:\/\/mvnrepository.com\/artifact\/com.github.hkirk\/java-html2image --> <dependency> <groupId>com.github.hkirk<\/groupId> <artifactId>java-html2image<\/artifactId> <version>0.9<\/version> <\/dependency> and Java code here\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":21,"position":5},"title":"\u0416\u0438\u0456 \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0442\u044b\u043d \u043c\u0430\u04a3\u044b\u0437\u0434\u044b Shell \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440\u044b","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440&quot;","block_context":{"text":"\u0411\u0430\u0441\u049b\u0430\u043b\u0430\u0440","link":"https:\/\/vkrastev1blog.com\/category\/%d0%b1%d0%b0%d1%81%d2%9b%d0%b0%d0%bb%d0%b0%d1%80\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":3,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":2820,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/21\/revisions\/2820"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}