(solved)live-usb-maker does not work for me

Message
Author
User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#51 Post by Richard »

Downloaded the new build, building a USB of MX18b1_amd64, as per image (log to follow):
Image
mx-live-usb-maker.tgz
Rebooting to try it out.

[ NOTE:
Writing from same.
I get "Plugin "Whisker Menu" unexpectedly left the panel, do you want to restart it?"
whenever I click on the Menu button.

When I click on Submit, Vivaldi dies. Will try again...That worked.

The Xfce4 menu on desktop still works.
]
You do not have the required permissions to view the files attached to this post.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#52 Post by Richard »

Will try again with the 4.9.0-8_amd64 kernel.
The 4.19 kernel is quicker but strange things happen.

That didn't last long:
mx-live-usb-maker-409-error.tgz
You do not have the required permissions to view the files attached to this post.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#53 Post by Richard »

Maybe something wrong with the ISO?
Will try another,
this time from the CLI version with same ISO.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
BitJam
Developer
Posts: 2283
Joined: Sat Aug 22, 2009 11:36 pm

Re: (solved)live-usb-maker does not work for me

#54 Post by BitJam »

Richard wrote: Sun Dec 16, 2018 5:42 pm Will try again with the 4.9.0-8_amd64 kernel.
The 4.19 kernel is quicker but strange things happen.

That didn't last long:
mx-live-usb-maker-409-error.tgz
The last error message in that file is "cp: cannot stat '/run/live-usb-maker/iso/*' : No such file or directory". If the log file /var/log/live-usb-maker.log is created it may contain more useful information.

One strange thing is that it looks like the iso file is already mounted and then gets automatically unmounted while live-usb-maker is running. Battling back against auto-mounting jumping in and messing things up has been a struggle. There may be some more stringent anti-auto-mounting code already in there that we can re-enable.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#55 Post by Richard »

Here's the log in the open:

Code: Select all

2018-12-16 17:48:12.753 DBG default: "df -T / |tail -n1 |awk '{print $2}'"
2018-12-16 17:48:12.757 DBG default: exit code: 0
2018-12-16 17:48:12.758 DBG default: "lsblk --nodeps -nlo name,size,model,vendor -I 3,8,22,179,259"
2018-12-16 17:48:12.761 DBG default: exit code: 0
2018-12-16 17:48:12.778 DBG default: ". /usr/local/lib/cli-shell-utils/cli-shell-utils.bash;get_drive $(get_live_dev) "
2018-12-16 17:48:12.801 DBG default: exit code: 0
2018-12-16 17:48:12.810 DBG default: ". /usr/local/lib/cli-shell-utils/cli-shell-utils.bash;get_drive $(get_live_dev) "
2018-12-16 17:48:12.832 DBG default: exit code: 0
2018-12-16 17:48:12.848 DBG default: ". /usr/local/lib/cli-shell-utils/cli-shell-utils.bash;get_drive $(get_live_dev) "
2018-12-16 17:48:12.874 DBG default: exit code: 0
2018-12-16 17:49:08.995 DBG default: Options:  "-N  --label=MX18b409 -V "
2018-12-16 17:49:09.011 DBG default: start io is  240560
2018-12-16 17:49:09.011 DBG default: max progress bar is  7723952
2018-12-16 17:49:09.013 DBG default: "live-usb-maker gui -N  --label=MX18b409 -V -C off --from=/media/SD-NTFS/MX18b1x64-409-181213.iso -t /dev/sdd"
2018-12-16 17:50:05.144 DBG default: exit code: 100
2018-12-16 17:54:44.686 DBG default: exit code: 100
2018-12-16 17:54:44.686 DBG default: "===============================================================================[0m
Starting live-usb-maker[0m
===============================================================================[0m
]0;live-usb-maker Will use target device /dev/sdd (14.6G Verbatim STORE N GO[0m)[0m
Will use source file /media/SD-NTFS/MX18b1x64-409-181213.iso[0m

                  Total    Used   Extra[0m
   entire drive  14,900  14,899       1  MiB[0m
 main partition  14,849      36  14,813  MiB[0m
 uefi partition      50       0      50  MiB[0m
Ready to make live-usb on device sdd[0m
... by copying file /media/SD-NTFS/MX18b1x64-409-181213.iso[0m
]0;live-usb-maker: partition-clear >> partition-clear[0m
]0;live-usb-maker: partition-make >> partition-make[0m
Using msdos partitioning[0m
]0;live-usb-maker: makefs-bios >> makefs-bios[0m
mke2fs 1.43.4 (31-Jan-2017)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 3801088 4k blocks and 155904 inodes
Filesystem UUID: d6513f2a-1a44-45eb-83f2-342d83ebfcc5
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables:   0/116       done                            
Writing inode tables:   0/116       done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:   0/116       done

tune2fs 1.43.4 (31-Jan-2017)
]0;live-usb-maker: makefs-uefi >> makefs-uefi[0m
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)

Filesystem     Type  Size  Used Avail Use% Mounted on[0m
/dev/sdd1      ext4   15G   37M   15G   1% main
/dev/sdd2      vfat   50M     0   50M   0% uefi

]0;live-usb-maker: copy-uefi >> copy-uefi[0m
copy from iso to uefi partition[0m
files: [Ee][Ff][Ii] boot/{grub,uefi-mt} version[0m
]0;live-usb-maker: copy-main >> copy-main[0m
copy from iso to main partition[0m
files: *[0m
cp: cannot stat '/run/live-usb-maker/iso/*': No such file or directory

live-usb-maker took 54 seconds.[0m
]0; "
I reran the CLI version on this same ISO. It ran to completion.
Going to boot it and see. Will advise.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#56 Post by Richard »

Booted from the USB. It's a not so good Verbatim Store n Go <15GB, but it serves for installing.

I am becoming convinced that the latest 4.19 kernel is not a good fit on this T430 laptop.
Although it is subjectively fast and runs cooler strange things seem to happen.
The 4.19.0-1-386 does seem to run very well on an Acer Aspire One AOAZG5 netbook.

Will stay with the 4.9.0-8_amd64 on the T430 for a while.

Any ideas or logs to look for?
Last edited by Richard on Sun Dec 16, 2018 6:56 pm, edited 1 time in total.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Adrian
Developer
Posts: 8266
Joined: Wed Jul 12, 2006 1:42 am

Re: (solved)live-usb-maker does not work for me

#57 Post by Adrian »

Richard, can you please run the same command the GUI runs but directly in the CLI

Code: Select all

live-usb-maker gui -N  --label=MX18b409 -V -C off --from=/media/SD-NTFS/MX18b1x64-409-181213.iso -t /dev/sdd
Does that give the same error?

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#58 Post by Richard »

OK,

Code: Select all

root@mx171:/home/richard# live-usb-maker gui -N  --label=MX18b409 -V -C off --from=/media/SD-NTFS/MX18b1x64-409-181213.iso -t /dev/sdd
===============================================================================
Starting live-usb-maker
===============================================================================
Found live media device /dev/sdd
Error: Target '/dev/sdd' cannot be on the live device 'sdd'
root@mx171:/home/richard# 
Let me remove/reinsert the USB
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#59 Post by Richard »

The first time it errored as above, rebooted with 4.9.0-9 kernel and it is running:

Code: Select all

root@mx171:/home/richard# live-usb-maker gui -N  --label=MX18b409 -V -C off --from=/media/SD-NTFS/MX18b1x64-409-181213.iso -t /dev/sdd
===============================================================================
Starting live-usb-maker
===============================================================================
Will use target device /dev/sdd (14.6G Verbatim STORE N GO)
Will use source file /media/SD-NTFS/MX18b1x64-409-181213.iso

                  Total    Used   Extra
   entire drive  14,900  14,899       1  MiB
 main partition  14,849   3,689  11,160  MiB
 uefi partition      50      11      39  MiB
Ready to make live-usb on device sdd
... by copying file /media/SD-NTFS/MX18b1x64-409-181213.iso
>> partition-clear
>> partition-make
Using msdos partitioning
>> makefs-bios
mke2fs 1.43.4 (31-Jan-2017)
64-bit filesystem support is not enabled.  The larger fields afforded by this feature enable full-strength checksumming.  Pass -O 64bit to rectify.
Creating filesystem with 3801088 4k blocks and 155904 inodes
Filesystem UUID: b258a7b2-abfa-44a3-8820-09963dd13297
Superblock backups stored on blocks: 
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done   

tune2fs 1.43.4 (31-Jan-2017)
>> makefs-uefi
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 4.1 (2017-01-24)

Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sdd1      ext4   15G   37M   15G   1% main
/dev/sdd2      vfat   50M     0   50M   0% uefi

>> copy-uefi
copy from iso to uefi partition
files: [Ee][Ff][Ii] boot/{grub,uefi-mt} version
Fix Dell uefi memtest bug
>> copy-main
copy from iso to main partition
files: *
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: (solved)live-usb-maker does not work for me

#60 Post by Richard »

@BitJam, I remember seeing an option to stop auto-mounting. I will try it again with that enabled.

Code: Select all

Battling back against auto-mounting jumping in and messing things up has been a struggle. There may be some more stringent anti-auto-mounting code already in there that we can re-enable.
Though it is weird because it is a sometime thing.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

Post Reply

Return to “antiX”