Apr 1 2008, 07:20 PM
Post
#1
|
|
![]() Group: Members Posts: 975 Joined: 25-June 03 From: Silicon Valley Member No.: 208 |
Decided to take the plunge and got a new 32GB A-Data CF Card today....
Want to do this swap the right way and hopefully easy way.... I assume that I can 'clone' my current Debian EABI setup on my existing 6GB microdrive over to the new 32GB CF card, right? Would this be the right way to do it? 1) Format new 32GB card and make 2 partitions; ext3 (/dev/hdc1 /mnt/cf) and a small swap (512MB on /dev/hdc2 /mnt/cf2). 2) Copy over current microdrive debian contents on hda2 over to new ext3 partition on 32GB CF card by doing: CODE #dd if=/dev/hda2 of=/dev/cf * Note: hda1 on my existing microdrive is my swap partition. So, is this correct way??? Thanks! Mark This post has been edited by ArchiMark: Apr 1 2008, 07:24 PM |
|
|
|
![]() |
Apr 8 2008, 12:52 PM
Post
#2
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
let us know when you're back up and running.
|
|
|
|
Apr 8 2008, 07:18 PM
Post
#3
|
|
![]() Group: Members Posts: 975 Joined: 25-June 03 From: Silicon Valley Member No.: 208 |
let us know when you're back up and running. Thanks speculatrix..... Meanwhile, copied over directories, cleaned out 'tmp'..... Just did 'df' and here's what I see: CODE Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 5589680 1317404 3988328 25% / tmpfs 31180 0 31180 0% /lib/init/rw udev 10240 80 10160 1% /dev tmpfs 31180 4 31176 1% /dev/shm /dev/hdc1 5589680 2419708 2886024 46% /mnt/cf1 So......why does my existing microdrive with Debian EABI only use 25% of the drive and the new 32GB CF card use 46% of drive??? Maybe I'm just being overly cautious with all of this...but I'm trying to avoid situation where I yank out microdrive, take apart my Z and install CF card, put Z back together, and voila! it doesn't boot up or something like that.... Thanks! |
|
|
|
Apr 9 2008, 08:42 AM
Post
#4
|
|
![]() Group: Admin Posts: 3,277 Joined: 29-July 04 From: Cambridge, England Member No.: 4,149 |
So......why does my existing microdrive with Debian EABI only use 25% of the drive and the new 32GB CF card use 46% of drive??? hmm, odd. try doing an "ls -laR" within each, redirecting output to file and diff'ing them? might need to "grep -v ^d" to omit directory names. |
|
|
|
Apr 11 2008, 12:35 PM
Post
#5
|
|
![]() Group: Members Posts: 975 Joined: 25-June 03 From: Silicon Valley Member No.: 208 |
So......why does my existing microdrive with Debian EABI only use 25% of the drive and the new 32GB CF card use 46% of drive??? hmm, odd. try doing an "ls -laR" within each, redirecting output to file and diff'ing them? might need to "grep -v ^d" to omit directory names. Thanks for the suggestion, speculatrix.... Meanwhile, decided to just bite the bullet and deleted everything on CF card and copied over stuff again.... Now, when I did 'df' I get: CODE #df Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda2 5589680 1317392 3988340 25% / tmpfs 31180 0 31180 0% /lib/init/rw udev 10240 80 10160 1% /dev tmpfs 31180 0 31180 1% /dev/shm /dev/hdc1 5589680 1386936 3918796 27% /mnt/cf1 So, hda2 and cf1 are close now, but still slightly different. Is this OK?? Or ??? Also, since I've: 1) 'flipped' location of Debian from second partition (hda2) on microdrive to first partition (cf1) on 32GB CF card and 2) just copied over directories as-is from microdrive to CF card Is there going to be any issue when I yank out microdrive and put in CF card in it's place? In other words is there any other things I need to do in order to make sure that CF will be recognized and then boot up Debian after CF card is installed? Thanks! |
|
|
|
ArchiMark Swap 32gb Cf For Microdrive Apr 1 2008, 07:20 PM
adf QUOTE(ArchiMark @ Apr 1 2008, 07:20 PM) D... Apr 1 2008, 11:06 PM
tux @Archimark: I think that your cloning progedure ne... Apr 2 2008, 12:05 AM
ArchiMark QUOTE(adf @ Apr 2 2008, 12:06 AM) Oooooo ... Apr 2 2008, 05:29 AM
speculatrix QUOTE(ArchiMark @ Apr 2 2008, 04:20 AM) D... Apr 2 2008, 01:44 PM
ArchiMark QUOTE(speculatrix @ Apr 2 2008, 02:44 PM)... Apr 2 2008, 02:41 PM
ZDevil QUOTE(speculatrix @ Apr 2 2008, 11:44 PM)... Apr 3 2008, 11:10 AM

