Codice: Seleziona tutto
mount /dev/sda2 /boot
ma quando ho dato
Codice: Seleziona tutto
grub-install /dev/sda
Codice: Seleziona tutto
errore: impossibile leggere "dev/sda": Errore di input/output.
Codice: Seleziona tutto
mount /dev/sda2 /boot
Codice: Seleziona tutto
grub-install /dev/sda
Codice: Seleziona tutto
errore: impossibile leggere "dev/sda": Errore di input/output.
Codice: Seleziona tutto
sudo parted -l
Codice: Seleziona tutto
sudo fdisk -l
Codice: Seleziona tutto
grub-install --recheck /dev/sda
Codice: Seleziona tutto
sudo parted -l
Modello: ATA ST94019A (scsi)
Disco /dev/sda: 40,0GB
Dimensione del settore (logica/fisica): 512B/512B
Tabella delle partizioni: msdos
Flag del disco:
Numero Inizio Fine Dimensione Tipo File system Flag
1 1049kB 38,4GB 38,4GB primary ext4 avvio
2 38,4GB 40,0GB 1609MB extended
5 38,4GB 40,0GB 1609MB logical linux-swap(v1)
Codice: Seleziona tutto
sudo fdisk -l
Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/sda: 37,3 GiB, 40007761920 bytes, 78140160 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
Disklabel type: dos
Disk identifier: 0xc18c06a6
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sda1 * 2048 74995711 74993664 35,8G 83 Linux
/dev/sda2 74997758 78139391 3141634 1,5G 5 Esteso
/dev/sda5 74997760 78139391 3141632 1,5G 82 Linux swap / Solaris
Codice: Seleziona tutto
Setting up grub2-common (2.02-beta2 - 36ubuntu3.9)...
Setting up grub-pc-bin (2.02-beta2 - 36ubuntu3.9)...
Setting up grub pc (2.02-beta2 - 36ubuntu3.9)...
Installing for i386-pc platform.
errore: impossibile leggere "/dev/sda": Errore di input/outpu.
Codice: Seleziona tutto
lubuntu@lubuntu-Aspire-1350:~$ sudo dosfsck -a -v /dev/sda1
[sudo] password di lubuntu:
fsck.fat 3.0.28 (2015-05-16)
Logical sector size is zero.
lubuntu@lubuntu-Aspire-1350:~$ sudo smartctl -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.8.0-36-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Momentus 42
Device Model: ST94019A
Serial Number: 3KW37BGP
Firmware Version: 3.05
User Capacity: 40.007.761.920 bytes [40,0 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-6 T13/1410D revision 2
Local Time is: Mon May 8 10:07:52 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
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: ( 426) 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.
No General Purpose Logging support.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 31) minutes.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 055 051 034 Pre-fail Always - 11538377
3 Spin_Up_Time 0x0003 100 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 12
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 084 060 030 Pre-fail Always - 303675853
9 Power_On_Hours 0x0032 094 094 000 Old_age Always - 5952
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 095 095 020 Old_age Always - 5969
192 Power-Off_Retract_Count 0x0032 095 095 000 Old_age Always - 11897
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 229872
194 Temperature_Celsius 0x0022 039 050 000 Old_age Always - 39
195 Hardware_ECC_Recovered 0x001a 055 051 000 Old_age Always - 11538377
197 Current_Pending_Sector 0x0012 084 084 000 Old_age Always - 5806
198 Offline_Uncorrectable 0x0010 084 084 000 Old_age Offline - 5806
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 043 196 000 Old_age Always - 57
SMART Error Log Version: 1
ATA Error Count: 44349 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 44349 occurred at disk power-on lifetime: 5952 hours (248 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 08 60 78 e4 Error: UNC 8 sectors at LBA = 0x04786008 = 74997768
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 08 60 78 e4 00 00:01:24.304 READ DMA
c8 00 10 f0 0e 84 e1 00 00:01:24.301 READ DMA
ca 00 98 78 0b 04 e2 00 00:01:24.299 WRITE DMA
c8 00 f0 30 49 8c e2 00 00:01:24.299 READ DMA
c8 00 08 00 60 78 e4 00 00:01:24.297 READ DMA
Error 44348 occurred at disk power-on lifetime: 5952 hours (248 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 00 08 60 78 e4 Error: UNC at LBA = 0x04786008 = 74997768
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 00 00 60 78 e4 00 00:01:19.080 READ DMA
25 00 00 58 22 c8 e0 00 00:01:19.071 READ DMA EXT
c8 00 20 00 2b c6 e2 00 00:01:19.058 READ DMA
c8 00 88 68 71 8a e2 00 00:01:19.041 READ DMA
c8 00 08 20 12 84 e1 00 00:01:19.029 READ DMA
Error 44347 occurred at disk power-on lifetime: 5952 hours (248 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 08 60 78 e4 Error: UNC 8 sectors at LBA = 0x04786008 = 74997768
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 08 60 78 e4 00 00:01:13.160 READ DMA
c8 00 08 b0 21 01 e3 00 00:01:13.148 READ DMA
c8 00 08 08 08 00 e3 00 00:01:13.131 READ DMA
c8 00 18 a0 2a c6 e2 00 00:01:13.115 READ DMA
c8 00 e0 20 09 00 e0 00 00:01:13.114 READ DMA
Error 44346 occurred at disk power-on lifetime: 5952 hours (248 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 08 60 78 e4 Error: UNC 8 sectors at LBA = 0x04786008 = 74997768
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 08 60 78 e4 00 00:01:04.677 READ DMA
c8 00 a0 80 08 00 e0 00 00:01:04.647 READ DMA
c8 00 38 40 08 00 e0 00 00:01:04.624 READ DMA
c8 00 18 20 08 00 e0 00 00:01:04.605 READ DMA
c8 00 08 00 60 78 e4 00 00:01:04.595 READ DMA
Error 44345 occurred at disk power-on lifetime: 5952 hours (248 days + 0 hours)
When the command that caused the error occurred, the device was active or idle.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
40 51 08 08 60 78 e4 Error: UNC 8 sectors at LBA = 0x04786008 = 74997768
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
c8 00 08 08 60 78 e4 00 00:00:54.411 READ DMA
c8 00 08 30 1b 81 e2 00 00:00:54.387 READ DMA
c8 00 08 00 60 78 e4 00 00:00:54.368 READ DMA
c8 00 08 b8 12 81 e0 00 00:00:54.346 READ DMA
c8 00 08 f0 4f a8 e4 00 00:00:54.320 READ DMA
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
Se hai dati importanti, copiali in qualche altro disco. Un backup, quindi.Error: UNC 8 sectors at LBA = 0x04786008 = 74997768
Codice: Seleziona tutto
sudo dd if=/dev/zero of=/dev/sda bs=512
Codice: Seleziona tutto
sudo dd if=/dev/urandom of=/dev/sda bs=512
Codice: Seleziona tutto
sudo dd if=/dev/urandom of=/dev/sda bs=512
Codice: Seleziona tutto
kill /USR1 $(pidof dd)
Codice: Seleziona tutto
lubuntu@lubuntu:~$ sudo dd if=/dev/urandom of=/dev/sda bs=512
3456377+0 records in
3456377+0 records out
1769665024 bytes (1.8 GB, 1.6 GiB) copied, 572.882 s, 3.1 MB/s
5177625+0 records in
5177625+0 records out
2650944000 bytes (2.7 GB, 2.5 GiB) copied, 861.255 s, 3.1 MB/s
dd: error writing '/dev/sda': Input/output error
Codice: Seleziona tutto
lubuntu@lubuntu:~$ sudo apt-get install testdisk
Reading package lists... Error!
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.
Codice: Seleziona tutto
sudo baobab
Codice: Seleziona tutto
df -h
Visualizzano questa sezione: criceto45 e 32 ospiti