live cd:可以让Linux系统从光盘启动,用户可以方便的先对系统进行一次体验,觉得好用,再进行硬盘安装

ubuntu live cd版:就是可以直接光盘启动的ubuntu系统。Mr. Hou先让我下载这种ubuntu live cd, 下载地址:
下载后是一个ubuntu-18.04-desktop-amd64.iso文件(光盘映像文件我已经放在百度网盘computerTool中了),直接在win10中双击打开,会自动映射到一个盘,然后将里面所有的东东拷贝到一个空的FAT32格式化的U盘,然后,插入U盘,启动时通过F12选择从U盘启动,会进入Ubuntu系统(启动时碰到一个选择项,选择try ubntu without install),太棒了!
--------------------------
ddrescure是一款免费的数据恢复工具。
官方文档:
ddrescure的安装方法:
1)我直接用apt安装没有成功:  sudo apt-get install 软件名;
2)官方文档提到,可以从网上下载安装文件,按照说明,自己编译,但是报错(可能时我的gcc版本问题)
3)江哥自己build了一个可执行文件发给我了:在163邮箱,2018.05.30收到的邮件里。可以用,运行方法:切换到可执行文件所在目录,然后./ddrescue parame1,parame2,,。

ddrescure(免费的数据恢复工具)的使用方法(网友整理):

step 1: Creating an image from a failing disk

在终端运行:lsblk -o name,label,size,fstype,model  该指令会列出当前电脑上的所有存储设备。这些设备的名字以sd开头,例如sda, sdb,(linux中的硬件设备一般以sd开头,在/dev/目录下面)。


(我的电脑的C盘(ssd)损坏了,启动windows时显示找不到分区表,运行这条指令后FSTYPE栏没有显示任何东西,应该就是找不到分区。)
上图,sda包括两部分sda1和sda2,应该就是在装系统时将一块硬盘分成了2个盘。

记下你想要恢复那个盘的数据,比如sda,首先需要将sda整个搞成一个image file,然后将其存储到你的一个足够大的移动硬盘中,记下移动硬盘的名字。 注意:不要浏览你想恢复的盘的文件,当你恢复时。
然后,打开一个终端(ctrl+alt+t)cd 指令进入你想保存image file的移动硬盘。
然后,运行如下指令,将会生成image文件和log文件在当前目录下,(注意:运行指令前再查看一次各个盘的名字时sdax,因为重启系统后,名字有可能会变)。
# ddrescue -d -r3 /dev/sda test.img test.logfile
其中,
  • d tells ddrescue to use direct disk access and ignore the kernel’s cache
  • -r3 tells ddrescue to retry bad sectors 3 times before giving up. Note: On a failing drive you may want to eliminate this option the first time so as to not waste time hammering on bad sectors and risking drive failure. You can always use the logfile to go back and retry the bad sectors after you get an image from the first sweep.
  • /dev/sda is the drive we are rescuing…the whole disk. Naturally, if you just wanted a specific partition, you would use something like /dev/sda1 instead.
  • test.img is the name of the image file
  • test.logfile is the name of the logfile. Always use a logfile. This allows you to resume an interrupted image at the point you left off, or to retry bad sectors after an initial pass. Without a logfile, you will have to start over again!

This process will take a good while. It’s not uncommon for a large drive with lots of damage to take days to complete.

step 2: Restoring an image to a new disk & cloning directly to a new disk
.......
step 3: Working with the image files(将step1中生成的image file恢复数据)
.......


