#26 Le 17/09/2015, à 17:32
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
ubuntu@ubuntu-W840AU:~$ sudo mkdir /media/ubuntu/Untitled
[sudo] password for ubuntu:
mkdir: impossible de créer le répertoire «/media/ubuntu/Untitled»: Le fichier existe
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown ubuntu:ubuntu /media/ubuntu/Untitled
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo mount -o remount,rw,defaults,noatime -t hfsplus /dev/sdc2 /media/ubuntu/Untitled
[sudo] password for ubuntu:
mount: /media/ubuntu/Untitled not mounted or bad option
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ mount | grep /sdc2
/dev/sdc2 on /media/ubuntu/Untitled1 type hfsplus (ro,nosuid,nodev,uhelper=udisks2)
ubuntu@ubuntu-W840AU:~$ sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled
[sudo] password for ubuntu:
Désolé, essayez de nouveau.
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
Hors ligne
#27 Le 17/09/2015, à 18:05
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
ubuntu@ubuntu-W840AU:~$ sudo mount -o remount,rw,defaults,noatime -t hfsplus /dev/sdc2 /media/ubuntu/Untitled [sudo] password for ubuntu: mount: /media/ubuntu/Untitled not mounted or bad option ubuntu@ubuntu-W840AU:~$
Alors essayons autrement :
DDE toujours branché
ls -la /media/ubuntu/Untitled
sudo umount /dev/sdc2
Attends 15 secondes puis
sudo mount -o rw -t hfsplus /dev/sdc2 /media/ubuntu/Untitled
Contrôle :
mount | grep /sdc2
et de nouveau
ls -la /media/ubuntu/Untitled
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#28 Le 17/09/2015, à 18:09
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Ah ! on progresse :
mount | grep /sdc2
/dev/sdc2 on /media/ubuntu/Untitled1
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#29 Le 17/09/2015, à 18:16
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Alors je refais :
ubuntu@ubuntu-W840AU:~$ sudo mkdir /media/ubuntu/Untitled
[sudo] password for ubuntu:
Désolé, essayez de nouveau.
[sudo] password for ubuntu:
mkdir: impossible de créer le répertoire «/media/ubuntu/Untitled»: Le fichier existe
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown ubuntu:ubuntu /media/ubuntu/Untitled
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo mount -o remount,rw,defaults,noatime -t hfsplus /dev/sdc2 /media/ubuntu/Untitled
[sudo] password for ubuntu:
mount: /media/ubuntu/Untitled not mounted or bad option
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ mount | grep /sdc2
/dev/sdc2 on /media/ubuntu/Untitled1 type hfsplus (ro,nosuid,nodev,uhelper=udisks2)
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ ls -la /media/ubuntu/Untitled
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 sept. 17 17:27 .
drwxr-x---+ 4 root root 4096 sept. 17 18:12 ..
ubuntu@ubuntu-W840AU:~$
Hors ligne
#30 Le 17/09/2015, à 18:17
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
merde, je crois que nos post se croisent... On en est où ?!
Hors ligne
#31 Le 17/09/2015, à 18:28
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Voici ton boot-info :
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub.
=> No boot loader is installed in the MBR of /dev/sdc.
sdb1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 14.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc1: __________________________________________________________________________
File system: vfat
Boot sector type: Unknown
Boot sector info: According to the info in the boot sector, sdc1 starts
at sector 0. But according to the info from fdisk,
sdc1 starts at sector 40.
Operating System:
Boot files:
sdc2: __________________________________________________________________________
File system: hfsplus
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda: ___________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 241,840,127 241,838,080 83 Linux
/dev/sdb2 241,842,174 250,068,991 8,226,818 5 Extended
/dev/sdb5 241,842,176 250,068,991 8,226,816 82 Linux swap / Solaris
Drive: sdc _____________________________________________________________________
Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdc1 1 1,953,458,175 1,953,458,175 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sdc1 40 409,639 409,600 EFI System partition
/dev/sdc2 409,640 1,953,195,991 1,952,786,352 Hierarchical File System Plus (HFS+) partition (Mac OS X)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda 1ac51eb6-ec6f-4079-887b-54bd0d749ba9 ext4 DATA
/dev/sdb1 f7988661-ac4a-4459-accf-772250529dbc ext4
/dev/sdb5 f1f5db80-e289-44f0-b24f-b8a147e4b9ff swap
/dev/sdc1 67E3-17ED vfat EFI
/dev/sdc2 41f8af8a-e303-3827-a543-dc6dfef80871 hfsplus Untitled
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Sep 17 15:25 ata-LITEON_IT_SMS-128L9M_002504133539 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 17 11:55 ata-LITEON_IT_SMS-128L9M_002504133539-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 17 11:55 ata-LITEON_IT_SMS-128L9M_002504133539-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 17 11:55 ata-LITEON_IT_SMS-128L9M_002504133539-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 Sep 17 15:25 ata-TOSHIBA_MQ02ABF100_35CPC0JZT -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 17 15:25 usb-WD_My_Book_1140_574D43305330373133323933-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Sep 17 15:13 usb-WD_My_Book_1140_574D43305330373133323933-0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Sep 17 15:13 usb-WD_My_Book_1140_574D43305330373133323933-0:0-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 9 Sep 17 15:25 wwn-0x5000039623f0426a -> ../../sda
lrwxrwxrwx 1 root root 9 Sep 17 15:25 wwn-0x50023031003a7c6b -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 17 11:55 wwn-0x50023031003a7c6b-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 17 11:55 wwn-0x50023031003a7c6b-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 17 11:55 wwn-0x50023031003a7c6b-part5 -> ../../sdb5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sdb1 / ext4 (rw,errors=remount-ro)
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=fr_FR
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=hidden
set timeout=0
# Fallback hidden-timeout code in case the timeout_style feature is
# unavailable.
elif sleep --interruptible 0 ; then
set timeout=0
fi
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30,0; then
clear
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-f7988661-ac4a-4459-accf-772250529dbc' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
linux /boot/vmlinuz-3.13.0-64-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.13.0-64-generic
}
submenu 'Options avancées pour Ubuntu' $menuentry_id_option 'gnulinux-advanced-f7988661-ac4a-4459-accf-772250529dbc' {
menuentry 'Ubuntu, avec Linux 3.13.0-64-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-64-generic-advanced-f7988661-ac4a-4459-accf-772250529dbc' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
echo 'Chargement de Linux 3.13.0-64-generic…'
linux /boot/vmlinuz-3.13.0-64-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.13.0-64-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-64-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-64-generic-recovery-f7988661-ac4a-4459-accf-772250529dbc' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
echo 'Chargement de Linux 3.13.0-64-generic…'
linux /boot/vmlinuz-3.13.0-64-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.13.0-64-generic
}
menuentry 'Ubuntu, avec Linux 3.13.0-63-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-63-generic-advanced-f7988661-ac4a-4459-accf-772250529dbc' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
echo 'Chargement de Linux 3.13.0-63-generic…'
linux /boot/vmlinuz-3.13.0-63-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro quiet splash $vt_handoff
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.13.0-63-generic
}
menuentry 'Ubuntu, with Linux 3.13.0-63-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-63-generic-recovery-f7988661-ac4a-4459-accf-772250529dbc' {
recordfail
load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
echo 'Chargement de Linux 3.13.0-63-generic…'
linux /boot/vmlinuz-3.13.0-63-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro recovery nomodeset
echo 'Chargement du disque mémoire initial…'
initrd /boot/initrd.img-3.13.0-63-generic
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry 'Memory test (memtest86+)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
knetbsd /boot/memtest86+.elf
}
menuentry 'Memory test (memtest86+, serial console 115200)' {
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 f7988661-ac4a-4459-accf-772250529dbc
else
search --no-floppy --fs-uuid --set=root f7988661-ac4a-4459-accf-772250529dbc
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sdb1/etc/fstab: ================================
--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# 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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=f7988661-ac4a-4459-accf-772250529dbc / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=f1f5db80-e289-44f0-b24f-b8a147e4b9ff none swap sw 0 0
--------------------------------------------------------------------------------
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sdc1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |.@..O...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
File descriptor 9 (/proc/26877/mounts) leaked on lvs invocation. Parent PID 2049: bash
File descriptor 63 (pipe:[96755]) leaked on lvs invocation. Parent PID 2049: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-info 2015-09-17__15h25 ===================
boot-info version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-info is executed in installed-session (Ubuntu 14.04.3 LTS, trusty, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
BOOT_IMAGE=/boot/vmlinuz-3.13.0-64-generic root=UUID=f7988661-ac4a-4459-accf-772250529dbc ro quiet splash vt.handoff=7
sda may have broken partition table.
sda may have broken partition table.
mount: warning: /mnt/boot-sav/sdc2 seems to be mounted read-only.
Disk /dev/sda doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== os-prober:
/dev/sdb1:L'OS actuellement utilisé - Ubuntu 14.04.3 LTS CurrentSession:linux
=================== blkid:
/dev/sda: LABEL="DATA" UUID="1ac51eb6-ec6f-4079-887b-54bd0d749ba9" TYPE="ext4"
/dev/sdb1: UUID="f7988661-ac4a-4459-accf-772250529dbc" TYPE="ext4"
/dev/sdb5: UUID="f1f5db80-e289-44f0-b24f-b8a147e4b9ff" TYPE="swap"
/dev/sdc1: LABEL="EFI" UUID="67E3-17ED" TYPE="vfat"
/dev/sdc2: UUID="41f8af8a-e303-3827-a543-dc6dfef80871" LABEL="Untitled" TYPE="hfsplus"
1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
Avertissement : la partition étendue ne commence pas sur une frontière de
cylindres. DOS et Linux interpréteront les contenus différemment.
Attention : identifiant de table de partitions GPT (GUID) détecté sur « /dev/sdc ». L'utilitaire sfdisk ne prend pas GPT en charge. Utilisez GNU Parted.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== /etc/grub.d/ :
drwxr-xr-x 3 root root 4096 sept. 8 19:47 grub.d
total 80
-rwxr-xr-x 1 root root 9424 juin 26 13:16 00_header
-rwxr-xr-x 1 root root 6058 avril 10 2014 05_debian_theme
-rwxr-xr-x 1 root root 11608 avril 11 2014 10_linux
-rwxr-xr-x 1 root root 10412 avril 11 2014 20_linux_xen
-rwxr-xr-x 1 root root 1992 mars 12 2014 20_memtest86+
-rwxr-xr-x 1 root root 11692 avril 11 2014 30_os-prober
-rwxr-xr-x 1 root root 1416 avril 11 2014 30_uefi-firmware
-rwxr-xr-x 1 root root 214 avril 11 2014 40_custom
-rwxr-xr-x 1 root root 216 avril 11 2014 41_custom
drwxr-xr-x 4 root root 4096 avril 7 13:05 backup
-rw-r--r-- 1 root root 483 avril 11 2014 README
=================== /etc/default/grub :
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
##GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="1"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_HIDDEN_TIMEOUT="0"
=================== UEFI/Legacy mode:
This installed-session is not in EFI-mode.
SecureBoot disabled.
=================== PARTITIONS & DISKS:
sdb1 : sdb, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
sdc1 : sdc, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sdc1.
sdc2 : sdc, maybesepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdc2.
sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
sdc : GPT, no-BIOS_boot, has-no-EFIpart, usb-disk, no-os, 40 sectors * 512 bytes
=================== parted -l:
Model: ATA TOSHIBA MQ02ABF1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Number Start End Size File system Flags
1 0.00B 1000GB 1000GB ext4
Model: ATA LITEON IT SMS-12 (scsi)
Disk /dev/sdb: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 124GB 124GB primary ext4 boot
2 124GB 128GB 4212MB extended
5 124GB 128GB 4212MB logical linux-swap(v1)
Model: WD My Book 1140 (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI System Partition boot
2 210MB 1000GB 1000GB hfs+ Untitled
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:loop:ATA TOSHIBA MQ02ABF1;
1:0.00B:1000GB:1000GB:ext4::;
BYT;
/dev/sdb:128GB:scsi:512:512:msdos:ATA LITEON IT SMS-12;
1:1049kB:124GB:124GB:ext4::boot;
2:124GB:128GB:4212MB:::;
5:124GB:128GB:4212MB:linux-swap(v1)::;
BYT;
/dev/sdc:1000GB:scsi:512:512:gpt:WD My Book 1140;
1:20.5kB:210MB:210MB:fat32:EFI System Partition:boot;
2:210MB:1000GB:1000GB:hfs+:Untitled:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk ext4 931,5G DATA TOSHIBA 1ac51eb6-ec6f-4079-887b-54bd0d749ba9
sdb disk 119,2G LITEON I
sdb1 part ext4 115,3G f7988661-ac4a-4459-accf-772250529dbc
sdb2 part 1K
sdb5 part swap 3,9G f1f5db80-e289-44f0-b24f-b8a147e4b9ff
sdc disk 931,5G My Book
sdc1 part vfat 200M EFI 67E3-17ED
sdc2 part hfsplus 931,2G Untitled 41f8af8a-e303-3827-a543-dc6dfef80871
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sdb 0 0 0 running
sdb1 0 0 0 /
sdb2 0 0 0
sdb5 0 0 0 [SWAP]
sdc 1 0 0 running
sdc1 1 0 0 /mnt/boot-sav/sdc1
sdc2 1 0 0 /mnt/boot-sav/sdc2
=================== mount:
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu)
/dev/sdc1 on /mnt/boot-sav/sdc1 type vfat (rw)
/dev/sdc2 on /mnt/boot-sav/sdc2 type hfsplus (ro)
=================== ls:
/sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb5 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdc1 sdc2 size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd full fuse hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sdb sdb1 sdb2 sdb5 sdc sdc1 sdc2 sg0 sg1 sg2 sg3 shm snapshot snd stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
ls /dev/mapper: control
ls: impossible d'accéder à : Aucun fichier ou dossier de ce type
=================== hexdump -n512 -C /dev/sdc1
00000000 eb 58 90 42 53 44 20 20 34 2e 34 00 02 01 20 00 |.X.BSD 4.4... .|
00000010 02 00 00 00 00 f0 00 00 20 00 10 00 00 00 00 00 |........ .......|
00000020 00 40 06 00 4f 0c 00 00 00 00 00 00 02 00 00 00 |.@..O...........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 ed 17 e3 67 45 46 49 20 20 20 20 20 20 |..)...gEFI |
00000050 20 20 46 41 54 33 32 20 20 20 fa 31 c0 8e d0 bc | FAT32 .1....|
00000060 00 7c fb 8e d8 e8 00 00 5e 83 c6 19 bb 07 00 fc |.|......^.......|
00000070 ac 84 c0 74 06 b4 0e cd 10 eb f5 30 e4 cd 16 cd |...t.......0....|
00000080 19 0d 0a 4e 6f 6e 2d 73 79 73 74 65 6d 20 64 69 |...Non-system di|
00000090 73 6b 0d 0a 50 72 65 73 73 20 61 6e 79 20 6b 65 |sk..Press any ke|
000000a0 79 20 74 6f 20 72 65 62 6f 6f 74 0d 0a 00 00 00 |y to reboot.....|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
Disk /dev/sda doesn't contain a valid partition table
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/dev/sdb1 ext4 114G 7.6G 101G 8% /
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
udev devtmpfs 1.9G 12K 1.9G 1% /dev
tmpfs tmpfs 388M 1.2M 387M 1% /run
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 1.9G 844K 1.9G 1% /run/shm
none tmpfs 100M 40K 100M 1% /run/user
/dev/sdc1 vfat 197M 5.0K 197M 1% /mnt/boot-sav/sdc1
/dev/sdc2 hfsplus 932G 36G 897G 4% /mnt/boot-sav/sdc2
=================== fdisk -l:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002502e
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 241840127 120919040 83 Linux
/dev/sdb2 241842174 250068991 4113409 5 Extended
/dev/sdb5 241842176 250068991 4113408 82 Linux swap / Solaris
Disk /dev/sdc: 1000.2 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders, total 1953458176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdc1 1 1953458175 976729087+ ee GPT
=================== Suggested repair
The default repair of the Boot-Repair utility would reinstall the grub2 of sdb1 into the MBRs of all disks (except USB without OS).
Additional repair would be performed: unhide-bootmenu-10s
=================== Final advice in case of suggested repair
N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sdb (128GB) !
Les fichiers de démarrage de [L'OS actuellement utilisé - Ubuntu 14.04.3 LTS] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Boot-Repair]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
=================== User settings
The settings chosen by the user will not act on the boot.
Eh bien, ton boot-info contient une rareté !
Je savais que c'était possible, mais je n'en avais encore jamais rencontré :
ton disque sda (étiqueté "DATA") est formaté sans être partitionné.
Je ne sais pas encore si c'est une astuce (que j'ignore) de ton vendeur, ou une bévue.
Mais le montage de DATA non encore prévu dans fstab... ne parle pas en sa faveur.
Nous corrigerons cela.
Pour info, donne
sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
sudo dd if=/dev/sda bs=512 skip=1 count=1 | hexdump -C
pour qu'on voie à quoi ressemble son début.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#32 Le 17/09/2015, à 18:36
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
nos post se croisent... On en est où ?!
Donne déjà, pour que j'adapte la suite.
mount | grep sdc
puis les 2 commandes du 31.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#33 Le 17/09/2015, à 18:44
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Heu... désolé mais c'est quoi un sda ? (je trouve pas de réponse claire sur le net...)
Tu parles du DDE ou d'un de mes 2 DDI ?
Si tu parles du DDE, ben c'est moi qui l'ai partitionné. Et comme tu peux le voir, je suis pas un boss
Si tu parles d'un des 2 DDI, c'est un de tes collègues, sur qui je jetterai pas la pierre parce qu'il m'a beaucoup aidé, comme toi
ubuntu@ubuntu-W840AU:~$ sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
[sudo] password for ubuntu:
1+0 enregistrements lus
1+0 enregistrements écrits
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
512 octets (512 B) copiés, 0,323028 s, 1,6 kB/s
00000200
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo dd if=/dev/sda bs=512 skip=1 count=1 | hexdump -C
[sudo] password for ubuntu:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets (512 B) copiés, 0,00172476 s, 297 kB/s
00000200
ubuntu@ubuntu-W840AU:~$
Hors ligne
#34 Le 17/09/2015, à 18:47
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
ubuntu@ubuntu-W840AU:~$ mount | grep sdc
/dev/sdc2 on /media/ubuntu/Untitled1 type hfsplus (ro,nosuid,nodev,uhelper=udisks2)
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo dd if=/dev/sda bs=512 count=1 | hexdump -C
[sudo] password for ubuntu:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1+0 enregistrements lus
1+0 enregistrements écrits
512 octets (512 B) copiés, 0,00168939 s, 303 kB/s
00000200
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo dd if=/dev/sda bs=512 skip=1 count=1 | hexdump -C
[sudo] password for ubuntu:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
1+0 enregistrements lus
1+0 enregistrements écrits
*
512 octets (512 B) copiés, 0,367213 s, 1,4 kB/s
00000200
ubuntu@ubuntu-W840AU:~$
Voilà : j'espère que je suis à jour
Hors ligne
#35 Le 17/09/2015, à 19:25
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
sudo chown ubuntu:ubuntu /media/ubuntu/Untitled1
sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled1
puis
ls -la /media/ubuntu/Untitled1
Dernière modification par moko138 (Le 17/09/2015, à 19:26)
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#36 Le 17/09/2015, à 19:31
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
ubuntu@ubuntu-W840AU:~$ sudo chown ubuntu:ubuntu /media/ubuntu/Untitled1
[sudo] password for ubuntu:
chown: modification du propriétaire de «/media/ubuntu/Untitled1»: Système de fichiers accessible en lecture seulement
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled1
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ ls -la /media/ubuntu/Untitled1
total 81936
drwxrwxr-x 1 root root 11 août 25 10:12 .
drwxr-x---+ 4 root root 4096 sept. 17 18:12 ..
-rw-r--r-- 1 99 99 6148 août 25 10:36 .DS_Store
drwx------ 1 99 99 9 sept. 15 19:44 .fseventsd
dr-xr-xr-t 1 root root 2 août 24 17:13 .HFS+ Private Directory Data?
---------- 1 root root 83886080 août 24 17:13 .journal
---------- 1 root root 4096 août 24 17:13 .journal_info_block
drwx------ 1 99 99 8 août 28 2014 Movies
drwx------ 1 99 99 5 août 24 17:13 .Spotlight-V100
d-wx-wx-wt 1 99 99 2 août 24 17:13 .Trashes
ubuntu@ubuntu-W840AU:~$
Hors ligne
#37 Le 17/09/2015, à 19:45
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Ceci
Quand je veux copier un dossier sur mon pc, ça marche pas. Il n'a pas l'autorisation pour le lire.
est résolu, côté lecture du DDE.
Cela
.HFS+ Private Directory Data?
me donne à penser qu'une partie de ton DDE pourrait être chiffrée.
Regarde, sans en donner le résultat qui est sans doute en partie confidentiel,
ls -la /media/ubuntu/Untitled1/Movies
tu devrais reconnaître une partie de tes fichiers.
Merci de démentir ou confirmer.
Après il restera à s'occuper de sda ton premier DD interne, pour le rendre utilisable.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#38 Le 17/09/2015, à 21:05
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Cool cool Merci moko !
J'ai pas le temps d'y retourner ce soir. Je reverrai ça demain et je te redis.
Bonne soirée et merci encore
Hors ligne
#39 Le 18/09/2015, à 16:47
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Salut Moko,
Désolé de te décevoir, mais j'ai toujours le même problème : je ne peux ni ouvrir ce dossier "movies", ni le copier sur mon pc. (pour info, je n'ai pour l'instant que ça sur mon DDE, c'est juste pour tester)
Et sinon :
ubuntu@ubuntu-W840AU:~$ ls -la /media/ubuntu/Untitled1/Movies
ls: impossible d'ouvrir le répertoire /media/ubuntu/Untitled1/Movies: Permission non accordée
ubuntu@ubuntu-W840AU:~$
Dernière modification par Olivier80 (Le 18/09/2015, à 16:48)
Hors ligne
#40 Le 18/09/2015, à 18:31
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Ma connexion est très instable.
Donne
mount | grep /sd
sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled*/Movies
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#41 Le 19/09/2015, à 07:08
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
S'il te plaît,
Commence par, depuis ton mac, donner une "étiquette" ou "label", c'est-à-dire un nom à ton volume sdc2. Un nom SANS espaces ni caractères accentués, genre DDE-1T.
Ensuite, toujours depuis ton mac, ce serait un gros plus si tu créais deux dossiers à la racine de ton DDE : "Chiffre" et "Clair".
Dans Chiffre, tu mettrais tout ce que tu veux garder chiffré,
et dans Clair, Movies et tout ce que tu veux partager avec ubuntu.
-----------
Puis, depuis ubuntu, DDE débranché :
sudo mkdir /media/ubuntu/DDE-1T
sudo chown ubuntu:ubuntu /media/ubuntu/DDE-1T
et après branchement du DDE et vérification par
mount | grep /sd
si ton DDE est bien monté sous /media/ubuntu/DDE-1T,
sudo chown ubuntu:ubuntu -Rf /media/ubuntu/DDE-1T/Clair
ls -la /media/ubuntu/DDE-1T/Clair
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#42 Le 19/09/2015, à 18:06
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Salut Moko,
ubuntu@ubuntu-W840AU:~$ mount | grep /sd
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
/dev/sdc2 on /media/ubuntu/Untitled1 type hfsplus (ro,nosuid,nodev,uhelper=udisks2)
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled*/Movies
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
Hors ligne
#43 Le 19/09/2015, à 18:12
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
toujours depuis ton mac, ce serait un gros plus si tu créais deux dossiers à la racine de ton DDE : "Chiffre" et "Clair".
Dans Chiffre, tu mettrais tout ce que tu veux garder chiffré,
et dans Clair, Movies et tout ce que tu veux partager avec ubuntu
Désolé, mais je suis pas sûr de comprendre. ça veut dire quoi exactement quand un truc est chiffré ? Et pourquoi je voudrais garder un truc chiffré ? Désolé si ma question est très naïve.
Et c'est quoi ce que je voudrais partager avec Ubuntu ? C'est des trucs qui apparaîtront ici, sur ce forum ?
Hors ligne
#44 Le 19/09/2015, à 18:17
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Bon, là tes films doivent être momentanément lisibles, comme il y a 2 jours.
Mais on dirait que tu n'as pas vu mon message de ce matin.
Si tu parles d'un des 2 DDI, c'est un de tes collègues, sur qui je jetterai pas la pierre parce qu'il m'a beaucoup aidé
Euh... J'avais lu, et j'ai relu ton autre fil. herberts t'a conseillé comme je n'aurais pas été capable de le faire ! Tu peux en effet le remercier !
Et à aucun moment il ne t'a fait formater ton sda sans partitionnement ! Ou alors j'ai vraiment mal lu.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#45 Le 19/09/2015, à 18:33
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Désolé Moko, mais je ne peux toujours pas ni ouvrir ni copier le dossier "movies"...
Oui oui, en effet, herberts m'a beaucoup aidé (si tu lis ça herberts, merci encore !). Pour le partitionnement, j'ai évidemment rien touché. J'ai reçu mon ordi comme ça.
Hors ligne
#46 Le 19/09/2015, à 18:41
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Bizarre ! Tu n'as pas eu de message d'erreur et ça ne marche pas ?!
Rafraichis l'affichage, et si ça ne suffit pas, lance et donne
sudo chown ubuntu:ubuntu /media/ubuntu/Untitled1 && sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled1/Movies
et dis si tes films redeviennent visibles ou non.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#47 Le 20/09/2015, à 11:29
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
ça veut dire quoi rafraîchir l'affichage ?
Et sinon :
ubuntu@ubuntu-W840AU:~$ sudo chown ubuntu:ubuntu /media/ubuntu/Untitled1 && sudo chown -Rf ubuntu:ubuntu /media/ubuntu/Untitled1/Movies
[sudo] password for ubuntu:
chown: impossible d'accéder à «/media/ubuntu/Untitled1»: Aucun fichier ou dossier de ce type
ubuntu@ubuntu-W840AU:~$
Hors ligne
#48 Le 20/09/2015, à 11:58
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
Un peu de rigueur.
J'attends toujours les retours du message #41.
On reprend à la mesure 41.
Dernière modification par moko138 (Le 20/09/2015, à 12:00)
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#49 Le 20/09/2015, à 12:23
- Olivier80
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
désolé, je pensais l'avoir fait. (et je suis musicien, alors reprendre à la mesure 41, ça devrait me parler )
Donc :
ubuntu@ubuntu-W840AU:~$ sudo mkdir /media/ubuntu/DDE-1T
[sudo] password for ubuntu:
Désolé, essayez de nouveau.
[sudo] password for ubuntu:
mkdir: impossible de créer le répertoire «/media/ubuntu/DDE-1T»: Le fichier existe
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ mount | grep /sd
/dev/sdb1 on / type ext4 (rw,errors=remount-ro)
/dev/sdc2 on /media/ubuntu/DDE-1T1 type hfsplus (ro,nosuid,nodev,uhelper=udisks2)
ubuntu@ubuntu-W840AU:~$
ubuntu@ubuntu-W840AU:~$ sudo chown ubuntu:ubuntu -Rf /media/ubuntu/DDE-1T/Clair
[sudo] password for ubuntu:
Désolé, essayez de nouveau.
[sudo] password for ubuntu:
ubuntu@ubuntu-W840AU:~$
Et sinon, tu n'as pas répondu à mes question du post 43. Désolé d'insister Je l'ai fait, mais je comprends pas bien, du coup, je sais pas quoi exactement mettre dans ces deux dossiers.
Hors ligne
#50 Le 20/09/2015, à 12:33
- moko138
Re : Migration des données Macbook - pc sous Ubuntu formatage DDE
moko138 a écrit :toujours depuis ton mac, ce serait un gros plus si tu créais deux dossiers à la racine de ton DDE : "Chiffre" et "Clair".
Dans Chiffre, tu mettrais tout ce que tu veux garder chiffré,
et dans Clair, Movies et tout ce que tu veux partager avec ubuntuDésolé, mais je suis pas sûr de comprendre. ça veut dire quoi exactement quand un truc est chiffré ? Et pourquoi je voudrais garder un truc chiffré ? Désolé si ma question est très naïve.
Et c'est quoi ce que je voudrais partager avec Ubuntu ? C'est des trucs qui apparaîtront ici, sur ce forum ?
C'est moi qui suis désolé : je n'avais pas vu le message #43.
Le chiffrement (d'un dossier, par exemple) a pour but de le rendre illisible aux utilisateurs ne disposant pas d'un mot de passe, pour protéger la confidentialité de certains documents.
Or si on regarde le #37...
Sur ton mac, n'as-tu pas un mot de passe ou une "passphrase" pour accéder à ce répertoire/dossier du DDE?
...partager... avec ton compte
Or il se trouve que ton fournisseur a appelé ton compte "ubuntu". C'est une source d'ambiguïté, qui ne se produirait pas si ton compte s'appelait olivier80.
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne