ts-7000
[Top] [All Lists]

[ts-7000] Re: writing to initrd partition on 7800

To:
Subject: [ts-7000] Re: writing to initrd partition on 7800
From: "Robert" <>
Date: Thu, 11 Dec 2008 17:41:09 -0000
I had this lurking feeling that the copy wasn't the problem...it wasn't.

FYI, syntax checking is a great feature:

sh -n linuxrc-mtdroot
linuxrc-mtdroot: 93: Syntax error: ";" unexpected

Found it!!

Thanks!


--- In  "Robert" <> wrote:
>
> Howdy!
> 
> What is the correct procedure for adding/modifying files in the initrd
> partition on the SD card and/or the NAND flash from Full Debian Linux?
> 
> I am trying to modify the linuxrc-mtdroot script and copy it to the
> initrd.
> 
> I realize this is a RAM Disk, so I have tried the following methods:
> 
> 
> / # dd if=/dev/ram0 of=/dev/mtdblock2;
> 
> AND
> 
> / # mtdcp /dev/ram0 2 0;
> 
> AND
> 
> / # mount -t ext2 /dev/mtdblock2 /tmp
> / # cp linuxrc-mtdroot /tmp
> / # umount /tmp
> 
> 
> I have also checked out the /lbin/save script in the initrd partition
> to see how it's done there, but I keep getting inconsistent results.
> 
> Any Standard Operating Procedures for this?
> 
> Robert
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU