New IT forum Follow us on Twitter
22 May 2012, 09:29:14 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: TonidoPlug2 - Now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Mounting Nand  (Read 1974 times)
KeithS
Newbie
*
Posts: 20


« on: 17 February 2010, 02:31:14 pm »

If I wanted to manualy flash the NAND rootfs with a backup image, could I boot from an SD card and mount the NAND rootfs?

If this is possible, what would be the device or mount point I would need to use?

Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #1 on: 17 February 2010, 06:09:55 pm »

Here's how to mount the jffs2 NAND:

Code:
mkdir/mnt/block2
mount -t jffs2 /dev/mtdblock2 /mnt/block2 -o ro

-o ro for read only. I haven't (yet) found a way of mounting the UBIFS from NAND, but I'm sure there is one. U-Boot might be helpful here too. (ie an amended bootcmd).
Logged
KeithS
Newbie
*
Posts: 20


« Reply #2 on: 17 February 2010, 07:31:03 pm »

Thanks Marcus, but thats a shame. What I was thinking, was to copy the virgin rootfs from one plug onto my working plug. Both were bought as UBIFS multiboot with ubuntu sd.
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #3 on: 17 February 2010, 10:37:02 pm »

The virgin (jffs2) rootfs is on the CD. The virgin UBIFS rootfs is that available in the installer: http://plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer
Logged
KeithS
Newbie
*
Posts: 20


« Reply #4 on: 18 February 2010, 09:15:52 pm »

Thanks Marcus, I will look into that UBIFS link when I get time.

I admit to being a bit worried about bricking the machine, but I guess its all part of the learning and development stuff Smiley
Logged
NewIT_Marcus
Administrator
Hero Member
*****
Posts: 960


« Reply #5 on: 18 February 2010, 09:27:30 pm »

If you brick it, you'll have to learn how to use the installer. You'd be better off knowing how to use it before it is forced upon you, but maybe you'll never have to use it.

Cloning the SD card is our preferred solution for backup of the SD card.

cp -ax / /target is probably practical for most backup solutions from NAND.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!