{"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":"How to install testdisk on Ubuntu and to add universe repository"},"content":{"rendered":"<p>Execute the command in console in Ubuntu. The commands are made for <span class=\"st\"><span class=\"f\">\u00a0<\/span><em>Ubuntu<\/em> 12.04 LTS (<em>Exactly<\/em> Pangolin). F<\/span>or your Ubuntu Version replace &#8220;precise&#8221; in these commands with your Ubuntu Version name:<\/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>You can also use alternative<\/p>\n<pre>fsck.ext4 -p device<\/pre>\n<p>For further information on how to use testdisk visit the following sites.<\/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>Execute the command in console in Ubuntu. The commands are made for Ubuntu 12.04 LTS (Exactly Pangolin). For your Ubuntu Version replace &#8220;precise&#8221; in these commands with your Ubuntu Version name: 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 You [&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_seo_llms_txt_always_include":false,"_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-articles-on-all-other-topics-that-are-not-in-the-main-topics"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-l","jetpack-related-posts":[{"id":107,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/20\/important-git-commands\/","url_meta":{"origin":21,"position":0},"title":"Important Git commands and Tutorials","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":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":"How to repair Bootloader after installing Ubuntu on preinstalled Windows PC as second operating system","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;Articles on all other topics that are not in the main topics&quot;","block_context":{"text":"Articles on all other topics that are not in the main topics","link":"https:\/\/vkrastev1blog.com\/category\/articles-on-all-other-topics-that-are-not-in-the-main-topics\/"},"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":2},"title":"New GPU Bitcoin Miner is there named DiamantMiner. How to install on Windows","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;Articles on all other topics that are not in the main topics&quot;","block_context":{"text":"Articles on all other topics that are not in the main topics","link":"https:\/\/vkrastev1blog.com\/category\/articles-on-all-other-topics-that-are-not-in-the-main-topics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-the-newest-nvidia-driver-on-ubuntu\/","url_meta":{"origin":21,"position":3},"title":"How to install the latest NVIDIA driver on Ubuntu","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;Articles on all other topics that are not in the main topics&quot;","block_context":{"text":"Articles on all other topics that are not in the main topics","link":"https:\/\/vkrastev1blog.com\/category\/articles-on-all-other-topics-that-are-not-in-the-main-topics\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":47,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/how-to-sign-jars-signing-jars-for-use-in-applets\/","url_meta":{"origin":21,"position":4},"title":"How to sign Jars. Signing Jars for use in Applets.","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"As the Browsers now want the Jars to be signed it happens oft that man have to sign a Jar himself. Here is a Manual how to sign a Jar. First you have to install Java SDK. http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html?ssSourceSiteId=otnjp Install the JDK from the list for the envitonment you use. This\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":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":5},"title":"How to create PDF from HTML or image using java pdfbox framework","author":"vkrastev2014","date":"11.04.2024","format":false,"excerpt":"How to create PDF from HTML or image using java pdfbox framework 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>\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/vkrastev1blog.com\/wp-content\/uploads\/2024\/04\/Java-PDFBox_-HTML-and-Image-to-PDF.jpg?resize=1400%2C800&ssl=1 4x"},"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}]}}