update root file system and kernel
Date: October 11, 2009 09:17AM
I've typed the following to check which mtd partition is allocated for the root filesystem, would you please indicate the right one out of the three
root@snapper:~$ cat /proc/mtd
dev: size erasesize name
mtd0: 00200000 00020000 "Internal_Kernel"
mtd1: 3fe00000 00020000 "Internal_Data"
mtd2: 40000000 00020000 "Internal_Whole"
root@snapper:~$
I am going to use the following commands to replace the old root filesystem with the new one, please suggest if the steps are correct
mtdtool --eraseall /dev/mtdX
mount -t yaffs /dev/mtdblockX /mnt
cp -a /path/to/root/filesystem /mnt
umount /mnt
Due to the unsuccessful NFS server setting, I am going to use a USB stick to exchange the data. In terms of the "/path/to/root/filesystem", I wanna direct it to the usb stick (say I mount the usb to /mnt/usb) which has the downloaded root filesystem "root.tar.gz". My question is should I use the root.tar.gz file, or un-tar it and then use it?
Furthermore, would you please give some detailed instruction on how to update a linux kernel on Snapper CL15 using the usb stick as the method of transferring data. I've read the FAQs but they are only for 9260.
Thanks