Salut,
[quote]Mais question débile, comment faire un cp de mes dossiers a partir du cd ?
en faisant vi /etc/fstab, bas sa m’édite pas le fichier, comment faire ???
[/quote]
Démarres sur un live-cd : Debian-live
Liens de téléchargement.
cdimage.debian.org/debian-cd/6.0 … so-hybrid/
cdimage.debian.org/debian-cd/6.0 … so-hybrid/
Le principe du chroot …
[quote]user@debian:~$ sudo -s
root@debian:/home/user# mkdir /mnt/chroot
root@debian:/home/user# mount -t ext3 /dev/sda1 /mnt/chroot
root@debian:/home/user# mount -t ext3 /dev/sda6 /mnt/chroot/home
root@debian:/home/user# mount --bind /dev /mnt/chroot/dev
root@debian:/home/user# mount --bind /sys /mnt/chroot/sys
root@debian:/home/user# mount -t proc /proc /mnt/chroot/proc
root@debian:/home/user# chroot /mnt/chroot
root@debian:/#[/quote]
Tu adaptes pour le reste de des partoches / , /home /var /usr …
[code]root@debian:/# nano /etc/fstab
Use ‘blkid’ to print the universally unique identifier for a
device; this may be used with UUID= as a more robust way to name devices
that works even if disks are added and removed. See fstab(5).
proc /proc proc defaults 0 0
/ was on /dev/sda1 during installation
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx / ext3 errors=remount-ro 0 1
/home was on /dev/sda6 during installation
UUID=zzzzzzzz-zzzz-zzzz-zzzz-zzzzzzzzzzzz /home ext3 defaults 0 2
swap was on /dev/sda5 during installation
UUID=yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy none swap sw 0 0
(…)
root@debian:/#
[/code]
Démonter le chroot et sortir proprement.
[quote]root@debian:/home/user# umount /mnt/chroot/proc
root@debian:/home/user# umount /mnt/chroot/sys
root@debian:/home/user# umount /mnt/chroot/dev
root@debian:/home/user# umount /mnt/chroot/home
root@debian:/home/user# umount /mnt/chroot
root@debian:/home/user# exit[/quote]
En live-cd les partitions ne sont pas montées