1,610 reputation
149
bio website
location
age
visits member for 3 years, 7 months
seen yesterday

Apr
22
awarded  Caucus
Dec
11
awarded  Yearling
Nov
30
comment Want to dual boot: Windows 8.1 / Ubuntu 13.10, but can't boot from flash drive and hard drive is reported as “full”
The free space mismatch (23.33 GiB vs 9.2 GB) is most likely due to some space reserved for root (the running system does not report that space as available, because regular users would not be able to use it, but gParted reports the actual free space). The completely unreasonable used size reported by the file manager is most likely due to counting some files from virtual filesystems such as /proc and /sys.
Nov
30
comment Want to dual boot: Windows 8.1 / Ubuntu 13.10, but can't boot from flash drive and hard drive is reported as “full”
How did you prepare flash drives from which you are trying to install Windows? Looks like these drives are not bootable in the legacy BIOS mode for some reason (and UEFI mode would require using the GPT partition table format instead of MBR). The partition table itself should not prevent the Windows installation wizard from starting (but it won't find any usable space for installation — you need to make some free space for Windows partitions using gParted).
Nov
30
comment Want to dual boot: Windows 8.1 / Ubuntu 13.10, but can't boot from flash drive and hard drive is reported as “full”
In general, Windows 7 and Windows 8 do not require UEFI to boot (and 32-bit versions of those systems do not support UEFI at all). However, 64-bit Windows versions preinstalled by OEM on recent computers usually are installed in UEFI mode (and in case of Windows 8, Secure Boot is enabled by default, which is what prevents booting of any OS without a properly signed bootloader). In this case the user usually does not receive a real Windows installation media, and has no easy and supported way to switch to the legacy BIOS mode while keeping the OEM Windows license.
Nov
30
answered How to install PHP 5.3 on CentOS 6?
Oct
19
revised Unable to Write Zeros to Bad Sectors/Hard Disk Not Counting Reallocated Sectors
added note about incorrect physical sector size reporting by the drive
Oct
19
answered Unable to Write Zeros to Bad Sectors/Hard Disk Not Counting Reallocated Sectors
Sep
2
comment Perl extensions not searched for in @INC?
No, environment variables are not expanded in the perl-lib resource neither by rxvt-unicode nor by xrdb. However, see the updated answer — if you have a recent enough version of rxvt-unicode, you may just place your extensions into ~/.urxvt/ext, or set URXVT_PERL_LIB in a script where you can use values of other environment variables.
Sep
2
revised Perl extensions not searched for in @INC?
updated answer for newer rxvt-unicode versions
Jun
23
answered readline reverse-search-history C-r repeatedly finds next cmd, how to go back to previous?
Jun
8
revised MiniITX-based NAS can't shutdown properly when Wake-on-Lan is enabled in BIOS
removed “thanks”, added wake-on-lan tag
Jun
8
comment MiniITX-based NAS can't shutdown properly when Wake-on-Lan is enabled in BIOS
Also see: My computer reboots when I tell it to shutdown (in particular, testing without the Ethernet cable connected will help to find out whether the problem is with your Wake-on-LAN config, or something else causing the immediate wakeup).
Jun
8
suggested suggested edit on MiniITX-based NAS can't shutdown properly when Wake-on-Lan is enabled in BIOS
Jun
8
comment MiniITX-based NAS can't shutdown properly when Wake-on-Lan is enabled in BIOS
Please specify the motherboard model, and more details about the system configuration (e.g., are any USB devices connected, what operating system is used).
Jun
3
comment How to get the actual directory size (out of du)?
And now I found another option which is missing in all suggested ls invocations here: -q. Without this option the script will break if some file name contains newline characters. Writing really reliable shell scripts is too hard…
Jun
3
comment How to get the actual directory size (out of du)?
Not sure what to do for FreeBSD — although -b could probably be replaced by -A -B 1, there is no equivalent for --files0-from=-, and using xargs will need some workarounds in case the file list is bigger than ARG_MAX (and some external solution for human-readable output).
Jun
3
revised How to get the actual directory size (out of du)?
added solution for human-readable representation as requested and other notes
Jun
3
comment How to get the actual directory size (out of du)?
Using the -n option for ls instead of -l (show UID/GID numbers instead of names) is safer, because user and group names can contain spaces (e.g., if winbind or sssd is used to join the system to a Windows domain, you can get group names like domain users). It should also be faster due to not needing to lookup user and group names.
Jun
3
comment Why does a cloned Windows 7 BCD contain incomplete data (and, therefore, prevent booting)?
I suppose that the official way is “boot from a previously prepared system repair disc (or a real installation media, if you have it and not a DOEM recovery media) and run Startup Repair; if that fails, reinstall the OS”. Not sure whether Startup Repair would also recover XP in your case.