Trying to fix pending sector count on Arch

Hi.
I would like to ask for Your help - maybe somebody did this. I have one disk that shows 6 pending sector:
SMART Attributes Data Structure revision number: 16
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 100 100 051 Pre-fail Always - 104
3 Spin_Up_Time 0x0007 068 068 011 Pre-fail Always - 10480
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5479
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 100 051 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail Offline - 10611
9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 17854
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5453
13 Read_Soft_Error_Rate 0x000e 100 100 000 Old_age Always - 104
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0033 100 100 000 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 104
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 073 043 000 Old_age Always - 27 (Min/Max 23/31)
194 Temperature_Celsius 0x0022 072 043 000 Old_age Always - 28 (6 17 33 23 0)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 133881781
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 6
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 1
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 2
200 Multi_Zone_Error_Rate 0x000a 100 099 000 Old_age Always - 1
201 Soft_Read_Error_Rate 0x000a 099 099 000 Old_age Always - 6
I would like to fix them.
I run smartctl -t short test on this device:
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 20% 17854 28546471
# 2 Short offline Completed without error 00% 8790 -
# 3 Short offline Completed without error 00% 8790 -
There is an error here. I tried to read and understand this:
http://smartmontools.sourceforge.net/badblockhowto.html
But i'm not an programmer, i'm not able to understand how to do a calculation of correct values that need to be specified in order to mark these pending sectors as "offline" or "not to use". Could somebody help me?
I did also:
[firekage@arch_desktop ~]$ sudo fdisk -l | grep /dev/sdh
Dysk /dev/sdh: 931,5 GiB, bajtów: 1000203804160, sektorów: 1953523055
/dev/sdh1 2048 1953521663 1953519616 931,5G Linux filesystem
[firekage@arch_desktop ~]$
and i read that fdisk can't work with gpt so i use :
[firekage@arch_desktop ~]$ sudo gdisk -l /dev/sdh
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdh: 1953523055 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): BB07FE3C-C820-4AB9-AEAC-6AE00B6BDC40
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953523021
Partitions will be aligned on 2048-sector boundaries
Total free space is 3372 sectors (1.6 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1953521663 931.5 GiB 8300
[firekage@arch_desktop ~]$
Could i ask for your help? Maybe somebody did this, know what to do or maybe you all did it with other means?

Ok, small update, this test is long to finish, i have something like this:
[firekage@arch_desktop ~]$ sudo smartctl -t short /dev/sdh
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.17.6-1-ARCH] (local build)
Copyright (C) 2002-14, 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 Sat Jan 10 13:39:24 2015
Use smartctl -X to abort test.
[firekage@arch_desktop ~]$ smartctl -a /dev/sdh
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.17.6-1-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
Smartctl open device: /dev/sdh failed: Permission denied
[firekage@arch_desktop ~]$ sudo smartctl -a /dev/sdh
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-3.17.6-1-ARCH] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SAMSUNG SpinPoint F1 DT
Device Model: SAMSUNG HD103UJ
Serial Number: S13PJDWS634322
LU WWN Device Id: 5 0024e9 001a037ea
Firmware Version: 1AA01118
User Capacity: 1,000,203,804,160 bytes [1,00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA/ATAPI-7, ATA8-ACS T13/1699-D revision 3b
Local Time is: Sat Jan 10 13:42:10 2015 CET
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: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 114) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (13651) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
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: ( 228) minutes.
Conveyance self-test routine
recommended polling time: ( 24) minutes.
SCT capabilities: (0x003f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
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 100 100 051 Pre-fail Always - 104
3 Spin_Up_Time 0x0007 068 068 011 Pre-fail Always - 10480
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5479
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 100 100 051 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail Offline - 10611
9 Power_On_Hours 0x0032 096 096 000 Old_age Always - 17854
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5453
13 Read_Soft_Error_Rate 0x000e 100 100 000 Old_age Always - 104
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0033 100 100 000 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 104
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 073 043 000 Old_age Always - 27 (Min/Max 23/31)
194 Temperature_Celsius 0x0022 072 043 000 Old_age Always - 28 (6 17 33 23 0)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 133881781
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 6
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 1
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 2
200 Multi_Zone_Error_Rate 0x000a 100 099 000 Old_age Always - 1
201 Soft_Read_Error_Rate 0x000a 099 099 000 Old_age Always - 6
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed: read failure 20% 17854 28546471
# 2 Short offline Completed without error 00% 8790 -
# 3 Short offline Completed without error 00% 8790 -
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.
[firekage@arch_desktop ~]$
[firekage@arch_desktop ~]$ sudo fdisk -l | grep /dev/sdh
Dysk /dev/sdh: 931,5 GiB, bajtów: 1000203804160, sektorów: 1953523055
/dev/sdh1 2048 1953521663 1953519616 931,5G Linux filesystem
[firekage@arch_desktop ~]$
[firekage@arch_desktop ~]$ sudo fdisk -lu | grep /dev/sdh
Dysk /dev/sdh: 931,5 GiB, bajtów: 1000203804160, sektorów: 1953523055
/dev/sdh1 2048 1953521663 1953519616 931,5G Linux filesystem
[firekage@arch_desktop ~]$
[firekage@arch_desktop ~]$ sudo gdisk -l /dev/sdh
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdh: 1953523055 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): BB07FE3C-C820-4AB9-AEAC-6AE00B6BDC40
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953523021
Partitions will be aligned on 2048-sector boundaries
Total free space is 3372 sectors (1.6 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1953521663 931.5 GiB 8300
[firekage@arch_desktop ~]$
[firekage@arch_desktop ~]$ sudo badblocks -wsv /dev/sdh
Poszukiwanie wadliwych bloków w trybie odczytu i zapisu
Od bloku 0 do 976761526
Testowanie wzorcem 0xaa: zakończono
Odczyt i porównywanie: 14273232 1.46%, minęło 3:52:24 (błędów: 0/0/0)
14273233 1.46%, minęło 3:52:26 (błędów: 1/0/0)
14273234 1.46%, minęło 3:52:29 (błędów: 2/0/0)
14273235 1.46%, minęło 3:52:31 (błędów: 3/0/0)
14274836 1.46%, minęło 3:52:35 (błędów: 4/0/0)
14274837 1.46%, minęło 3:52:37 (błędów: 5/0/0)
14274838 1.46%, minęło 3:52:39 (błędów: 6/0/0)
14274839 1.46%, minęło 3:52:41 (błędów: 7/0/0)
14276644 1.46%, minęło 3:52:45 (błędów: 8/0/0)
14276645 1.46%, minęło 3:52:47 (błędów: 9/0/0)
14276646 1.46%, minęło 3:52:49 (błędów: 10/0/0)
14276647 1.46%, minęło 3:52:51 (błędów: 11/0/0)
Zbiorowy komunikat od użytkownika root@arch_desktop (somewhere) (Sat Jan 10 22
Device: /dev/sdh [SAT], 4 Currently unreadable (pending) sectors
51661516 5.29%, minęło 3:59:20 (błędów: 12/0/0)
51661517 5.29%, minęło 3:59:22 (błędów: 13/0/0)
51661518 5.29%, minęło 3:59:24 (błędów: 14/0/0)
51661519 5.29%, minęło 3:59:26 (błędów: 15/0/0)
51662320 5.29%, minęło 3:59:30 (błędów: 16/0/0)
51662321 5.29%, minęło 3:59:31 (błędów: 17/0/0)
51671544 5.29%, minęło 3:59:38 (błędów: 18/0/0)
51671545 5.29%, minęło 3:59:41 (błędów: 19/0/0)
51671546 5.29%, minęło 3:59:43 (błędów: 20/0/0)
51671547 5.29%, minęło 3:59:45 (błędów: 21/0/0)
154335840 15.80%, minęło 4:17:31 (błędów: 22/0/0)
154335841 15.80%, minęło 4:17:34 (błędów: 23/0/0)
154335842 15.80%, minęło 4:17:36 (błędów: 24/0/0)
154335843 15.80%, minęło 4:17:38 (błędów: 25/0/0)
154336616 15.80%, minęło 4:17:42 (błędów: 26/0/0)
154336617 15.80%, minęło 4:17:45 (błędów: 27/0/0)
154336618 15.80%, minęło 4:17:47 (błędów: 28/0/0)
154336619 15.80%, minęło 4:17:49 (błędów: 29/0/0)
154337392 15.80%, minęło 4:17:53 (błędów: 30/0/0)
154337393 15.80%, minęło 4:17:55 (błędów: 31/0/0)
154337394 15.80%, minęło 4:17:57 (błędów: 32/0/0)
154337395 15.80%, minęło 4:17:59 (błędów: 33/0/0)
154339140 15.80%, minęło 4:18:03 (błędów: 34/0/0)
154339141 15.80%, minęło 4:18:06 (błędów: 35/0/0)
154339142 15.80%, minęło 4:18:08 (błędów: 36/0/0)
154339143 15.80%, minęło 4:18:10 (błędów: 37/0/0)
154339916 15.80%, minęło 4:18:14 (błędów: 38/0/0)
154339917 15.80%, minęło 4:18:17 (błędów: 39/0/0)
154339918 15.80%, minęło 4:18:19 (błędów: 40/0/0)
154339919 15.80%, minęło 4:18:21 (błędów: 41/0/0)
154340692 15.80%, minęło 4:18:25 (błędów: 42/0/0)
154340693 15.80%, minęło 4:18:29 (błędów: 43/0/0)
154340694 15.80%, minęło 4:18:31 (błędów: 44/0/0)
154340695 15.80%, minęło 4:18:33 (błędów: 45/0/0)
154341468 15.80%, minęło 4:18:37 (błędów: 46/0/0)
154341469 15.80%, minęło 4:18:40 (błędów: 47/0/0)
154341470 15.80%, minęło 4:18:42 (błędów: 48/0/0)
154341471 15.80%, minęło 4:18:44 (błędów: 49/0/0)
154342244 15.80%, minęło 4:18:48 (błędów: 50/0/0)
154342245 15.80%, minęło 4:18:50 (błędów: 51/0/0)
154342246 15.80%, minęło 4:18:52 (błędów: 52/0/0)
154342247 15.80%, minęło 4:18:54 (błędów: 53/0/0)
154343992 15.80%, minęło 4:18:58 (błędów: 54/0/0)
154343993 15.80%, minęło 4:19:01 (błędów: 55/0/0)
154343994 15.80%, minęło 4:19:03 (błędów: 56/0/0)
154343995 15.80%, minęło 4:19:05 (błędów: 57/0/0)
154344768 15.80%, minęło 4:19:09 (błędów: 58/0/0)
154344769 15.80%, minęło 4:19:11 (błędów: 59/0/0)
154344770 15.80%, minęło 4:19:13 (błędów: 60/0/0)
154344771 15.80%, minęło 4:19:15 (błędów: 61/0/0)
154347096 15.80%, minęło 4:19:19 (błędów: 62/0/0)
154347097 15.80%, minęło 4:19:21 (błędów: 63/0/0)
154347098 15.80%, minęło 4:19:23 (błędów: 64/0/0)
154347099 15.80%, minęło 4:19:25 (błędów: 65/0/0)
154348844 15.80%, minęło 4:19:30 (błędów: 66/0/0)
154348845 15.80%, minęło 4:19:33 (błędów: 67/0/0)
154348846 15.80%, minęło 4:19:35 (błędów: 68/0/0)
154348847 15.80%, minęło 4:19:37 (błędów: 69/0/0)
154349620 15.80%, minęło 4:19:40 (błędów: 70/0/0)
154349621 15.80%, minęło 4:19:44 (błędów: 71/0/0)
154349622 15.80%, minęło 4:19:45 (błędów: 72/0/0)
154349623 15.80%, minęło 4:19:47 (błędów: 73/0/0)
154350396 15.80%, minęło 4:19:51 (błędów: 74/0/0)
154350397 15.80%, minęło 4:19:53 (błędów: 75/0/0)
154350398 15.80%, minęło 4:19:55 (błędów: 76/0/0)
154350399 15.80%, minęło 4:19:57 (błędów: 77/0/0)
154351172 15.80%, minęło 4:19:59 (błędów: 78/0/0)
154351173 15.80%, minęło 4:20:01 (błędów: 79/0/0)
154351174 15.80%, minęło 4:20:03 (błędów: 80/0/0)
154351175 15.80%, minęło 4:20:05 (błędów: 81/0/0)
154351948 15.80%, minęło 4:20:07 (błędów: 82/0/0)
154351949 15.80%, minęło 4:20:09 (błędów: 83/0/0)
154351950 15.80%, minęło 4:20:11 (błędów: 84/0/0)
154351951 15.80%, minęło 4:20:13 (błędów: 85/0/0)
154353696 15.80%, minęło 4:20:15 (błędów: 86/0/0)
154353697 15.80%, minęło 4:20:18 (błędów: 87/0/0)
154353698 15.80%, minęło 4:20:20 (błędów: 88/0/0)
154353699 15.80%, minęło 4:20:22 (błędów: 89/0/0)
154354472 15.80%, minęło 4:20:24 (błędów: 90/0/0)
154354473 15.80%, minęło 4:20:26 (błędów: 91/0/0)
154354474 15.80%, minęło 4:20:28 (błędów: 92/0/0)
154354475 15.80%, minęło 4:20:30 (błędów: 93/0/0)
154355248 15.80%, minęło 4:20:32 (błędów: 94/0/0)
154355249 15.80%, minęło 4:20:34 (błędów: 95/0/0)
154355250 15.80%, minęło 4:20:36 (błędów: 96/0/0)
154355251 15.80%, minęło 4:20:38 (błędów: 97/0/0)
154359328 15.80%, minęło 4:20:40 (błędów: 98/0/0)
154359329 15.80%, minęło 4:20:43 (błędów: 99/0/0)
154359330 15.80%, minęło 4:20:44 (błędów: 100/0/0)
154359331 15.80%, minęło 4:20:46 (błędów: 101/0/0)
154360104 15.80%, minęło 4:20:48 (błędów: 102/0/0)
154360105 15.80%, minęło 4:20:50 (błędów: 103/0/0)
154360106 15.80%, minęło 4:20:52 (błędów: 104/0/0)
154360107 15.80%, minęło 4:20:54 (błędów: 105/0/0)
154361656 15.80%, minęło 4:20:56 (błędów: 106/0/0)
154361657 15.80%, minęło 4:20:58 (błędów: 107/0/0)
154361658 15.80%, minęło 4:21:00 (błędów: 108/0/0)
154361659 15.80%, minęło 4:21:01 (błędów: 109/0/0)
154363404 15.80%, minęło 4:21:04 (błędów: 110/0/0)
154364956 15.80%, minęło 4:21:07 (błędów: 111/0/0)
154364957 15.80%, minęło 4:21:10 (błędów: 112/0/0)
154364958 15.80%, minęło 4:21:12 (błędów: 113/0/0)
154364959 15.80%, minęło 4:21:14 (błędów: 114/0/0)
154365732 15.80%, minęło 4:21:16 (błędów: 115/0/0)
154365733 15.80%, minęło 4:21:19 (błędów: 116/0/0)
154365734 15.80%, minęło 4:21:21 (błędów: 117/0/0)
154365735 15.80%, minęło 4:21:23 (błędów: 118/0/0)
154366508 15.80%, minęło 4:21:25 (błędów: 119/0/0)
154366509 15.80%, minęło 4:21:27 (błędów: 120/0/0)
154366510 15.80%, minęło 4:21:29 (błędów: 121/0/0)
154366511 15.80%, minęło 4:21:31 (błędów: 122/0/0)
154368256 15.80%, minęło 4:21:33 (błędów: 123/0/0)
154368257 15.80%, minęło 4:21:36 (błędów: 124/0/0)
154368258 15.80%, minęło 4:21:38 (błędów: 125/0/0)
154368259 15.80%, minęło 4:21:40 (błędów: 126/0/0)
154373108 15.80%, minęło 4:21:43 (błędów: 127/0/0)
503660336 51.56%, minęło 27:05:16 (błędów: 128/0/0)
503660337 51.56%, minęło 27:05:19 (błędów: 129/0/0)
503660338 51.56%, minęło 27:05:21 (błędów: 130/0/0)
503660339 51.56%, minęło 27:05:23 (błędów: 131/0/0)
503661024 51.56%, minęło 27:05:28 (błędów: 132/0/0)
503661025 51.56%, minęło 27:05:32 (błędów: 133/0/0)
503661026 51.56%, minęło 27:05:35 (błędów: 134/0/0)
503661027 51.56%, minęło 27:05:37 (błędów: 135/0/0)
503662400 51.56%, minęło 27:05:39 (błędów: 136/0/0)
503662401 51.56%, minęło 27:05:41 (błędów: 137/0/0)
503662402 51.56%, minęło 27:05:43 (błędów: 138/0/0)
503662403 51.56%, minęło 27:05:45 (błędów: 139/0/0)
503662403 51.56%, minęło 27:05:45 (błędów: 139/0/0)
965236080 98.82%, minęło 64:33:56 (błędów: 140/0/0)
965236081 98.82%, minęło 64:33:58 (błędów: 141/0/0)
965236082 98.82%, minęło 64:34:00 (błędów: 142/0/0)
965236083 98.82%, minęło 64:34:02 (błędów: 143/0/0)
So, what to do next? Do i have badblock or what? I readed bablock wiki but there is nothing about error in this manner X/0/0 but rather 0/0/X.
Minęło in polish means time that past - minęło 64:33;00 means that 64h of test passed.
Last edited by firekage (2015-01-13 22:26:10)

Similar Messages

  • [SOLVED] problems trying to fix wrong UUID!

    hello all,
    im trying to fix a boot error (no such device: uuid...) using a solution from this thread https://bbs.archlinux.org/viewtopic.php?id=157195. i've booted to livecd but cant get past
    swapon dev/sda
    swapon: stat failed dev/sda: no such file or directory
    Last edited by youngunix (2013-02-16 03:31:06)

    youngunix wrote:
    i mounted it without the /boot part, there was a separate boot partition which I copied /grub from it to /boot and deleted that partition (1GB). Then removed grub and reinstalled it
    grub-install /dev/sda
    grub-mkconfig -o /boot/grub/grub.cfg
    it rebooted to the GNU GRUB VERSION 2.0 like it should, but now I'm getting the emergency mode prompt.
    If I understand you correctly, you deleted your /boot partition. That was probably a bad move. Now you may have grub's configuration in /boot, but you don't have a kernel image. Without the linux kernel also present in /boot, grub has nothing to do, hence the emergency prompt.
    Reinstall the linux package, then re-install grub. Frankly, since you're going to the trouble anyways, you should just recreate your separate partition for your boot loader.
    So, from the livecd:
    mount /dev/sda1 /mnt # (Check with fdisk -l)
    rm -rf /mnt/boot/* # (You want /boot to be a mount point for a partition, so it should not contain any files)
    mount /dev/sda2 /mnt/boot # (this should be the boot partition)
    pacstrap /mnt base # (This wil reinstall the kernel, as well as make sure the rest of the system is working and up to date)
    arch-chroot /mnt pacman -S grub-bios # (Reinstall GRUB)
    Then the rest is exactly as you already said:
    grub-install /dev/sda
    grub-mkconfig -o /boot/grub/grub.cfg
    Better safe than sorry, just re-do the install process to make sure you have a working boot partition, and that the bootloader has a kernel to load. I'm assuming the rest of your system is already nice and configured properly, so after this goes off without a hitch, you can just reboot.
    EDIT: Don't assume that the numbers on your disk match the ones in the example. Use fdisk, make sure you mount the right partitions to the right places.
    Last edited by Kebertx (2013-02-13 23:05:42)

  • My iphone 4S wont allow me to restore a bckup of icloud it has just rebooted the os and for over 24 hours i have been trying to fix it i use this phone for my job so i need help

    My iphone 4S wont allow me to restore a bckup of icloud it has just rebooted the os and for over 24 hours i have been trying to fix it i use this phone for my job so i need help. when i try to restore it says "Your iphone could not be activated becuase the activation server is unavailable, If the problom presests goto apple.com/support"   It has done this for 27 hours now PLEASE HELP!!!!!!!!!

    - Connect the iPod to the computer and see if iTunes sees it. If it sees it try to get the photos off the iPod.
    - Next let the battery fully drain. It will likely take days. After charging for at least an hour try again
    - Last, make an appointment at the Genius Bar of an Apple store.

  • I am trying to fix a flash that someone created so that it works

    correctly. each time i go to the publish preview it works, but the output keeps saying
    "WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=62, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=82, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=102, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=123, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=143, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=162, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=181, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=200, Label=addText
    WARNING: Duplicate label, Scene=content, Layer=Layer 46, Frame=218, Label=addText"
    If I change the Label it doesn't work. The publish setting is set for Flash Player 8, ActionScript 2.0. This is the main action code for the flash that I am trying to fix,  any help is appreciated
    _quality = "best";
    play ();
    _root.attachMovie("textFeild", "textFeildOriginal", 2);
    _root.textFeildOriginal._x = 9.8;
    _root.textFeildOriginal._y = 8.8;
    myColorObject = new Color(_root.textFeildOriginal);
    myColorObject.setRGB(0xE5E5E5);
    _root.attachMovie("textFeild", "textFeildCopy", 3);
    _root.textFeildCopy._x = 9.8;
    _root.textFeildCopy._y = 8.8;
    myColorObject2 = new Color(_root.textFeildCopy);
    myColorObject2.setRGB(0x000000);
    // /###### ADDS Initial Content ###########################
    function addContent () {
         myAdd = 20;
         var order = [my1, my2, my3, my4, my5, my6, my7, my8, my9, my10,  my11, my12];
         // letter
         var menuItems = [];
         for (j=0; j<myadd; j++) {
             // push array together from menu Items and order for letters.
             menuItems.push(order[j]+newline+newline);
             // push array together binary info.
             // info.push(_root["mycount2"+x]);
             _root.textFeildOriginal.content = menuItems.join("");
    addContent();
    // /###### ADDS peices Content ###########################
    function addText () {
         myAdd2 = myAdd2+1;
         var order = [my1, my2, my3, my4, my5, my6, my7, my8, my9, my10,  my11, my12];
         // letter
         var menuItems = [];
         for (j=0; j<myAdd2; j++) {
             // push array together from menu Items and order for letters.
             menuItems.push(order[j]+newline+newline);
             // push array together binary info.
             // info.push(_root["mycount2"+x]);
             _root.textFeildCopy.content = menuItems.join("");

    That is the one thing I haven't seen is the goto function
    I have seen
    function addContent ()
    and this one
    function addText ()

  • Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing!

    Why does my itunes crash after start up with an "APPCRASH" error every time i open it?! I have been trying to fix this for weeks but all i can do it re-install it every other day which does nothing! I am desperate to get access to my itunes to get music on my phone and all of this just makes me want me to sell my iphone since there is no other way to add music to my phone. If things go get sorted soon you can say goodbye to my support.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • I have an iPhone 4 that i was trying to fix and now it will not turn on at all is there anyway that i can access all my pictures and contacts from my new phone or pc? It is also on the same apple id, but i dont know if that would help with anything.

    I have an iPhone 4 thats i was trying to fix and now it will not turn on at all is there anyway that i can access my pictures and contacts from my new phone or pc? Aslo the are both on the same apple id but i dont know if that would help or not.

    Contacts are designed to be synced to a supported application on the computer or a cloud service.
    Pictures taken with the device are designed to regularly be copied off the device to a computer as would be done with any digital camera.
    If you have failed to use the device as designed it may be too late to recovery anything.
    Is the device regularly backed up to a computer via iTunes?  If so, the most recent backup (when restored to a replacement iOS device) should contain all contacts and pictures as of when the backup was created.

  • Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix.

    Apple changed my Apple ID to the email address associated with my iTunes account. I now can no longer access my account because the old user name is no longer valid and has no password. I have been on the phone with tech support for hours trying to fix this. I can not update any of the apps associated with that user name.

    Is this itunes on the iPad or on my computer? Thank you for the reply.

  • I just erased all my contacts on accident while trying to fix an ical syncing problem.  Please help!

    Hello There,
    I have NO idea what just happened.  I am trying to stay calm here.  Please help.
    I have been trying to fix the fact that my iphone calendar isn't sending info to my ical on my MacBook Pro.  I followed some instructions I found in a forum and then unplugged my phone haphazardly by not ejecting it from iTunes... I just pulled it off the cord and all my contacts erased in a blink of an eye.  Here's the instructions I followed.  Please tell me how I can get them back!  Can I call AT&T? BTW... the instructions didn't fix the ical problem either.
    (These are the instructions I tried from http://iphonewriter.blogspot.com/2008/05/how-to-fixing-ical-iphone-sync-issues.h tml) I added my own sidenote in Bold.
    Here's the down and dirty fix:
    Open iCal and backup or export your entries. Make a note of the fie name and location, you're going to need them in a minute. Once your backup/export is completed, close the iCal application.
    Open Finder and remove everything inside the "Username/Library/Calendars" folder. For instance, if your username is "Joe", then move everything inside the "Joe/Library/Calendars" folder.
    Open the iSync application. It's located in the "/Applications/" folder. Once iSync is opened, go into the iSync Preferences (iSync -> Preferences) and push/click the "Reset Sync History" button. Then, close the iSync application.
    Re-Open the iCal application and Import (File -> Import) a new calendar. When prompted, use your notes from Step #1 to select the file your created earlier. Once completed, close the iCal application (you should have all of your calendar entries back.) 
    ***When I re-opened ical nothing was gone but I followed the following steps anyways.***
         5.  Open the iTunes application and connect your Apple iPhone to the computer.
         6.  Within the Advanced section of the Info tab for the Apple iPhone, check the box the overwrites/replaces the Calendar data on the Apple iPhone.
         7.  Click the Apple/Sync button. New, modified and deleted entries should now be syncing correctly.
    That's it! You should be all set and iTunes, iCal and our Apple iPhone should all be playing nicely as friends again. We've used the exact method to repair our own Apple iPhone at least once... maybe even twice.
    MacBook Pro  OSX.6.8 and iPhone 3GS
    Message was edited by: Shelby Leigh

    Hi,
    Can't you restore your iPhone via iTunes and use the "restore from last backup". I know when I has my phone replaced this copied all my contacts (from my last sync)back to my phone.
    Hope that helps

  • ITunes 7 is a joke stop trying to fix what isn't broken

    iTunes 7 is a joke stop trying to fix what isn't broken

    Between being still wet, and energized multiple times, it almost certainly has suffered permanent damage from shorting circuits.  I would just get a replacement at this point and be done with it.
    As mentioned, either an AppleCare+ accidental damage claim, if you can do so, or pay the out of warranty replacement for a like new service unit.

  • Pages are not printing out correctly. I have tried to fix in the options, with no luck. It prints out with spaces in between the letters.

    When I go to print any page from an email, webpage, pdf file..the pages print out very wide fonts to the point where it is unreadable. I have tried to fix in the options with no luck. I can provide you with visuals if you need me to.

    Thanks very much! It works! The print / review print - print works like it is supposed to. The print is corrected and works great. Thanks again.

  • I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I have completely lost my safari.  I was getting an error and I lost the address bar.  I tried to fix it by changing the home page on the preferences.  I don't know what to put in the home page now.  How do I get safari back?

    I tried editing my first post but couldn't get there...
    If you can open Safari go to the top of your screen, click Safari / Preferences then select the General stab. You can type in the web address for your Home page there.

  • Soundtrack Pro Shuts down when trying to fix analized Action

    Soundtrack Pro Shuts down when trying to fix analized Action

    Thanks, I'll have to give that a try if there isn't an easier answer out there somewhere. If I pull the card will I have to reload the software and drivers?
    If my project is saved and I have a copy of the project saved will I be able to reload Adobe without losing anything? What I mean is will I be able to just import my whole project once reloaded?
    I just don't understand what could have happened, since I was doing this with no problem a couple of days ago.
    Thanks for your help, it's greatly appreciated.
    Tim

  • HT4528 the camera on my iPhone 4s color is all weird and the shutter keeps opening and closing trying to fix its self but cant.  I rest my phone and turned it off and back on again.. how do i fix this. I only had the phone maybe six months.

    The camera on my iPhon 4s is not working correctly.  It is colored all strange and the shutter keeps opening and closing trying to fix the problem but it cant.  I have already reset my phone and turned it off and on again.  How do I fix this??

    If resetting the camera app doesn't work you can try restoring your iPhone's software. The entire process takes about an hour to an hour and a half. Make sure you do a backup. Make sure you do a backup.
    Backup:
    http://support.apple.com/kb/HT1766
    Restore:
    http://support.apple.com/kb/HT1414

  • Apple mobile device failed to start? Tried to fix it and it wouldnt let me.....what do I do?!

    I tried to fix this problem for a week now and I cant get my itunes reinstalled.

    I am having this same problem. I took Kappy advice on restarting the Apple Mobile Device Service, however that did not work. I got this message in a pop up window that came up immediately.
    Windows could not start the Apple Mobil Device Service on local computer.
    Error 1053  The service did not respond to the start or control request in a timely fashion.
    I have already uninstalled itunes, all the related programs and I cannot reinstall, this Apple Mobil Device message stops the install.
    Can anyone please help?

  • I am having a lot of trouble downloading itunes.My latest error message is that MediaToolbox.dll is missing. I have been trying to fix this for three days now .And it all started with the last update .Can anyone help?

    I am having a lot of trouble downloading itunes.My latest error message is that MediaToolbox.dll is missing. I have been trying to fix this for three days now .And it all started with the last update .Can anyone help?

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. If you're using Vista or 7, now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair". If you're using XP, head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (If you've got XP, although the procedure is for Vista and 7, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

Maybe you are looking for

  • Movie Rentals and Purchases on IPad - What's wrong with this?

    Bought my very first Apple product...(IPad 64G WiFi only) last week. I intended to use it just to keep me busy reading, watching movies, playing games, on all the long flights to Europe and Asia that I take. So yesterday I excitedly set up an ITunes

  • GL account in a PO

    HI, while creating a PO for a material with account assignment 4 , one GL account12345 appearing  in display mode. I have checked in the OMSK tcode , MM03 for valuation class. Mat type: ROH Val class:3500 I like to know whre is the configration  for

  • AE 7.0 Pro will not install, any idea why?

    MAC OSX Mavericks, used to function just fine with AE 7.0 Pro before my Mavericks update.  Now it won't install.  Any ideas for a fix?

  • AP Upload

    Hi Freinds, am working on  AP Upload,can any body help me in validating the following feilds. 1.If for one external document number, we have more than two different company code at program  run . 2.The WBS is not created in the system when the postin

  • Shopping cart with  I1111 - Item in Transfer Process.

    Hi All, I have a shopping cart in our Production system with 5 line items, all had the status "I1111 - Item in Transfer Process". I have run report BBP_ALERT_SB_NOTTRANSFERED and 4 out of 5 items have changed the status from "I1111 - Item in Transfer