Reputation
2,409
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
7 21
Newest
 Nice Answer
Impact
~240k people reached

  • 0 posts edited
  • 0 helpful flags
  • 128 votes cast
Apr
4
comment Escaping asterisk * in Bash on Windows
and when you try -d '\"*\"' in bash, it does not work?
Apr
4
comment Escaping asterisk * in Bash on Windows
Are you sure bash is the culprit and not curl? What curl are you using (native build or cygwin/msys one)? Some versions of libc for Windows will expand * (but not other globs) while parsing the command line (from GetCommandLine to argc/argv) -> can you test with cmd.exe (that passes the command line unchanged) if you can also see the "globbing"?
Mar
30
comment Windows cannot be installed to Disk 0 Partition 1
Sorry, no more idea. When it also happens on another machine (and Windows has previously been installed on the drive fine, so no 4k logical sectors or similar), the only things I know that could prevents it boot are either incompatible CHS settings (but that would appear in setupact.log) or some broken firmware or too slow initialization for the BIOS to see the disk), and in that case I have no more idea... Tell me if you could solve it. (Probably another idea trying (on the desktop) would be to try to install some Linux like Ubuntu and see if it fails too and if the error message is better.
Mar
29
comment Windows cannot be installed to Disk 0 Partition 1
It is "clean", sorry. Also, perhaps it helps if you post the X:\windows\panther\setupact.log (in case of Win7, no idea how it is called in later versions) after you got to that point of the installer.
Mar
29
comment Windows cannot be installed to Disk 0 Partition 1
no, not delete the partition but erase the partition table altogether (I think the command after selecting the disk is "erase" or "clear"). So that when setup creates a partition again it will ask you if you want MBR/GPT or will choose automatically based on boot method.
Mar
29
comment Windows cannot be installed to Disk 0 Partition 1
Also, some anti-theft options in your BIOS, if enabled, (CompuTrace in particular) can prevent you from booting after a reinstall of your operating system (as the BIOS tries to re-install the CompuTrace agent on the disk and may fail) - check if enabled and if yes try to disable (you may need some unlock code for that). Not sure if setup will detect that, though.
Mar
29
comment Windows cannot be installed to Disk 0 Partition 1
Also, if not done yet, you may run the disk diagnostics program provided by the disk manufacturer (which probably is not Toshiba as as far as I know they don't make hard disks themselves) just to make sure there are no hidden issues on the hard disk.
Mar
29
comment Windows cannot be installed to Disk 0 Partition 1
What mode (UEFI or BIOS/CSM) does the laptop boot from? What partitioning type (MBR or GPT) is used on the disk? Does it work if you erase the partition table (and therefore all data) with diskpart from within setup (Shift+F10 for a command prompt) and then re-partition it using the installer?
Dec
13
comment Memory Swapping and OS freeze
Do you have any antivirus or other security software that hooks disk accesses? try to disable it. I never had an OS freeze (could still move the mouse and start up resource monitor) when swapping heavily in Windows 7. You can also try to lower the priority of your process with Process Explorer which should result in no slowdown of any other apps you are running, making debugging easier.
Nov
11
comment How to extract computer memory data when computers are frozen
If you anticipate such a situation, you can keep the hardware connected, however. Note that some expensive server boards (like from Dell) sometimes have that feature built into their remote administration cards. So if you have the RAC configured you can use it on an "unprepared" server in production if your AntiVirus (e. g.) freezes your machine, and give the dump to your AV vendor and sue for compensation :)
Nov
11
comment How to extract computer memory data when computers are frozen
I'd prefer to have it pre-connected. Technically it may work to connect a PCI (express) card during runtime, but as the bus is not specified for that, it may fry your hardware if you are unlucky. But there is no "software" preparation required (at least if you are running Windows and have a hibernation file configured).
Nov
11
comment How to extract computer memory data when computers are frozen
if you are a driver developer for drivers without actual hardware (like antivirus), use a VM for developing your drivers. If you are developing drivers for actual hardware and it locks your machine up, there is actually hardware equipment that can (a) force a NMI interrupt (making all your drivers stop and dump memory to a special location on hard disk) or (b) dump RAM somewhere else, by pressing a button outside the PC. But I think for the average SuperUser user, this equipment is "too expensive".
Oct
27
comment How to delete a file in Windows with a too long filename?
you can avoid the sharing by using subst x: C:\Some\first\part\of\the\long\path and afterwards delete the drive with subst x: /d
Aug
13
comment CTRL+T hot key in Firefox missing suddenly
Does it work to open another tab in a new tab you opened by the menu, without a page loaded in there? Some pages (most notably Twitter, lately) try to register this hotkey for something they like better than opening new tabs...
Jul
1
comment Batch file. Variable in variable
@dbenham while I have to admit that the other solutions are easier (but probably did not work in NT4 which was the last OS where I had more contact with batch programming - later I always tried to use vbs or PoSH), I don't see why VAR10 can be of any problem - the delims splits %I% to before = and %J% to after =, and = cannot be in variable names AFAIK.
Jun
6
comment How to find source of memory leak in Windows 7?
As page faults is an accumulating counter, it does not tell much if you don't know how long the process has been running. (Page Fault Delta is better to see a current snapshot of what is swapping, and correlating page faults to uptime if you want to know if the machine has been out of RAM earlier)
Jun
5
comment How to find source of memory leak in Windows 7?
I'd set up a few perfmon performance counters (length of processor queue, disk activity percentage, swap disk activity percentage, page faults, resident ram, virtual ram size, to name a few) and have a look how they change over time if you can see any discrepancies in these values - if you know what exactly goes up/down, monitor it in more detail.
Jun
5
comment How to find source of memory leak in Windows 7?
To rule out bad drivers, have a look at Paged and Nonpaged Pool Sizes (for example in Process Explorer) - if they get too high, check PoolMon (but you'll probably need to debug your vm with a kernel debugger to get more details)
Jun
1
comment What hardware device used to eat up 1.4GB of my 4GB RAM, and now suddenly after no hardware changes eats up 2.2GB?
Does not have such an option. On the other hand, trying to boot via UEFI once (unsuccessfully as a module was missing) reduced the available memory by another 21 MB :(
May
27
comment -bash: /etc/bash.bashrc: Permission denied I have no name
And another thing to check would be ldd $(which bash) and verify that all the dynamic libraries can be found and have the right permissions