{"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":"K\u00c4\u0081 instal\u00c4\u201ct testdisku Ubuntu un pievienot visuma repozitoriju"},"content":{"rendered":"<p>Izpildiet komandu Ubuntu konsol\u00c4\u201c. Komandas ir paredz\u00c4\u201ctas <span class=\"st\"><span class=\"f\">\u00a0<\/span><em>Ubuntu<\/em> 12.04 LTS (<em>Tie\u00c5\u00a1i t\u00c4\u0081<\/em> Pangol\u00c4\u00abns). F<\/span>vai j\u00c5\u00absu Ubuntu versija aizst\u00c4\u0081j &#8220;prec\u00c4\u00abzi&#8221; \u00c5\u00a1aj\u00c4\u0081s komand\u00c4\u0081s ar savu Ubuntu versijas nosaukumu:<\/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>Varat ar\u00c4\u00ab izmantot alternat\u00c4\u00abvu<\/p>\n<pre>fsck.ext4 -p device<\/pre>\n<p>Lai ieg\u00c5\u00abtu papildinform\u00c4\u0081ciju par testdiska lieto\u00c5\u00a1anu, apmekl\u00c4\u201cjiet \u00c5\u00a1\u00c4\u00abs vietnes.<\/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>Izpildiet komandu Ubuntu konsol\u00e4&#8221;. Komandas ir prez\u00e4\u00e4&#8221;tas \u00a0Ubuntu 12.04 LTS (Tie\u00c5\u00a1i t\u00c4 Pangol\u00c4\u00abns). Fvai j\u00c5\u00absu Ubuntu versija aizst\u00c4\u2003j &#8220;prec\u00c4\u00abzi&#8221; \u00c5\u00a1aj\u00c4s komand\u00c4\u2003s ar savu Ubuntu versijas nadumu: 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 &#8220;miltiverse&#8221;-reposit precise-updates universe miltiverse&#8221; sudo apt-get update sudo apt-get install testdisk testdisk device Varat ar\u00c4\u00abuts\u00e4tt alternat\u00c4\u00abvu 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_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-raksti-par-visam-parejam-temam-kas-nav-galvenajas-temas"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-l","jetpack-related-posts":[{"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":0},"title":"K\u00c4\u0081 labot s\u00c4\u0081kn\u00c4\u201c\u00c5\u00a1anas iel\u00c4\u0081d\u00c4\u201ct\u00c4\u0081ju p\u00c4\u201cc Ubuntu instal\u00c4\u201c\u00c5\u00a1anas iepriek\u00c5\u00a1 instal\u00c4\u201ctaj\u00c4\u0081 Windows dator\u00c4\u0081 k\u00c4\u0081 otraj\u00c4\u0081 oper\u00c4\u201ct\u00c4\u0081jsist\u00c4\u201cm\u00c4\u0081","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;Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s&quot;","block_context":{"text":"Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s","link":"https:\/\/vkrastev1blog.com\/category\/raksti-par-visam-parejam-temam-kas-nav-galvenajas-temas\/"},"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":1},"title":"K\u00c4\u0081 instal\u00c4\u201ct jaun\u00c4\u0081ko NVIDIA draiveri 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;Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s&quot;","block_context":{"text":"Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s","link":"https:\/\/vkrastev1blog.com\/category\/raksti-par-visam-parejam-temam-kas-nav-galvenajas-temas\/"},"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":"Svar\u00c4\u00abgas Git komandas un apm\u00c4\u0081c\u00c4\u00abbas","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":"Jaunais GPU Bitcoin Miner ir nosaukts DiamantMiner. K\u00c4\u0081 instal\u00c4\u201ct oper\u00c4\u201ct\u00c4\u0081jsist\u00c4\u201cm\u00c4\u0081 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;Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s&quot;","block_context":{"text":"Raksti par vis\u00c4\u0081m p\u00c4\u0081r\u00c4\u201cj\u00c4\u0081m t\u00c4\u201cm\u00c4\u0081m, kas nav galvenaj\u00c4\u0081s t\u00c4\u201cm\u00c4\u0081s","link":"https:\/\/vkrastev1blog.com\/category\/raksti-par-visam-parejam-temam-kas-nav-galvenajas-temas\/"},"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":"K\u00c4\u0081 parakst\u00c4\u00abt burkas. Parakst\u00c4\u00ab\u00c5\u00a1anas burkas lieto\u00c5\u00a1anai s\u00c4\u00abklietotn\u00c4\u201cs.","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":"K\u00c4\u0081 izveidot PDF no HTML vai att\u00c4\u201cla, izmantojot java pdfbox ietvaru","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}]}}