Tuesday, October 31, 2017

windows 10 equivalent to windows 7 "end process"


In windows 7, when I program hangs, I call up the task list. If I do "end task" it will ask if I want to "Wait for the program to close", or "End now". Whichever option I choose, it seems to just hang indefinitely while "waiting for the program to close" (I get an infinite green progressbar). So, I always right click the task in the task list, select "Go To Process" which brings me to the associated process in the process list tab, and choose "End Process" which, 100% of the time, kills the program instantly, which is exactly what I want.


EDIT For clarification:




According to this:
What advantages does Ending Task have over Ending Process?


End Task is skin to just clicking the "Close" button on a window, whereas "End Process" is more akin to the system truly terminating the application.


Emphasis added by me:



For programs having at least one window, End Task does the same as
clicking the X "Close" button
– it sends the WM_CLOSE message to that
window, asking it nicely to close. (For console windows, the
equivalent is CTRL_CLOSE_EVENT.) The program can prompt the user to
save changes, or do various cleanup tasks. If the process complies,
Task Manager waits a few seconds and proceeds with terminating the
process if it is still running.


If the process is frozen or otherwise not handling window messages it
receives, then, of course, neither End Task nor the Close button can
work.
In those cases, Windows will usually ask you to end the program
forcefully, but only after giving the program sufficient time to
respond.


Meanwhile, the End Process button does not concern itself with tasks
or windows – it calls the TerminateProcess() function and Windows
destroys the process immediately, without notifying it or giving it
any chance to clean up.





In windows 10, even though there is a "Process List" when I am in the task manager, the only options I have to kill a program are "End Task". Is there any way to get Win7's "End Process" functionality under Windows 10? Preferably without a 3rd party utility, but a 3rd party utility is fine if it is absolutely not possible under Windows 10.


Answer



In Windows 10, the Details tab is the new processes tab.
Try right-clicking the process that is hanging and select "Go to Details."
From there you should see "End Task" and the other usual options. As Daniel B has mentioned, Ending task in the details window is not the same as in the processes window.


Hope this helps.


installation - "PXE-E61: media test failure" while trying to install Windows Server 2008

I was trying to install Windows Server 2008 R2 on my new Dell XPS Laptop. A "PXE-E61: media test failure" error was showing while trying to install from DVD Drive of the laptop. I tried to troubleshoot it using the following steps, but didn't succeed.




  1. Made HDD the first option in the boot order priority.

  2. Disabled Inbuilt NIC. Didn't find any option to disable PXE boot.

  3. With the same DVD I was able to install Win2008 on a desktop machine. In the desktop machine, the Wind2008R2 installation prompts with a menu with number 1. and 2. nothing next to it, usually I select option "1" and hit enter key.


  4. To make sure there's no problem with the laptop HDD and DVD drive. I tried installing the Windows 7 Home premium on the laptop using the accompanied disk that came along with the laptop. The installation went successfully without any issues.



I am not sure why this issue only shows up in my laptop and not on my desktop machine. Please help me to sort this out.

Monday, October 30, 2017

linux - Is UDF an ok substitute for ext3?


I'm thinking of doing the UDF thing to share files between windows and linux.


Is UDF a viable option for /home
Is UDF a viable option for /
Can windows XP correctly read sparse files I created in linux from UDF


As long as it doesn't break things I was going to rsync my ext3 backup drive over to UDF so I can see it in windows is this reliable?


Answer



You will be fine with windows 7, not so much with XP. See here for more details.


Windows 7 blue screen after CPU cooler died and got replaced

Okay, so here is the deal: We have a PC at home that used to be mine, it was running pretty well (though sometimes blue screen, but most likely due to faulty RAID controller, as now other 'strange' issues have been fixed aswell). It ran on Windows Vista on my own screen and keyboard/mouse.


Now I bought a new one and my dad got that one, installed Windows 7 on it and he is using his own screen and keyboard/mouse (not neccessarily marked as working with W7, but no problems in the actual usage).


PC was working fine, no other errors besides random strange things that were solved since the faulty RAID controller is no longer in use.


Then a few weeks ago the CPU cooler died and PC started to randomly Blue Screen after being on high load for some time.


When the cooler was still dead it would survive max 2 mins on 100% load, and would Blue Screen around 80 degrees celsius cpu temp, but don't think you can draw conclusions from that.


Now a new cooler is alive and kicking, but the PC still Blue Screens after 20 minutes.


Blue Screen errors are pointing towards ntoskrnl.exe and are being caused by DRIVER_IRQL_NOT_LESS_OR_EQUAL mostly and sometimes MEMORY_MANAGEMENT.


Would appreciate any help on this, but I would most likely want to hear a special relation between the fact that the CPU cooler died and that after that it is suddenly giving blue screens.


edit: On low usage the PC runs fine without any errors at all for long periods of time. This was already the case when the CPU cooler was dead, and is now still the case.


Edit 2, system specs:
CPU i7-920 (first series), can handle according to Intel up to 105 degrees celsius.
Motherboard Gigabyte X58-UD3R
RAM 12GB DDR3-1066 I believe
120GB Corsair Forza 3 SSD
2x 1TB HDD
GPU GTX285
Corsair TX850 power supply (maybe a little bit overkill)
- The pc is about 4 years old -

power supply - Data Recovery from a Seagate Barracuda ST1000DM003 Hard Drive


My desktop computer died today. I have important work saved on my desktop. I got the hard drive which I believe is in working condition. My hard drive specification is as follows:


Seagate Barracuda ST1000DM003


Is there any SATA to USB adapter available for this hard drive? If yes, what is the specification (cable no etc.)?
I also need a power supply to power the disk. But I am not sure what type of
power cable would fit into my hard drive.


Answer



The Seagate Barracuda ST1000DM003 is a 1TB standard SATA 6.0Gb/s 3.5" drive. The products you'd want to look for are called "docking station" (larger devices, that hold the drive in place with a base or "adapter" (a simple cable) and both plug into USB on a host machine and provide the SATA interface as well as SATA power for the drive, so you don't need a seperate power adapter.


If you are frequently dumping drives from out-of-commission computers, I'd recommend the docking station, as it's slightly more convenient, but if this is something you do infrequently, probably just the adapter.


Verify your adapter or docking station support SATA 6.0 and USB3 and that the host USB port you are using is USB3 for maximum throughput. If you choose a docking station, verify that it supports 3.5" drives.


You will want to use a host machine that has sufficient space to copy the files off of the drive. You should avoid making writes to the drive if you suspect it is damaged (e.g. deleting unwanted files, renaming or moving files), instead copy only the desired files from the drive to the host machine then do any renaming, organization, or clean up afterward.


macos - Issue with modifier keys on a Windows keyboard under Mac OS X


Background


I am using a Windows keyboard on Mac OS X and the modifier keys are laid out like this:



  • Ctrl on the Windows keyboard functions as Control on a Mac keyboard (expected behavior).

  • Windows Logo Key functions as Command (unexpected behavior).

  • Alt functions as Option (unexpected as well).


I know that this is probably the way the keys are supposed to work, but I'm used to the Command key where the Alt key is, and the Option key where the Windows Logo key is.


I have tried to use the Keyboard preferences pane to switch the Option and Command keys, but when I do this, only the left modifier keys work.


My Question:


So the question is, is there any way to swap the Option and Command keys while both left and right modifier keys work?


Answer



In keyboard preferences there's a "Modifier Keys" button in there that will let you swap modifier keys. I use a PC keyboard with my Mac, and it remembers the choice for my keyboard and the laptop keyboard.


I'm assuming your problem is that the modifier keys to the right of the space key don't swap their functions after using that preference?


enter image description here


I used to use a preference application called DoubleCommand. It might do what you want.


Sunday, October 29, 2017

linux - Forwarding all incoming traffic on eth0 to go to eth1



I am trying to setup my raspberry pi to sit between my router and my modem. I'm basically trying to set it up as an intercepting proxy so that all web traffic goes through the proxy.



I have the modem connected to eth0 and the router to eth1. Everything works fine now, I have my iptables setup and all web traffic goes through the proxy. What I need to make happen though, is allow all incoming traffic on eth0 to go directly to eth1. Is this possible to do with iptables or do I need to create a bridge between the 2 to make this happen.



If I need to create a bridge, how can I do that while still intercepting web traffic?



Answer



What you need is Destination NAT (DNAT): A good start is this post on SU: Use port forwarding with masquerade



You don't actually need to specify a port range.



# iptables -t nat -A PREROUTING -i eth0 -j DNAT --to ${LAN_SERVER_IP}


See netfilter documentation or this page




This page also has some information about possible caveats when reaching the server from LAN (it has to be SNAT-ed).


drivers - How do I install an HP home-use printer on Windows Home Server (Windows Server 2003)


I have an HP DeskJet F4210 printer that I would like to share on my network via Windows Home Server. Unfortunately, the driver installation checks for supported OS's, detects Home Server as Windows Server 2003 and exits. The driver install supports WinXP, W2k, Vista, and Win98SE.


In theory, drivers for XP or Windows 2000 should work fine with Home Server. When using the "Install Printer" tool in Home Server I am only able to select .inf files (there are serveral on the install media) but the driver folders for XP and 2000 have .sys and .dll files.


How can I bypass HP's short-sighted install program and get this printer up and running on Home server? I'll be happy with basic print functionality and will save the task of enabling scanning for another time.


Answer



Did you download an executable (.exe) from HP? If the installer is what is closing down, download and install WinRAR (fully usable trial version) and you can extract the files from the installer to a folder on your computer. From there, you can find the .inf files and install the print driver on your computer.


I do this all the time at work.


Saturday, October 28, 2017

How do I prevent a memory card from mounting as read-only in Ubuntu Linux?



I'm using Ubuntu 9.04 and when I try to mount an SD card with the GUI I have to type sudo mount -o remount,rw /media/disk before I can write anything to the card. Is there a hidden setting to make it mount read-write?


Answer



I ran sudo fsck -a ... on the offending device. After fixing the file system corruption it mounts read-write. I had the problem again, and fixed it again with fsck. Will have to be more careful about always ejecting properly.



windows 10 - Recover formatted virtual drive with filesystem changed