ArchiMark QUOTE(ZDevil @ Apr 3 2008, 12:10 PM) QUOT... Apr 3 2008, 02:32 PM

adf QUOTE@adf: Archimark is talking about using and A-... Apr 3 2008, 10:32 PM
ArchiMark QUOTE(speculatrix @ Apr 2 2008, 02:44 PM)... Apr 4 2008, 10:35 AM
speculatrix QUOTE(ArchiMark @ Apr 4 2008, 07:35 PM) Q... Apr 4 2008, 01:58 PM
ArchiMark QUOTE(speculatrix @ Apr 4 2008, 02:58 PM)... Apr 4 2008, 03:49 PM
ArchiMark QUOTE(speculatrix @ Apr 4 2008, 02:58 PM)... Apr 7 2008, 07:36 AM
iwantprogress rsync also works and is faster if you need to redo... Apr 4 2008, 12:59 PM
ArchiMark QUOTE(iwantprogress @ Apr 4 2008, 01:59 P... Apr 5 2008, 04:30 PM
ArchiMark OK, tried the 'cat' approach and here... Apr 7 2008, 07:21 AM
rogalian Cat gives same results as dd - won't work unle... Apr 7 2008, 07:31 AM
speculatrix given that the cards are different sizes and there... Apr 7 2008, 07:32 AM
ArchiMark QUOTE(speculatrix @ Apr 7 2008, 08:32 AM)... Apr 7 2008, 07:41 AM
speculatrix "tar cf" is the command, "c" m... Apr 7 2008, 08:08 AM
speculatrix p.s. if you're copying with tar, the target di... Apr 7 2008, 08:10 AM
ArchiMark QUOTE(speculatrix @ Apr 7 2008, 09:10 AM)... Apr 7 2008, 08:34 AM
ArchiMark Copying over directories...most copying over OK, b... Apr 7 2008, 09:21 AM
rogalian The stuff in /proc you needn't worry about, it... Apr 7 2008, 11:30 AM
speculatrix ooops, yes, exclude /proc and /sys too. probably n... Apr 7 2008, 11:40 AM
ArchiMark Thanks for the advice, rogalian & speculatrix... Apr 7 2008, 06:32 PM
ajnk I had to do something similar last night, when I m... Apr 9 2008, 01:08 AM
ZDevil Good to know that things are working now.
ajnk: so... Apr 9 2008, 04:19 AM
ajnk QUOTE(ZDevil @ Apr 9 2008, 12:19 PM) Good... Apr 9 2008, 07:07 AM
speculatrix you will find that a file copy using tar, rsync or... Apr 11 2008, 12:54 PM
ArchiMark QUOTE(speculatrix @ Apr 11 2008, 01:54 PM... Apr 11 2008, 01:03 PM
maemorandum Does it make sense replacing the internal microdri... Apr 11 2008, 02:52 PM
ArchiMark QUOTE(maemorandum @ Apr 11 2008, 03:52 PM... Apr 11 2008, 03:36 PM
speculatrix so, archimark, have you done it yet? we eager read... Apr 12 2008, 11:34 AM
ArchiMark QUOTE(speculatrix @ Apr 12 2008, 12:34 PM... Apr 12 2008, 11:51 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 01:17 PM |