Aide pour boot sur ssd
Publié : 17 nov. 2018, 19:30
Bonsoir,
J'essaie depuis quelques jours d'installer mon domoticz sur un disque ssd externe relié en usb à un raspberry 3.
Je précise d'entrée ,et c'est l'objet de ma demande d'aide, que mes connaissances sont proche de zéro en matière de linux... il est possible (j'espère même que c'est le cas) que je fasse une belle erreur de débutant évidente à repérer pour un initié.
Je n'ai peut être pas la bonne méthode, j'ai suivi ce tuto : https://framboiseaupotager.blogspot.com ... ur-un.html
Au niveau du matériel, j'ai pris exactement celui que conseille l'auteur du tuto, je ne pense donc pas qu'il y ait de problème à ce niveau là.
tout m'a l'air correct , le disque est reconnu par le raspberry (enfin je crois). je colle ci dessous le retour des quelques commandes que je crois avoir compris à ce sujet.Je ne suis même pas sur qu'elle peuvent aider !
J'ai bien aussi le bon retour 17:3020000a après cette commande ( sudo vcgencmd otp_dump |grep 17 ) qui m'indique que le boot doit se faire sur l'usb
malheureusement, le rasp continue à booter sur la carte sd et je ne comprends pas ou est mon erreur...
j'ai installé rasbian sur le DD avec la même méthode que sur la carte sd (avec Win32DiskImager).
Bref, j'ai atteint la limite de mes capacités... ( je sais, elle est très basse...)
si une âme charitable peut jeter un œil , ça m'arrangerait !
Merci et bon week end
Eric
pi@raspberrypi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111,8G 0 disk
├─sda1 8:1 0 43,1M 0 part
└─sda2 8:2 0 1,7G 0 part
mmcblk0 179:0 0 7,4G 0 disk
├─mmcblk0p1 179:1 0 43,8M 0 part /boot
└─mmcblk0p2 179:2 0 7,4G 0 part /
pi@raspberrypi:~ $ sudo apt-get update
Réception de:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
Atteint:2 http://archive.raspberrypi.org/debian stretch InRelease
Atteint:3 https://deb.nodesource.com/node_8.x stretch InRelease
15,0 ko réceptionnés en 2s (6 016 o/s)
Lecture des listes de paquets... Fait
pi@raspberrypi:~ $ sudo fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 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 /dev/ram1: 4 MiB, 4194304 bytes, 8192 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 /dev/ram2: 4 MiB, 4194304 bytes, 8192 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 /dev/ram3: 4 MiB, 4194304 bytes, 8192 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 /dev/ram4: 4 MiB, 4194304 bytes, 8192 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 /dev/ram5: 4 MiB, 4194304 bytes, 8192 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 /dev/ram6: 4 MiB, 4194304 bytes, 8192 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 /dev/ram7: 4 MiB, 4194304 bytes, 8192 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 /dev/ram8: 4 MiB, 4194304 bytes, 8192 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 /dev/ram9: 4 MiB, 4194304 bytes, 8192 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 /dev/ram10: 4 MiB, 4194304 bytes, 8192 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 /dev/ram11: 4 MiB, 4194304 bytes, 8192 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 /dev/ram12: 4 MiB, 4194304 bytes, 8192 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 /dev/ram13: 4 MiB, 4194304 bytes, 8192 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 /dev/ram14: 4 MiB, 4194304 bytes, 8192 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 /dev/ram15: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0: 7,4 GiB, 7969177600 bytes, 15564800 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
Disklabel type: dos
Disk identifier: 0xb446bb69
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 97889 89698 43,8M c W95 FAT32 (LBA)
/dev/mmcblk0p2 98304 15564799 15466496 7,4G 83 Linux
Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0xc7cb7e34
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 96453 88262 43,1M c W95 FAT32 (LBA)
/dev/sda2 98304 3637247 3538944 1,7G 83 Linux
J'essaie depuis quelques jours d'installer mon domoticz sur un disque ssd externe relié en usb à un raspberry 3.
Je précise d'entrée ,et c'est l'objet de ma demande d'aide, que mes connaissances sont proche de zéro en matière de linux... il est possible (j'espère même que c'est le cas) que je fasse une belle erreur de débutant évidente à repérer pour un initié.
Je n'ai peut être pas la bonne méthode, j'ai suivi ce tuto : https://framboiseaupotager.blogspot.com ... ur-un.html
Au niveau du matériel, j'ai pris exactement celui que conseille l'auteur du tuto, je ne pense donc pas qu'il y ait de problème à ce niveau là.
tout m'a l'air correct , le disque est reconnu par le raspberry (enfin je crois). je colle ci dessous le retour des quelques commandes que je crois avoir compris à ce sujet.Je ne suis même pas sur qu'elle peuvent aider !
J'ai bien aussi le bon retour 17:3020000a après cette commande ( sudo vcgencmd otp_dump |grep 17 ) qui m'indique que le boot doit se faire sur l'usb
malheureusement, le rasp continue à booter sur la carte sd et je ne comprends pas ou est mon erreur...
j'ai installé rasbian sur le DD avec la même méthode que sur la carte sd (avec Win32DiskImager).
Bref, j'ai atteint la limite de mes capacités... ( je sais, elle est très basse...)
si une âme charitable peut jeter un œil , ça m'arrangerait !
Merci et bon week end
Eric
pi@raspberrypi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111,8G 0 disk
├─sda1 8:1 0 43,1M 0 part
└─sda2 8:2 0 1,7G 0 part
mmcblk0 179:0 0 7,4G 0 disk
├─mmcblk0p1 179:1 0 43,8M 0 part /boot
└─mmcblk0p2 179:2 0 7,4G 0 part /
pi@raspberrypi:~ $ sudo apt-get update
Réception de:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15,0 kB]
Atteint:2 http://archive.raspberrypi.org/debian stretch InRelease
Atteint:3 https://deb.nodesource.com/node_8.x stretch InRelease
15,0 ko réceptionnés en 2s (6 016 o/s)
Lecture des listes de paquets... Fait
pi@raspberrypi:~ $ sudo fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 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 /dev/ram1: 4 MiB, 4194304 bytes, 8192 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 /dev/ram2: 4 MiB, 4194304 bytes, 8192 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 /dev/ram3: 4 MiB, 4194304 bytes, 8192 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 /dev/ram4: 4 MiB, 4194304 bytes, 8192 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 /dev/ram5: 4 MiB, 4194304 bytes, 8192 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 /dev/ram6: 4 MiB, 4194304 bytes, 8192 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 /dev/ram7: 4 MiB, 4194304 bytes, 8192 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 /dev/ram8: 4 MiB, 4194304 bytes, 8192 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 /dev/ram9: 4 MiB, 4194304 bytes, 8192 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 /dev/ram10: 4 MiB, 4194304 bytes, 8192 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 /dev/ram11: 4 MiB, 4194304 bytes, 8192 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 /dev/ram12: 4 MiB, 4194304 bytes, 8192 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 /dev/ram13: 4 MiB, 4194304 bytes, 8192 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 /dev/ram14: 4 MiB, 4194304 bytes, 8192 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 /dev/ram15: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0: 7,4 GiB, 7969177600 bytes, 15564800 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
Disklabel type: dos
Disk identifier: 0xb446bb69
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 8192 97889 89698 43,8M c W95 FAT32 (LBA)
/dev/mmcblk0p2 98304 15564799 15466496 7,4G 83 Linux
Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 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
Disklabel type: dos
Disk identifier: 0xc7cb7e34
Device Boot Start End Sectors Size Id Type
/dev/sda1 8192 96453 88262 43,1M c W95 FAT32 (LBA)
/dev/sda2 98304 3637247 3538944 1,7G 83 Linux