Results 1 to 4 of 4
Hi guys!
I have a little problem...
I'm working with some RouterBoard 502 Wifi and I use a kernel linux compiled "at art" in a USB flash card USB (1 ...
- 03-20-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
Kernel copy



Hi guys!
I have a little problem...
I'm working with some RouterBoard 502 Wifi and I use a kernel linux compiled "at art" in a USB flash card USB (1 GB) and all works correctly...
In the lab today was arrived some new box and new flash card...so now I need to copy everything there is in the old flash card (kernel linux) in the new cards...
The problems are:...
-) how can I do the partition for new flash card?
-) how to re-copy exactly the linux kernel and everything from the oldest flash card to the newest?
Here there is an output of fdisk with oldest cards.
thanx 4 help!Code:syncron@syncron-laptop:~$ fdisk -l /dev/sdc Disco /dev/sdc: 1014 MB, 1014644736 byte 8 heads, 32 sectors/track, 7741 cylinders Units = cilindri of 256 * 512 = 131072 bytes Disk identifier: 0x59c07261 Dispositivo Boot Start End Blocks Id System /dev/sdc1 1 76 9712 27 Sconosciuto /dev/sdc2 77 3891 488320 83 Linux syncron@syncron-laptop:~$
Andrea
- 03-20-2008 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
If the cards are the same size, you could use the dd command:
dd if=/dev/sdc of=/dev/sdd
Though, if the sizes are different, this may involve more work. Or you could use fdisk and mkfs to create a partition and filesystem, then use the -a option to the cp command. Check out the man pages for this stuff for more details.
- 03-20-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
Hi and thanx for reply!
The size of the cards is the same (and the model is the same!)...the problem is that I have only one card reader and I can't make the copy directly care_reader to card_reader...some ideas?
- 03-20-2008 #4Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
...but if I use the command dd if=/dev/sdc of=/dev/sdd and the new card is unpartitioned...with this command I capy also the partition table...so..I have to do nothing in the new card?


Reply With Quote
