Hi, i have move my debian system to another sd card with more capacity, i have partition the new sd card and copy the system install y my old card, all work well but debian(my so on sheeva) don't recognized the swap partition, here is the start up:

Quote

usbcore: registered new interface driver usbhidusbhid: USB HID core driveroprofile: using timer interrupt.TCP cubic registeredNET: Registered protocol family 17lib80211: common routines for IEEE802.11 driversrtc-mv rtc-mv: setting system clock to 2010-10-26 09:35:21 UTC (1288085721)Freeing init memory: 132KLoading, please wait...WARNING: Couldn't open directory /lib/modules/2.6.33.3: No such file or directoryFATAL: Could not open /lib/modules/2.6.33.3/modules.dep.temp for writing: No such file or directoryBegin: Loading essential drivers ... FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directoryFATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directoryFATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directoryFATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directorydone.Begin: Running /scripts/init-premount ... FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directorydone.Begin: Mounting root file system ... Begin: Running /scripts/local-top ... Begin: Loadingmodprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module linear.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module multipath.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module raid0.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module raid1.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module raid456.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module raid5.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Failure: failed to load module raid6.modprobe: FATAL: Could not load /lib/modules/2.6.33.3/modules.dep: No such file or directory

Hi, i have move my debian system to another sd card with more capacity, i have partition the new sd card and copy the system install y my old card, all work well but debian(my so on sheeva) don't recognized the swap partition, here is the start up:

Did you, after creating the swap-partition, generate the swap-file-System on your device likemkswap /dev/sda3

ok thanks i forget to do the mkswap now it works ok, but i have another problem is that the system partion has 3GB aprox, but the system only recognized 1GB:Filesystem 1K-blocks Used Available Use% Mounted on/dev/mmcblk0p2 1004052 642300 310748 68% /

it seems that you copied/dd'ed from the old Card the 1GB System Partition to the new Card onto a 2.8GB Partiton,BUT with this action only a 1GB Partition is recognized because the filesystem end after 1GB.

On a Harddisk (you could try this also on a pc with the card in the SD-Slot) I would try GpartEd Livehttp://gparted.sourceforge.net/livecd.phpWith GPartEd I would delete the Swap-Partition (part of your Disk), expand the Part2 (System) to 2.8GB and after thatcreate a new swap (around 500MB) as Part3 at the end of the Card.

Done this on a harddisk with a Windows-Partition...you could try this with a backup of your card GPartEd Live is a Linux-Live-CD and should also be capable to expand ext2/ext3-Partitions.

thanks i knows gparted and is the first program that i try to use but the problem i that it don't recognized my card reader and i cannot do the partitions then i made it with fdisk, any idea to force the detection on gparted, also i'm going to download a newer version of gparted because i think that mine could be obsolet

You now have two files which are the raw images of the file systems. Check that these are mountable as file systems, as the next step after the check is going to wipe out the data on your SDHC card!

Quote

mkdir -p /mnt/rawmount -o ro,loop /hard-drive-space/part1 /mnt/raw

check /mnt/raw contains the files you expect for partition 1.

Quote

umount /mnt/rawmount -o ro,loop /hard-drive-space/part1 /mnt/raw

check /mnt/raw contains the files you expect for partition 2.

Quote

umount /mnt/raw

Provided all looks OK, repartition your SDHC card into the 3 partitions you want with the relevant sizes. Create new file-systems on the first two and run mkswap on the third.You now need to copy back the data onto the new, correctly-sized partitions.

NOTE: Read through all of this and work out what it is doing before you proceed!Make sure you do put the trailing / on /mnt/raw/ but don't put it on /mnt/new in the rsync commands, otherwise the files will end up at the wrong level. So you do need to check they have ended up in the right place.