Re: GRUB Boot menu
Postano: 10 srp 2016, 11:20
ako je disk remountan read only zbog grešaka, onda ti chmod 775 neće raditi. Moraš: mount -o remount,rw /dev/sda1 (tj zamijeniti 1 sa svime što treba)
Kod: Označi sve
sudo apt-get install mate-disk-utilityKod: Označi sve
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mate-disk-utilityKod: Označi sve
sudo apt-get install smartmontools Kod: Označi sve
ubuntu@ubuntu:~/Desktop$ sudo apt-get install smartmontools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
heirloom-mailx
Suggested packages:
exim4 mail-transport-agent gsmartcontrol smart-notifier
Recommended packages:
mailx mailutils
The following NEW packages will be installed:
heirloom-mailx smartmontools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 666 kB of archives.
After this operation, 1954 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe heirloom-mailx i386 12.5-2 [237 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty/main smartmontools i386 6.2+svn3841-1.2 [429 kB]
Fetched 666 kB in 1s (572 kB/s)
Selecting previously unselected package heirloom-mailx.
(Reading database ... 170251 files and directories currently installed.)
Preparing to unpack .../heirloom-mailx_12.5-2_i386.deb ...
Unpacking heirloom-mailx (12.5-2) ...
Selecting previously unselected package smartmontools.
Preparing to unpack .../smartmontools_6.2+svn3841-1.2_i386.deb ...
Unpacking smartmontools (6.2+svn3841-1.2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up heirloom-mailx (12.5-2) ...
update-alternatives: using /usr/bin/heirloom-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up smartmontools (6.2+svn3841-1.2) ...
Processing triggers for ureadahead (0.100.0-16) ...Kod: Označi sve
sudo smartctl -s on /dev/sda; sudo smartctl -a /dev/sda ubuntu@ubuntu:~/Desktop$ sudo smartctl -s on /dev/sda; sudo smartctl -a /dev/sda
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-39-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
smartctl 6.2 2013-07-26 r3841 [i686-linux-3.13.0-39-generic] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda 7200.9
Device Model: ST3120213A
Serial Number: 5LS23591
Firmware Version: 3.AAD
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7 (minor revision not indicated)
Local Time is: Fri Jul 15 08:34:10 2016 UTC
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: ( 430) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 51) 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 108 076 006 Pre-fail Always - 159468743
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 097 097 020 Old_age Always - 3846
5 Reallocated_Sector_Ct 0x0033 098 098 036 Pre-fail Always - 106
7 Seek_Error_Rate 0x000f 088 060 030 Pre-fail Always - 728794069
9 Power_On_Hours 0x0032 067 067 000 Old_age Always - 29424
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 097 097 020 Old_age Always - 3775
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 616
189 High_Fly_Writes 0x003a 090 090 000 Old_age Always - 10
190 Airflow_Temperature_Cel 0x0022 063 050 045 Old_age Always - 37 (Min/Max 23/37)
194 Temperature_Celsius 0x0022 037 050 000 Old_age Always - 37 (0 10 0 0 0)
195 Hardware_ECC_Recovered 0x001a 062 048 000 Old_age Always - 143130535
197 Current_Pending_Sector 0x0012 056 056 000 Old_age Always - 914
198 Offline_Uncorrectable 0x0010 056 056 000 Old_age Offline - 914
199 UDMA_CRC_Error_Count 0x003e 200 199 000 Old_age Always - 8
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 Data_Address_Mark_Errs 0x0032 098 251 000 Old_age Always - 2
SMART Error Log Version: 1
ATA Error Count: 660 (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 660 occurred at disk power-on lifetime: 29423 hours (1225 days + 23 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 0a 3b 00 e0 Error: UNC at LBA = 0x00003b0a = 15114
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 3b 00 e0 00 04:38:39.119 READ DMA
27 00 00 00 00 00 e0 00 04:38:39.051 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 02 04:38:45.650 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 02 04:38:45.595 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 04:38:45.590 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
Error 659 occurred at disk power-on lifetime: 29423 hours (1225 days + 23 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 0a 3b 00 e0 Error: UNC at LBA = 0x00003b0a = 15114
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 3b 00 e0 00 04:38:39.119 READ DMA
c8 00 10 10 3b 00 e0 00 04:38:39.051 READ DMA
27 00 00 00 00 00 e0 00 04:38:38.991 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 02 04:38:38.822 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 02 04:38:38.711 SET FEATURES [Set transfer mode]
Error 658 occurred at disk power-on lifetime: 29423 hours (1225 days + 23 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 0a 3b 00 e0 Error: UNC at LBA = 0x00003b0a = 15114
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 10 00 3b 00 e0 00 04:38:39.119 READ DMA
c8 00 10 f0 3a 00 e0 00 04:38:39.051 READ DMA
c8 00 10 e0 3a 00 e0 00 04:38:38.991 READ DMA
c8 00 10 d0 3a 00 e0 00 04:38:38.822 READ DMA
c8 00 10 c0 3a 00 e0 00 04:38:38.711 READ DMA
Error 657 occurred at disk power-on lifetime: 29423 hours (1225 days + 23 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 da 2f 00 e0 Error: UNC at LBA = 0x00002fda = 12250
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 d8 2f 00 e0 00 04:38:35.541 READ DMA
27 00 00 00 00 00 e0 00 04:38:33.809 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
ec 00 00 00 00 00 a0 02 04:38:33.801 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 02 04:38:33.705 SET FEATURES [Set transfer mode]
27 00 00 00 00 00 e0 00 04:38:33.686 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
Error 656 occurred at disk power-on lifetime: 29423 hours (1225 days + 23 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 da 2f 00 e0 Error: UNC at LBA = 0x00002fda = 12250
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 d8 2f 00 e0 00 04:38:31.404 READ DMA
c8 00 08 90 5b 01 e0 00 04:38:33.809 READ DMA
c8 00 00 e0 2f 00 e0 00 04:38:33.801 READ DMA
c8 00 08 d0 40 01 e0 00 04:38:33.705 READ DMA
27 00 00 00 00 00 e0 00 04:38:33.686 READ NATIVE MAX ADDRESS EXT [OBS-ACS-3]
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.
ubuntu@ubuntu:~/Desktop$ Kod: Označi sve
sudo smartctl -t long /dev/sdaKod: Označi sve
sudo smartctl -l selftest /dev/sdaKod: Označi sve
sudo smartctl -a /dev/sda