Here's an interesting problem and predicament that I'm currently in.


I have a 239 GB large VHDX, originally formatted as NTFS. It contains a lot of important files, including proprietary code, game development assets and a ton of artwork.


I was trying to create an Ubuntu Desktop 18.04 installer on my flash drive, and I used Rufus to try and put it in. I was in class, so I wasn't that concentrated on my laptop.


Funnily enough, Rufus sorted that mounted VHD as the first, and without double-checking, I started the operation. In less than 7 seconds, the entire disk was formatted into FAT32, and Windows instantly recognized the drive, along with the available space and all. Luckily enough, I was able to cancel the operation before it started writing to the drive. Immediately after this, I set the drive as read-only, and until now I have not unmounted the drive, in fear that it might implode (even though this isn't that possible.)


Now, here's the fun part: I am certain that the files are still there. The VHD size is still 239 GB, and Recuva is still able to determine a few files in the drive. I have tried deep-scanning the drive, and there are still a few files that it can muster up.


The problem is, with the changed filesystem, and the circumstances that the drive was formatted in, will I still be able to recover the files (possibly with free recovery tools) or not?


I've tried to use Recuva, but given that a Deep Scan is worth 9 hours and I might come up empty-handed, I just wanted to ask here first. I'm also seeing TestDisk as an option, although I don't know how it works.


The VHD itself, as seen in Windows Explorer.


A screenshot of the drive details, as provided by Windows. (note the incorrect partition name)


As hopeless as this seems, at least I kept a month-old backup of the drive. This was the main reason why I frequently use virtual hard drives. Although this drive contains a lot of the nostalgic stuff, I'm more interested in the newer files, since these contain projects and it's going to be a major setback to start from a previous time.


Answer



First advice : Make a backup copy of the VHDX (if not already done).


The product TestDisk can use the MFT mirror to restore a disk, although its being
formatted as FAT32 may throw it off: In the Advanced menu, select the NTFS partition,
choose Boot, then Repair MFT.


You will find a list of recovery products in the article
Best Free Data Recovery and File Un-delete Utility.
Personally, some time ago I had an important disk to salvage, so I tried every
recovery tool in that list.
The only utility that recovered almost all the files was
MiniTool Power Data Recovery
(free version limited to 1 GB), where a guide is found
here.


The product
DiskInternals NTFS Recovery
seems to be specialized in NTFS. It is commercial and the limitations of the
trial version are not specified.


Another commercial product I have seen mentioned is
Restorer Ultimate Data Recovery
(demo trial available).


If all fails, and since you (should) have a backup of the VHDX, you could
re-format it as NTFS and run data recovery products.


Note that file recovery from a formatted hard drive is not always practical
when a file was stored over non-consecutive sectors and the file-table
is lost.
You may also lose all file-names, and in that case will have to identify files
or file-fragments by their content.


burning - Is there a lifespan for a dvd rom drive?



Specifically a liteon dvd multi recorder. Which can burn and read dvd's.
Is there a specific number of burns which you can use? And after that, the burner will no longer work?
Do you know of any useful tips on how to have a longer dvd rom lifespan?If it has really a lifespan.



Answer



Lifespan only depends on the environment. If there is much dust/smoke/dirt/etc it may break sooner.



Also if the Drive isnt used regularly (reading CD or DVD is enough), it will break sooner.


windows 10 - Disabling "System and compressed memory" (ntoskrnl.exe)



I am very exhausted by this. This program is destroying my computer. I have an ASUS G750 series laptop, which has 16gbs of RAM and a haswell i7 inside it. It is just a year old. I upgraded from Windows 8.1 to 10 in august of 2015, and have used it without too much problems for months. Then a couple of weeks ago this happened. My computer is constantly lagging, audio is glitching when I play music or video, games lag too. First I thought it is because of a bad habit I have, which is never turning off my computer. I always hibernate(sleep) it, or just leave it open for long amounts of time. I restart it once in a week or so. I usually have too many tabs open in chrome, so I am either too lazy to check all of them or they are just too important to be closed at the moment. Anyway. Yesterday I managed to finish all my work and close all the tabs, then restarted my computer. After the boot I went to youtube and started playing a video, then the audio and video glitched again. I opened the task manager and saw "System and compressed memory" on top of the list. I guess whenever I do something tasking on the CPU, it starts to work. I have observed a pattern in its behaviour. It is like a parrot. I performed a scan with my antivirus today, while keeping task manager open and and the update rate set to high. I saw that its disk usage is in synch with antivirus, just 1 second behind. This happens with everything else. It copies the behavior of the program that uses the most resources. I am too worried that it will wear out my beloved SSD, besides the lag and stuff. I have tried lots of ways to turn it off, disable it, or delete it through registry and services, but no avail. From what I have learned through forums, this process tries to compress what is in my memory. At the peak point of my memory usage (which is when I play GTA V) I use 8-9gbs of RAM, and that is just a few hours of gameplay, most of the time it sits at 6gbs max (and that is just because of the amount of tabs open in Chrome). So, where is the need here for the compression ? The hell, let it use all 16gbs, I want it. But no, as soon as I do something - anything at all - it starts riding my computer like a horse. So I am asking, please, someone help me. Is there ANY way, to end this program's existence, while keeping my OS ? Thanks in advance.


Answer



When analyzing the file, I can see that the CPU usage comes from the driver ignis.sys, which is part of Bitdefender AV suite



Line #, DPC/ISR, Process, Stack Tag, Stack, Count, TimeStamp, % Weight
50, , , , | | | | | | | | | | | | | | | | | | |- tcpip.sys!TcpTcbReceive, 37859, , 11,86
51, , , , | | | | | | | | | | | | | | | | | | | |- tcpip.sys!InetInspectReceiveTcpDatagram, 37713, , 11,82

52, , , , | | | | | | | | | | | | | | | | | | | | |- tcpip.sys!WfpTlShimInspectRecvTcpDatagram, 37709, , 11,82
53, , , , | | | | | | | | | | | | | | | | | | | | | |- NETIO.SYS!KfdClassify, 37684, , 11,81
54, , , , | | | | | | | | | | | | | | | | | | | | | | |- NETIO.SYS!ArbitrateAndEnforce, 37675, , 11,80
55, , , , | | | | | | | | | | | | | | | | | | | | | | | |- NETIO.SYS!ProcessCallout, 37666, , 11,80
56, , , , | | | | | | | | | | | | | | | | | | | | | | | | |- ignis.sys!?, 37660, , 11,80
57, , , , | | | | | | | | | | | | | | | | | | | | | | | | | |- ignis.sys!?, 37655, , 11,80
58, , , , | | | | | | | | | | | | | | | | | | | | | | | | | | |- ignis.sys!?, 35814, , 11,22
59, , , , | | | | | | | | | | | | | | | | | | | | | | | | | | | |- ignis.sys!?, 30047, , 9,42



enter image description here



Update or remove Bitdefender.


Friday, October 27, 2017

windows 7 - How do I preserve my internal HDD?

I have a Desktop computer, which I booted up after 5-6 months.



While using ir, updating Anti-Virus and other software. Voidtool's Everything.exe reported that there's some indexing problem in a folder, I was busy so I just OKed it.



Later I discovered that folder was reduced to 0 byte file. The system has 2 internal HDDs





  • 250GB for 64-bit Windows 7 Ultimate OS

  • 1TB for media and important stuff



My questions:




  1. I will be leaving for a long time again, what can I do to stop this aging process?

  2. Is it advisable to physically remove the 1TB HDD (until I can buy an Ex-HDD), if so what precautions should I take in storing it?







P.S. My home is kept clean, and no power outages are experienced

memory - UDIMM Ram is same as SD-RAM?

Little lost finding memory for a server. I need 2x4GBs that match the following:


2GB (1x2GB) or 4GB (1x4GB) of PC3-10600E DDR3 UDIMM


But the closest I found on newegg for example was Kingston 4GB 240-Pin DDR3 SDRAM ECC Unbuffered DDR3 1333 (PC3 10600) Server Memory Intel Model KVR13E9/4I


Are they the same?

How to hide text formatting popup (Mini Toolbar) in Microsoft Word 2007


In Microsoft Word 2007 when you select a piece of text, a pop-up toolbar will display containing the common font formatting tools like font-name, font-size, bold, italic, etc. (The Mini Toolbar.)


Is there a way to prevent this pop-up from showing when you select text?


Answer



Hit the Office button.


Choose Word Options.


In the "Options" → "Popular" window
("Options" → "General" in newer versions of Word),
uncheck the "Show Mini Toolbar on selection" option:


Word 1909 Version


windows - rename (or move) folders, subfolders and files on specific path

I have a function (.bat) to search and rename (or move) any folder with a specific name folder (call "data"), with all its contents intact, on a specific path (path:\ Is the specific route like c:\ or h:)


I need to simplify it and make it work.


call:test "TEST1"
call:test "TEST2"
:: funcion test
@echo off
pause
goto:eof
:test
set test=%1
CD /D path:\
if exist "%test%" (goto make) else (goto end)
:make
MOVE /Y "%test%" data
FOR /F %%x IN ("%test%") DO REN "%%x" data
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S "%test%"') DO MOVE /Y "%%G" data
:end
echo OK
goto:eof

The TEST1 and TEST2 folders contain many files and subfolders. The problem is that i use three commands to do this work and not 100% works.


 MOVE /Y "%test%" data
FOR /F %%x IN ("%test%") DO REN "%%x" data
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S "%test%"') DO MOVE /Y "%%G"

I need to rename the folders TEST1 and TEST2, wherever they are within the path (may be in the root or in subfolders. Both should be renamed (merged) as "data").


Example: The TEST1 and TEST2 folders have content (files and subfolders). The ".bat" search into the path to find TEST1 and when it finds renamed TEST1 with "data". Keep looking and find TEST2 and rename as "data" too without asking.


But, in the case of both folders (TEST1 and TEST2) are within the same location, both should be merged (one overrides the other). The important thing is to do it without asking.


But "MOVE /Y" does not overwrite folders (only files). I think the solution could be that instead of overwriting, rename the file or folder duplicate to avoid this failure command


Note: Previously i used Robocopy with "move" option...


SET MoveDirSource=path:\"%test%"
SET MoveDirDestination=path:\data
MKDIR "%MoveDirDestination%"
FOR %%i IN ("%MoveDirSource%\*") DO MOVE /Y "%%i" "%MoveDirDestination%\%%~nxi"
FOR /D %%i IN ("%MoveDirSource%\*") DO ROBOCOPY /MOVE /E /W:5 "%%i" "%MoveDirDestination%\%%~nxi"

But it is not viable, because robocopy, first, copy from source to destination and then removed at source. And if TEST1 or TEST2 folders have 2 or 6 GB of information, this process can take hours.


Thanks a lot

Confused about Windows 8.1 MSDN update

I've just installed Windows 8 from an MSDN ISO, activated with a DreamSpark key, and updated. Now the store shows the free update to Windows 8.1, but as far as I know, it shouldn't be available for MSDN Win8 installs.
Does anyone know whether I'm safe to try to run the 8.1 installer? Will it work with my activation code? I don't want to mess it up, it's a one-time activation.

windows 7 - problems with WindowsImageBackup and write protected drives

On Windows 7 I created a System image of my computer (C: and reserved partition) onto a USB drive. No problem.



I then formatted the C: and installed the OS -- no problem



Now I would like use the System Image and get back some of my documents etc. But I can't get access wo the WindowsImageBackup folder on the USB drive

1) Somehow the drive is write protected --- how did that happen? How do I unprotect that drive.
2) I can't access the WindowsImageBackup folder because I suspect the ACL is out of wack with my new SID. I would add my new SID to the ACL but I can't because the drive is write protected



