Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Boot from USB stick fails

kerber
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Dec 06, 2015 10:29 am

Boot from USB stick fails

#1

Post by kerber » Wed Jan 30, 2019 2:02 pm

Hi,
I wrote the MX 18 iso on a USB stick with the "dd" command.
While booting from it, there is a message saying that /live/linux/bin/e2fsck is missing, then the boot sequence fails.
Is there something wrong with the iso file or with the way I wrote it on the USB stick?
Thank's

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

Re: Boot from USB stick fails

#2

Post by Richard » Wed Jan 30, 2019 2:12 pm

How did you form the command?
Could you try another USB?
What brand and model?
Could you try creating the USB using the MX-Live-USB creater app?

Could you post the output of the Quick-System-Info?
Last edited by Richard on Wed Jan 30, 2019 2:18 pm, edited 1 time in total.
Laptop: MX18.1: Thinkpad T430: DualCore, Intel i5-3320M, Ivy Bridge, 8GB RAM, 4.19.0-1-amd64, 119GB SSD 840PRO, Intel Graphics-Audio-Network
Netbook: MX18.1, antiX17.3: AsusTek EeePC 1005HA: Intel DualCore Atom N270, 1GB RAM, 4.19.0-1-686, 150GB HDD

philotux
Forum Regular
Forum Regular
Posts: 425
Joined: Sun Apr 22, 2018 12:57 pm

Re: Boot from USB stick fails

#3

Post by philotux » Wed Jan 30, 2019 2:16 pm

Did you check the integrity of the iso? md5/sha256 ?

kerber
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Dec 06, 2015 10:29 am

Re: Boot from USB stick fails

#4

Post by kerber » Wed Jan 30, 2019 2:22 pm

I wrote the USB stick from another Linux than MX so I did have access to MX-Live-USB.
As far as I remember, I used the command:
dd if=MX-18_x64.iso of=/dev/sdc bs=4M && sync
(/dev/sdc was the right device for the USB stick at the moment)

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4403
Joined: Sun May 27, 2007 5:37 am

Re: Boot from USB stick fails

#5

Post by asqwerth » Wed Jan 30, 2019 2:43 pm

I think I might have seen similar error messages if I formatted or partitioned a device on a distro using a newer version of Gparted than in MX (e.g. a rolling distro), and then ran the device in MX and tried to use the older version of Gparted in MX.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

kerber
Forum Novice
Forum  Novice
Posts: 7
Joined: Sun Dec 06, 2015 10:29 am

Re: Boot from USB stick fails

#6

Post by kerber » Wed Jan 30, 2019 3:49 pm

@philolux
The integrity of the iso file was checked with md5sum.

@asqwerth
I issued the dd command from a linux quite older than MX-18.
One thing that I'm not sure of is if the USB drive must be formatted (and in which format) previoulsy.

@everybody
Has anyone successfully booted MX-18 from a USB stick wrote with dd? If yes, I just will download the iso again and try once more.

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 9746
Joined: Wed Jul 12, 2006 1:42 am

Re: Boot from USB stick fails

#7

Post by Adrian » Wed Jan 30, 2019 4:03 pm

kerber wrote:
Wed Jan 30, 2019 3:49 pm
@everybody
Has anyone successfully booted MX-18 from a USB stick wrote with dd? If yes, I just will download the iso again and try once more.
That's how I create the monthly snapshots, I write a stick with dd and boot from that, so yes, it should work. Try a different stick maybe.

User avatar
male
Forum Regular
Forum Regular
Posts: 421
Joined: Thu Jan 23, 2014 8:38 am

Re: Boot from USB stick fails

#8

Post by male » Wed Jan 30, 2019 4:22 pm

Also here only the dd - command is used and no, the stick does not have to be formatted, because dd overwrites EVERYTHING. ;)
Male is the capital of the Maldives and its wonderful people.

User avatar
fehlix
Forum Veteran
Forum Veteran
Posts: 3411
Joined: Wed Apr 11, 2018 5:09 pm

Re: Boot from USB stick fails

#9

Post by fehlix » Wed Jan 30, 2019 5:00 pm

male wrote:
Wed Jan 30, 2019 4:22 pm
Also here only the dd - command is used and no, the stick does not have to be formatted, because dd overwrites EVERYTHING. ;)
It might happen that old. residual partiontable informationon on the stick can confuse linux, when it tries to identify the partitions to mount. As the size of the ISO is ofter smaller than the stick, only the number of bytes of the size of the ISO gets written onto the stick. It is known that the backup GPT partition table block will stay intact after such a dd command.
It is also known that not all formating tools will properly wipe all residual part-table information, esp. when it comes to use the USB stick with different partition table type, e.g switching from GPT type back to DOS -type.
So in this case those backup part-table info can confuse partion related tools.
It might be wise to clear partition table before writing with dd or reformating the stick. Tools like MX Live USB maker,
or command line tool mx/antiX live-usb-maker, or Rufus (on Windows) or Linux Mint USB Writer, intentionally clear the partition table for that reason.
To clear USB partition table you can use on MX Linux/antiX command line tool live-usb-maker:

Code: Select all

sudo live-usb-maker partition-clear
The tool will list found USB devices to select for further actions.
HTH
:puppy:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Eadwine Rose
Forum Veteran
Forum Veteran
Posts: 7466
Joined: Wed Jul 12, 2006 2:10 am

Re: Boot from USB stick fails

#10

Post by Eadwine Rose » Wed Jan 30, 2019 7:20 pm

kerber wrote:
Wed Jan 30, 2019 3:49 pm
@philolux
The integrity of the iso file was checked with md5sum.
Did you check the md5sum of the stick itself?


browse to /media/LiveUSB/antiX (I believe that was the location, please correct if I am wrong) open a terminal there and enter

Code: Select all

cat *.md5 | md5sum -c

When things are wrong the output looks something like this:

Code: Select all

cat *.md5 | md5sum -c
initrd.gz: OK
linuxfs: FAILED
vmlinuz: OK
md5sum: WARNING: 1 computed checksum did NOT match
MX-18_x64 20-12-2018 * 4.19.0-1-amd64 ext4 Xfce 4.12.3 * AMD Asus M4A785TD-V EVO AM3 * ASUS GF GT640-1GD5-L NVIDIA 390.87 * AMD Proc. Athl II X4 635, sAM3 * HDA ATI SB VT1708S An * 2x4Gb DDR3 1600 Kingston * Samsung S24D330 & P2250 * HP Envy5030

Post Reply

Return to “Installation”