Attachment '02-making-debian-persisent-live.txt'
Download
Toggle line numbers
1 user@debian:~$ sudo ./mkusb-minp -p debian-live-10.0.0-amd64-standard.iso /dev/mmcblk0
2 This shellsript wraps a safety belt around 'dd'
3 It helps you select the target device in a safe way to avoid
4 overwriting valuable data by mistake. Please double-check
5 at the final checkpoint! [press Enter to continue]
6
7 Please check that you will clone to the correct target device!
8 mmc-SP32G_0x52460eb1 /dev/mmcblk0
9 ata-LITEONIT_LMT-128M6M_mSATA_128GB_TW0T8MRJ550854170015 /dev/sda
10 usb-SanDisk_Extreme_AA010425151516420420-0:0 /dev/sdb
11 NAME MODEL FSTYPE LABEL MOUNTPOINT SIZE NAME
12 mmcblk0 iso9660 Lubuntu 19.10 amd64 29.7G mmcblk0
13 ├─mmcblk0p1 iso9660 Lubuntu 19.10 amd64 1.6G ├─mmcblk0p1
14 ├─mmcblk0p2 vfat Lubuntu 19.10 amd64 3.9M ├─mmcblk0p2
15 └─mmcblk0p3 ext2 casper-rw 28.1G └─mmcblk0p3
16
17 Not a USB device. Do you really want to overwrite /dev/mmcblk0 ? (y/N) y
18 Final checkpoint
19 Do you want to overwrite /dev/mmcblk0 ? (y/N) y
20 mount: /tmp/tmp.3yFer2LB6v: WARNING: device write-protected, mounted read-only.
21 grep: /tmp/tmp.3yFer2LB6v/README.diskdefines: No such file or directory
22 Official Debian GNU/Linux Live 10.0.0 standard 2019-07-06T10:36
23 Debian
24 Making persistent live drive of version 10
25 ------------------------------------------------------------------
26 ***** pder: Persistence for Debian *****
27 Trying to unmount partitions if mounted on the target device
28 umount: /dev/mmcblk0: not mounted.
29 umount: /dev/mmcblk0p1: not mounted.
30 umount: /dev/mmcblk0p2: not mounted.
31 umount: /dev/mmcblk0p3: not mounted.
32 ------------------------------------------------------------------
33 Please wait until the process has finished and 'Done' is written
34 Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
35
36 Welcome to fdisk (util-linux 2.33.1).
37 Changes will remain in memory only, until you decide to write them.
38 Be careful before using the write command.
39
40
41 Command (m for help): Partition type
42 p primary (2 primary, 0 extended, 2 free)
43 e extended (container for logical partitions)
44 Select (default p): Partition number (3,4, default 3): First sector (1689600-62333951, default 1689600): Last sector, +/-sectors or +/-size{K,M,G,T,P} (1689600-62333951, default 62333951):
45 Created a new partition 3 of type 'Linux' and of size 28.9 GiB.
46
47 Command (m for help): The partition table has been altered.
48 Calling ioctl() to re-read partition table.
49 Re-reading the partition table failed.: Device or resource busy
50
51 The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
52
53 Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
54 1024+0 records in
55 1024+0 records out
56 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.197804 s, 5.3 MB/s
57 Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
58 mke2fs 1.44.5 (15-Dec-2018)
59 Discarding device blocks: done
60 Creating filesystem with 7580544 4k blocks and 1896832 inodes
61 Filesystem UUID: 8e5fc977-7ac4-4cd0-998b-8a74acaa506e
62 Superblock backups stored on blocks:
63 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
64 4096000
65
66 Allocating group tables: done
67 Writing inode tables: done
68 Writing superblocks and filesystem accounting information: done
69
70 Done :-)
71 Press Enter to continue, when you have unplugged the target device '/dev/mmcblk0'
72 (and maybe have plugged it back)
73 Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
74 NAME MODEL FSTYPE LABEL MOUNTPOINT SIZE NAME
75 mmcblk0 iso9660 d-live 10.0.0 st amd64 29.7G mmcblk0
76 ├─mmcblk0p1 iso9660 d-live 10.0.0 st amd64 825M ├─mmcblk0p1
77 ├─mmcblk0p2 vfat d-live 10.0.0 st amd64 2.9M ├─mmcblk0p2
78 └─mmcblk0p3 ext2 persistence 28.9G └─mmcblk0p3
79 user@debian:~$
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.