<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
		<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book</link>
		<description>Posts in the discussion thread &quot;My fast and perfect setup of Debian Lenny into my 500GB World Book&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-627653</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-627653</link>
				<description></description>
				<pubDate>Sun, 08 Nov 2009 13:18:40 +0000</pubDate>
				<wikidot:authorName>cma123</wikidot:authorName>				<wikidot:authorUserId>333803</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Thanks sany_v,</p> <p>this solves my problem. ;-)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-610738</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-610738</link>
				<description></description>
				<pubDate>Sat, 17 Oct 2009 19:28:53 +0000</pubDate>
				<wikidot:authorName>sany_v</wikidot:authorName>				<wikidot:authorUserId>390958</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I found problem.</p> <p>Problem was in file system atribute &amp; feature , u-boot support only i-node size 128 not more , when you make fs check that you FS support same Feature like original on wd mybook:<br /> Filesystem features: has_journal filetype sparse_super large_file<br /> ….<br /> Inode size: 128<br /> ….<br /> other case u-boot can't see rootfs &amp; kernel (uImage)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-610618</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-610618</link>
				<description></description>
				<pubDate>Sat, 17 Oct 2009 14:28:41 +0000</pubDate>
				<wikidot:authorName>sany_v</wikidot:authorName>				<wikidot:authorUserId>390958</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>i have same problem with no booting linux, i make reinstal many times from different linux os.</p> <p>After that i made serial cable and connet to my linux PC, and what i saw:<br /> $ NASOx_0800<br /> dom lug 22&nbsp;19:36:28 CEST 2007</p> <p>U-Boot 1.1.2 (Jul 23&nbsp;2007 - 13:53:26)</p> <p>U-Boot code: 48D00000 -&gt; 48D17658 BSS: -&gt; 48D1B2C8<br /> RAM Configuration:<br /> Bank #0: 48000000&nbsp;32&nbsp;MB<br /> *** Warning - bad CRC, using default environment</p> <p>Boot reached stage -1<br /> In: serial<br /> Out: serial<br /> Err: serial<br /> Initialising disks<br /> No FIS received from device 1<br /> Detecting SATA busses:<br /> Bus 0: Found first device OK<br /> Device 0: Model: HTS721060G9SA00 Firm: MC3OC10H Ser#: MPCC11Y3G3HW0C<br /> Type: Hard Disk<br /> Supports 48-bit addressing<br /> Capacity: 57231.5&nbsp;MB = 55.8&nbsp;GB (117210240 x 512)<br /> Device 1: not available</p> <p>IDE read: device 0 block # 63, count 1 … 1 blocks read: OK<br /> Hit any key to stop autoboot: 0</p> <p>0 bytes read<br /> Boot reached stage 1<br /> ## Booting image at 48500000 …<br /> Bad Magic Number<br /> Boot reached stage -1</p> <p>Any ideas, what do next?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-511261</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-511261</link>
				<description></description>
				<pubDate>Wed, 17 Jun 2009 15:20:20 +0000</pubDate>
				<wikidot:authorName>exdm69</wikidot:authorName>				<wikidot:authorUserId>340361</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have a similar problem to some of the guys above, my MyBook does not boot. I took the MyBook's hard drive out, put it in my linux box and went through the procedure, set up partitions, mbr, stage 1 &amp; 2 bootloaders, created filesystems, extracted the rootfs and kernel tarballs into my root partition (first partition on the disk).</p> <p>When I put the HD back in my MyBook and attached the power cable, it powered up, then the hard disk is busy for a second (probably the stage1 &amp; 2 bootloaders, then the kernel loads) then a brief moment of less activity (kernel initialization?) and then some more HD activity (start of init?). No blue LEDs come up and I can't see the device in my router's DHCP clients list. The LAN cable leds flash occasionally.</p> <p>I tried a bunch of hacks. First I tried changing /etc/fstab and /etc/mtab to have /dev/sda1 instead of /dev/root, I checked that /lib/modules/2.6.17.14-20070817-mybook/modules.dep has absolute paths to the correct directory. I also tried setting up a static IP address in /etc/network/interfaces, which didn't help (but my router's Address Resolution Protocol Cache (ARP) says MAC Address 00:00:00:00:00:00 = IP Address 192.168.1.50, which is the same as the IP I tried). I also tried with the bootable flag on the root partition set on and off. I also read that someone's MyLenny-based setup hanged in checkfs.sh during the boot and removing the script file helped, so I tried removing it and that didn't help either. I also e2fsck'd the partitions and used tune2fs to disable routine e2fsck checks.</p> <p>Has anyone found a solution to their booting problems?</p> <p>I've seen several accounts of similar behavior on the net, all of them are very recent. Could this be an issue caused by a newer version of hardware? I bought mine in mid-2008.</p> <p>Any help appreciated,<br /> -Riku</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-502401</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-502401</link>
				<description></description>
				<pubDate>Sun, 07 Jun 2009 18:42:17 +0000</pubDate>
				<wikidot:authorName>jaydoubleyou</wikidot:authorName>				<wikidot:authorUserId>279698</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've gone through the process again, the kernel appeared to install OK (step 13) and the modules.dep file is full of paths starting '/lib/modules…' as detailed above, but it's doing the same thing. Is there anything else I can check, or other steps to follow?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-502072</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-502072</link>
				<description></description>
				<pubDate>Sun, 07 Jun 2009 08:43:23 +0000</pubDate>
				<wikidot:authorName>alllexx</wikidot:authorName>				<wikidot:authorUserId>233384</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It's hard to tell what exactly went wrong, but you should verify whether you installed the kernel modules. Also, check <tt>&lt;your_mounted_WD_rootfs&gt;/lib/modules/2.6.17.14/modules.dep</tt>. It should contain full paths, like '/lib/modules/2.6.17.14/kernel/arch/arm/mach-oxnas/wdc-fan.ko:', not 'kernel/arch/arm/mach-oxnas/wdc-fan.ko:'<br /> (to fix this just do `<tt>sed -i -e "s|kernel/|/lib/modules/2.6.17.14/kernel/|g" &lt;your_mounted_WD_rootfs&gt;/lib/modules/2.6.17.14/modules.dep</tt>`)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-502071</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-502071</link>
				<description></description>
				<pubDate>Sun, 07 Jun 2009 08:35:34 +0000</pubDate>
				<wikidot:authorName>alllexx</wikidot:authorName>				<wikidot:authorUserId>233384</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I haven't installed Debian on my WD, but I got power button working fine on my custom firmware. You don't need to edit the kernel config for that - ‘<tt>make CROSS_COMPILE=arm-linux- oxnas_wd2nc_defconfig</tt>` will give you the right settings. Just don’t disable Leon support.<br /> If building kernel fails, then, following step 7 of the original HowTo, get <tt>leon-program.h</tt> and <tt>leon-power-button-prog.h</tt>. Copy them to <tt>linux-kernel/asm/arch</tt> and it should build fine.</p> <p>Hera are the headers I used building my FW:<br /> <a href="http://mybookworld.wikidot.com/local--files/ldso-runpath-enabled-firmware/leon-program.h">http://mybookworld.wikidot.com/local--files/ldso-runpath-enabled-firmware/leon-program.h</a><br /> <a href="http://mybookworld.wikidot.com/local--files/ldso-runpath-enabled-firmware/leon-power-button-prog.h">http://mybookworld.wikidot.com/local--files/ldso-runpath-enabled-firmware/leon-power-button-prog.h</a></p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-502061</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-502061</link>
				<description></description>
				<pubDate>Sun, 07 Jun 2009 08:04:38 +0000</pubDate>
				<wikidot:authorName>jaydoubleyou</wikidot:authorName>				<wikidot:authorUserId>279698</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I followed the steps above, booting from Ubuntu on a USB stick. Put the disk back into the enclosure, connected the power then it does something odd. None of the lights in the ring come on but I can hear the disk spin up, then 30 seconds spin down again. 10 seconds after that it sounds like it's booting again, but this time it seems to stay up (i.e. I can hear the disk spinning, but again no lights). However it does not appear on my network at all.<br /> Any thoughts a) on why it's booting up twice and b) why it's not appearing on the network? The blue rings I can live without.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-471651</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-471651</link>
				<description></description>
				<pubDate>Thu, 07 May 2009 07:21:42 +0000</pubDate>
				<wikidot:authorName>kevku</wikidot:authorName>				<wikidot:authorUserId>52945</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>try and build u-boot with netconsole? it could save you from the serial if you get it working.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-470999</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-470999</link>
				<description></description>
				<pubDate>Wed, 06 May 2009 18:12:15 +0000</pubDate>
				<wikidot:authorName>paultje3181</wikidot:authorName>				<wikidot:authorUserId>308889</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>In a topic about u-boot it mentioned that this acts as a bootloader and that root=/dev/sda1 option is given. So this might be right, but normally it don't appear in a linux-installation.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-470939</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-470939</link>
				<description></description>
				<pubDate>Wed, 06 May 2009 17:10:29 +0000</pubDate>
				<wikidot:authorName>swag</wikidot:authorName>				<wikidot:authorUserId>248999</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have the same problem and am trying to resort to soldering in a serial connector, if I can figure out how. I read somewhere else that you do not want to set the bootable flag when you are connected to the drive on a USB cable; that makes sense anyway, since your host will possibly think it is the bootable partition for it instead of the MBWE. I will try to check my own device tonight for that /dev/root; that does sound suspicious.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-470500</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-470500</link>
				<description></description>
				<pubDate>Wed, 06 May 2009 09:00:38 +0000</pubDate>
				<wikidot:authorName>paultje3181</wikidot:authorName>				<wikidot:authorUserId>308889</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I tried to install Debian on my mybook, but it doesn't boot. No rings come up, and neither does internet. I followed the steps to number 16. Any clues on how to make it work? Do the partition have to have a bootable flag (right now, they don't), in /etc/fstab /dev/root is listed, is this ok? Or should this be /dev/sda1? Anyone have any clues?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-299618</guid>
				<title>Re: [SOLVED] Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-299618</link>
				<description></description>
				<pubDate>Tue, 04 Nov 2008 01:49:17 +0000</pubDate>
				<wikidot:authorName>kennykwok</wikidot:authorName>				<wikidot:authorUserId>232436</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I also use the 250GB HD, but can not boot ,</p> <p>can you provide the steps</p> <p>Thanls</p> <p>Kenny</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-131323</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-131323</link>
				<description></description>
				<pubDate>Tue, 25 Mar 2008 19:48:31 +0000</pubDate>
				<wikidot:authorName>nsine</wikidot:authorName>				<wikidot:authorUserId>90029</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey,</p> <p>I have the same problem with not booting.. did you found a solution?</p> <p>[FIXED] "and when i make the partitions on the disk, then write them to it and reboot the partitions are gone … :s " [/FIXED]</p> <p>help??</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-128917</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-128917</link>
				<description></description>
				<pubDate>Fri, 21 Mar 2008 07:20:26 +0000</pubDate>
				<wikidot:authorName>mozetti</wikidot:authorName>				<wikidot:authorUserId>98451</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Ok, that's what I suspected. No big performance improvements, just something that is fun to do.</p> <p>At some point I might follow your tutorial (or if you get the ssh-only install working, I'd prefer that). Right now I'm busy trying to sort out exactly how this WD-linux handles all the folders/permissions. My aim is to get it easily accessible via NFS, Samba, FTP, and rsync while building in the appropriate security using users/groups permissions.</p> <p>Thanks for the tutorial.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-128645</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-128645</link>
				<description></description>
				<pubDate>Thu, 20 Mar 2008 22:17:58 +0000</pubDate>
				<wikidot:authorName>fabrice regnier</wikidot:authorName>				<wikidot:authorUserId>68338</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi ;)</p> <p>I have 2 major reasons to switch to debian with that NAS:</p> <p>1) Debian is the one i use on all my servers (at home &amp; at work)<br /> 2) Well, it was quite fun to loose so much time to make it working on 500&nbsp;GB WB ;)</p> <p>…I'm really wonder what i gonna fuck around now, maybe i'll have a look towards debootstrap, i'd love to build a debian system on the WB with ssh access only.</p> <p>regards,</p> <p>f.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-128159</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-128159</link>
				<description></description>
				<pubDate>Thu, 20 Mar 2008 07:33:02 +0000</pubDate>
				<wikidot:authorName>mozetti</wikidot:authorName>				<wikidot:authorUserId>98451</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What benefits are there in installing Debian? I understand the repositories have a ton more software available, but are there speed increases, or anything that would make it worth the effort to switch from the WD Linux to Debian?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-127808</guid>
				<title>[SOLVED] Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-127808</link>
				<description></description>
				<pubDate>Wed, 19 Mar 2008 16:18:52 +0000</pubDate>
				<wikidot:authorName>fabrice regnier</wikidot:authorName>				<wikidot:authorUserId>68338</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi all,</p> <p>Ok, my debian box is up :)</p> <p>Strange though:<br /> I tried many times from a debian lenny laptop with 2.6.22-3-686 kernel. The drive was seen as sda.<br /> Then, i tried with ubuntu gutsy client. Drive seen as sdb. And everything went ok.</p> <p>regards,</p> <p>f.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-123994</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-123994</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 23:03:48 +0000</pubDate>
				<wikidot:authorName>fabrice regnier</wikidot:authorName>				<wikidot:authorUserId>68338</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi and first thanx for your explanations ;)</p> <p>I bought a small sata hard disk to test your tutorial (250GB).</p> <p>First, i used the <a href="http://mybookworld.wikidot.com/rescue-procedure">http://mybookworld.wikidot.com/rescue-procedure</a> with this disk and it worked ok.<br /> Second step, i tried to install lenny on that disk.</p> <p>I followed your lines, downloaded the files, checked the md5, worked as root, …<br /> At the end, when i connect to the NAS, it doesn't boot. It seems to have a problem with mbr or stage bootloader.</p> <p>I guess you'll tell me to connect a serial cable…</p> <p>Does someone have any clue ?<br /> Will be it better if compiling all the stuffs ?</p> <p>thanx in advance,</p> <p>regards,</p> <p>f.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-123698</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-123698</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 15:22:21 +0000</pubDate>
				<wikidot:authorName>jijabyte</wikidot:authorName>				<wikidot:authorUserId>94696</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hello,</p> <p>I now have debian installed on my 1TB world edition.. however im not quite sure on how to do the power button patch. I have bolded my questions to see if anyone could help me out.</p> <p>To have a working power button<br /> <strong><em>Ill assume this is just edit with nano, joe or other editor</em></strong><br /> /etc/modules<br /> wdc-leds<br /> m41t00<br /> ehci-oxnas<br /> power_button invert_leds=1</p> <p><strong><em>dont know what this is, or where to start on this one</em></strong><br /> kernel .config<br /> CONFIG_OXNAS_POWER_BUTTON_GPIO=4</p> <p><strong><em>Ill assume this is edit with an editor as well</em></strong><br /> /etc/inittab<br /> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now</p> <p><strong><em>no idea what to do here?</em></strong><br /> patch arch/arm/mach-oxnas/power_button.c to have<br /> kill_proc(1, SIGINT, 1);</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-123690</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-123690</link>
				<description></description>
				<pubDate>Wed, 12 Mar 2008 15:15:30 +0000</pubDate>
				<wikidot:authorName>jijabyte</wikidot:authorName>				<wikidot:authorUserId>94696</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>pretty sure you have to remove the disks for that.</p> <p>It is very easy to restore to original using partition images that are available, pull the drive hook it up, use knoppix or some other live cd and bob is your uncle who spells his name backwards!!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-122448</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-122448</link>
				<description></description>
				<pubDate>Mon, 10 Mar 2008 18:13:28 +0000</pubDate>
				<wikidot:authorName>anandus</wikidot:authorName>				<wikidot:authorUserId>38724</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've got a question:<br /> I want to have a virgin-like clean Mybook again, it's full of crap and half-compiled programs and such.</p> <p>How can I get a brand-new-like setup? Preferably without removing the hard disk.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-115633</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-115633</link>
				<description></description>
				<pubDate>Fri, 29 Feb 2008 00:59:29 +0000</pubDate>
				<wikidot:authorName>anandus</wikidot:authorName>				<wikidot:authorUserId>38724</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Just wanted to say the tutorial works like a charm.<br /> (although I don't know what those twonkymedia words are doing there. Subliminal messaging? :P )</p> <p>I've got a very nice fully working Debian machine. Feels good :)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-102760</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-102760</link>
				<description></description>
				<pubDate>Tue, 05 Feb 2008 20:07:19 +0000</pubDate>
				<wikidot:authorName>LiNo</wikidot:authorName>				<wikidot:authorUserId>77940</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi,<br /> I'm a complete Linux noob. I managed to install Debian Lenny on a MBWE using the guide above. I would like to enable power button but I'm a bit confused with the patching stuff :</p> <p><strong>patch</strong> arch/arm/mach-oxnas/<strong>power_button.c</strong> to have<br /> kill_proc(1, SIGINT, 1);</p> <p>What do I have to do, how do I do it and what do I need?</p> <p>Thanks</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-101283</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-101283</link>
				<description></description>
				<pubDate>Sat, 02 Feb 2008 15:30:20 +0000</pubDate>
				<wikidot:authorName>onebit</wikidot:authorName>				<wikidot:authorUserId>76623</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>To have a working power button</p> <p><strong>/etc/modules</strong><br /> wdc-leds<br /> m41t00<br /> ehci-oxnas<br /> power_button invert_leds=1</p> <p><strong>kernel .config</strong><br /> CONFIG_OXNAS_POWER_BUTTON_GPIO=4</p> <p><strong>/etc/inittab</strong><br /> ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -h now</p> <p><strong>patch</strong> arch/arm/mach-oxnas/<strong>power_button.c</strong> to have<br /> kill_proc(1, SIGINT, 1);</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-91964</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-91964</link>
				<description></description>
				<pubDate>Tue, 15 Jan 2008 20:35:39 +0000</pubDate>
				<wikidot:authorName>PhoTonic</wikidot:authorName>				<wikidot:authorUserId>62529</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hey dude, this forum is really DEAD! Lucky your a smart one.. you have to compile your own installer from the "buildroot".</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-91933</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-91933</link>
				<description></description>
				<pubDate>Tue, 15 Jan 2008 19:53:17 +0000</pubDate>
				<wikidot:authorName>PhoTonic</wikidot:authorName>				<wikidot:authorUserId>62529</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I also get:<br /> ./installer mbr<br /> FATAL: kernel too old<br /> Segmentation fault</p> <p>Please help</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-91842</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-91842</link>
				<description></description>
				<pubDate>Tue, 15 Jan 2008 17:01:26 +0000</pubDate>
				<wikidot:authorName>PhoTonic</wikidot:authorName>				<wikidot:authorUserId>62529</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>It does not seem like you used any serial communication to the box? You only did the work on the disk and replaced the HDD's and booted it up while checking with the router what IP it has?</p> <p>And do you have the steps for "12.install the base system" and "13.install the kernel" ? is at simple as copying the files of to the target HDD?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-84602</guid>
				<title>Re: My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-84602</link>
				<description></description>
				<pubDate>Fri, 28 Dec 2007 16:54:54 +0000</pubDate>
				<wikidot:authorName>PhoTonic</wikidot:authorName>				<wikidot:authorUserId>62529</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Hi!</p> <p>Nice work.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://mybookworld.wikidot.com/forum/t-30649#post-78104</guid>
				<title>My fast and perfect setup of Debian Lenny into my 500GB World Book</title>
				<link>http://mybookworld.wikidot.com/forum/t-30649/my-fast-and-perfect-setup-of-debian-lenny-into-my-500gb-world-book#post-78104</link>
				<description></description>
				<pubDate>Tue, 11 Dec 2007 02:38:21 +0000</pubDate>
				<wikidot:authorName>gsam</wikidot:authorName>				<wikidot:authorUserId>57895</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>**based on this site and all the most wanted information i found in here……<br /> nice work…keep on…..</p> <p>p.s.<br /> i used an external usb2 sata box …so my dev is /dev/sdd</p> <p>sudo -s into terminal…very important..!!! … must be root all the time….<br /> i used the /root/Debian-WD/ directory for working directory….in here are all the<br /> files from the <a href="http://www.ismprofessional.net/pascucci/index.php/mybook-repository/">http://www.ismprofessional.net/pascucci/index.php/mybook-repository/</a></p> <p>if you have problems with the mbr file…like permition deniyed… ;) check your file permitions into the /root/Debian-WD/</p> <p>have fun… ;)**</p> <p>INSTALLATION…..<br /> <strong>1</strong>.zerofill MBR and partitions (count=10000 —-&gt; 10GB of disk space)</p> <p>dd if=/dev/zero of=/dev/sdd bs=1M count=10000</p> <p><strong>2</strong>.partitioning the sdd</p> <p>fdisk /dev/sdd</p> <p>First cylinder (1-60801, default 1): 673<br /> Last cylinder or +size or +sizeM or +sizeK (673-60801, default 60801):<br /> Using default value 60801</p> <p>Command (m for help): p</p> <p>Disk /dev/sdd: 500.1&nbsp;GB, 500107862016 bytes<br /> 255 heads, 63 sectors/track, 60801 cylinders<br /> Units = cylinders of 16065 * 512 = 8225280 bytes<br /> Disk identifier: 0xfdcdfaf1</p> <p>Device Boot Start End Blocks Id System<br /> /dev/sdd1 2 655 5253255 83 Linux<br /> /dev/sdd2 656 672 136552+ 82 Linux swap / Solaris<br /> /dev/sdd3 673 60801 482986192+ 83 Linux</p> <p>TwonkyMedia</p> <p><strong>3</strong>.read the empty MBR</p> <p>dd if=/dev/sdd of=mbr bs=512 count=1</p> <p><strong>4</strong>.modify the mbr saved file</p> <p>./installer mbr</p> <p><strong>5</strong>.write the mbr back to disk</p> <p>dd if=mbr of=/dev/sdd bs=512 count=1</p> <p><strong>6</strong>.install the first stage bootloader<br /> TwonkyMedia<br /> dd if=stage1.bin of=/dev/sdd bs=512 seek=1</p> <p><strong>7</strong>.install the second stage bootloader</p> <p>dd if=u-boot.img of=/dev/sdd bs=512 seek=64</p> <p><strong>8</strong>.format the /dev/sdd1 with ext3 and make it clean for fsck at boottime…</p> <p>mkfs.ext3 -L MyBook_root /dev/sdd1<br /> e2fsck -fDy /dev/sdd1</p> <p><span style="text-decoration: line-through;">-</span>-&gt; check that the filesystem is clean and has date fixed to real one<br /> tune2fs -l /dev/sdd1</p> <p>!!! finaly overide checking filesystem at first book !!!</p> <p>tune2fs -c -1 -i 0 /dev/sdd1<br /> TwonkyMedia</p> <p><strong>9</strong>.format the /dev/sdd3 with ext3 and make it clean for fsck at boottime…</p> <p>mkfs.ext3 -m0 -L MyBook_home /dev/sdd3<br /> e2fsck -fDy /dev/sdd3</p> <p><span style="text-decoration: line-through;">-</span>-&gt; check that the filesystem is clean and has date fixed to real one<br /> tune2fs -l /dev/sdd1</p> <p>!!! finaly overide checking filesystem at first boot !!!</p> <p>tune2fs -c -1 -i 0 /dev/sdd3</p> <p><strong>10</strong>.make /dev/sdd2 as swap memory</p> <p>mkswap -L MyBook_swap /dev/sdd2</p> <p><strong>11</strong>. mount the 500GB disk to a folder and cd to it</p> <p>mkdir /media/MyBook<br /> mount /dev/sdd1 /media/MyBook<br /> mkdir /media/MyBook/home<br /> mount /dev/sdd3 /media/MyBook/home<br /> cd /media/MyBook/</p> <p><strong>12</strong>.install the base system</p> <p>tar xjf /root/Debian-WD/mybook-rootfs-debian-20070826.tar.bz2</p> <p><strong>13</strong>.install the kernel</p> <p>tar xzf /root/Debian-WD/kernel-2.6.17.14-20070817-mybook.tar.gz</p> <p><strong>14</strong>.unmount all partitions..very inportand !!!!</p> <p>cd /<br /> umount /dev/sdd3<br /> umount /dev/sdd1</p> <p><strong>15</strong>.poweroff usbbox….unmount the diskdrive….mount the World Book with the drive…blablabla…</p> <p><strong>16</strong>.poweron the World Book…wait to see all the blue leds on….open a term into your desktop pc…and…</p> <p>ssh <span class="wiki-email">66.1.861.291|toor#66.1.861.291|toor</span><br /> pass:mybook</p> <p>then clear ssh key and generate new…<br /> cd /etc/ssh<br /> rm ssh_host_dsa_key<br /> rm ssh_host_dsa_key.pub<br /> rm ssh_host_rsa_key<br /> rm ssh_host_rsa_key.pub</p> <p>then type into ssh on your MyBook…<br /> reboot</p> <p>then restart your router and the dls line….then restart your desktop pc… to get new IPs and fix the new ssh keys….<br /> then type… rm -r -f /root/.ssh<br /> (/root is my working directory and do this to clear /root/ssh/ key directory that is stored into your desktop pc.. you will NOT be able to login to MyBook with old keys…!!!)</p> <p>finaly wait all the restarts to be done and type into term on your desktop pc…<br /> sudo -s<br /> pass:xxxxxxxxxx (..your password)<br /> ssh <span class="wiki-email">56.1.861.291|toor#56.1.861.291|toor</span> (go at your router site and find out the new IP of yours MyBook… i have 192.168.1.65 and it is static…later we will make it DHCP)</p> <p>DONE..!!!!</p> <p><strong>17</strong>…where to go now…..</p> <p>nano /etc/fstab….</p> <p>#mybook base fstab<br /> /dev/root / ext3 defaults 0&nbsp;0<br /> /dev/sda2 swap swap defaults 0&nbsp;0<br /> /dev/sda3 /home ext3 defaults 0&nbsp;0<br /> devpts /dev/pts devpts gid=5,mode=620 0&nbsp;0<br /> sysfs /sys sysfs defaults 0&nbsp;0<br /> proc /proc proc defaults 0&nbsp;0</p> <p>nano /etc/hosts<br /> #mybook host file<br /> 127.0.0.1 localhost<br /> 127.0.1.1 mybook.lan mybook<br /> #router<br /> 192.168.1.254 speedtouch<br /> #desktop pc<br /> 192.168.1.64 1711smi</p> <p>reboot your MyBook by entering into ssh shell…<br /> reboot</p> <p>edit your /etc/hosts of your desktop pc and add line …(as root always…)</p> <p>nano /etc/hosts</p> <p>127.0.0.1 localhost<br /> 127.0.1.1 1711smi.lan 1711smi<br /> #The following lines are desirable for IPv6 capable hosts<br /> ::1 ip6-localhost ip6-loopback<br /> fe00::0 ip6-localnet<br /> ff00::0 ip6-mcastprefix<br /> ff02::1 ip6-allnodes<br /> ff02::2 ip6-allrouters<br /> ff02::3 ip6-allhosts<br /> 192.168.1.65 mybook &lt;<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—-<br /> 192.168.1.254 speedtouch</p> <p>!!!!reboot your desktop pc….!!!<br /> reopen a new term…<br /> sudo -s</p> <p>then relogin to your mybook…<br /> ssh root@mybook (..nice to have a name than a IP adress… ;) )</p> <p><strong>18</strong>.working into your new debian lenny…..</p> <p>nano /etc/apt/source.list<br /> prefer a server near you….i am in greece so…<br /> deb <a href="http://ftp.gr.debian.org/debian/">http://ftp.gr.debian.org/debian/</a> lenny main contrib non-free</p> <p>….update your debian repository and debian distro to latest …(tip: is your dsl up? )<br /> apt-get update<br /> apt-get install aptitude (tip: never mind about locales error mesages..we will fix it later..)<br /> aptitude update<br /> aptitude dist-upgrade</p> <p>….fix locales<br /> aptitude install locales<br /> dpkg-reconfigure locales (tip:select only locales you need and default language en_US)</p> <p>….timezone,date and clock settings<br /> nano /etc/default/rcS<br /> ..and type no at "UTC=yes"<br /> reboot<br /> ….exit all terminals..wait your MyBook to get up..open a new term..sudo -s for root… ssh root@mybook<br /> ….check date<br /> ….fix it<br /> cp /usr/share/zoneinfo/Europe/Athens /etc/localetime<br /> date MMDDhhmmYYYY<br /> ….check date again<br /> date</p> <p>…./etc/fstab modify for noatime<br /> nano /etc/fstab<br /> #mybook base fstab<br /> /dev/root / ext3 defaults,noatime 0&nbsp;0<br /> /dev/sda2 swap swap defaults 0&nbsp;0<br /> /dev/sda3 /home ext3 defaults,noatime 0&nbsp;0<br /> devpts /dev/pts devpts gid=5,mode=620 0&nbsp;0<br /> sysfs /sys sysfs defaults 0&nbsp;0<br /> proc /proc proc defaults 0&nbsp;0</p> <p>….add same tools<br /> aptitude install nano openssh-server mc screen sysv-rc-conf elinks (tip: aptitude create database of installed pakages…apt-get not)<br /> sysv-rc-conf:tool for servises only change 2&nbsp;3&nbsp;4&nbsp;5 colums..not 1&nbsp;0&nbsp;6&nbsp;s (tip: bootclean at 2&nbsp;3&nbsp;4&nbsp;5)<br /> mc: nice file manager like norton commander….<br /> elinks: nice text web browser</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>