It is not your fault. There was a bug in the script.
I could reproduce your result and found the bug: In 16.04.4 persistent, the universe repository must be activated, because that's where the package udftools resides. So it was simply not installed, and there was no way to create a UDF file system.
I have updated post #158 with a new version of the shellscript, that works for me in 16.04.4 persistent. I hope that you will have better luck with this new version
Code:
ubuntu@ubuntu:~$ ./udf2home-rw
udf2home-rw
live system or temporary superuser permissions
mpcrw=/tmp/tmp.aTHgQeQxv2
Device Model Size Persistent live OS
/dev/sdb Extreme 29.8G Ubuntu 16.04.4 LTS amd64
/dev/sdc Extreme 14.9G Ubuntu 18.04 LTS amd64
cntcrw=2
srcdev=/dev/sdc5
Device: /dev/sdc OS: Ubuntu 18.04 LTS amd64
bupfile=
umount: /dev/sdc1: not mounted
umount: /dev/sdc3: not mounted
umount: /dev/sdc4: not mounted
umount: /dev/sdc5: not mounted
'universe' distribution component enabled for all sources.
Ign:1 cdrom://Ubuntu 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228) xenial InRelease
Hit:2 cdrom://Ubuntu 16.04.4 LTS _Xenial Xerus_ - Release amd64 (20180228) xenial Release
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:6 http://security.ubuntu.com/ubuntu xenial-security InRelease
Get:7 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7,532 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [361 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4,354 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [135 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/universe amd64 DEP-11 Metadata [3,410 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/universe DEP-11 64x64 Icons [7,448 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [645 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [260 kB]
Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [246 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [331 kB]
Fetched 25.0 MB in 3s (6,511 kB/s)
** (appstreamcli:4193): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
dvd+rw-tools pmount
The following NEW packages will be installed:
udftools
0 upgraded, 1 newly installed, 0 to remove and 284 not upgraded.
Need to get 62.1 kB of archives.
After this operation, 230 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 udftools amd64 1.0.0b3-14.4 [62.1 kB]
Fetched 62.1 kB in 0s (243 kB/s)
Selecting previously unselected package udftools.
(Reading database ... 195541 files and directories currently installed.)
Preparing to unpack .../udftools_1.0.0b3-14.4_amd64.deb ...
Unpacking udftools (1.0.0b3-14.4) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up udftools (1.0.0b3-14.4) ...
Processing triggers for systemd (229-4ubuntu21.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0141386 s, 74.2 MB/s
start=0, blocks=64, type=RESERVED
start=64, blocks=12, type=VRS
start=76, blocks=180, type=USPACE
start=256, blocks=1, type=ANCHOR
start=257, blocks=16, type=PVDS
start=273, blocks=1, type=LVID
start=274, blocks=13491693, type=PSPACE
start=13491967, blocks=1, type=ANCHOR
start=13491968, blocks=239, type=USPACE
start=13492207, blocks=16, type=RVDS
start=13492223, blocks=1, type=ANCHOR
Please wait for sync (flushing file system buffers to the device)
Partprobe:
Umount:
umount: /dev/sdc[1345]: mountpoint not found
MODEL NAME FSTYPE LABEL MOUNTPOINT SIZE
Extreme sdc 14.9G
├─sdc2 1M
├─sdc5 ext4 casper-rw 6.4G
├─sdc3 vfat usbboot 244M
├─sdc1 udf home-rw 6.4G
└─sdc4 iso9660 Ubuntu 18.04 LTS amd64 1.8G
Created UDF file system on home-rw partition '/dev/sdc1' :-)
If modifying an active persistent live drive, you may need to reboot twice
ubuntu@ubuntu:~$
Bookmarks