At the moment I'm completely disconnected from my files, which I thought (and still hope) are backed up. Understandably, panic is now setting in.

microsoft excel - How to find names that appear in one sheet but do not appear in another sheet?

How can you find the names from a name list in sheet 1 that do not appear in the name list from sheet 2? The lists do not contain any number. There are only 2 names lists in two different sheets. Some names coincide in both lists but some do not. We want to know which don't. If there is a formula I would highly appreciate!

authentication - How to reset the postgres password on mac os x

I installed postgres on my mac running 10.6.8 and I would like to reset the password for the postgres user (I believe this is the password) and then restart it.


All the directions I found do not work because I think my user name is not recognized by pg as having authority to change the password. (I am on the admin account of my mac)


Here is what I tried:


Larson-2:~ larson$ psql -U postgres
Password for user postgres:
psql (9.0.4, server 9.1.2)
WARNING: psql version 9.0, server version 9.1.
Some psql features might not work.
Type "help" for help.
postgres=# ALTER USER postgres with password 'mypassword'
postgres-# \q

and for restart I did:


Larson-2:~ larson$ su postgres -c 'pg_ctl -D /opt/local/var/db/postgresql84/defaultdb/ restart
>

Which didn't work, as the password remained the same as it was before. Can someone provide directions for doing this and for making sure it's recognized by PG?


Update


I went ahead and edited the pg_hba.conf file located in /Library/PostgreSQL/9.1/data and set the settings as follows:


# TYPE  DATABASE        USER            ADDRESS                 METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust

However, like before, the password stayed the same after I changed it. I am not sure what further steps I can take from here.

Keyboard shortcut to close the Firefox Web Console?



What is, or how can I get, a keyboard shortcut to close the Firefox Web Console?



The console is opened with CtrlShiftK and used to close with F12.
However, Firefox developers seem to have busted the F12 shortcut, in the latest releases, and now the only way to close the console is with the mouse?!




Mozilla's Web Console -> Keyboard shortcuts page doesn't list anything useful for this.






Currently on Windows 7 and Firefox 48.0.2 -- although FF 47 had the busted shortcut too, IIRC.


Answer



Try CTRL SHIFT I (i as in ivan or eye) :-) C-S-I ... anyway it also Opens the developer tools window.



Personally recommend switching to an ESR branch if not already there. Extended Service Release ... they don't "do stupid" as quickly as the regular FF branch. and by "do stupid" I mean less oddities like this appearing for no reason.




If it happens on specific pages, you may be getting interference from the site's css or other tricks to try to stop users from seeing code.


Free/Open Source mail server that supports arbitrary names (same domain)

I have seen in some websites that lets you send a mail to an arbitraryString@mydomain.com and it still gets delivered. Note: Of course the domain name would be the same. I am sorry I don't know the correct terminology to be used in this question.




I am handling a test automation scenario for a certain website and I need to generate random email addresses for the registration process. Then I want to access that email using POP and see if the registration confirmation email is received.



So the only possibility is to run our own mail server and let all the mails to be directed to that server.



The only issue is the generation of email addresses. As 100's of test cases are run every day, we want the randomly generated email addresses to be valid, working and accessible from code.



What is this functionality called? Virtual addresses ? Aliases? And most importantly, what free/open source mail servers support this functionality?



UPDATE: I just found out about the catch all account. This sure sounds good but the issue is that emails generated from all the test cases will be directed to this email address. It would be better if I can access the received emails per email address basis.

Thursday, October 26, 2017

partitioning - I used the 'dd' command to put a Linux image onto a flash drive, and it changed the flash drive's properties. How can I undo it?


When I dd'd the image onto the flash drive, somehow it changed it from an 8GB flash to 859MB. I don't know what I did wrong, but I don't really need to. I booted from a different flash drive.


The issue is that now that I've erased everything off of the flash drive, it has remained 859 MB with 4 unremovable partitions. Last time, I changed the file system of the flash from my windows PC and it eradicated the partitions and reset the flash drive, but I don't remember what I did.


Anyone have any ideas?


Answer



Windows doesn't handle multiple partitions on removeable USB drives very well. Clearing the partition table entirely and reformatting is the easiest.


You can clear the partition table with diskpart CLEAN, referenced here.



At a command prompt, type: Diskpart.exe


At the DISKPART prompt, type: SELECT DISK X



Make sure you select the right disk. Use LIST DISK to see and check against your flash drive's capacity and double check the drive letters.



At the DISKPART prompt, type: CLEAN ALL (The CLEAN ALL command removes all partition and volume information from the hard drive being focused on.)


At the DISKPART prompt, type: EXIT



Crysis on Windows 8.1 triggers low-memory warning


A more specific case of "How do I make the Windows low memory warning less sensitive?". Please don't migrate this post to Arqade; I was directed to post this question here from Arqade.




I just got a new top-of-the-line Sager/Clevo laptop running Windows 8.1 Pro, and it passes the Crysis (2007) benchmark maxed out with flying colors. However, I'm getting low-memory warnings from Windows:



Close programs to prevent information loss


Your computer is low on memory. Save your files and close these programs:


Crysis.exe



Crysis is definitely not using an inordinate amount of memory. According to the Task Manager, the system has 8 GB of RAM of which less than 3 GB are in use, with Crysis having allocated only 218 MB of memory. Obviously, this warning is not justified. Why is Windows giving this warning, and what can I do?


The specifications of the Dragon as follows:




  • CPU: Intel Core i7-4800MQ, 4 cores (8 threads), 2.7 GHz

  • GPU: NVIDIA GeForce GTX 780M, 4GB GDDR5

  • Memory: 8GB DDR3 1600 MHz (2x4GB)

  • Storage: 750 GB 7200 RPM hard drive

  • OS: Windows 8.1 Pro 64-bit



Answer



From http://www.overclock.net/t/1409290/windows-8-can-i-disable-the-memory-warning:




  1. Click Start, click in the Start Search box, type gpedit.msc, and then press Enter. MMC will start with the Local Group Policy Editor open.


  2. In the navigation tree, expand Computer Configuration, expand Administrative Templates, expand System, expand Troubleshooting and Diagnostics, and click Windows Resource Exhaustion Detection and Resolution.


  3. In the console pane, right-click Configure Scenario Execution Level, and then click Properties.


  4. On the Setting tab, select Disabled, and then click OK.




Wednesday, October 25, 2017

microsoft excel - Color Cell Based On Text Value



An Excel column contains a text value representing the category of that row.



Is there a way to format all cells having a distinct value a unique color without manually creating a conditional format for each value?



Example: if I had the categories bedroom, bedroom, bathroom, kitchen, living room, I would want all cells containing bedroom to be a particular color, bathroom a different color, etc.


Answer





  1. Copy the column you want to format to an empty worksheet.

  2. Select the column, and then choose "Remove Duplicates" from the "Data Tools" panel on the "Data" tab of the ribbon.

  3. To the right of your unique list of values or strings, make a unique list of numbers. For instance, if you have 6 categories to color, the second column could just be 1-6. This is your lookup table.

  4. In a new column, use VLOOKUP to map the text string to the new color.

  5. Apply conditional formatting based on the new numeric column.


Can I use a router to share a LAN internet connection that requires an HTTP proxy?


At the office I've got one LAN cable, and internet access is through an HTTP proxy listed in the browsers connection settings (automatic proxy configuration URL). Loading the browser triggers a username/password request, and then you're good to go.


What I'd like to do, for my own convenience, is stick my little Linksys Compact WRT54GC router on that LAN cable and broadcast a wireless signal for X devices to use. Having been replaced by beefier hardware at home, the linksys router is otherwise purposeless.


Poking around in the router's web config, I didn't see any option to list an HTTP proxy and U/P set. Is it possible to pass this requirement through to the end-client? Simply plugging it in and setting it to DHCP is not successful. When I connect wirelessly and open a browser with the proxy config URL set properly, I am not prompted for the U/P and cannot browse.


Thank you for any help you might be able to offer!


Answer



Figured it out!


By setting a static IP on the router to match the IP the company's LAN handed me, I can pass the access through to the wireless clients.


Tuesday, October 24, 2017

Why and when does a quick format to FAT32 write different structures to sector 0 on a USB flash drive?



Introduction: For a research project I am trying to write a bootloader to a USB flash drive. After some experimenting, I succeeded to do this. I would like to know how I can reproduce this.




What I did: Recently I bought a new USB flash drive and opened the physical disk in HxD (a hexadecimal editor for Windows). It was already formatted as FAT32, but sector 0 had a completely different structure than described on this webpage



