LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   4MLinux (https://www.linuxquestions.org/questions/4mlinux-115/)
-   -   usb iso does not work with dd command (https://www.linuxquestions.org/questions/4mlinux-115/usb-iso-does-not-work-with-dd-command-4175715227/)

0day 07-31-2022 08:08 AM

usb iso does not work with dd command
 
hello, I downloaded the 4mlinux iso and copied it to a pendrive with the dd command ... but it doesn't work, I also tried imagewriter from mabox linux and it can't copy it to a pendrive, it is the first linux distro that gives me this problem .

TorC 07-31-2022 08:23 AM

Please supply us with the command used and wrap that command in [code].

BTW, Welcome!

teckk 07-31-2022 08:34 AM

4mlinux

https://distrowatch.com/index-mobile.php?newsid=11601

https://sourceforge.net/projects/lin...h=/40.0/livecd

Code:

url="https://sourceforge.net/projects/linux4m/files/40.0/livecd/4MLinux-40.0-64bit.iso/download" filesize="1129302016"><media:hash algo="md5">f6f9f92c443f626149691a3d36a09dc5</media:hash></media:content>
Code:

curl http://downloads.sourceforge.net/linux4m/4MLinux-40.0-64bit.iso -o 4MLinux-40.0-64bit.iso

md5sum 4MLinux-40.0-64bit.iso

Compare checksum against what 4M says that it should be. If it is ok, find out what the device node for the usb drive:
Code:

dd if=4MLinux-40.0-64bit.iso of=/dev/sd<something> bs=2048
You'll need to have the machines Bios or EFI setup set to boot from usb drive.

After you have done that, and booted from the live media, what errors are you getting.

Quote:

but it doesn't work,
Meaningless.

0day 07-31-2022 08:41 AM

Quote:

Originally Posted by TorC (Post 6370923)
Please supply us with the command used and wrap that command in [code].

BTW, Welcome!

sudo dd if=/home/kevin/Scaricati/4MLinux-40.0-64bit.iso of=/dev/sdb bs=4M && sync

kevin@kevin-hp630notebookpc ~ $ dd if=/home/kevin/Scaricati/4MLinux-40.0-64bit.iso of=/dev/sdb bs=2048
551417+0 records in
551417+0 records out
1129302016 bytes (1,1 GB, 1,1 GiB) copied, 101,117 s, 11,2 MB/s

elgrandeperro 07-31-2022 08:55 AM

How does it fail? Did you turn off secure boot?

If you have installed kvm/qemu or virtualbox, you could test both the image and the pendrive by test booting it by mapping the DVD.

0day 07-31-2022 09:06 AM

[QUOTE=elgrandeperro;6370930]How does it fail? Did you turn off secure boot?

no, how do i disable it? only 4mlinux does not start, sparkylinux, mabox, crunchbang all go, why?

if I open the file manager the pendrive with 4mlinux is seen as cdrom

elgrandeperro 07-31-2022 01:18 PM

Did you try a VM boot?

Just because it looks like a CD, doesn't make it bootable.

teckk 07-31-2022 01:28 PM

https://4mlinux.blogspot.com/2013/01...r-hdd.html?m=1

0day 07-31-2022 02:01 PM

Quote:

Originally Posted by teckk (Post 6370963)


i have installed at least 40 distros on this notebook, 4mlinux does not start, i tried both with dd command and with etcher

wpeckham 07-31-2022 03:07 PM

Quote:

Originally Posted by 0day (Post 6370967)
i have installed at least 40 distros on this notebook, 4mlinux does not start, i tried both with dd command and with etcher

If all of those worked using this method, then there is something different about this one.
#1 has it been formatted so that it SHOULD work? This is not a sure thing.
#2 Did you checksum the file (as was suggested) and compare the CRC values with the expected value to ensure you have a good ISO file download?
#3 did you verify that it is the image that matches your CPU architecture?
#4 have you tried copying it to a VENTOY device and test from that?

If it fails, there should be some error codes, messages, or fault behavior. These may not be easy to record during a direct hardware install, try installing into a virtual machine and record the messages and result.

0day 07-31-2022 03:21 PM

url="https://sourceforge.net/projects/linux4m/files/40.0/livecd/4MLinux-40.0-64bit.iso/download" filesize="1129302016"><media:hash algo="md5">f6f9f92c443f626149691a3d36a09dc5</media:hash></media:content>
bash: errore di sintassi vicino al token non atteso "<"

md5sum /home/kevin/Scaricati/4MLinux-40.0-64bit.iso
f6f9f92c443f626149691a3d36a09dc5 /home/kevin/Scaricati/4MLinux-40.0-64bit.iso

when I start etcher to copy the iso on a pendrive it warns me that the iso is not bootable

wpeckham 07-31-2022 07:29 PM

Quote:

Originally Posted by 0day (Post 6370977)
url="https://sourceforge.net/projects/linux4m/files/40.0/livecd/4MLinux-40.0-64bit.iso/download" filesize="1129302016"><media:hash algo="md5">f6f9f92c443f626149691a3d36a09dc5</media:hash></media:content>
bash: errore di sintassi vicino al token non atteso "<"

md5sum /home/kevin/Scaricati/4MLinux-40.0-64bit.iso
f6f9f92c443f626149691a3d36a09dc5 /home/kevin/Scaricati/4MLinux-40.0-64bit.iso

when I start etcher to copy the iso on a pendrive it warns me that the iso is not bootable

Did you try the core ISO instead of 64-bit?

michaelk 07-31-2022 08:13 PM

Quote:

when I start etcher to copy the iso on a pendrive it warns me that the iso is not bootable
The 4MLinux-40.0-64bit.iso is not a hybrid ISO file and will not boot from USB. Download the hybrid ISO file here:

https://sourceforge.net/projects/linux4m/files/hybrid/

computersavvy 07-31-2022 08:46 PM

I downloaded that exact file using
Code:

$ wget http://downloads.sourceforge.net/linux4m/4MLinux-40.0-64bit.iso
and burned it to usb with dd.
Code:

# dd if=4MLinux-40.0-64bit.iso of=/dev/sdf bs=4M
269+1 records in
269+1 records out
1129302016 bytes (1.1 GB, 1.1 GiB) copied, 361.686 s, 3.1 MB/s

I then used it on my laptop to boot.

The boot failed because the image had an invalid signature and secure boot stopped it, but the image on that usb was UEFI bootable. I did not try a legacy boot. When I disabled secure boot it booted cleanly.

These are the checksums I got on that file.
Code:

# sha256sum 4MLinux-40.0-64bit.iso
ea4323947f1322e132700be6d98407297d3a2e6b7a1653c4ba3845b0cb0df4a4  4MLinux-40.0-64bit.iso
[root@eagle tests]# md5sum 4MLinux-40.0-64bit.iso
f6f9f92c443f626149691a3d36a09dc5  4MLinux-40.0-64bit.iso


michaelk 07-31-2022 09:44 PM

Code:

file 4MLinux-40.0-64bit.iso
4MLinux-40.0-64bit.iso: ISO 9660 CD-ROM filesystem data 'CDROM' (bootable)

file hybrid.iso
hybrid.iso: ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'CDROM' (bootable)

I believe you but usually a hybrid ISO will have a DOS/MBR boot sector, a non-hybrid does not and a non-hybrid ISO should not be able to boot from USB.


All times are GMT -5. The time now is 03:27 PM.