首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >试图安装最新的Ubuntu时出现I/O错误?我怎么才能解决这个问题?

试图安装最新的Ubuntu时出现I/O错误?我怎么才能解决这个问题?
EN

Ask Ubuntu用户
提问于 2020-07-09 18:37:24
回答 1查看 306关注 0票数 0

最新的Ubuntu已经发布了,尽管我很想在我的新使用的Thinkpad上使用它进行编程,但是当我安装它的时候,我会发现一个错误,大意是:"I/O错误.错误的磁盘/CD.或错误的HDD等等。“

我发现这在新的Ubuntu安装媒体上相当常见,我不知道如何解决这个问题。我可以提供更多的信息,但我开始失去希望。我只有一个USB- HDD棒128 GB,安装程序确保擦除我的硬盘之前,提醒我的错误(这真的是愚蠢的,因为它是提醒你的错误,是不可挽回的错误后,鞭打你的硬盘)。

代码语言:javascript
复制
ubuntu@ubuntu:~$ sudo apt-get install smartmontools 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  gsmartcontrol smart-notifier mailx | mailutils
The following NEW packages will be installed:
  smartmontools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 525 kB of archives.
After this operation, 2,087 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 smartmontools amd64 7.1-1build1 [525 kB]
Fetched 525 kB in 1s (529 kB/s)        
Selecting previously unselected package smartmontools.
(Reading database ... 187343 files and directories currently installed.)
Preparing to unpack .../smartmontools_7.1-1build1_amd64.deb ...
Unpacking smartmontools (7.1-1build1) ...
Setting up smartmontools (7.1-1build1) ...
Created symlink /etc/systemd/system/smartd.service → /lib/systemd/system/smartmontools.service.
Created symlink /etc/systemd/system/multi-user.target.wants/smartmontools.service → /lib/systemd/system/smartmontools.service.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3) ...
ubuntu@ubuntu:~$ sudo smartctl -i /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Travelstar Z7K500
Device Model:     HGST HTS725050A7E630
Serial Number:    TF655AWH07WHKL
LU WWN Device Id: 5 000cca 77ec395d6
Firmware Version: GH2ZB550
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Thu Jul  9 19:10:45 2020 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

ubuntu@ubuntu:~$ sudo smartctl -s on /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.

ubuntu@ubuntu:~$ sudo smartctl -c /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                    was never started.
                    Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                    without error or no self-test has ever 
                    been run.
Total time to complete Offline 
data collection:        (   45) seconds.
Offline data collection
capabilities:            (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:    (   2) minutes.
Extended self-test routine
recommended polling time:    (  88) minutes.
SCT capabilities:          (0x003d) SCT Status supported.
                    SCT Error Recovery Control supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

ubuntu@ubuntu:~$ sudo smartctl -t short /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Thu Jul  9 19:14:40 2020 UTC
Use smartctl -X to abort test.

苏..。短期试验产量。

代码语言:javascript
复制
ubuntu@ubuntu:~$ sudo smartctl -l selftest /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-26-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     15274         -
# 2  Vendor (0x50)       Completed without error       00%      9005         -
# 3  Short offline       Completed without error       00%      9005         -

警告:这将破坏您删除的任何分区以及将要格式化的分区上的所有数据。下列设备的分区表被更改: SCSI1 (0,0,0) (sda)以下分区将被格式化: SCSI1的分区#1 (0,0,0) (sda)作为SCSI1的分区#5 (0,0,0) (sda)作为ext4安装程序遇到错误,将文件复制到硬盘:输入/输出错误--这是由于CD/DVD磁盘或驱动器故障,或硬盘故障而软化的。它可能有助于清洁CD/DVD,以较低的速度刻录CD/DVD,清洁CD/DVD驱动器透镜(清洁工具包通常可从电子供应商获得),检查硬盘是否陈旧,是否需要更换,或将系统移至较冷的环境。安装程序崩溃:对不起;安装程序崩溃了。关闭此窗口后,我们将允许您使用集成的bug报告工具提交错误报告。这将收集有关系统和安装过程的信息。详细信息将发送给我们的bug跟踪器,开发人员将尽快处理这个问题。此问题已在web浏览器中显示的错误报告中报告。请检查是否可以添加任何可能有助于开发人员的进一步信息。https://bugs.launchpad.net/ubuntu/+bug/1874662

EN

回答 1

Ask Ubuntu用户

发布于 2020-07-12 14:34:31

当您下次看到此错误时,请拔出USB并将其插入另一个USB端口。安装程序将从停止的位置继续。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1257753

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档