Wednesday, April 21st, 2010
Add the following kernel boot option to the kernel line in grub’s menu.lst and reboot ( I’m not sure which one does the trick ):
loop.max_part=63 max_part=63
Create a sparse disk image file ( 40 GB reserved, 0 bytes on disk )
dd if=/dev/zero of=fs.image bs=1024 seek=40000000 count=0
Initialize a new loop device ( /dev/loop0 )
losetup -f fs.image
Create a [...]
Continue reading about Partitions on a loop device ( /dev/loop0p0, /dev/loop0p1, … ) »
Posted in Ubuntu | No comments yet, be the first » |
Friday, December 4th, 2009
On the to-be-woken-up computer make sure to enable ACPI/APM (S3/STR) and Wake-On-Lan(WOL) in the BIOS and add in /etc/network/interfaces:
post-up /usr/sbin/ethtool -s eth0 wol g
post-down /usr/sbin/ethtool -s eth0 wol g
Write down the MAC-ADDRESS. Powerdown the computer. Only when the computer is powered down to S3 or STR(Suspend to ram), the computer can be woken up. A [...]
Continue reading about Wake-on-LAN (wol) »
Posted in Ubuntu, debian | 1 Comment, join in » |
Tuesday, March 24th, 2009
Posted in OpenWrt | 1 Comment, join in » |