Difference between revisions of "HIP:PMP:PMPBackup"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
===copy files for backup=== | ===copy files for backup=== | ||
~$ cp -r pmp/ backup/ | ~$ cp -r pmp/ backup/ | ||
− | |||
− | |||
− | |||
===unmount drives=== | ===unmount drives=== | ||
~$ umount /dev/sda1 | ~$ umount /dev/sda1 | ||
~$ umount /dev/sda2 | ~$ umount /dev/sda2 | ||
+ | |||
+ | ===unload modules=== | ||
+ | ~$ /sbin/rmmod sd_mod | ||
+ | ~$ /sbin/rmmod usb-storage |
Revision as of 16:31, 23 May 2006
Contents
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
unload modules
~$ /sbin/rmmod sd_mod ~$ /sbin/rmmod usb-storage