On this webpage it is clear that there are two strings present: MSDOS5.0 and FAT32. Both of them were not present in sector 0.



After experimenting and trying to quick format the drive in Windows to FAT32 the default way, sector 0 remained having different structures than the one described above. When I tried to quick format it again after using mkisofs for Windows and writing the ISO to the USB Flash drive using PowerISO, the structure of sector 0 finally changed to the one described above.



My question: Why did it change? And how can I reproduce this for new USB flash drives?



Edit: I need the sector to be in the same structure as described on the webpage for my project.


Answer





I am trying to write a bootloader to a USB device.




"USB device" is ambiguous. There are USB video and audio devices as well as various storage devices.
By "USB drive" you presumably mean a USB Flash drive, rather than a USB HDD (which always has a MBR in the first sector, rather than a filesystem boot sector).




It was already formatted as FAT32, but sector 0 had a completely different structure than described on this webpage





The Flash drive seems to have a MBR (Master Boot Record) with a partition table (in sector 0), and the FAT filesystem was located in a primary partition.
As that webpage mentions, those are sector dumps of boot sectors, which are installed in the first sector of a filesystem which would normally reside in a partition (or the first sector of a floppy diskette).




And how can I reproduce this for new USB drives?




I can install the filesystem boot sector in sector 0 of a USB Flash drive by





  1. zeroing out any MBR in sector zero. On a Linux system issue
    sudo dd if=/dev/zero of=/dev/sdX count=64
    This maybe the crucial step, especially if there is already an MBR. I don't know how to do this step on Windows.


  2. Use Windows to format the USB Flash drive (Windows will insist on formatting it before you can use it anyway). I used Win7 to 'quick format' the drive to get the results below.




The resulting sector 0 on the USB Flash drive resembles what you want (i.e. it's not a MBR and there's no partition table).
enter image description here



Addendum





I am not sure if I understand the difference between an MBR and a Filesystem boot sector correctly




The Master Boot Record, MBR, is installed in the first sector of a PC- partitioned mass storage device. At the tail end of the sector is a partition table that divides the device into smaller logical devices. One partition will be marked "active", and the boot code in the MBR will load and execute the first sector of that "active" partition.



The first sector of a bootable partition (or the first sector of a floppy diskette) contains a bootloader. The filesystem installed in that partition will have appropriate code in that first sector to continue the boot process when an OS is installed.
When there is no installed OS or next boot program to load (e.g. BOOTMGR), the bootloader outputs text that indicates that this is not a bootable device/partition (e.g. "Remove disks or other media. Disk error. Press any key to restart.")



IOW you want the USB Flash drive to resemble a super-high-capacity diskette instead of a (partitioned) HDD.
Beware of filesystem limits, e.g. the most portable filesystem, FAT32, is limited to 32GB.



FYI I'm cognizant of this quirk with USB Flash drives and SDcards because the omission of the MBR & partition table renders such storage media unreadable on some Linux embedded devices (that expect partitions). Tutorials on initializing bootable VFAT media for embedded Linux often specify partitioning & formmatting on Linux to avoid this Windows quirk.



partitioning - Pen-drive / USB-Drive not working after installing ubuntu in it


I put in ubuntu in pendrive and made pendrive bootable by unetbootin. Now the pendrive doesn't work anymore due to that, it is not opening, when I put in windows OS, it doesn't show its total space and free space, it says Total Space: 0MB, Free Space 0MB and its not opening.


I tried all possible softwares like SD Formatter, Yumi, PW (partition wizard), windows disk management, etc. but nothing has been successful, tried formatting from CMD too, nothing is able to format it or read it. Please help.


edit:
I used gparted and it is unable to detect usb-flash drive.
It detects two drives.. one sda1 20gb and other is sda2 200gb, but my USB-Flash Drive is 8GB only. It was not able to detect it and USB port is working fine.


edit#2:
On Linux
dmesg (without the USB):
http://pastebin.com/R8UMMnrD


dmesg (with USB Drive Inserted):
http://pastebin.com/ZCnymsUu


Screenshot of gparted: (I can't post more than 2 links, so here is the link which you cannot click, just copy paste in browser)
i.imgur.com/72UCk72.png


edit #3:
I tried command fdisk in ubuntu:


It says me this:


Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel with disk identifier 0x22ea62b2.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):

edit#4:
After running command sudo dd if=/dev/zero of=/dev/sdb i got following:


dd: writing to ‘/dev/sdb’: Input/output error
8193+0 records in
8192+0 records out
4194304 bytes (4.2 MB) copied, 2.57164 s, 1.6 MB/s

Still no solution...


edit #5:
I am unable to create partition table. I get this error on all softwares like gparted.


Edit:#6


It says me this: (dmesg after dd)
pastebin.com/dq6ACvKc


Then I tried second solution:


sudo mkfs.vfat -c -F32 -I -v /dev/sdb

And I got this error:


mkfs.fat 3.0.26 (2014-03-07)
/dev/sdb has 239 heads and 62 sectors per track,
hidden sectors 0x0000;
logical sector size is 512,
using 0xf8 media descriptor, with 15131636 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 14749 sectors, and provides 1887763 clusters.
There are 32 reserved sectors.
Volume ID is 6a9b70f8, no volume label.
Searching for bad blocks 4080... mkfs.vfat: bad blocks before data-area: cannot make fs

Looks like no software can help, is there any way that I may reset the pendrive from hardware by physically opening it?


Answer



Your USB key might be dead if you're getting an I/O error… Look at what dmesg says after trying the dd command again.


Another thing you can try is creating a filesystem on the whole memory (and checking bad sectors with -c):


mkfs.vfat -c -F32 -I -v.

build - What speed will my RAM run if my system memory spec is 2933MHz and the RAM is 3200MHz?


So I’m about to build a new PC, my 1st. I plan on buying a Ryzen 5 2600X. The thing is that I want to pair it with 16GB, 3200MHz of RAM. The specs of the CPU say that the system memory is 2933MHz and from what I know (which is not much) the motherboard dictates the maximum speed at which RAM runs.


I have read a few forums and they confused me more than helping.


They claimed that the ram will be reduced to the 2933MHz and I also saw something about overclocking; as in its possible to use the full extent of the RAM even if exceeds the specified limit.


Again from what I know the motherboard is responsible for what the RAM does I just don’t know/understand what that 2933MHz of the CPU means in the context of the RAM.





  • 4 x DDR4 DIMM sockets supporting up to 64 GB of system memory
    Dual channel memory architecture

  • Support for DDR4 3600(O.C.)/3466(O.C.)/3200(O.C.)/2933/2667/2400/2133 MHz memory modules

  • Support for ECC Un-buffered DIMM 1Rx8/2Rx8 memory modules (operate in non-ECC mode)

  • Support for non-ECC Un-buffered DIMM 1Rx8/2Rx8/1Rx16 memory modules

  • Support for Extreme Memory Profile (XMP) memory modules


That is what the datasheet of the motherboard says, now, its obvious that the motherboard can take it, but the CPU's datasheet says:



"System Memory Specification 2933MHz"



Now, it might have nothing to do with RAM and I might just have misunderstood, if that’s the case then please explain what those 2933MHz refer to.


Answer



The 2933 MHz is the native speed that the CPU officially supports.


Nothing stands against being able to use faster sticks with no drawbacks. For faster speeds you just need a motherboard that can support the desired speed. In your case your motherboard and support 3200 MHz if it's overclocked just a bit.


In the event you don't overclock, your RAM would be basically the same speed. The speed reduction comes down to less than a nanosecond. To calculate the speed difference of the RAM you want, take the CAS Latency/MHz then multiply that by 1000. That will get you the time in nanoseconds.


Move my windows 2003 vps server to my own location

I am paying for a company to host my VPS. It's windows 2003 standard server. I'd like to host it myself at my office now that my internet account has been vastly upgraded.


Is there any way that from within the windows install that I can create a clone of the system and download it to my server. My host does not offer this type of feature/service.


I am running VirtualBox on my office server for a few other virtual machines and would love to add this paid one to the mix.


I have heard of people using ssh and tar'ing their Linux servers...but will that work if I install Cygwin on the win 2003 server?

windows 10 - My Hard Drive Hates Linux

Recently I was using my external NTFS-formatted 3TB HDD on my Linux OS again, as I always do. Nothing out of the ordinary.
At some random point I received an Input/Output error when trying to access files. I tried to do other things on the drive, checked more files and it was really slow and it felt like I was dealing with the last living hours of my almost dead hard drive. Therefore I started to rsync my newest changes to the backup drive. Sadly I had to restart the computer at some point which led me to rsyncing once again, but this time it got stuck on a certain folder on the drive which gave Input/Output error again as the output of rsync's error log. I reran rsync more and more and it always got stuck on this folder.
Before I tried to rsync, after I realized something is wrong with the drive I wanted to smartctl it, but it always failed with



Read Device Identity failed: scsi error medium or hardware error (serious)
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.



which gave me even more the impression that something was seriously wrong with my HDD. Again, smartctl (with different arguments each time) didn't work for me, at all and it seemed like my HDD is still barely breathing and I wondering about what to do next before it completely dies off. (Note: SMART worked in the past 100%. It is also enabled in BIOS.)




Now that happened all on LINUX. On a Debian testing based derivative, to be more precise.



So let us change to Window's view now:
At some point in the middle of the aforementioned sequence of events I changed to Windows again and ran a CHKDSK, which repaired a couple of errors. Re-running this didn't find any new errors. Also a couple of months ago before this happened I knew that this HDD received exactly 600 uncorrectable sectors. I monitored them and it always stayed at exactly this number.



Now what did Windows say after all that happened?
I rebooted into Windows to check if at least Crystal Disk Info works or if one of the NTFS-native Windows tools could help me out better.
Oh wonder, Crystal Disk Info actually worked. Without even taking long or anything like that. And even more astounding: the only thing wrong with my hard drive was still the exact same amount of 600 uncorrectable sectors. I was expecting some dead piece of metal being in the deep reds of SMART-ville while gaining hundreds of new uncorrectable sectors each minute.
But that didn't happen.




