Attachment '03-making-ubuntu-persisent-live.txt'
Download
Toggle line numbers
1 user@debian:~$ sudo ./mkusb-minp -p eoan-desktop-amd64.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 d-live 10.0.0 st amd64 29.7G mmcblk0
13 ├─mmcblk0p1 iso9660 d-live 10.0.0 st amd64 825M ├─mmcblk0p1
14 ├─mmcblk0p2 vfat d-live 10.0.0 st amd64 2.9M ├─mmcblk0p2
15 └─mmcblk0p3 ext2 persistence 28.9G └─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.TputIWyyxy: WARNING: device write-protected, mounted read-only.
21 #define DISKNAME Lubuntu 19.10 "Eoan Ermine" - Beta amd64
22 Ubuntu or an Ubuntu family flavour
23 Making persistent live drive of version 19.10
24 ------------------------------------------------------------------
25 ***** puer: Persistence for Ubuntu *****
26 Trying to unmount partitions if mounted on the target device
27 umount: /dev/mmcblk0: not mounted.
28 umount: /dev/mmcblk0p1: not mounted.
29 umount: /dev/mmcblk0p2: not mounted.
30 umount: /dev/mmcblk0p3: not mounted.
31 ------------------------------------------------------------------
32 Please wait until the process has finished and 'Done' is written
33 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.
34 Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
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 (3371808-62333951, default 3373056): Last sector, +/-sectors or +/-size{K,M,G,T,P} (3373056-62333951, default 62333951):
45 Created a new partition 3 of type 'Linux' and of size 28.1 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 Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
55 1024+0 records in
56 1024+0 records out
57 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.152093 s, 6.9 MB/s
58 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.
59 Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
60 mke2fs 1.44.5 (15-Dec-2018)
61 Discarding device blocks: done
62 Creating filesystem with 7370112 4k blocks and 1843200 inodes
63 Filesystem UUID: 9f0461a9-13b2-4a64-95ad-380818e31864
64 Superblock backups stored on blocks:
65 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
66 4096000
67
68 Allocating group tables: done
69 Writing inode tables: done
70 Writing superblocks and filesystem accounting information: done
71
72 Done :-)
73 Press Enter to continue, when you have unplugged the target device '/dev/mmcblk0'
74 (and maybe have plugged it back)
75 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.
76 Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
77 NAME MODEL FSTYPE LABEL MOUNTPOINT SIZE NAME
78 mmcblk0 iso9660 Lubuntu 19.10 amd64 29.7G mmcblk0
79 ├─mmcblk0p1 iso9660 Lubuntu 19.10 amd64 1.6G ├─mmcblk0p1
80 ├─mmcblk0p2 vfat Lubuntu 19.10 amd64 3.9M ├─mmcblk0p2
81 └─mmcblk0p3 ext2 casper-rw 28.1G └─mmcblk0p3
82 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.