数据恢复方法--linux ubuntu--ddrescue的更多相关文章

  1. apache2服务器mod_rewrite模块 开启方法[linux, ubuntu]

    在UBUNTU系统中要启用mod_rewrite的方法有两种: 第一种: 在终端中执行 sudo a2enmod rewrite 指 令后,即启用了 Mod_rewrite 模块, apache2服务 ...

  2. windows远程连接Linux(Ubuntu)的方法

    需要做的工作: 1.在Linux(Ubuntu)端安装.设置好SSH 2.下载putty,并通过putty的SSH连接登录Linux 一 .如何在Linux(Ubuntu)端安装.设置好SSH,获取I ...

  3. linux ubuntu系统下,adb不是内部命令 (如何才能让adb命令可以使用)

    linux ubuntu系统下,adb不是内部命令 原文地址 linux ubuntu系统下,adb不是内部命令 解决方法: 1.sudo gedit ~/.bashrc 2.将下面的两句加到上面打开 ...

  4. [转]Linux Ubuntu上架设FTP

    Linux Ubuntu上架设FTP http://www.blogjava.net/stonestyle/articles/369104.html 操作系统:ubuntu (GNU/Linux) 为 ...

  5. Linux(Ubuntu) 下自然码加辅助码双拼输入的解决方案

    Linux(Ubuntu) 下自然码加辅助码双拼输入的解决方案 环境: Ubuntu 14.04 LTS 解决方案是 ibus-Rime 输入法, 再加上搭配自然码的配置表 (1) ibus 首先安装 ...

  6. Linux(Ubuntu 16) 下Java开发环境的配置(三)------Mysql配置

    前言 吐槽一句,如果在Ubuntu在默认情况下是只有最新的MySQL源的,即如果使用"sudo apt-get install mysql-server mysql-client " ...

  7. Arch Linux 安装博通 BCM4360 驱动(Arch Linux, Ubuntu, Debian, Fedora...)

    BCM4360 在2010年9月,博通完全开源的硬件驱动[1].该驱动程序 brcm80211已被列入到自2.6.37之后的内核中.随着2.6.39发布,这些驱动程序已被重新命名为 brcmsmac和 ...

  8. 在Linux(Ubuntu)下搭建ASP.NET Core环境并运行 继续跨平台

    最新教程:http://www.cnblogs.com/linezero/p/aspnetcoreubuntu.html 无需安装mono,在Linux(Ubuntu)下搭建ASP.NET Core环 ...

  9. Linux ubuntu 10.10安装OpenCv

    在windows系统下已经成功做出了一个打开摄像头并检测人脸的小程序了. 开始转战linux,因为最终目标是将程序移植到嵌入式开发板上面. 但是,问题接踵而至~ 首先linux上面要安装OpenCv, ...

随机推荐

  1. 使用composer下载依赖包下载失败的解决方法

    下载好的composer默认的下载地址是国外的,在下载的过程中网络不好或者可能被墙,将下载的地址换成国内的地址即可 有两种方式启用本镜像服务: 系统全局配置: 即将配置信息添加到 Composer 的 ...

  2. spark-shell启动错误

    18/06/24 16:41:40 ERROR spark.SparkContext: Error initializing SparkContext.java.net.BindException: ...

  3. Oracle中查询走索引的情况

    1.对返回的行无任何限定条件,即没有where子句 2.未对数据表与任何索引主列相对应的行限定条件例如:在City-State-Zip列创建了三列复合索引,那么仅对State列限定条件不能使用这个索引 ...

  4. delphi 运算符重载

    譬如上面的 record 可以这样声明: type   TMyRec = record     name: string;     age: Word;     class operator Grea ...

  5. [Web前端] mac chrome 浏览器强制刷新,清除浏览器缓存

    本文链接:https://blog.csdn.net/zeroyulong/article/details/79806156 mac 强制刷新:command+shift+r mac 普通刷新:com ...

  6. 文献阅读 | Resetting histone modifications during human parental-to-zygotic transition

    Resetting histone modifications during human parental-to-zygotic transition 人类亲本-合子转变中组蛋白修饰重编程 sci-h ...

  7. 信息论 | information theory | 信息度量 | information measures | R代码(一)

    这个时代已经是多学科相互渗透的时代,纯粹的传统学科在没落,新兴的交叉学科在不断兴起. life science neurosciences statistics computer science in ...

  8. CMU Database Systems - Parallel Execution

    并发执行,主要为了增大吞吐,降低延迟,提高数据库的可用性 先区分一组概念,parallel和distributed的区别 总的来说,parallel是指在物理上很近的节点,比如本机的多个线程或进程,不 ...

  9. 给Oracle字段和表加注释

    给字段加注释 comment on column testtb17.AGE is '年龄';comment on column testtb17.CREATEDTIME is '创建时间';comme ...

  10. crontab 使用日期时间命名重定向文件

    使用月份命名 0 12 * * * sh /tmp/test.sh >> "/tmp/$(date +"\%Y-\%m").log" 2>&a ...