ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Copy of SD Card mounts read-only upon boot

To:
Subject: Re: [ts-7000] Re: Copy of SD Card mounts read-only upon boot
From: "Breton M. Saunders" <>
Date: Tue, 11 Aug 2009 08:33:32 +0100
Hi All,

This whole idea of copying a filesystem image by DDing it strikes me as 
an unsound approach.  After all, what is the point of a file system: to 
manage files on a physical block device!

What I suspect is happening here is that the drive geometry of the 
original SD card doesn't match the SD card you've replaced it with.

Can you try creating a new partition table on your card, then DDing 
partitions sequentially.

The alternative is to use cp -a <original filesystem mount point> 
<target point> - but care needs to be taken: I found that a modern linux 
box (ubuntu 8.10) will create a file system that cannot be read under TS 
linux - presumably TS linux is far too old.  You may need to copy using 
the TS board as a target (e.g. boot off a ramdisk, NFS mount and copy).

    -bms


spisciotta wrote:
> I've also had a problem with SD copying. Using fedora 9, I took the 512MB 
> development SD card and tried to make a copy onto a new 2GB SanDisk SD card.
>
> I did the following:
>
> Insert my golden SD card
> dd if=/dev/sdb of=/dev/myfilename.dd
>
> Insert my blank SD card
> dd if=/dev/myfilename.dd of=/dev/sdb
>
> Here is the hyperterminal output when I boot from the new SD card:
>
> Finished booting in 1.71 seconds
> Type 'tshelp' for help
> $ exit
>   
>>> Booting Linux...
>>>       
> pivot_root: pivot_root: No such file or directory
> /linuxrc: 47: bin/mount: not found
> /linuxrc: 48: bin/mount: not found
> /linuxrc: 49: cannot open ./dev/ttyAM0: No such file
>
> It worked when I did the dd command onto a separate 512MB SD card that came 
> from Technologic Systems, but it never worked on 3 separate SD cards that I 
> purchased at the store.
>
> Any ideas?
>
> Thanks,
> Steve
>
> --- In  "eric.robishaw" <> wrote:
>   
>> But DD does a bit copy, so how on earth is the duplicated SD card different?
>>
>> Here's my proc/mounts:
>> rootfs / rootfs rw 0 0
>> /dev/root /initrd ext2 rw 0 0
>> none /proc proc rw 0 0
>> none /sys sysfs rw 0 0
>> none /initrd/dev tmpfs rw 0 0
>> none /initrd/dev/pts devpts rw 0 0
>> none /initrd/dev/shm tmpfs rw 0 0
>> /dev/tssdcardb4 / jfs ro 0 0
>> usbfs /proc/bus/usb usbfs rw 0 0
>> /dev/tssdcardb4 /dev/.static/dev jfs ro 0 0
>> tmpfs /dev tmpfs rw 0 0
>> none /dev/pts devpts rw 0 0
>> tmpfs /dev/shm tmpfs rw 0 0
>>
>>
>> I gauge from this that /dev/tssdcardb4 /jfs ro is the problem.
>>
>> How do I fix this?
>>
>> Eric
>>
>>     
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>



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

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