**** BEGIN LOGGING AT Sat Aug 18 03:00:00 2012 Aug 18 23:32:07 so... Debian on a Sheeva. Wanting to move / from a partition on the USB hard disk to SD. I should just be able to partition/format the SD card, make the correct SD partition bootable, rsync / (less the system directory contents like /dev and /proc and such of course) and change the boot parameters and all should be good, correct? Aug 18 23:32:20 yep Aug 18 23:32:28 although it's *incredibly* awkward to do with a running system Aug 18 23:32:36 you should boot off something else Aug 18 23:32:46 PhotoJim: you don't even need to set the bootable flag Aug 18 23:32:53 you just tell uboot to use the sd card instead of the usb Aug 18 23:33:03 PhotoJim: oh yeah, the bootable flag is a relic of an ancient past Aug 18 23:33:05 ish Aug 18 23:33:16 regardless, it's not needed with uboot :) Aug 18 23:33:23 that was a very quick and informative response given the silence. Heh. Aug 18 23:33:37 PhotoJim: do you still have the original ubuntu system on the NAND? Aug 18 23:33:45 boot that, and do your move from there Aug 18 23:33:46 I haven't touched it. Aug 18 23:33:56 I've just ignored it. Aug 18 23:33:57 otherwise you'd have to remount the rootfs as read-only to copy it Aug 18 23:34:02 ...wait, i'm being silly Aug 18 23:34:06 just use a different computer Aug 18 23:34:09 or you could like Aug 18 23:34:10 yeah Aug 18 23:34:12 :D Aug 18 23:34:13 just do it on your laptop Aug 18 23:34:27 i like my sheevaplug to be self-sufficient Aug 18 23:34:32 my netbook has SD slots (2 in fact) so that'd be the easiest place. Aug 18 23:34:47 I want to do this for the disk space. Sheeva is my offsite backup box. and I need the entire USB drive for the purpose now. Aug 18 23:34:48 PhotoJim: you'll have to tinker a bit with uboot though Aug 18 23:34:52 yes. Aug 18 23:35:00 booting off something that's not the NAND is always a bit flaky Aug 18 23:35:02 I have another Sheeva at home booting off SD. so I just need to replicate its uboot config. Aug 18 23:35:11 can you put the kernel on the NAND? Aug 18 23:35:14 I'd rather use SD than the NAND. Aug 18 23:35:15 that usually solves most of the problems Aug 18 23:35:26 kernel on nand is best Aug 18 23:35:27 if I wear out an SD card, they're trivial to replace. Aug 18 23:35:35 PhotoJim: you only wear out the nand by writing to it Aug 18 23:35:48 it's got like 10000 writes or something per block (of 256 bytes) Aug 18 23:35:51 I think kernel on NAND is compulsory anyway isn't it? e.g. flash-kernel in Debian Aug 18 23:36:17 you'll probably wear out your skull before your sheevaplug's NAND Aug 18 23:36:22 PhotoJim: i'd actually uninstall anything related to the kernel Aug 18 23:36:36 and use the xilka kernel Aug 18 23:37:02 PhotoJim: no, you can make it load from anything Aug 18 23:37:11 you just have to load it into memory at 0x800000 or whatever Aug 18 23:37:13 then boot Aug 18 23:37:19 you can use tftp, usb, sd, whatever Aug 18 23:37:27 First I've heard of Xilka. Aug 18 23:37:36 bash <( curl http://www.xilka.com/sheeva/UPDATE-SHEEVA-KERNEL.sh ) --nandkernel 3.5.2 Aug 18 23:37:54 PhotoJim: used to be sheeva.with-linux.com Aug 18 23:37:57 ahh. Aug 18 23:37:58 aha Aug 18 23:37:58 http://www.xilka.com/sheeva/ Aug 18 23:38:18 so is it to Sheeva what Raspbian is to Raspberry Pi then? Aug 18 23:38:28 i.e. customized Debianish distro specifically for that device Aug 18 23:38:33 nah, i only use the kernel Aug 18 23:38:40 it's just a general purpose kernel Aug 18 23:38:45 standard debian works fine, this is not an embedded device :) Aug 18 23:38:50 well, not *that* embedded, at least Aug 18 23:38:58 I've just been using the standard kernel. Aug 18 23:39:23 this is standard too, but doesn't autoupdate with apt - which is good, for a kernel - and is custom-made for *plugs Aug 18 23:39:26 which is 2.6.32-5 so fairly old. Aug 18 23:39:39 I'll check it out. Aug 18 23:39:41 heh, my n900 still has 2.6.28 Aug 18 23:40:33 my plugs are all running pretty old kernels Aug 18 23:40:36 i haven't updated in months Aug 18 23:40:43 $ uname -r Aug 18 23:40:43 3.0.0-gentoo-toot2 Aug 18 23:40:47 yeah Aug 18 23:40:49 i should probably update that soon Aug 18 23:41:13 PhotoJim: it's a neat script, it flashes the kernel (so it's only on nand, not also on the rootfs - not sure if you'll like that) and downloads the modules Aug 18 23:41:32 if you're *that* worried about wearing off the NAND, you could even tell uboot to ext2load or fatload the kernel for you Aug 18 23:42:42 not that worried. :) Aug 18 23:42:47 wouldn't want to run rootfs on NAND though. Aug 18 23:43:06 i am Aug 18 23:43:11 ubifs is the shit Aug 18 23:43:15 Heh. Aug 18 23:44:45 i put / on the nand Aug 18 23:45:06 but the portage tree is too big to fit, so i put /usr, /var, and /home on an esata drive on my dreamplug Aug 18 23:45:26 hardly anything gets written to the nand itself Aug 18 23:45:30 but it still boots up quickly Aug 18 23:45:55 ahh, you're running Gentoo. Aug 18 23:46:19 yes, that would work okay. not a lot of writing to NAND. Aug 18 23:46:23 I need to run. will check in later. Aug 18 23:46:26 thanks for the help guys. Aug 18 23:47:15 np Aug 18 23:48:04 =D Aug 18 23:53:05 it is really easy to boot completely from sd card or a usb device Aug 18 23:53:49 sure Aug 18 23:54:02 you just use ext2load instead of nand read **** ENDING LOGGING AT Sun Aug 19 03:00:01 2012