Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

comandi telnet per hd

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pablo58
    Junior Member
    • Nov 2012
    • 18

    comandi telnet per hd

    Volevo un consiglio da esperti prima di fare una cavolata. Premetto che ho un vu+ solo2 con ssd interno partizionato cosi

    /media/hdd size:31.12 GB disponibile: 24.13 GB

    /media/sda2 size:31.11 GB disponibile: 29.89 GB

    in ext4 e con sda2 vuoto.

    Ora in hdd ho registrazioni, dati di xbmc piu'plugin e skin spostati con plugin mover etc...
    Vorrei dare una rinfrescata all'hd, che non ho piu' riformattato dalla prima volta, senza perdere tutti i dati
    Quindi vorrei procedere da telnet con dcc in questo modo:


    umount /dev/sda2

    mkfs.ext4 /dev/sda2

    mount /dev/sda2

    cp /dev/sda1 /dev/sda2

    umount /dev/sda1

    mkfs.ext4 /dev/sda1

    mount /dev/sda1

    cp /dev/sda2 /dev/sda1

    E' giusto cosi oppure no?

    Da mount manager risulta:
    usb : sandisk sdssdpo6
    size: 29gb mount: /media/hdd
    device: /dev/sda1 Type:ext4 R/W

    usb: sandisk sdssdp06
    size: 29gb mount: /media/sd2
    device: /dev/sda2 Type:ext4 R/W

    usb: Cruzer Blade
    size: 7gb mount: /media/usb
    device: /dev/sdb1 Type:vfat R/W

    Quindi ricapitolando si puo' fare cosi'?:

    umount /media/sda2
    mkfs.ext4 /dev/sda2
    mount /media/sda2

    cp -a /media/hdd /media/sda2

    umount /media/hdd
    mkfs.ext4 /dev/sda1
    mount /media/hdd

    cp -a media/sda2 /media/hdd

    Ancora meglio (spero):

    umount /media/sda2
    mkfs.ext4 /dev/sda2
    mount /dev/sda2 /media/sda2

    cp -a /media/hdd/* /media/sda2

    umount /media/hdd
    mkfs.ext4 /dev/sda1
    mount /dev/sda1 /media/hdd

    cp -a /media/sda2/* /media/hdd
Working...