7Zip fun
copy dont compress, make 10k files
7z a a.7z ./out.a -mx=0 -v10k
make the full file, input first in series
7z x a.7z.001
Wednesday, April 9, 2014
Sunday, March 16, 2014
Android 4.x pictures snafus
One way on a Mac:
enable MTP on phone
Use android file transfer
On linux:
enable MTP on phone
install mtp-tools
mtpfs to mount to a folder
May need USB debugging enabled
enable MTP on phone
Use android file transfer
On linux:
enable MTP on phone
install mtp-tools
mtpfs to mount to a folder
May need USB debugging enabled
Monday, December 2, 2013
Tuesday, August 27, 2013
Arch linux and Windows 7 Dual boot on an encrypted drive
Neat shrink option. Easily reduce size of Windows partition.
I wanted to use windows bootloader to load grub. Made a fat32 partition to store this. Made one other. Not sure if I can keep adding.
Arch linux seems fast. A little slow to install but after that, impressive speed.
Boot from USB. Partition and parts of disk are available. Encrypted partition is not. Hence cant directly copy to ntfs.
Direct install of grub to any of the partitions did not work. Impossible unreadable.
Arch booted, but same error as before. /disk didn't show up. Neither did tty.
https://bbs.archlinux.org/viewtopic.php?id=77815
Also userguide says do not use unetbootin. ok. https://wiki.archlinux.org/index.php/USB_Installation_Media#Using_UNetbootin
copy copy boot for EFI . booted. but similar error.
Looking by default for ARCH_201308. change grub line to actual label. Maybe this long a label cant work in fat32 ? Use actual label. works. Argh. Arch has well written docs. I skipped the label write .....
dhcpcd
modprobe efivars before chroot. grubinstall worked to main partition.
dd from here to separate boot partition.
oh boy. no boot. Removing newer partitions did not help.
http://support.microsoft.com/kb/2004518
Use a windows 7 rescue cd and the bitlocker recovery key to get back to nominal. Auto repair after key worked. Could not use regular password/pin here.
Just changing the partitions without touching W7 , still needs key. suspend, resume of bitlocker.
Simple in w7 shows extended. Extended in linux shows primary in w7.
Shrink once more, UEFI partition, 0xEF, FAT32, mount to /boot/efi, install grub there EFI.. Boots ok.
So disable bitlocker , do bios, hardware, other stuff, enable bitlocker. Still had to enter keys, suspend resume.
Also problem with a rolling system like Arch. stale incomplete installs are problematic, if you are looking for older packages/signatures. Multiple downloads rather than just from one cd.
Yet another kink: nvidia optimus. Can't run just the nvidia driver. But a mixed mode. Intel for graphics. Use bumblebee optirun for nvidia.
Improvement for NVS 5200M over Intel HD 4000 in i7-3540M ~ 2x with glxspheres
I wanted to use windows bootloader to load grub. Made a fat32 partition to store this. Made one other. Not sure if I can keep adding.
Arch linux seems fast. A little slow to install but after that, impressive speed.
Boot from USB. Partition and parts of disk are available. Encrypted partition is not. Hence cant directly copy to ntfs.
Direct install of grub to any of the partitions did not work. Impossible unreadable.
Arch booted, but same error as before. /disk didn't show up. Neither did tty.
https://bbs.archlinux.org/viewtopic.php?id=77815
Also userguide says do not use unetbootin. ok. https://wiki.archlinux.org/index.php/USB_Installation_Media#Using_UNetbootin
copy copy boot for EFI . booted. but similar error.
Looking by default for ARCH_201308. change grub line to actual label. Maybe this long a label cant work in fat32 ? Use actual label. works. Argh. Arch has well written docs. I skipped the label write .....
dhcpcd
modprobe efivars before chroot. grubinstall worked to main partition.
dd from here to separate boot partition.
oh boy. no boot. Removing newer partitions did not help.
http://support.microsoft.com/kb/2004518
Use a windows 7 rescue cd and the bitlocker recovery key to get back to nominal. Auto repair after key worked. Could not use regular password/pin here.
Just changing the partitions without touching W7 , still needs key. suspend, resume of bitlocker.
Simple in w7 shows extended. Extended in linux shows primary in w7.
Shrink once more, UEFI partition, 0xEF, FAT32, mount to /boot/efi, install grub there EFI.. Boots ok.
So disable bitlocker , do bios, hardware, other stuff, enable bitlocker. Still had to enter keys, suspend resume.
Also problem with a rolling system like Arch. stale incomplete installs are problematic, if you are looking for older packages/signatures. Multiple downloads rather than just from one cd.
Yet another kink: nvidia optimus. Can't run just the nvidia driver. But a mixed mode. Intel for graphics. Use bumblebee optirun for nvidia.
Improvement for NVS 5200M over Intel HD 4000 in i7-3540M ~ 2x with glxspheres
Wednesday, May 2, 2012
Use mencoder to cut videos
Seems to have to be a two stage process going from OTA mpg to mpg.
First cut the end using endpos
Then cut the start using ss
First cut the end using endpos
Then cut the start using ss
Tuesday, December 20, 2011
Tuesday, October 25, 2011
Debian cuda
from
http://wiki.debian.org/NvidiaGraphicsDrivers#Build_manually.2C_with_a_stock_kernel
http://wiki.debian.org/NvidiaGraphicsDrivers#Build_manually.2C_with_a_stock_kernel
export KVERS=$(uname -r)
export KSRC=/usr/src/linux-headers-$KVERS
export KPKG_DEST_DIR=/usr/src
apt-get install linux-headers-$KVERS
then do nvidia
Subscribe to:
Posts (Atom)