Archive

Archive for January, 2009

dmraid activation in gentoo kernel

January 7th, 2009 Comments off

Even gentoo handbook says that good build kernel should work without initrd there are some cases that require it, that’s my case. I’m using build in raid from my motherboard, it contains intel ICH9 chipset, this is no true hardware raid, to work it requires software to be run. I have compiled my kernel with all required switches, but it was not seeing my root partition on raid device, so I have run this command

emerge genkernel; genkernel --dmraid ramdisk

This allowed me to boot my manually compiled kernel to run, just added generated initrd to /boot/grub/menu.lst, not sure if this was needed but I have also added option dodmraid to kernel in the same file.

Categories: Linux Tags: , , ,

Free FAT32 recovery

January 3rd, 2009 1 comment

My wife by accident deleted some photos on her laptop, as usual I have asked her not to write anything on that partition, and started to search a tool to restore files, accidentally it appeared that there are dozens of tools but all are paid, and finding free of charge not demo tool is not easy.

As a result of my searches I have used PhotoRec provided by http://www.cgsecurity.org/ maybe it is not so intuitive as the paid tools, but for the only one accidential it was enough for finding all deleted files (and a bit more :) ).

Categories: Linux Tags: , , ,

s2ram configuration with kpowersave

January 2nd, 2009 Comments off

My computer starts rather fast, it’s fully functional in less then one minute, but i would get it up and running asap, so I’m using s2ram, unfortunately my motherboard is no in database, after few tries i have found my params:

s2ram -f -a 3

Problem is it was only working when run s root, my kpowersave had no option to set s2ram options, i did tried to find a solution for it, but yesturday I made progres, now my sleep button is working fine, no more root password required.

To get it working I have modified file /usr/lib/pm-utils/defaults as folows:

...
S2RAM_OPTS="-f -a 3"
...

Hope this will help to keep Your’s linux boxes working better.

Categories: Linux Tags: , , , , ,