In fact on Windows (almost) everything went fine. The HDD wasn't slow. I could do file operations with it, as usual, etc. The only problem that actually migrated (partially) is the folder from earlier that gave an Input/Output error when trying to rsync. I couldn't even manually delete or move it when in Linux. But hero Windows 10 saved the day by letting me actually delete this whole folder after archiving it. It took a while, but it worked.



So here are my questions:




  • What could the possible reasons be for this to happen?

  • Why is Linux telling me that the hard drive is so broken that I can't even SMART it while a Windows program can?

  • Why is the hard drive very slow and annoying when booted into Linux but working pretty fine on Windows?




I want to understand this...

windows - SATA to USB Hard Drive Not Being Detected

So my old desktop computer crashed and I removed the hard drive and bought a SATA to USB adapter to plug into my MacBook to get the data off of my hard drive but I am on my second wire and it still is not being detected? What could be the issue? I even tried to connect it to a Windows PC but it was still not detected.


Here is my drive and the wire I have:


Image of wire

Monday, October 23, 2017

Windows 7 memory management


I have a Lenovo X201s with i7 L620 @ Ghz and 4Gb Ram
Windows 7 Professional 64bit is installed on it and
all 4Gb is visible from task manager and all other system tools


Virtual memory is set manually for initial 4096Mb and max 8192Mb
There is 22Gb free space on the one and only local disk where its configured.


When memory usage according to task manager reaches about 3.18 Gb (83%)
the machine starts to swap heavily and becomes very unresponsive.
Resource monitor says:


HW reserverd 205Mb
In use 3262Mb
Modified 6Mb
Standby 606Mb
Free: 17Mb


Available 627Mb
Cached 623Mb
Total 3891Mb
Installed 4096Mb


After a clean boot I have 1.2Gb used memory according to Task Manager
and 1.7Gb used after all memory hogs like skype and desktop gadgets are
loaded.


I have checked through fully with nod32 virus scanner (nothing found),
made sure that all the latest Updates are installed, ran memtest86+ overnight
(no errors)


I know Im not really using the memory too sparingly, can get carried
away with the number of browser tabs open and usually I have openoffice
or some other application running as well with some other utilities,
like calculator, notepad, winamp. However I just feel this is not really
out of ordinary extreme usage and 4Gb seemingly insufficient to handle it
surprises me.


My questions are the following:



  1. Does the above way of operation (starting to swap around 80% of usage)
    seem correct, or is something wrong with my system? If something is wrong
    how can I trace it down? What are the most common fixes for similar situations?


  2. If the system operates fine. Is there a way to improve the situation
    without changing my habits of using the machine (ie. avidly closing applications
    and browser tabs before I open new ones) or buying more RAM?
    I found http://www.koshyjohn.com/software/memclean/
    to be useful. I tried to track down what windows service could I disable which
    I do not need and consumes memory (I disabled quite a few already)



Answer




  1. Yes this is normal.

  2. If you really want to you can 'fix' this by disabling the page file. There are no good reasons to do that in your situation (and some would argue in any situation), so just leave it alone.


windows 7 - system properties/explorer crashing - ntdll.dll

Every time I open System Properties explorer crashes. I'm working on getting Windbg to get a better reason behind it but here is the Event Viewer log for now.



Faulting application name: explorer.exe, version: 6.1.7601.23537, time stamp: 0x57c44efe
Faulting module name: ntdll.dll, version: 6.1.7601.23915, time stamp: 0x59b94ee4
Exception code: 0xc0000374
Fault offset: 0x00000000000bf3e2
Faulting process id: 0x1218
Faulting application start time: 0x01d353bbc088d711
Faulting application path: C:\Windows\explorer.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 0f8b0361-bfaf-11e7-a61c-101f74c6c2a1



Here is a link to the "Report.wer" Whatever that is.


I just checked the event viewer again and ntdll.dll has been causing problems with not only explorer but "DllHost.exe", "Fuel.Service.exe"(AMD Graphics related) and "HPSFUpdater.exe" Other than that I've been having this error about my Bluetooth adapter that could be related



Faulting application name: CsrBtOBEXService.exe, version: 2.1.63.0, time stamp: 0x4f68683b
Faulting module name: CsrBtOBEXService.exe, version: 2.1.63.0, time stamp: 0x4f68683b
Exception code: 0xc0000005
Fault offset: 0x0000000000006f58
Faulting process id: 0x6ac
Faulting application start time: 0x01d35049edb6d03b
Faulting application path: C:\Program Files\CSR\CSR Harmony Wireless Software Stack\CsrBtOBEXService.exe
Faulting module path: C:\Program Files\CSR\CSR Harmony Wireless Software Stack\CsrBtOBEXService.exe
Report Id: 85cedec4-bc54-11e7-85a6-101f74c6c2a1



I have tried sfc scan and chkdsk and didn't do anything.


Any help would be greatly appreciated. Thank you.


P.S. I just found out I can't even download the Windbg because ntdll.dll won't let me install Visual Studio!

Media storage and losing a drive (Drive Bender vs Raid* vs storage spaces)

I need to expand my media storage and am looking for a new solution. I have been using Drive Bender for JBOD with parity. The first time I lost a disk, the entire volume was unrecoverable. It has been about 2 years and one of my drives is dying and I want to save my media before the drive goes out entirely.




I'm done with Drive Bender. It consumes a ton of CPU, and requires a complete uninstall to upgrade to the new version.



My goal is to pick up a number of 4/6/8 TB WD and/or Seagate NAS drives. I have done a lot of research on the different options and I feel like I'm not coming up with any good options especially concerning drive failure. I don't care enough about my data for full mirroring or anything, but I also don't want a single drive to take out everything. I would like parity, but not losing everything in one go is more important. Ideally, the drives could appear as a single volume to make organization easier.



Research so far:



Drive Bender - No faith in this solution



Building a linux server isn't an option.




Raid 1 - too costly



Raid5 - looking at 6TB drives in a 4 port hardware card. Since they spin at 5400rpm, sata II cards should work however I haven't found any that support large drives. sataIII cards are $$$. Also rebuild time on a 6TB drive is dangerous.



Raid6 - way too expensive to get a 8 port card and eat two drives for parity



PCI Hardware JBOD - Looks like a single failure kills the pool, also $$$



Storage spaces - Looks the best right now, but I haven't been able to find out if the disks are readable outside of the volume when using JBOD or what the volume looks like after a drive failure. Also curious about CPU overhead on JBOD and parity modes.




Just mounting the drives - organization will be painful



Size of drive is somewhat based on the solution(i.e. PCI card needed)



Additionally I would transferring current data to the new volume, then rebuilding some of the old drives into a secondary volume, so any PCI cards would probably need to be purchased twice.



Thanks for your help



NOTE: CPU usage is a concern. I was smart enough to get in on the last round of 1150 socket chips, so upgrading CPU would be a whole thing. Memory is not a concern.

Can I transfer a Windows 7 license to another computer?






I was thinking of buying Windows 7 Ultimate to be installed on an old computer. In due time, I will be giving this old computer away.


The question is:



  • Will I have trouble transferring the Windows 7 Ultimate license to another PC?

  • If yes, do I need to watch out for any issues?

  • What exactly is Microsoft's stance/policies towards license transfers?

  • How many times can I transfer before it becomes illegal?


Answer



If you are purchasing a "retail copy" from a shop, you should not have any problems transferring it to another computer.


If you do run into a problem activating (which occasionally does happen) simply calling the Microsoft activation line (number given during the activation wizard) will allow you to activate it with a special code that you type in.


How to map a date to a range of dates in excel?


I have 2 sheets in excel.


One field has date fields.


for example A-1 Date1


2nd sheet I have a date ranges with Ids.


A-1 StartDate A2- EndDate A3-Date Range ID


I need to create a new field on the first sheet that will contain Range ID of the Date1 .


For Example on 2nd sheet I have range A1-May 1 2017 A2-May 30 2017 A3-7


On the first sheet A1-May 3 2017. So I want to have a new column on my first sheet that will have value 7.


How can I do it in excel?


Answer



As already stated by @Ron Rosenfeld if range in Sheet2 is inclusive of all dates in Sheet1 and there's no overlap, simple VLOOKUP should work. However if your Date RAnge in Sheet2 is not nessasrily in ascending order and with gaps in between and possibly overlap. Try this solution. The limitation is that it shall return the first Range ID for the dates range where data from Sheet1 is found to be within range.


In this example Sheet1 has Dates in Column A1:A10. Sheet2 has Start Date in A1:A7 End Date in B1:B7 and Range ID in C1:C7.


In Sheet1 Cell B1 put the following Array Formula.


=IF(ISERROR(INDEX(Sheet2!$C$1:$C$7,MATCH(1,IF(A1>=Sheet2!$A$1:$A$7,IF(A1<=Sheet2!$B$1:$B$7,1,0)),0))),"Not Found",INDEX(Sheet2!$C$1:$C$7,MATCH(1,IF(A1>=Sheet2!$A$1:$A$7,IF(A1<=Sheet2!$B$1:$B$7,1,0)),0)))

After this Press CTRL+SHIFT+ENTER Key to make it an array formula. You shall now see the formula wrapped in curly braces in the address bar. Now Drag it down up to desired rows. Now Column B shall fetch the respective Range IDs from Sheet2 where the date in Column A falls in the range.


The formula is based on checking nested IFs to return an array of TRUE,FALSE based on the matching range and use an outer INDEX-MATCH to fetch the first position of matching 1 and return the value at that position from Range ID column.


enter image description here


enter image description here


Are there any performance benefits to fully formatting a hard drive (vs. a quick format)?


so I have a 1TB HDD, and here's my question:


Is it worth doing a hard format? Does it have any performance variance from say, quick formatting?


I understand the technical difference between the two: quick formatting just tells the drives that all the sectors are writable, and doesn't really delete any data... The drive just writes over existing sectors as and when needed, while a hard format will clean the HDD completely, and wipe all data, (write 0's everywhere I think).


Answer



A full format does not just clean the partition table data, it also checks every sector on the disk surface for corrupted ones. This is primarily why it takes so much longer to perform then a quick format. A quick format just rewrites the partition tables.


