![]() ![]() |
Feb 14 2006, 02:42 AM
Post
#1
|
|
|
Group: Members Posts: 227 Joined: 26-October 05 Member No.: 8,405 |
Can someone please give me the exact command to copy the microdrive to a CF in the CF slot such that when I take the microdrive out and replace it with the CF all that I have will be there as though no change has taken place.
I guess it will be something like cp -R /dev/hda1 /mnt/cf but I'm not sure and I can't test it until I've swapped it out so would appreciate a concrete answer to save me trying then swapping back and forward. How shuold I partition / format it? It's a 3000 with PdaXrom. |
|
|
|
Feb 14 2006, 07:46 AM
Post
#2
|
|
|
Group: Members Posts: 4,515 Joined: 25-October 03 From: Bath, UK Member No.: 464 |
Are you talking about removing the internal microdrive?
If so, I don't know where it's mounted. Can you list the output of 'mount'? Si |
|
|
|
Feb 14 2006, 08:09 AM
Post
#3
|
|
|
Group: Members Posts: 227 Joined: 26-October 05 Member No.: 8,405 |
Yes. I intend to remove the microdrive and replace it with a 2Gb CF card.
root@192.168.0.6's password: # mount rootfs on / type rootfs (rw) /dev/root on /media/realroot type jffs2 (rw) /dev/hda1 on / type ext3 (rw) /proc on /proc type proc (rw) none on /dev type tmpfs (rw) none on /dev/pts type devpts (rw) /dev/hda1 on /mnt/user type ext3 (rw) none on /proc/bus/usb type usbdevfs (rw) # |
|
|
|
Feb 14 2006, 08:45 AM
Post
#4
|
|
|
Group: Members Posts: 4,515 Joined: 25-October 03 From: Bath, UK Member No.: 464 |
Hmm, I'd expected it to be a bit clearer than that (not your fault though).
Can you also list the output of 'df' which should indicate which of the mount points is on the HDD from their sizes. On the other hand, someone with one of these machines might know that info? Si |
|
|
|
Feb 14 2006, 09:22 AM
Post
#5
|
|
|
Group: Members Posts: 227 Joined: 26-October 05 Member No.: 8,405 |
# df
Filesystem 1k-blocks Used Available Use% Mounted on /dev/hda1 3936428 1353376 2383092 36% / /dev/hda1 3936428 1353376 2383092 36% / none 12288 36 12252 0% /dev /dev/hda1 3936428 1353376 2383092 36% /mnt/user # Makes not much sense to me |
|
|
|
Feb 14 2006, 11:13 AM
Post
#6
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
I wouldn't suggest using dd because the geometry will be different, what I would suggest is that you backup the Microdrive contents by whatever means you like, take it out and using a Linux box tar off the contents then create your file systems on the new device and tar them back using that same Linux system. Then fit the new device with the file systems that have been prepped on the Linux box.
Make sure you use the p flag when tarring back though because you want to preserve userids and permissions etc. |
|
|
|
Feb 15 2006, 03:09 AM
Post
#7
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
I would boot into DB mode and then copy from there
mkdir /mnt/hdd mount /dev/hda1 /mnt/hdd tar cvf - /mnt/hdd/* | tar xvf - -C /mnt/cf |
|
|
|
Feb 15 2006, 03:46 AM
Post
#8
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
QUOTE(Meanie @ Feb 15 2006, 11:09 AM) I would boot into DB mode and then copy from there mkdir /mnt/hdd mount /dev/hda1 /mnt/hdd tar cvf - /mnt/hdd/* | tar xvf - -C /mnt/cf Actually you may mean this tar -c /mnt/hdd/* | tar -xpv -C /mnt/cf Note that the p option is quite important too |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 04:06 PM |