Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.34 KB | None | 0 0
  1. login as: pi
  2. pi@192.168.1.200's password:
  3. Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l
  4.  
  5. The programs included with the Debian GNU/Linux system are free software;
  6. the exact distribution terms for each program are described in the
  7. individual files in /usr/share/doc/*/copyright.
  8.  
  9. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
  10. permitted by applicable law.
  11.  
  12. SSH is enabled and the default password for the 'pi' user has not been changed.
  13. This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
  14.  
  15. pi@raspberrypi:~ $ sudo fdisk -l
  16. Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
  17. Units: sectors of 1 * 512 = 512 bytes
  18. Sector size (logical/physical): 512 bytes / 4096 bytes
  19. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  20.  
  21.  
  22. Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
  23. Units: sectors of 1 * 512 = 512 bytes
  24. Sector size (logical/physical): 512 bytes / 4096 bytes
  25. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  26.  
  27.  
  28. Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
  29. Units: sectors of 1 * 512 = 512 bytes
  30. Sector size (logical/physical): 512 bytes / 4096 bytes
  31. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  32.  
  33.  
  34. Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
  35. Units: sectors of 1 * 512 = 512 bytes
  36. Sector size (logical/physical): 512 bytes / 4096 bytes
  37. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  38.  
  39.  
  40. Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
  41. Units: sectors of 1 * 512 = 512 bytes
  42. Sector size (logical/physical): 512 bytes / 4096 bytes
  43. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  44.  
  45.  
  46. Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
  47. Units: sectors of 1 * 512 = 512 bytes
  48. Sector size (logical/physical): 512 bytes / 4096 bytes
  49. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  50.  
  51.  
  52. Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
  53. Units: sectors of 1 * 512 = 512 bytes
  54. Sector size (logical/physical): 512 bytes / 4096 bytes
  55. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  56.  
  57.  
  58. Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
  59. Units: sectors of 1 * 512 = 512 bytes
  60. Sector size (logical/physical): 512 bytes / 4096 bytes
  61. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  62.  
  63.  
  64. Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
  65. Units: sectors of 1 * 512 = 512 bytes
  66. Sector size (logical/physical): 512 bytes / 4096 bytes
  67. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  68.  
  69.  
  70. Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
  71. Units: sectors of 1 * 512 = 512 bytes
  72. Sector size (logical/physical): 512 bytes / 4096 bytes
  73. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  74.  
  75.  
  76. Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
  77. Units: sectors of 1 * 512 = 512 bytes
  78. Sector size (logical/physical): 512 bytes / 4096 bytes
  79. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  80.  
  81.  
  82. Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
  83. Units: sectors of 1 * 512 = 512 bytes
  84. Sector size (logical/physical): 512 bytes / 4096 bytes
  85. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  86.  
  87.  
  88. Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
  89. Units: sectors of 1 * 512 = 512 bytes
  90. Sector size (logical/physical): 512 bytes / 4096 bytes
  91. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  92.  
  93.  
  94. Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
  95. Units: sectors of 1 * 512 = 512 bytes
  96. Sector size (logical/physical): 512 bytes / 4096 bytes
  97. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  98.  
  99.  
  100. Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
  101. Units: sectors of 1 * 512 = 512 bytes
  102. Sector size (logical/physical): 512 bytes / 4096 bytes
  103. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  104.  
  105.  
  106. Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
  107. Units: sectors of 1 * 512 = 512 bytes
  108. Sector size (logical/physical): 512 bytes / 4096 bytes
  109. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  110.  
  111.  
  112. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
  113. Units: sectors of 1 * 512 = 512 bytes
  114. Sector size (logical/physical): 512 bytes / 512 bytes
  115. I/O size (minimum/optimal): 512 bytes / 512 bytes
  116. Disklabel type: dos
  117. Disk identifier: 0x6c586e13
  118.  
  119. Device Boot Start End Sectors Size Id Type
  120. /dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
  121. /dev/mmcblk0p2 532480 15523839 14991360 7.2G 83 Linux
  122. pi@raspberrypi:~ $ sudo fdisk -l
  123. Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
  124. Units: sectors of 1 * 512 = 512 bytes
  125. Sector size (logical/physical): 512 bytes / 4096 bytes
  126. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  127.  
  128.  
  129. Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
  130. Units: sectors of 1 * 512 = 512 bytes
  131. Sector size (logical/physical): 512 bytes / 4096 bytes
  132. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  133.  
  134.  
  135. Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
  136. Units: sectors of 1 * 512 = 512 bytes
  137. Sector size (logical/physical): 512 bytes / 4096 bytes
  138. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  139.  
  140.  
  141. Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
  142. Units: sectors of 1 * 512 = 512 bytes
  143. Sector size (logical/physical): 512 bytes / 4096 bytes
  144. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  145.  
  146.  
  147. Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
  148. Units: sectors of 1 * 512 = 512 bytes
  149. Sector size (logical/physical): 512 bytes / 4096 bytes
  150. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  151.  
  152.  
  153. Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
  154. Units: sectors of 1 * 512 = 512 bytes
  155. Sector size (logical/physical): 512 bytes / 4096 bytes
  156. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  157.  
  158.  
  159. Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
  160. Units: sectors of 1 * 512 = 512 bytes
  161. Sector size (logical/physical): 512 bytes / 4096 bytes
  162. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  163.  
  164.  
  165. Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
  166. Units: sectors of 1 * 512 = 512 bytes
  167. Sector size (logical/physical): 512 bytes / 4096 bytes
  168. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  169.  
  170.  
  171. Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
  172. Units: sectors of 1 * 512 = 512 bytes
  173. Sector size (logical/physical): 512 bytes / 4096 bytes
  174. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  175.  
  176.  
  177. Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
  178. Units: sectors of 1 * 512 = 512 bytes
  179. Sector size (logical/physical): 512 bytes / 4096 bytes
  180. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  181.  
  182.  
  183. Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
  184. Units: sectors of 1 * 512 = 512 bytes
  185. Sector size (logical/physical): 512 bytes / 4096 bytes
  186. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  187.  
  188.  
  189. Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
  190. Units: sectors of 1 * 512 = 512 bytes
  191. Sector size (logical/physical): 512 bytes / 4096 bytes
  192. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  193.  
  194.  
  195. Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
  196. Units: sectors of 1 * 512 = 512 bytes
  197. Sector size (logical/physical): 512 bytes / 4096 bytes
  198. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  199.  
  200.  
  201. Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
  202. Units: sectors of 1 * 512 = 512 bytes
  203. Sector size (logical/physical): 512 bytes / 4096 bytes
  204. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  205.  
  206.  
  207. Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
  208. Units: sectors of 1 * 512 = 512 bytes
  209. Sector size (logical/physical): 512 bytes / 4096 bytes
  210. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  211.  
  212.  
  213. Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
  214. Units: sectors of 1 * 512 = 512 bytes
  215. Sector size (logical/physical): 512 bytes / 4096 bytes
  216. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  217.  
  218.  
  219. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
  220. Units: sectors of 1 * 512 = 512 bytes
  221. Sector size (logical/physical): 512 bytes / 512 bytes
  222. I/O size (minimum/optimal): 512 bytes / 512 bytes
  223. Disklabel type: dos
  224. Disk identifier: 0x6c586e13
  225.  
  226. Device Boot Start End Sectors Size Id Type
  227. /dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
  228. /dev/mmcblk0p2 532480 15523839 14991360 7.2G 83 Linux
  229.  
  230.  
  231. Disk /dev/sda: 59.6 GiB, 64023257088 bytes, 125045424 sectors
  232. Disk model: 900
  233. Units: sectors of 1 * 512 = 512 bytes
  234. Sector size (logical/physical): 512 bytes / 512 bytes
  235. I/O size (minimum/optimal): 512 bytes / 512 bytes
  236. Disklabel type: dos
  237. Disk identifier: 0x6c586e13
  238.  
  239. Device Boot Start End Sectors Size Id Type
  240. /dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA)
  241. /dev/sda2 532480 4390911 3858432 1.9G 83 Linux
  242. pi@raspberrypi:~ $ sudo parted /dev/sda
  243. GNU Parted 3.2
  244. Using /dev/sda
  245. Welcome to GNU Parted! Type 'help' to view a list of commands.
  246. (parted) unit s
  247. (parted) print free
  248. Model: ADATA SP 900 (scsi)
  249. Disk /dev/sda: 125045424s
  250. Sector size (logical/physical): 512B/512B
  251. Partition Table: msdos
  252. Disk Flags:
  253.  
  254. Number Start End Size Type File system Flags
  255. 32s 8191s 8160s Free Space
  256. 1 8192s 532479s 524288s primary fat32 lba
  257. 2 532480s 4390911s 3858432s primary ext4
  258. 4390912s 125045423s 120654512s Free Space
  259.  
  260. (parted) resizepart 2 125045359s
  261. (parted) print free
  262. Model: ADATA SP 900 (scsi)
  263. Disk /dev/sda: 125045424s
  264. Sector size (logical/physical): 512B/512B
  265. Partition Table: msdos
  266. Disk Flags:
  267.  
  268. Number Start End Size Type File system Flags
  269. 32s 8191s 8160s Free Space
  270. 1 8192s 532479s 524288s primary fat32 lba
  271. 2 532480s 125045359s 124512880s primary ext4
  272. 125045360s 125045423s 64s Free Space
  273.  
  274. (parted) quit
  275. Information: You may need to update /etc/fstab.
  276.  
  277. pi@raspberrypi:~ $ sudo e2fsck -f /dev/sda2
  278. e2fsck 1.44.5 (15-Dec-2018)
  279. Pass 1: Checking inodes, blocks, and sizes
  280. Pass 2: Checking directory structure
  281. Pass 3: Checking directory connectivity
  282. Pass 4: Checking reference counts
  283. Pass 5: Checking group summary information
  284. rootfs: 44367/120720 files (0.3% non-contiguous), 292014/482304 blocks
  285. pi@raspberrypi:~ $ sudo resize2fs /dev/sda2 124512880s
  286. resize2fs 1.44.5 (15-Dec-2018)
  287. Resizing the filesystem on /dev/sda2 to 15564110 (4k) blocks.
  288. The filesystem on /dev/sda2 is now 15564110 (4k) blocks long.
  289.  
  290. pi@raspberrypi:~ $ sudo fdisk -l
  291. Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
  292. Units: sectors of 1 * 512 = 512 bytes
  293. Sector size (logical/physical): 512 bytes / 4096 bytes
  294. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  295.  
  296.  
  297. Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
  298. Units: sectors of 1 * 512 = 512 bytes
  299. Sector size (logical/physical): 512 bytes / 4096 bytes
  300. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  301.  
  302.  
  303. Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
  304. Units: sectors of 1 * 512 = 512 bytes
  305. Sector size (logical/physical): 512 bytes / 4096 bytes
  306. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  307.  
  308.  
  309. Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
  310. Units: sectors of 1 * 512 = 512 bytes
  311. Sector size (logical/physical): 512 bytes / 4096 bytes
  312. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  313.  
  314.  
  315. Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
  316. Units: sectors of 1 * 512 = 512 bytes
  317. Sector size (logical/physical): 512 bytes / 4096 bytes
  318. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  319.  
  320.  
  321. Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
  322. Units: sectors of 1 * 512 = 512 bytes
  323. Sector size (logical/physical): 512 bytes / 4096 bytes
  324. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  325.  
  326.  
  327. Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
  328. Units: sectors of 1 * 512 = 512 bytes
  329. Sector size (logical/physical): 512 bytes / 4096 bytes
  330. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  331.  
  332.  
  333. Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
  334. Units: sectors of 1 * 512 = 512 bytes
  335. Sector size (logical/physical): 512 bytes / 4096 bytes
  336. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  337.  
  338.  
  339. Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
  340. Units: sectors of 1 * 512 = 512 bytes
  341. Sector size (logical/physical): 512 bytes / 4096 bytes
  342. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  343.  
  344.  
  345. Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
  346. Units: sectors of 1 * 512 = 512 bytes
  347. Sector size (logical/physical): 512 bytes / 4096 bytes
  348. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  349.  
  350.  
  351. Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
  352. Units: sectors of 1 * 512 = 512 bytes
  353. Sector size (logical/physical): 512 bytes / 4096 bytes
  354. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  355.  
  356.  
  357. Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
  358. Units: sectors of 1 * 512 = 512 bytes
  359. Sector size (logical/physical): 512 bytes / 4096 bytes
  360. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  361.  
  362.  
  363. Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
  364. Units: sectors of 1 * 512 = 512 bytes
  365. Sector size (logical/physical): 512 bytes / 4096 bytes
  366. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  367.  
  368.  
  369. Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
  370. Units: sectors of 1 * 512 = 512 bytes
  371. Sector size (logical/physical): 512 bytes / 4096 bytes
  372. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  373.  
  374.  
  375. Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
  376. Units: sectors of 1 * 512 = 512 bytes
  377. Sector size (logical/physical): 512 bytes / 4096 bytes
  378. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  379.  
  380.  
  381. Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
  382. Units: sectors of 1 * 512 = 512 bytes
  383. Sector size (logical/physical): 512 bytes / 4096 bytes
  384. I/O size (minimum/optimal): 4096 bytes / 4096 bytes
  385.  
  386.  
  387. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
  388. Units: sectors of 1 * 512 = 512 bytes
  389. Sector size (logical/physical): 512 bytes / 512 bytes
  390. I/O size (minimum/optimal): 512 bytes / 512 bytes
  391. Disklabel type: dos
  392. Disk identifier: 0x6c586e13
  393.  
  394. Device Boot Start End Sectors Size Id Type
  395. /dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
  396. /dev/mmcblk0p2 532480 15523839 14991360 7.2G 83 Linux
  397.  
  398.  
  399. Disk /dev/sda: 59.6 GiB, 64023257088 bytes, 125045424 sectors
  400. Disk model: 900
  401. Units: sectors of 1 * 512 = 512 bytes
  402. Sector size (logical/physical): 512 bytes / 512 bytes
  403. I/O size (minimum/optimal): 512 bytes / 512 bytes
  404. Disklabel type: dos
  405. Disk identifier: 0x6c586e13
  406.  
  407. Device Boot Start End Sectors Size Id Type
  408. /dev/sda1 8192 532479 524288 256M c W95 FAT32 (LBA)
  409. /dev/sda2 532480 125045359 124512880 59.4G 83 Linux
  410. pi@raspberrypi:~ $ sudo mount -t ext4 /dev/sda2 /mnt
  411. pi@raspberrypi:~ $ df -h
  412. Filesystem Size Used Avail Use% Mounted on
  413. /dev/root 7.1G 1.3G 5.5G 19% /
  414. devtmpfs 459M 0 459M 0% /dev
  415. tmpfs 464M 0 464M 0% /dev/shm
  416. tmpfs 464M 12M 452M 3% /run
  417. tmpfs 5.0M 4.0K 5.0M 1% /run/lock
  418. tmpfs 464M 0 464M 0% /sys/fs/cgroup
  419. /dev/mmcblk0p1 253M 52M 201M 21% /boot
  420. tmpfs 93M 0 93M 0% /run/user/1000
  421. /dev/sda2 59G 1.1G 55G 2% /mnt
  422. pi@raspberrypi:~ $ sudo umount /dev/sda2
  423. pi@raspberrypi:~ $ sudo fdisk /dev/mmcblk0
  424.  
  425. Welcome to fdisk (util-linux 2.33.1).
  426. Changes will remain in memory only, until you decide to write them.
  427. Be careful before using the write command.
  428.  
  429.  
  430. Command (m for help): p
  431. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
  432. Units: sectors of 1 * 512 = 512 bytes
  433. Sector size (logical/physical): 512 bytes / 512 bytes
  434. I/O size (minimum/optimal): 512 bytes / 512 bytes
  435. Disklabel type: dos
  436. Disk identifier: 0x6c586e13
  437.  
  438. Device Boot Start End Sectors Size Id Type
  439. /dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
  440. /dev/mmcblk0p2 532480 15523839 14991360 7.2G 83 Linux
  441.  
  442. Command (m for help): x
  443.  
  444. Expert command (m for help): i
  445.  
  446. Enter the new disk identifier: 0x11111111
  447.  
  448. Disk identifier changed from 0x6c586e13 to 0x11111111.
  449.  
  450. Expert command (m for help): r
  451.  
  452. Command (m for help): p
  453. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
  454. Units: sectors of 1 * 512 = 512 bytes
  455. Sector size (logical/physical): 512 bytes / 512 bytes
  456. I/O size (minimum/optimal): 512 bytes / 512 bytes
  457. Disklabel type: dos
  458. Disk identifier: 0x11111111
  459.  
  460. Device Boot Start End Sectors Size Id Type
  461. /dev/mmcblk0p1 8192 532479 524288 256M c W95 FAT32 (LBA)
  462. /dev/mmcblk0p2 532480 15523839 14991360 7.2G 83 Linux
  463.  
  464. Command (m for help): w
  465. The partition table has been altered.
  466. Syncing disks.
  467.  
  468. pi@raspberrypi:~ $ cd boot
  469. -bash: cd: boot: No such file or directory
  470. pi@raspberrypi:~ $ cd /boot
  471. pi@raspberrypi:/boot $ sudo touch ssh
  472. pi@raspberrypi:/boot $ ls
  473. bcm2708-rpi-b.dtb bcm2708-rpi-zero-w.dtb bcm2710-rpi-3-b-plus.dtb BOOTEX.LOG fixup4cd.dat fixup_cd.dat issue.txt kernel.img start4cd.elf start_cd.elf 'System Volume Information'
  474. bcm2708-rpi-b-plus.dtb bcm2709-rpi-2-b.dtb bcm2710-rpi-cm3.dtb cmdline.txt fixup4.dat fixup.dat kernel7.img LICENCE.broadcom start4db.elf start_db.elf
  475. bcm2708-rpi-cm.dtb bcm2710-rpi-2-b.dtb bcm2711-rpi-4-b.dtb config.txt fixup4db.dat fixup_db.dat kernel7l.img overlays start4.elf start.elf
  476. bcm2708-rpi-zero.dtb bcm2710-rpi-3-b.dtb bootcode.bin COPYING.linux fixup4x.dat fixup_x.dat kernel8.img ssh start4x.elf start_x.elf
  477. pi@raspberrypi:/boot $ sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement