Quote:
Originally Posted by Alien Bob
The strange thing is that everything seems to have been copied over to the USB drive (100%, 3GB of data) and then there's a sudden rsync error about the USB drive becoming read-only.
Can you find anything in the messagelog or the kernel log about status changes of the USB device? Also, you can add "-v" parameter to the iso2usb.sh commandline to get more verbose progress details about the rsync.
|
I did as you suggested. However, I still cannot boot. Same symptoms. I did inspect the messagelog for any references to the USB changing to read only, but there were none.
When I ran the iso2usb.sh, I added the -v to get more verbose output. It is shown below. (Note that I reverted to the unpatched iso2usb, which I had backed up before applying the patch.) Also note that the error about the directory being read only has disappeared.
===
root@darkstar:~# mkdir /mnt/fc25
root@darkstar:~#
root@darkstar:~# mount /dev/sda9 /mnt/fc25
root@darkstar:~# cd /mnt/fc25/kd1yv2/Downloads/
root@darkstar:/mnt/fc25/kd1yv2/Downloads#
root@darkstar:/mnt/fc25/kd1yv2/Downloads#
root@darkstar:/mnt/fc25/kd1yv2/Downloads# ls -l iso*
-rwxrwx--- 1 live 1000 25040 Jul 22 03:21 iso2usb.sh*
-rwxrwx--- 1 live 1000 24647 Jul 19 04:16 iso2usb.sh.bk.20170721*
-rw-rw-r-- 1 live 1000 724 Jul 22 03:20 iso2usb.sh.patch
root@darkstar:/mnt/fc25/kd1yv2/Downloads#
root@darkstar:/mnt/fc25/kd1yv2/Downloads#
root@darkstar:/mnt/fc25/kd1yv2/Downloads# ./iso2usb.sh.bk.20170721 -v -i slackware64-live-current.iso -o /dev/sdb
#
# We are going to format this device (erase all data) - '/dev/sdb':
# Vendor : Verbatim
# Model : Store n Go Drive
# Size : 7651 MB
#
# FDISK OUTPUT:
# GPT fdisk (gdisk) version 1.0.1
#
# Partition table scan:
# MBR: protective
# BSD: not present
# APM: not present
# GPT: present
#
# Found valid GPT with protective MBR; using GPT.
# Disk /dev/sdb: 15669248 sectors, 7.5 GiB
# Logical sector size: 512 bytes
# Disk identifier (GUID): 24EAAC0A-F998-4716-B8DB-388156348A65
# Partition table holds up to 128 entries
# First usable sector is 34, last usable sector is 15669214
# Partitions will be aligned on 2048-sector boundaries
# Total free space is 2014 sectors (1007.0 KiB)
#
# Number Start (sector) End (sector) Size Code Name
# 1 2048 4095 1024.0 KiB EF02 BIOS Boot Partition
# 2 4096 208895 100.0 MiB EF00 EFI System Partition
# 3 208896 15669214 7.4 GiB 8300 Slackware Linux
*** ***
*** If this is the wrong drive, then press CONTROL-C now! ***
*** ***
Or press ENTER to continue:
1+0 records in
1+0 records out
512 bytes copied, 0.0124625 s, 41.1 kB/s
Found valid GPT with corrupt MBR; using GPT and will write new
protective MBR on save.
The operation has completed successfully.
Setting name!
partNum is 0
REALLY setting name!
Setting name!
partNum is 1
REALLY setting name!
Setting name!
partNum is 2
REALLY setting name!
The operation has completed successfully.
The operation has completed successfully.
Disk /dev/sdb: 15669248 sectors, 7.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 2CB28F0E-6FBA-4715-BBE1-C7754FF371E7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15669214
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 4095 1024.0 KiB EF02 BIOS Boot Partition
2 4096 208895 100.0 MiB EF00 EFI System Partition
3 208896 15669214 7.4 GiB 8300 Slackware Linux
3:2:1 (legacy BIOS bootable)
mkfs.fat 4.1 (2017-01-24)
mkfs.fat 4.1 (2017-01-24)
mke2fs 1.43.4 (31-Jan-2017)
/dev/sdb3 contains a ext4 file system labelled 'LIVESLAK'
last mounted on /mnt/alienusb.TrhXoZ on Sat Jul 22 19:08:57 2017
Creating filesystem with 1932539 4k blocks and 483328 inodes
Filesystem UUID: 4bdeffec-7b6f-4cd9-a42c-901bc8b132c1
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
tune2fs 1.43.4 (31-Jan-2017)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
mount: /mnt/alieniso.V6EDTq: WARNING: device write-protected, mounted read-only.
109405 blocks
--- Copying files from ISO to USB... takes some time.
sending incremental file list
boot/
boot/generic
4,856,096 100% 102.22MB/s 0:00:00 (xfr#1, to-chk=95/98)
boot/initrd.img
19,278,952 100% 133.23MB/s 0:00:00 (xfr#2, to-chk=94/98)
boot/memtest
150,024 100% 1.03MB/s 0:00:00 (xfr#3, to-chk=93/98)
boot/syslinux/
boot/syslinux/efiboot.img
1,474,560 100% 9.19MB/s 0:00:00 (xfr#4, to-chk=91/98)
boot/syslinux/f2.txt
969 100% 6.18kB/s 0:00:00 (xfr#5, to-chk=90/98)
boot/syslinux/f3.txt
1,210 100% 7.72kB/s 0:00:00 (xfr#6, to-chk=89/98)
boot/syslinux/f4.txt
1,214 100% 7.75kB/s 0:00:00 (xfr#7, to-chk=88/98)
boot/syslinux/f5.txt
853 100% 5.44kB/s 0:00:00 (xfr#8, to-chk=87/98)
boot/syslinux/iso.sort
50 100% 0.32kB/s 0:00:00 (xfr#9, to-chk=86/98)
boot/syslinux/isolinux.bin
24,576 100% 156.86kB/s 0:00:00 (xfr#10, to-chk=85/98)
boot/syslinux/isolinux.boot
2,048 100% 12.99kB/s 0:00:00 (xfr#11, to-chk=84/98)
boot/syslinux/isolinux.cfg
26 100% 0.16kB/s 0:00:00 (xfr#12, to-chk=83/98)
boot/syslinux/lang.cfg
1,763 100% 11.18kB/s 0:00:00 (xfr#13, to-chk=82/98)
boot/syslinux/message.txt
520 100% 3.30kB/s 0:00:00 (xfr#14, to-chk=81/98)
boot/syslinux/swlogov.png
10,289 100% 65.25kB/s 0:00:00 (xfr#15, to-chk=80/98)
boot/syslinux/syslinux.cfg
290 100% 1.84kB/s 0:00:00 (xfr#16, to-chk=79/98)
boot/syslinux/ter-i16v.psf
5,146 100% 32.63kB/s 0:00:00 (xfr#17, to-chk=78/98)
boot/syslinux/vesamenu.c32
154,128 100% 964.84kB/s 0:00:00 (xfr#18, to-chk=77/98)
boot/syslinux/menu/
boot/syslinux/menu/be-latin1.ktl
256 100% 1.59kB/s 0:00:00 (xfr#19, to-chk=75/98)
boot/syslinux/menu/br-abnt2.ktl
256 100% 1.59kB/s 0:00:00 (xfr#20, to-chk=74/98)
boot/syslinux/menu/de-latin1-nodeadkeys.ktl
256 100% 1.59kB/s 0:00:00 (xfr#21, to-chk=73/98)
boot/syslinux/menu/de-latin1.ktl
256 100% 1.59kB/s 0:00:00 (xfr#22, to-chk=72/98)
boot/syslinux/menu/dk-latin1.ktl
256 100% 1.59kB/s 0:00:00 (xfr#23, to-chk=71/98)
boot/syslinux/menu/es.ktl
256 100% 1.59kB/s 0:00:00 (xfr#24, to-chk=70/98)
boot/syslinux/menu/fr-latin9.ktl
256 100% 1.59kB/s 0:00:00 (xfr#25, to-chk=69/98)
boot/syslinux/menu/it.ktl
256 100% 1.59kB/s 0:00:00 (xfr#26, to-chk=68/98)
boot/syslinux/menu/jp106.ktl
256 100% 1.59kB/s 0:00:00 (xfr#27, to-chk=67/98)
boot/syslinux/menu/kbd.cfg
1,721 100% 10.70kB/s 0:00:00 (xfr#28, to-chk=66/98)
boot/syslinux/menu/lang_be.cfg
3,131 100% 19.48kB/s 0:00:00 (xfr#29, to-chk=65/98)
boot/syslinux/menu/lang_br.cfg
3,115 100% 19.38kB/s 0:00:00 (xfr#30, to-chk=64/98)
boot/syslinux/menu/lang_da.cfg
3,131 100% 19.48kB/s 0:00:00 (xfr#31, to-chk=63/98)
boot/syslinux/menu/lang_de.cfg
3,307 100% 20.57kB/s 0:00:00 (xfr#32, to-chk=62/98)
boot/syslinux/menu/lang_de_ch.cfg
3,131 100% 19.48kB/s 0:00:00 (xfr#33, to-chk=61/98)
boot/syslinux/menu/lang_es.cfg
3,019 100% 18.78kB/s 0:00:00 (xfr#34, to-chk=60/98)
boot/syslinux/menu/lang_fr.cfg
3,146 100% 19.57kB/s 0:00:00 (xfr#35, to-chk=59/98)
boot/syslinux/menu/lang_fr_ch.cfg
3,146 100% 19.57kB/s 0:00:00 (xfr#36, to-chk=58/98)
boot/syslinux/menu/lang_gb.cfg
3,019 100% 18.78kB/s 0:00:00 (xfr#37, to-chk=57/98)
boot/syslinux/menu/lang_it.cfg
3,019 100% 18.66kB/s 0:00:00 (xfr#38, to-chk=56/98)
boot/syslinux/menu/lang_ja.cfg
3,067 100% 18.96kB/s 0:00:00 (xfr#39, to-chk=55/98)
boot/syslinux/menu/lang_nl.cfg
3,019 100% 18.66kB/s 0:00:00 (xfr#40, to-chk=54/98)
boot/syslinux/menu/lang_pt.cfg
3,131 100% 19.35kB/s 0:00:00 (xfr#41, to-chk=53/98)
boot/syslinux/menu/lang_ru.cfg
3,083 100% 19.06kB/s 0:00:00 (xfr#42, to-chk=52/98)
boot/syslinux/menu/lang_se.cfg
3,131 100% 19.35kB/s 0:00:00 (xfr#43, to-chk=51/98)
boot/syslinux/menu/lang_us.cfg
3,019 100% 18.66kB/s 0:00:00 (xfr#44, to-chk=50/98)
boot/syslinux/menu/menu_be.cfg
2,199 100% 13.59kB/s 0:00:00 (xfr#45, to-chk=49/98)
boot/syslinux/menu/menu_br.cfg
2,198 100% 13.59kB/s 0:00:00 (xfr#46, to-chk=48/98)
boot/syslinux/menu/menu_da.cfg
2,199 100% 13.59kB/s 0:00:00 (xfr#47, to-chk=47/98)
boot/syslinux/menu/menu_de.cfg
2,210 100% 13.66kB/s 0:00:00 (xfr#48, to-chk=46/98)
boot/syslinux/menu/menu_de_ch.cfg
2,202 100% 13.61kB/s 0:00:00 (xfr#49, to-chk=45/98)
boot/syslinux/menu/menu_es.cfg
2,192 100% 13.55kB/s 0:00:00 (xfr#50, to-chk=44/98)
boot/syslinux/menu/menu_fr.cfg
2,199 100% 13.59kB/s 0:00:00 (xfr#51, to-chk=43/98)
boot/syslinux/menu/menu_fr_ch.cfg
2,202 100% 13.61kB/s 0:00:00 (xfr#52, to-chk=42/98)
boot/syslinux/menu/menu_gb.cfg
2,192 100% 13.55kB/s 0:00:00 (xfr#53, to-chk=41/98)
boot/syslinux/menu/menu_it.cfg
2,192 100% 13.55kB/s 0:00:00 (xfr#54, to-chk=40/98)
boot/syslinux/menu/menu_ja.cfg
2,195 100% 13.57kB/s 0:00:00 (xfr#55, to-chk=39/98)
boot/syslinux/menu/menu_nl.cfg
2,192 100% 13.55kB/s 0:00:00 (xfr#56, to-chk=38/98)
boot/syslinux/menu/menu_pt.cfg
2,199 100% 13.59kB/s 0:00:00 (xfr#57, to-chk=37/98)
boot/syslinux/menu/menu_ru.cfg
2,196 100% 13.57kB/s 0:00:00 (xfr#58, to-chk=36/98)
boot/syslinux/menu/menu_se.cfg
2,199 100% 13.59kB/s 0:00:00 (xfr#59, to-chk=35/98)
boot/syslinux/menu/menu_us.cfg
2,192 100% 13.55kB/s 0:00:00 (xfr#60, to-chk=34/98)
boot/syslinux/menu/nl.ktl
256 100% 1.57kB/s 0:00:00 (xfr#61, to-chk=33/98)
boot/syslinux/menu/pt-latin1.ktl
256 100% 1.57kB/s 0:00:00 (xfr#62, to-chk=32/98)
boot/syslinux/menu/ru_win.ktl
256 100% 1.57kB/s 0:00:00 (xfr#63, to-chk=31/98)
boot/syslinux/menu/sv-latin1.ktl
256 100% 1.57kB/s 0:00:00 (xfr#64, to-chk=30/98)
boot/syslinux/menu/uk.ktl
256 100% 1.57kB/s 0:00:00 (xfr#65, to-chk=29/98)
boot/syslinux/menu/us.ktl
256 100% 1.57kB/s 0:00:00 (xfr#66, to-chk=28/98)
boot/syslinux/menu/vesamenu.cfg
2,192 100% 13.46kB/s 0:00:00 (xfr#67, to-chk=27/98)
liveslak/
liveslak/addons/
liveslak/optional/
liveslak/optional/0060-broadcom_sta-6.30.223.271_4.9.37-current-x86_64.sxz
1,941,504 100% 9.69MB/s 0:00:00 (xfr#68, to-chk=22/98)
liveslak/optional/0060-skypeforlinux-5.3.0.1-current-x86_64.sxz
57,536,512 100% 69.46MB/s 0:00:00 (xfr#69, to-chk=21/98)
liveslak/optional/0060-tt-15.1-14.2-x86_64.sxz
40,960 100% 50.57kB/s 0:00:00 (xfr#70, to-chk=20/98)
liveslak/optional/0060-wine-2.8-current-x86_64.sxz
235,315,200 100% 69.82MB/s 0:00:03 (xfr#71, to-chk=19/98)
liveslak/rootcopy/
liveslak/system/
liveslak/system/0000-slackware_boot-current-x86_64.sxz
13,979,648 100% 36.43MB/s 0:00:00 (xfr#72, to-chk=18/98)
liveslak/system/0010-slackware_a-current-x86_64.sxz
170,627,072 100% 36.18MB/s 0:00:04 (xfr#73, to-chk=17/98)
liveslak/system/0010-slackware_ap-current-x86_64.sxz
136,400,896 100% 90.27MB/s 0:00:01 (xfr#74, to-chk=16/98)
liveslak/system/0010-slackware_d-current-x86_64.sxz
331,722,752 100% 1.17MB/s 0:04:30 (xfr#75, to-chk=15/98)
liveslak/system/0010-slackware_e-current-x86_64.sxz
42,975,232 100% 3.13MB/s 0:00:13 (xfr#76, to-chk=14/98)
liveslak/system/0010-slackware_f-current-x86_64.sxz
7,622,656 100% 2.58MB/s 0:00:02 (xfr#77, to-chk=13/98)
liveslak/system/0010-slackware_k-current-x86_64.sxz
108,122,112 100% 1.25MB/s 0:01:22 (xfr#78, to-chk=12/98)
liveslak/system/0010-slackware_kde-current-x86_64.sxz
716,877,824 100% 2.75MB/s 0:04:08 (xfr#79, to-chk=11/98)
liveslak/system/0010-slackware_kdei-current-x86_64.sxz
416,403,456 100% 3.66MB/s 0:01:48 (xfr#80, to-chk=10/98)
liveslak/system/0010-slackware_l-current-x86_64.sxz
290,574,336 100% 2.99MB/s 0:01:32 (xfr#81, to-chk=9/98)
liveslak/system/0010-slackware_n-current-x86_64.sxz
103,104,512 100% 3.63MB/s 0:00:27 (xfr#82, to-chk=8/98)
liveslak/system/0010-slackware_t-current-x86_64.sxz
91,824,128 100% 3.26MB/s 0:00:26 (xfr#83, to-chk=7/98)
liveslak/system/0010-slackware_tcl-current-x86_64.sxz
5,779,456 100% 3.38MB/s 0:00:01 (xfr#84, to-chk=6/98)
liveslak/system/0010-slackware_x-current-x86_64.sxz
130,396,160 100% 3.40MB/s 0:00:36 (xfr#85, to-chk=5/98)
liveslak/system/0010-slackware_xap-current-x86_64.sxz
225,779,712 100% 3.10MB/s 0:01:09 (xfr#86, to-chk=4/98)
liveslak/system/0010-slackware_xfce-current-x86_64.sxz
12,189,696 100% 3.12MB/s 0:00:03 (xfr#87, to-chk=3/98)
liveslak/system/0010-slackware_y-current-x86_64.sxz
1,961,984 100% 1.60MB/s 0:00:01 (xfr#88, to-chk=2/98)
liveslak/system/0020-slackware_slackextra-current-x86_64.sxz
4,923,392 100% 3.40MB/s 0:00:01 (xfr#89, to-chk=1/98)
liveslak/system/0099-slackware_zzzconf-current-x86_64.sxz
5,783,552 100% 3.11MB/s 0:00:01 (xfr#90, to-chk=0/98)
sent 3,138,710,148 bytes received 1,774 bytes 3,165,619.69 bytes/sec
total size is 3,137,937,991 speedup is 1.00
--- Making the USB drive '/dev/sdb' bootable using extlinux...
/mnt/alienusb.HjUQRq/boot/extlinux is device /dev/sdb3
--- Copying EFI boot files from ISO to USB.
sending incremental file list
created directory /mnt/alienus2.VZ8aFr/boot
generic
initrd.img
memtest
syslinux/
syslinux/efiboot.img
syslinux/f2.txt
syslinux/f3.txt
syslinux/f4.txt
syslinux/f5.txt
syslinux/iso.sort
syslinux/isolinux.bin
syslinux/isolinux.boot
syslinux/isolinux.cfg
syslinux/lang.cfg
syslinux/message.txt
syslinux/swlogov.png
syslinux/syslinux.cfg
syslinux/ter-i16v.psf
syslinux/vesamenu.c32
syslinux/menu/
syslinux/menu/be-latin1.ktl
syslinux/menu/br-abnt2.ktl
syslinux/menu/de-latin1-nodeadkeys.ktl
syslinux/menu/de-latin1.ktl
syslinux/menu/dk-latin1.ktl
syslinux/menu/es.ktl
syslinux/menu/fr-latin9.ktl
syslinux/menu/it.ktl
syslinux/menu/jp106.ktl
syslinux/menu/kbd.cfg
syslinux/menu/lang_be.cfg
syslinux/menu/lang_br.cfg
syslinux/menu/lang_da.cfg
syslinux/menu/lang_de.cfg
syslinux/menu/lang_de_ch.cfg
syslinux/menu/lang_es.cfg
syslinux/menu/lang_fr.cfg
syslinux/menu/lang_fr_ch.cfg
syslinux/menu/lang_gb.cfg
syslinux/menu/lang_it.cfg
syslinux/menu/lang_ja.cfg
syslinux/menu/lang_nl.cfg
syslinux/menu/lang_pt.cfg
syslinux/menu/lang_ru.cfg
syslinux/menu/lang_se.cfg
syslinux/menu/lang_us.cfg
syslinux/menu/menu_be.cfg
syslinux/menu/menu_br.cfg
syslinux/menu/menu_da.cfg
syslinux/menu/menu_de.cfg
syslinux/menu/menu_de_ch.cfg
syslinux/menu/menu_es.cfg
syslinux/menu/menu_fr.cfg
syslinux/menu/menu_fr_ch.cfg
syslinux/menu/menu_gb.cfg
syslinux/menu/menu_it.cfg
syslinux/menu/menu_ja.cfg
syslinux/menu/menu_nl.cfg
syslinux/menu/menu_pt.cfg
syslinux/menu/menu_ru.cfg
syslinux/menu/menu_se.cfg
syslinux/menu/menu_us.cfg
syslinux/menu/nl.ktl
syslinux/menu/pt-latin1.ktl
syslinux/menu/ru_win.ktl
syslinux/menu/sv-latin1.ktl
syslinux/menu/uk.ktl
syslinux/menu/us.ktl
syslinux/menu/vesamenu.cfg
sent 26,065,723 bytes received 1,357 bytes 52,134,160.00 bytes/sec
total size is 26,055,239 speedup is 1.00
--- Cleaning up the staging area...
root@darkstar:/mnt/fc25/kd1yv2/Downloads#
====