内置硬盘,无法格式化

内置硬盘,无法格式化

我无法再格式化笔记本电脑的硬盘。以下是我进行的操作:我用 USB 实时驱动器(Ubuntu 10.04 LTS - Lucid Lynx)启动我的电脑。

然后我启动磁盘实用程序并尝试格式化硬盘 - 我选择格式化主引导记录,但出现以下错误:

创建分区表时出错:辅助程序退出,退出代码为 1:在 /dev/sda 上调用 fsync(2) 时出错:输入/输出错误

如果我尝试删除分区,我会收到以下错误

错误擦除:助手程序退出,退出代码为 1:在 part_del_partition 中:device_file=/dev/sda,偏移量=32256 进入 MS-DOS 解析器(偏移量=0,大小=30005821440)发现 MSDOS_MAGIC 正在查看第 0 部分(偏移量 32256,大小 4096157184,类型 0x83)新部分条目正在查看第 1 部分(偏移量 10618836480,大小 8414461440,类型 0x83)新部分条目正在查看第 2 部分(偏移量 19033297920,大小 1077511680,类型 0x82)新部分条目正在查看第 3 部分(偏移量 20110809600,大小 9895011840,类型 0x07)新部分条目正在退出MS-DOS 解析器检测到 MSDOS 分区表,得到它,得到磁盘,得到分区 - part->type=0 错误:在 /dev/sda 上写入时输入/输出错误 ped_disk_commit_to_dev() 失败

如果我尝试从硬盘上的 USB 安装 ubuntu 并选择擦除并使用整个磁盘,我会收到错误消息

/dev/sda 写入期间出现输入/输出错误

附带信息:我的硬盘上目前有 4 个分区:/dev/sda1 (ext2) /dev/sda2 (ext2) /dev/sda3 (swap) /dev/sda1 (ntfs) + /dev/sda (未定位空间)

我的最终目标是重新安装 ubuntu 并且只有 2 个分区......

我将非常感激任何帮助!

谢谢

JB


@psusi 我尝试了另一条消息中所写的内容,得到了以下结果:

ubuntu@ubuntu:~$ sudo badblocks -b 512 /dev/sda
52464512 
52464520 
52464521 
52464522 
52464523 
52464524 
52464525 
52464526 
52464527 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464512 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.0296602 s, 17.3 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464520 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.000283555 s, 1.8 MB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464521 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.000283835 s, 1.8 MB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464522 count=1 
dd: reading `/dev/sda': Input/output error 0+0 records in 0+0 records out 0 bytes (0 B) copied, 30.8623 s, 0.0 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464523 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.0370136 s, 13.8 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464524 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00264196 s, 194 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464525 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00303921 s, 168 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464526 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.0029378 s, 174 kB/s 
ubuntu@ubuntu:~$ sudo dd if=/dev/sda of=/dev/null iflag=direct bs=512 skip=52464527 count=1 
1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00647233 s, 79.1 kB/s 



ubuntu@ubuntu:~$ sudo dd if=/dev/zero of=/dev/sda oflag=direct bs=512 seek=52464522 count=1
dd: writing `/dev/sda': Input/output error
1+0 records in
0+0 records out
0 bytes (0 B) copied, 7.88114 s, 0.0 kB/s

ubuntu@ubuntu:~$

我不知道下一步该做什么...

答案1

我的钱可能在磁盘坏了(或者其他硬件问题)上。您无法复制/粘贴任何文件,智能状态显示坏扇区,安装程序因 I/O 错误而失败……看起来您无法向该磁盘写入任何内容,尽管它仍显示您的文件。

相关内容