Difference between revisions of "HIP:PMP:PMPBackup"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
~$ sudo mount /dev/sda1 pmp/sda1 | ~$ sudo mount /dev/sda1 pmp/sda1 | ||
~$ sudo mount /dev/sda2 pmp/sda2 | ~$ sudo mount /dev/sda2 pmp/sda2 | ||
+ | |||
+ | '''copy files for backup''' | ||
+ | ~$ cp -r pmp/ backup/ | ||
+ | |||
+ | '''unmount drives''' | ||
+ | ~$ umount /dev/sda1 | ||
+ | ~$ umount /dev/sda2 |
Revision as of 16:16, 23 May 2006
list modules with lsmod
~$ lsmod Module Size Used by Tainted: P i810_audio 30908 0 (autoclean) ac97_codec 17140 0 (autoclean) [i810_audio] soundcore 6468 2 (autoclean) [i810_audio] agpgart 24496 4 (autoclean) ...
load usb modules
~$ sudo /sbin/modprobe usb-storage ~$ sudo /sbin/modprove sd_mod
mount usb drive
- sda1 - dos parition
- sda2 - linux partition
~$ sudo mount /dev/sda1 pmp/sda1 ~$ sudo mount /dev/sda2 pmp/sda2
copy files for backup
~$ cp -r pmp/ backup/
unmount drives
~$ umount /dev/sda1 ~$ umount /dev/sda2