From a performance standpoint, there is no difference. When the HDD writes a file to the disk, it just finds the next available "free sector", and overwrites whatever is there (regardless of whether or not it is a 0 or a 1). Think of it like this: a quick format just "deletes" all of the files, whereas a full format performs a sector check of the drive surface, and depending on the formatting utility, may fill the drive with zeroes (the default format utilities included with Windows do not zero-fill the drive. Most disk manufacturers provide diagnostic utilities which include the ability to do this.




If the drive is brand new, you should be fine with a quick format. If the drive has corrupted sectors (or even if you think that it does), it would be worth your time to do the full format. If you want to play it safe, ensure that you do at least one full format to the drive. That should reveal all bad sectors, and from then on, you can just do quick formats.


networking - Troubleshooting odd Windows 7 network issue



I have a Dell Studio XPS 9100 running 64 bit Windows 7.




Yesterday, after a reboot, networking completely stopped working. The computer in question was connected by ethernet to a Linksys Wired/Wireless router which is attached to my cable modem.



The computer can obtain an IP address from DHCP, but it is unable to connect to the internet. Running Windows diagnostics suggests that I should power off the router, which I have attempted with no success.



Other relevant things that I have tried:




  1. List item

  2. I can ping the loopback address and the address that I get from DHCP. I cannot ping the gateway (the IP address of the router).

  3. I have plugged another computer into the same ethernet cable, so it is not a cable problem.


  4. I have tried other ports on the router.

  5. All other machines/internet devices going through this router work fine.

  6. I have attempted to clear/reset the TCP stack with "netsh int ip reset reset.log" as well as resetting winsock with netsh.

  7. I attached a USB wifi card to the computer. The wifi card was detected, installed with current drivers, claimed that it was working correctly, but could not see any networks. Other devices in my home can see roughly 5 networks (mine plus neighbors).

  8. Rebooting in safe mode with networking will allow the computer to connect to the internet.

  9. I'm currently rebooted into a minimal configuration using msconfig.



Is there anything else I can try, other than turning on every service and application on one at a time and rebooting to try to figure out what's clobbering my network?


Answer




If you have mcafee or Norton Internet security try uninstalling and see if connectivity is restored



Disabling in my experience did not work. Required full uninstall.



Then run any windows updates then reinstall.


macos - How do open a HTML file as text on OS X?


How do we open a HTML file on OS X?


I tried open with TextEdit.app but it shows me the HTML page not that HTML source! Even when I put it as "text only" it doesn't work (it just takes the HTML page and strip off everything but the text, which apparently isn't the source code that i would like to view)


Btw I do not wish to download anything extra just to view the source of a HTML page.


Note, I do know that I can open the file in a web browser, select view source, then select all, copy, then open TextEdit.app, then paste. That's way too much work.


Answer



When you're opening the file in TextEdit (with the File -> Open dialogue) check the "Ignore rich text commands" checkbox. You can make this the default in the "Open and Save" tab of TextEdit's preferences (the very first checkbox "Ignore rich text commands in HTML files") so it'll work if you just drag a file onto the icon or control-click and do "Open With".


Sunday, October 22, 2017

windows 8.1 - Bitlocker password and recovery key not working with external drive

This is long but I have looked to provide full detail, in short my Bitlocker password and recovery key don't work - even though my password does work in a 3rd party utility.


Issue



  1. I was encrypting an external 2GB SeaGate drive when the power supply
    to my pc was unplugged.

  2. On restart I was unable to access the external drive with the
    bitlocker password i had just entered - while I found this strange
    as I knew what the password was - I figured I would just use
    recovery key.


Password didn't work


It didn't work. Which surprised me as the given the Key ID was clearly the same - see below.


enter image description here
enter image description here


Drive Error


It was noteworthy was that after one false attempt with the right password and right recovery key, an x8007007a error was prompted


enter image description here


This same error had been experienced by other SeaGate users but no solutions were reported. The closest I found was this error that related to a failing drive.


Next steps


Further googling led me to



  1. The BitLocker command line tool (password failed to unlock)

  2. A utility from M3 Data Recovery


The M3 Data Recovery didn't access initially, but when I unplugged then plugged back in the SeaGate drive (which removed the error message re a drive error), my password did work. But this is only for the first 1GB of files, and I don't need the files badly enough to shell out $200.


From a purist sense I'm surprised that my password work in the utility but not directly, are there reasons for this and is there anything else I can try?

windows 7 - Can't shrink partition due to mystery file

My system came with win xp. I installed Win7 in a separate partition, volume E. That was a while ago. I don't need xp anymore and now I want to shrink the C partition so that I can grow E. I deleted most files from C but since the boot manager is there I'm not totally deleting the partition. However I cannot shrink the partition because of a system file that's at the end. FSUTIL reports that the file name is "$LogFile::$DATA". I can't find it using any method I know of, I don't know what it is, but I want to get rid of it. What is it, and how can I delete it or otherwise shrink the partition?
Here's what I have now:




pic1
pic2

Replace windows primary hard disk without reinstall?

The "official" way to upgrade the primary hard disk of a Windows machine seems to be to install the new drive, install windows, install backup software, then do a restore from backup of the previous system.


For home use and for the sake of doing it faster, is there another way? There doesn't seem to be a standard way of making a disk other than the primary one bootable, which is a nuisance.


I've tried "install new hard drive, copy image of partition over and expand it using a gparted boot CD, remove old hard drive", but that leaves me in a strange state where windows boots OK but doesn't go to the desktop, instead going to a logo screen. CtrlAltDel does nothing at this screen. This happens even in safe mode.


I have with this home system what appears to be a Windows OEM CD (XP home sp2) that isn't bootable, which is odd.


Edit: I think the "clone and replace" using systemrescuecd does work, I'm sure I've done that before, but only if the drive is on the same controller. In this case it's IDE->SATA, which is probably the problem.

Trick PC into having a physical and virtual DVD Drive

At school, I've got a server running to which I can make a VPN. Now, I need to set up a few VM's with all having a need for a different OS.


I can't physically go to school to change a boot DVD, so I need a way to trick that server into thinking it has two DVD drives plugged into it. One is a physical one, the other (preferably) a mounted ISO file, so I can use both as boot DVD for the different VM's. (Say Ubuntu Server for some ones and Windows 7 for others).


Is there any way of doing this?


Regards

partitioning - Creating exFAT partition (for PC & Mac) alongside bootable HFS+ partition?


I have an external hard drive with a bootable HFS+ partition on it. I have unallocated space on this drive that I want to create a new exFAT partition on, so that my entire family's computers, both Macs and PCs, can use the new partition. I still want to be able to boot into the HFS+ partition from a Mac. I can only find sparse and/or conflicting information on this. On the one hand, I am reading about people not being able to access the exFAT partition from a PC unless the partition is actually created using Disk Management on a PC. On the other hand, when I try this on a Win7 system, I get a warning saying that the operation I selected will convert the basic disk to a dynamic disk, and I won't be able to start installed operating systems from any volume on the disk.


How can I create an exFAT partition on my external disk that is readable by both WinXP (SP3), Win7 and Mac, without losing the ability to boot from the existing HFS+ partition?


Answer



XP? Sorry, but you can't get there from here. Intel based Macs boot from GPT partitioned hard drives, and Windows XP can't read GPT discs at all without a third party driver, if one exists.


If you create the partition on your Mac, Vista and 7 should see it, I would think, unless Apple is doing something wrong with the partition table.


Saturday, October 21, 2017

macos - How can I recover a crashed hard drive?

My hard drive from my MacBook crashed and died hard last week. I replaced the drive with a new one, and installed 10.6/Snow Leopard on it. The old drive is now in a usb enclosure, and I really need to recover the data from it.


The problem is, it won't mount and when it's connected with USB, OSX doesn't even detect that there's a new drive attached.


What can I do?

Can I safely use a USB "Y" cable to power a small device?


Say I have a normal USB "Y" cable - female and male with data and power connections, and an extra male port with just power connections - normally used to draw extra power from an additional port on the host.


Would it be safe to, instead, use the cable as a normal USB extension cable, and use the power-only male plug to power a small external device, like an Arduino?


edit:
It's a solution I suggested for someone who wants a simple, small device with a multicolor LED, attached to their laptop (very low power - it can certainly run off a USB port power, that's not the question). Using just a USB cord would mean losing one of the two USB ports on the laptop. Using a commercial USB hub would be bulky and impractical. My suggestion solves both of these issues, If it actually works safely. I don't necessarily think this is a good idea - I just want to know if it would work.


Maybe I should rephrase the question: It looks to me like the power connectors on the "power plug" of a USB-Y cable are simply connected to the power connectors on the "host plug" in parallel. This is designed to supply additional power, but as long as there are no diodes or other control circuitry, I believe it could draw additional power instead. My question: is this accurate? Is my understanding of the USB "Y" cable circuit correct?


Answer



I double-checked a Y cable and there was no internal circuitry, just wires. The power-only plug parallels only the power conductors. As long as the total load of both devices doesn't exceed the port capacity, what you describe will work. For USB 2.0, that's 500 mA; for USB 3.0, it's 900 mA.


linux - File system which supports trim command for shared SSD

I have a ~500GB SSD and I want to read/write on it from both of Windows and Linux.


As far as I know, there are three choices for file system of shared drives: FAT32, NTFS and exFAT.



  • FAT32: Not an option because of absence of large file support

  • NTFS: Supports large file but ntfs-3g does not support trim(discard)

  • exFAT: Supports large file, too, and no idea about trim support in Linux(exfat-fuse)


I've heard that trim command is very important for better lifetime of SSD.
So, which filesystem should I use for shared SSD? If exfat-fuse does not support trim either, is there other option for me?

partitioning - Windows 10 clean install using Windows 7 retail key

I'm thinking about migrating from Windows 7 Ultimate 64 bit to Windows 10 Pro 64 bit.



I believe I have 2 options available to me.






  • Do a clean install of Windows 7 Ultimate 64 bit with retail key, then do an upgrade to Windows 10 Pro 64 bit.


  • Do a Windows 10 Pro 64 bit install using the above retail key.





Between the two options above: which process would be the better option of the two or does it not make any difference?



Before a decision is made to give an answer to the question above take into consideration the following:




I plan to wipe my hard drive completely meaning that I do not intend to just delete the partition or format the drive. I plan on using a boot-able disk image partition program to erase the drive fully (write all 0s). Then I want to install Windows 10. I plan on shifting from the standard bios of Windows NTSC to EUFI type bios and partition types if possible.



Once my hard drive is wiped clean and I begin to install Windows 10 I want to know which of the above approaches is better for a good solid clean build of Windows 10. Install Windows 7 first then upgrade? Or Install Windows 10 directly using the Windows 7 retail key? Or what is the correct procedure before I decide to begin the process of wiping my drive?



If you need more information about my current hardware do not hesitate to ask and I will provide it if needed.

windows 7 - Task Scheduler Not Waking PC Extended hours of Sleep

I have configured Tasks Scheduler to wake up Windows/PC at certain times; however, the computer does not wake up after extended hours of sleep.



If I change the trigger configuration time to:




  • Sleep at: 7AM and


  • Wake Up at 7:15AM



and manually put the computer to sleep, it works, but it does not work if I set it as follows:




  • Sleep at 1:00AM and

  • Wake up at 7:00AM




and let the computer sleep on its own.



Similarly, when I manually put the computer to sleep by doing Start-->Shutdown-->Sleep, the process works, but it does not work if the computer sleeps on its own. There are no Hibernate Options. The computer is on a domain.



Here is my configuration:



Advance Sleep Settings:




  • Sleep: Never


  • Wake Up timers: On



General Settings:




  • Run with Highest Privileges

  • Run weather user is logged on or not




Triggers:




  • Daily, wake up at 7AM

  • Daily, Sleep at 1AM



Action:





  • For Wake up: Run program: cmd.exe

  • Optional Argument: /C"exit"

  • For Sleep: Run program: Rundll32.exe Powrprof.dll,SetSuspendState Sleep
    (This is in a bat file.)



Condition:




  • Wake the computer to run this task




Lastly, I also installed WakeUpOnStandBy as a back-up, but it too does not work, same as Task Scheduler.



I'm not sure what else to do?

Windows 10: Cancel a pending update (remove "Update and Restart", etc.)

Windows 10 decided to enable the "Windows Update" service without telling me and has probably downloaded the Fall Creator's Update (again, since I've already had that installed, but rolled back because it broke all the things). Now I have some entries in the shutdown menu which I am not happy about.



Entries are labeled top to bottom: Standby, Hybernate, Update and Shutdown, Shutdown, Update and Restart, Restart:



enter image description here




Knowing myself I will eventually accidentally click a wrong one and brick my laptop for a few hours.



How can I cancel the pending update?



Or how can I remove the entries from this menu?



Or how can I make clicking on one of the "Update and ..." entries in the menu not actually perform the update?



In what cases does Windows enable the "Windows Update" service on its own?




OS is Windows 10 Pro x64 1703

Friday, October 20, 2017

How to find the actual product key of Microsoft Office 2010?

Where can I find the actual product key of Microsoft Office 2010 ? I use Windows 8 and When I try to open Excel 2010 unlicensed product message appears and need to 25 character input to open it .


I check topic of you and I used SoftKey Revealer . Scan and found my office key . It matches . It says configures but still there is no result . When I open a new page I saw this message again '' microsoft office 2010 trial version , 1- I want to activate the software over the internet 2- I do not want to activate my copy. Instead, now I want to convert to the full product'' . When I write the product key of my office ( I found it via SoftKey Revealer ). Its loading and seems like activated then I open a new excel page and still same warning and no result . What can I do to activate it?


WARNING STEP 1 :


enter image description here


WARNING STEP 2 :


enter image description here


PLEASE SEE ALSO WARNING STEP 3 , WARNING STEP 4 AND WARNING STEP 5 SCREENSHOTS IN COMMENTS

microsoft office - Excel charts flickering/moving on screen

I previously posted this in Stackoverflow but was informed that this is a more relevant place...https://stackoverflow.com/questions/34203652/excel-charts-flickering-moving-on-screen


We have a spreadsheet with a series of chart sheets that contain simple line graphs. On one user's device, they are having issues with these charts moving around the screen constantly every second or so, essentially bouncing back and forth between two points. Creating a new chart and sending it to its own sheet results in the same issue, even on a new spreadsheet. The same spreadsheet works fine on every other device we've tried it on.


User has Excel 2013.


What I tried:



  • Office Quick Repair

  • Office Full Repair

  • Office Uninstall, reboot, fresh install

  • Update graphics drivers

  • Roll back updates

  • Disabled all add-ins

  • Disabled protected view (on a networked drive)

  • Copied to local device

  • Deleted Excel .xlb file


This issue has only cropped up within the last few days. No notable updates were performed during this time. Has anyone else ever run into something like this? Stumped :/

installation - Windows 8 Pro Upgrade but no previous version of Windows installed








I have a license for Windows 7 but don't have it currently installed anywhere. I bought the Windows 8 Pro Upgrade. Do I need to install Windows 7 and then upgrade or is there a easier way to install Windows 8 Pro Upgrade?



When I try to activate I am getting an error Code: 0xC004F061. Description: The software licensing service determined that the specified product key can only be used for upgrading, not for clean installations.

memory - Aggressivly Ram Caching with RAMdisk and readyboost

I am thinking about using a RAMdisk and Readyboost on Windows 10 to attempt to boost my read/write speed. I understand that windows will automatically cache recently used data in ram, but whenever I look at RAM usage in the performance monitor, a good chunk of the RAM is listed as being free instead of standby. Additionally, if it is caching recently used things, would it not be better to cache something that might be used soon (as readyboost does), vs something that was recently used?


I am looking for any possible flaws in my reasoning or logic here. Unlike people in plenty of my researches, I have not intention to place swap on the RAMdisk (that defeats the purpose of swap), just a readyboost cache.


Edit 1: my question here is is this a proper train of logic, or am I missing some details that would prove this is not the best route to take.

windows 7 - Faster SSD performance as cache drive or regular boot drive?

I have the choice of setting up a system:



  • with two SSD Drives in RAID 1 mode as my boot drive for Windows 7 64-bit, with the Program Files and User folders moved to a second regular hard drive, also configured using RAID 1.


or…



  • set up a single SSD Drive (120 GB or 256 GB) as a cache drive using Intel Rapid Storage Technology combined with two normal hard drives configured as RAID 1.


Which setup would have the faster hard drive performance over the life of the computer, and why?

Thursday, October 19, 2017

windows 8.1 - Consistent 100% disk access

I am a developer and on my work laptop it is entirely normal for my disk activity as shown by Task Manager to be 100%. With an average response between 7k-10k ms. This is under relatively simple load.


My machine is a dell Latitude E5430, with 8 gb of RAM 2x4gb sticks and a ST10001LMo14 highbrid ssd/normal drive. This is running Win 8.1.


The machine can be extremely sluggish even when operating at approx 20-40% CPU usage.


Does anyone have suggestions of things I could do to possibly help get past what appears to be an IO bottle neck.


Info from Crystal Disk


enter image description here


Info from Crystal Disk Marks


enter image description here

iso image - Reinstall Samsung OEM Windows 8, no recovery partiton or disk

I have a recently purchased samsung NP540U3C that came with Windows 8 pre-installed. Windows stopped working and the recovery partition doesnt work anymore. I used RWeverything to find the Windows product key but it cannot be used to install a retail version of Windows when using the Microsoft Windows 8 setup. According to this Windows 8 would automatically activate if it is reinstalled but its not possible to download from Microsoft with an OEM Key. Samsung would not provide at recovery image/disc, so I am wondering if it was possible to dowhload windows 8 with the OEM key and recover Windows.


Is there something similar to this except for Windows 8?


Edit: Can you the change the Windows 8 Enterprise Eval to install Windows 8 Core?


Thank You

data recovery - Recovering a Hard Drive with TestDisk


I have an approx. 10 year-old Maxtor (acquired by Seagate) DiamondMax Plus 9 (the 160 GB model) that I'm trying to recover. It died awhile back and I've been making attempts to recover photos and such off of it. Luckily, I was able to pull some data from it using TestDisk. I'd ordinarily stop here and be happy with what I recovered, but I want to try to repair the drive enough to where it is at least accessible from File Explorer (if possible). I've done plenty of research about this but I'm having a hard time. As a last resort, I thought I'd ask here before throwing in the towel. I'm not an expert in this field, but I'll try to be thorough and provide as much information as possible.




I'm connected to the drive via an IDE/SATA to USB adapter. On my Windows 10 PC, the drive appears in Device Manager:Device Manager
Seconds later, it appears in Task Manager, where I can watch its activity:
Task Manager
It also appears in Disk Management (unknown and unallocated), but when I choose to initialize with MBR, it fails with an I/O error:
Disk Management
Disk Management
TestDisk easily detects the drive as well:
TestDisk
When I choose to analyze the disk, I initially get a Partition: Read error, but [Quick search] finds them anyway:
TestDisk
TestDisk
As per a TestDisk Wiki article, I should configure the DellUtility partition as primary (P), set its type to 0xDE, and the NTFS partition as primary and bootable (*):
TestDisk
Whether or not I choose the default or the suggested configuration, most attempts to write the table to the disk succeed, but do not seem to make a difference:TestDisk
I also tried recovery with TestDisk on Ubuntu 16.04 running off a USB. As opposed to TestDisk on Windows, TestDisk on Ubuntu:



  • Has differing default disk geometry settings (64 heads per cylinder and 32 sectors per track on Ubuntu versus 255 heads per cylinder and 63 sectors per track on Windows)

  • Fails to write the partition table to the disk, regardless of partition and geometry configurations as described above (Partition: Write error)
    Also, on Windows, attempts to write new MBR code would always succeed, but have no difference. On Ubuntu, they would always fail.
    TestDisk
    TestDisk
    TestDisk


