Hello whiffwaffle and other,
First I have to admit that I am a newbie but why do you need all the
partitions. Why not just put it all in one partition?
Why not just format the card and put the stuff from part3 into the new card?
Rod
Saturday, February 28, 2009, 1:45:45 PM, you wrote:
> --- In "Breton M. Saunders"
> <> wrote:
>> 1) Get a linux x86 box, running something modern like ubuntu 8.04 or
> better.
>> 2) Get a linux compatible USB SD card reader.
>> 3) Put the source sd card in, and mount the linux partition. Tar
> its
>> contents up to a file in /tmp or something for archiving.
>> 4) Swap to the new sdcard. Fdisk it, and ensure the partition
> layout is
>> (roughly) the same - e.g. partition 3 is a linux one.
>> 5) mke2fs the target file system.
>> 6) Mount the target filesystem
>> 7) Untar the archive file's contents to the target partition.
> I have actually tried this but I'm not sure what partition 1 & 2 are
> or how to properly set them up. When I put the card in my PC, it
> mounts two of the partitions; the Linux partition and another
> partition (sdc2) as ext2 that contains the following:
> drwxr-xr-x 2 root root 2048 2007-07-17 16:21 bin
> drwxr-xr-x 2 root root 1024 2006-06-22 18:12 dev
> lrwxrwxrwx 1 root root 13 1969-12-31 19:04 etc -> /mnt/root/etc
> -rw-r--r-- 1 root root 7024 2006-06-22 18:16 fbcon-cfb16.o
> -rw-r--r-- 1 root root 6772 2006-06-22 18:16 fbgen.o
> lrwxrwxrwx 1 root root 15 1969-12-31 19:01 home -> /mnt/root/home/
> lrwxrwxrwx 1 root root 13 1969-12-31 19:00 lib -> /mnt/root/lib
> -rwxr-xr-x 1 root root 3853 2008-04-29 15:24 linuxrc
> drwx------ 2 root root 12288 2006-06-15 17:22 lost+found
> drwxr-xr-x 3 root root 1024 2006-05-22 18:39 mnt
> drwxr-xr-x 2 root root 1024 2007-07-19 13:19 onboardflash
> lrwxrwxrwx 1 root root 14 1969-12-31 19:01 opt -> /mnt/root/opt/
> drwxr-xr-x 2 root root 1024 2006-05-18 19:40 proc
> lrwxrwxrwx 1 root root 14 1969-12-31 19:01 root -> /mnt/root/root
> lrwxrwxrwx 1 root root 15 1969-12-31 19:00 sbin -> /mnt/root/sbin/
> -rw-r--r-- 1 root root 20708 2007-08-20 18:28 sdcard.o
> -rw-r--r-- 1 root root 235 2007-07-06 12:00 serial-shinit
> -rw-r--r-- 1 root root 3 1969-12-31 19:00 serialsh.pid
> -rw-r--r-- 1 root root 218 2007-07-06 14:03 shinit
> -rw-r--r-- 1 root root 2503 1969-12-31 19:00 splash.gz
> -rwxr-xr-x 1 root root 1281 2007-07-13 19:22 stage2
> lrwxrwxrwx 1 root root 14 1969-12-31 19:00 tmp -> /mnt/root/tmp/
> -rw-r--r-- 1 root root 6288 2007-02-28 16:58 ts7300fb.o
> -rw-r--r-- 1 root root 5454 2007-07-18 19:32 ts7xxx.subr
> lrwxrwxrwx 1 root root 13 1969-12-31 19:00 usr -> /mnt/root/usr
> lrwxrwxrwx 1 root root 13 1969-12-31 19:00 var -> /mnt/root/var
> -rw-r--r-- 1 root root 275 1969-12-31 19:00 vid-shinit
> -rw-r--r-- 1 root root 3 1969-12-31 19:00 vidsh.pid
> Do you know what these other two partitions are?
>> whiffwaffle wrote:
>> > SD card that works:
>> > Disk /dev/sdc: 1019 MB, 1019215872 bytes
>> > 16 heads, 32 sectors/track, 3888 cylinders
>> > Units = cylinders of 512 * 512 = 262144 bytes
>> > Disk identifier: 0x00000000
>> >
>> > Device Boot Start End Blocks Id System
>> > /dev/sdc1 1 6 1520 da Non-FS
> data
>> > /dev/sdc2 7 10 1024 da Non-FS
> data
>> > /dev/sdc3 20 3850 980736 83 Linux
>> >
------------------------------------
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/
|