Ubuntu 13.04 至 13.10 升级导致驱动器无法访问

Ubuntu 13.04 至 13.10 升级导致驱动器无法访问

我最近从 13.04 升级到 13.10,在重新启动系统时遇到内核崩溃。我的驱动器上有一些未提交的代码,所以我打算使用实时 USB 将其取出,但不幸的是,当我尝试打开驱动器时出现此错误。

在此处输入图片描述

Here it the output for dmesg | tail
root@ubuntu:/media# dmesg | tail
[ 1675.866734]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[ 1675.866751]         1c a5 98 02 
[ 1675.866759] sd 0:0:0:0: [sda]  
[ 1675.866764] Add. Sense: Unrecovered read error - auto reallocate failed
[ 1675.866768] sd 0:0:0:0: [sda] CDB: 
[ 1675.866771] Read(10): 28 00 1c a5 98 00 00 00 08 00
[ 1675.866786] end_request: I/O error, dev sda, sector 480614402
[ 1675.866801] ata1: EH complete
[ 1675.866830] JBD2: IO error reading journal superblock
[ 1675.866835] EXT4-fs (sda6): error loading journal

这是 fdisk -l 的输出

root@ubuntu:~# fdisk -l

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x48000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63      353429      176683+  de  Dell Utility
/dev/sda2   *      354304      559103      102400    7  HPFS/NTFS/exFAT
/dev/sda3          559104   329183231   164312064    7  HPFS/NTFS/exFAT
/dev/sda4       329185278   625141759   147978241    5  Extended
/dev/sda5       329185280   341938175     6376448   82  Linux swap / Solaris
/dev/sda6       341940224   625141759   141600768   83  Linux

Disk /dev/sdb: 15.5 GB, 15512174592 bytes
32 heads, 63 sectors/track, 15028 cylinders, total 30297216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5bfe1883

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    30296447    15148192+   b  W95 FAT32

Disk /dev/sdc: 4012 MB, 4012900352 bytes
124 heads, 62 sectors/track, 1019 cylinders, total 7837696 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008de2e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *          62     7834071     3917005    c  W95 FAT32 (LBA)
root@ubuntu:~# 

有什么办法可以将我未提交的代码从驱动器中取出吗?

答案1

从现场 DVD 中执行sudo e2fsck -c /dev/sda6(在确认之前先查看问题的答案,但对所有问题回答是应该安全的)。

之后检查sudo e2fsck -c -c -p -v /dev/sda6磁盘是否报告了合理的结果。警告:此命令将需要一些时间!

相关内容