This is what my /var/log/syslog shows (/dev/sdc is the drive):


Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [  337.873894] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [ 337.873901] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [ 337.873904] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [ 337.873907] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [ 337.873910] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:23:18 devgregw-Aspire-5742 kernel: [ 337.873913] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:23:19 devgregw-Aspire-5742 org.gtk.vfs.Daemon[3129]: ** (gvfsd:3207): WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: Connection refused
Aug 28 14:23:19 devgregw-Aspire-5742 org.gtk.vfs.Daemon[3129]: ** (process:5202): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
Aug 28 14:23:22 devgregw-Aspire-5742 org.gtk.vfs.Daemon[3129]: ** (gvfsd:3207): WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: Connection refused
Aug 28 14:23:22 devgregw-Aspire-5742 org.gtk.vfs.Daemon[3129]: ** (process:5213): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
Aug 28 14:23:26 devgregw-Aspire-5742 anacron[2522]: Job `cron.daily' terminated
Aug 28 14:23:26 devgregw-Aspire-5742 anacron[2522]: Normal exit (1 job run)
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824725] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824734] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824738] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824744] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 18 00 00 08 00
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824748] blk_update_request: I/O error, dev sdc, sector 24
Aug 28 14:23:27 devgregw-Aspire-5742 kernel: [ 346.824754] Buffer I/O error on dev sdc, logical block 3, async page read
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058748] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058757] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058761] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058767] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058770] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:23:35 devgregw-Aspire-5742 kernel: [ 355.058776] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293147] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293156] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293160] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293165] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293169] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293174] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:23:43 devgregw-Aspire-5742 kernel: [ 363.293241] sdc: unable to read partition table
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527814] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527826] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527833] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527840] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527845] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.527852] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.532249] sd 6:0:0:0: [sdc] Attached SCSI disk
Aug 28 14:23:52 devgregw-Aspire-5742 kernel: [ 371.619882] usb 2-1.1: reset high-speed USB device number 4 using ehci-pci
Aug 28 14:24:00 devgregw-Aspire-5742 kernel: [ 379.978587] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:24:00 devgregw-Aspire-5742 kernel: [ 379.978600] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:24:00 devgregw-Aspire-5742 kernel: [ 379.978606] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:24:00 devgregw-Aspire-5742 kernel: [ 379.978614] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:24:00 devgregw-Aspire-5742 kernel: [ 379.978619] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212870] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212882] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212888] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212896] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212901] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:24:08 devgregw-Aspire-5742 kernel: [ 388.212909] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:03 devgregw-Aspire-5742 kernel: [ 442.630632] sda: sda1 sda2 sda3
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874565] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874574] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874578] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874584] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874588] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:11 devgregw-Aspire-5742 kernel: [ 450.874593] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108839] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108849] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108853] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108859] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108862] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:19 devgregw-Aspire-5742 kernel: [ 459.108868] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343091] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343107] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343116] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343131] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343137] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343146] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:27 devgregw-Aspire-5742 kernel: [ 467.343174] ldm_validate_partition_table(): Disk read failed.
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577639] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577649] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577653] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577658] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577662] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:36 devgregw-Aspire-5742 kernel: [ 475.577667] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811907] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811916] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811920] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811925] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811929] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:44 devgregw-Aspire-5742 kernel: [ 483.811934] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046429] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046438] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046441] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046447] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046450] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:25:52 devgregw-Aspire-5742 kernel: [ 492.046455] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280712] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280721] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280725] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280730] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280734] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280740] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:00 devgregw-Aspire-5742 kernel: [ 500.280807] Dev sdc: unable to read RDB block 0
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531728] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531736] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531740] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531746] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531749] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:09 devgregw-Aspire-5742 kernel: [ 508.531754] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766413] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766425] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766428] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766431] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766434] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:17 devgregw-Aspire-5742 kernel: [ 516.766438] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724928] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724938] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724942] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724947] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 18 00 00 08 00
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724950] blk_update_request: I/O error, dev sdc, sector 24
Aug 28 14:26:26 devgregw-Aspire-5742 kernel: [ 525.724956] Buffer I/O error on dev sdc, logical block 3, async page read
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959468] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959477] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959481] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959486] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959490] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:34 devgregw-Aspire-5742 kernel: [ 533.959495] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.193992] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194000] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194004] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194009] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194013] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194018] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:26:42 devgregw-Aspire-5742 kernel: [ 542.194080] sdc: unable to read partition table
Aug 28 14:26:42 devgregw-Aspire-5742 systemd-udevd[983]: seq 2800 '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda2' is taking a long time
Aug 28 14:26:42 devgregw-Aspire-5742 systemd-udevd[983]: seq 2801 '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda3' is taking a long time
Aug 28 14:26:42 devgregw-Aspire-5742 systemd-udevd[983]: seq 2799 '/devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1' is taking a long time
Aug 28 14:26:46 devgregw-Aspire-5742 kernel: [ 546.165231] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:46 devgregw-Aspire-5742 kernel: [ 546.165240] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:46 devgregw-Aspire-5742 kernel: [ 546.165244] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:46 devgregw-Aspire-5742 kernel: [ 546.165250] sd 6:0:0:0: [sdc] tag#0 CDB: opcode=0xdf (vendor) df 10 00 00 00 d8 00 01 4f c2 b0 b0
Aug 28 14:26:46 devgregw-Aspire-5742 kernel: [ 546.250908] usb 2-1.1: reset high-speed USB device number 4 using ehci-pci
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599397] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599406] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599410] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599416] sd 6:0:0:0: [sdc] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599419] blk_update_request: I/O error, dev sdc, sector 0
Aug 28 14:26:55 devgregw-Aspire-5742 kernel: [ 554.599425] Buffer I/O error on dev sdc, logical block 0, async page read
Aug 28 14:28:11 devgregw-Aspire-5742 kernel: [ 631.365068] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:28:11 devgregw-Aspire-5742 kernel: [ 631.365077] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:28:11 devgregw-Aspire-5742 kernel: [ 631.365081] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:28:11 devgregw-Aspire-5742 kernel: [ 631.365087] sd 6:0:0:0: [sdc] tag#0 CDB: opcode=0xdf (vendor) df 10 00 00 00 d8 00 01 4f c2 b0 b0
Aug 28 14:29:38 devgregw-Aspire-5742 kernel: [ 717.597311] sd 6:0:0:0: [sdc] tag#0 FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
Aug 28 14:29:38 devgregw-Aspire-5742 kernel: [ 717.597319] sd 6:0:0:0: [sdc] tag#0 Sense Key : Hardware Error [current]
Aug 28 14:29:38 devgregw-Aspire-5742 kernel: [ 717.597323] sd 6:0:0:0: [sdc] tag#0 Add. Sense: No additional sense information
Aug 28 14:29:38 devgregw-Aspire-5742 kernel: [ 717.597329] sd 6:0:0:0: [sdc] tag#0 CDB: opcode=0xdf (vendor) df 10 00 00 00 d8 00 01 4f c2 b0 b0
Aug 28 14:30:48 devgregw-Aspire-5742 AptDaemon: INFO: Quitting due to inactivity
Aug 28 14:30:48 devgregw-Aspire-5742 AptDaemon: INFO: Quitting was requested
Aug 28 14:30:48 devgregw-Aspire-5742 org.debian.apt[2463]: 14:30:48 AptDaemon [INFO]: Quitting due to inactivity
Aug 28 14:30:48 devgregw-Aspire-5742 org.debian.apt[2463]: 14:30:48 AptDaemon [INFO]: Quitting was requested
Aug 28 14:32:06 devgregw-Aspire-5742 ntfs-3g[5989]: Version 2015.3.14AR.1 integrated FUSE 28
Aug 28 14:32:06 devgregw-Aspire-5742 ntfs-3g[5989]: Mounted /dev/sda2 (Read-Write, label "Windows", NTFS 3.1)
Aug 28 14:32:06 devgregw-Aspire-5742 ntfs-3g[5989]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=1000,uhelper=udisks2
Aug 28 14:32:06 devgregw-Aspire-5742 ntfs-3g[5989]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sda2,blkdev,blksize=4096
Aug 28 14:32:06 devgregw-Aspire-5742 ntfs-3g[5989]: Global ownership and permissions enforced, configuration type 7
Aug 28 14:32:06 devgregw-Aspire-5742 udisksd[3553]: Mounted /dev/sda2 at /media/devgregw/Windows on behalf of uid 1000
Aug 28 14:32:31 devgregw-Aspire-5742 org.gnome.zeitgeist.SimpleIndexer[3129]: ** (zeitgeist-fts:3761): WARNING **: Unable to get info on application://nautilus-autostart.desktop
Aug 28 14:33:06 devgregw-Aspire-5742 systemd[1]: Starting Cleanup of Temporary Directories...
Aug 28 14:33:06 devgregw-Aspire-5742 systemd-tmpfiles[6020]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Aug 28 14:33:06 devgregw-Aspire-5742 systemd[1]: Started Cleanup of Temporary Directories.

I tried using smartctl -a via USB and it reported that SMART was available, but disabled. All of my attempts to enable it failed. After I connected the drive to the motherboard itself, TestDisk no longer detected it.


Is it possible for me to further recover this drive?


Answer



Your USB enclosure is abstracting a Maxtor 6Y160P0 PATA/IDE hard disk drive.


Enclosures vary, but they may not handle I/O errors very well.


You should start by getting a better idea of what I/O errors are showing up in /var/log/syslog. Your output shows that there are repeated read errors on sector 0, which is the first sector, which ordinarily contains the MBR.


Since this is not readable, the partition table isn't readable either.


Now that we know this, check what the hard disk thinks of its own condition with this command: smartctl -a /dev/sdc


Note: Even though you have an IDE device that should show up as /dev/hdX, the USB enclosure makes it look like a SCSI device, /dev/sdc.


If you can't get S.M.A.R.T. attributes, your IDE to USB enclosure probably doesn't support passing them.


If you have a motherboard with IDE support and plug the HDD directly into the motherboard, you might be able to do low-level overwrites of problematic sectors with hdparm --yes-i-know-what-i-am-doing --write-sector SECTOR /dev/hdX, where SECTOR is the sector number you want to try overwriting.


If low-level writing via hdparm is not available to you, you can try dd if=/dev/zero of=/dev/sdc bs=512 count=1 to attempt to overwrite the first sector. If this fails, the disk has no sectors left to reallocate.


You revealed that the motherboard can't identify the disk when plugged in by ribbon cable. I don't think this disk is worth any more effort; you might as well dispose of it.


hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...