Welcome!

The kernel problem with recent updates has been solved. Find the solution here

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.3 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

live usb invalid sector size 65535

Report Bugs, Issues and non- package Requests
User avatar
teddylegs
Forum Novice
Forum  Novice
Posts: 31
Joined: Sat Apr 28, 2018 4:39 pm

Re: live usb invalid sector size 65535

#11

Post by teddylegs » Sun Apr 29, 2018 5:24 am

Eadwine Rose wrote:Yup, that works ok indeed.

Can you try burning to a dvd? To rule out the USB stick issue.

You can then check the burned DVD using

Code: Select all

dd if=/dev/sr0 | head --bytes=size | md5sum
sr0 is the location of my dvd drive, and replace size with the actual size of the iso (right click, properties, and then next to Size the long number that is between ( ) without the commas).
Sorry again, but I can't find any dvd's (haven't used them for so long) and haven't done any burning disks on Linux, and I'm not good with doing any technical stuff ... only manage basic installs or updates etc. Thank you very much for offering this advice, which I really appreciate, but it's getting beyond me. Sorry, health issues are part of it, but I'm grateful for the attempt to help.
Lenovo x310, i7-4790, 16ram, Radeon R9 255
MX-Linux 17.1 x64

User avatar
Eadwine Rose
Administrator
Posts: 8970
Joined: Wed Jul 12, 2006 2:10 am

Re: live usb invalid sector size 65535

#12

Post by Eadwine Rose » Sun Apr 29, 2018 5:26 am

Just found something in my notes to check the USB's md5sum

Insert the drive, browse to the USB drive antiX folder, (for me that is /media/eadwine/MX-Live-usb/antiX/ )

and in there enter

Code: Select all

cat *.md5 | md5sum -c
Let it do its thing.

If all is ok it should look like this:

Code: Select all

$ cat *.md5 | md5sum -c
initrd.gz: OK
linuxfs: OK
vmlinuz: OK
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
Eadwine Rose
Administrator
Posts: 8970
Joined: Wed Jul 12, 2006 2:10 am

Re: live usb invalid sector size 65535

#13

Post by Eadwine Rose » Sun Apr 29, 2018 5:29 am

Also.. no worries about the health issue, girl with issues here as well ;) It's why I will always be the eternal noob that depends on her notes, but boy are they useful right now *grin*
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
teddylegs
Forum Novice
Forum  Novice
Posts: 31
Joined: Sat Apr 28, 2018 4:39 pm

Re: live usb invalid sector size 65535

#14

Post by teddylegs » Sun Apr 29, 2018 5:36 am

Eadwine Rose wrote:Just found something in my notes to check the USB's md5sum

Insert the drive, browse to the USB drive antiX folder, (for me that is /media/eadwine/MX-Live-usb/antiX/ )

and in there enter

Code: Select all

cat *.md5 | md5sum -c
Let it do its thing.

If all is ok it should look like this:

Code: Select all

$ cat *.md5 | md5sum -c
initrd.gz: OK
linuxfs: OK
vmlinuz: OK
Thanks again. :-) Sorry, I don't know how to type the stick between md5 and md5. UK keyboard. The only terminal bit I can use regarding access to a folder is the right click 'open in terminal', but unfortunately stickless, lol, so unable to do. No worries.

And, yes, just seen your message while I'm typing ... yes, you're right. I have one document with simple notes in, that literally saves the day. Anything new goes straight in there, and triple backed up. ;)

Just searching about, I'm seeing reference to usb key not booting if in a usb3 port, with some machines. Will try. :-) Also seeing that a snapshot iso can have an issue with some machines ... I'm thinking the torrent or Sourceforge downloads would be finals, so probably not an issue.
Last edited by teddylegs on Sun Apr 29, 2018 5:40 am, edited 1 time in total.
Lenovo x310, i7-4790, 16ram, Radeon R9 255
MX-Linux 17.1 x64

User avatar
Eadwine Rose
Administrator
Posts: 8970
Joined: Wed Jul 12, 2006 2:10 am

Re: live usb invalid sector size 65535

#15

Post by Eadwine Rose » Sun Apr 29, 2018 5:39 am

The stick? Oh the | thing..

you can select it, and copy it from the line I gave you (right click - copy) and then you can right click - paste in the terminal, and then you're all set :)



And yep, same here. My notes now span 20 pages font size 12 *snort*
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
teddylegs
Forum Novice
Forum  Novice
Posts: 31
Joined: Sat Apr 28, 2018 4:39 pm

Re: live usb invalid sector size 65535

#16

Post by teddylegs » Sun Apr 29, 2018 5:45 am

Eadwine Rose wrote:The stick? Oh the | thing..

you can select it, and copy it from the line I gave you (right click - copy) and then you can right click - paste in the terminal, and then you're all set :)



And yep, same here. My notes now span 20 pages font size 12 *snort*
Lol haha! You're doing really well there. :-) I'm a bit minimalist with mine, but thank goodness for it. I'll get copying the 'stick', lol.

EDIT: yay, worked ...
initrd.gz: OK
linuxfs: OK
vmlinuz: OK
Lenovo x310, i7-4790, 16ram, Radeon R9 255
MX-Linux 17.1 x64

User avatar
Eadwine Rose
Administrator
Posts: 8970
Joined: Wed Jul 12, 2006 2:10 am

Re: live usb invalid sector size 65535

#17

Post by Eadwine Rose » Sun Apr 29, 2018 5:52 am

Hrm... I was kinda hoping it would say something like FAILED ;)

I'm afraid this is the end of what I have in my notes about this. Hopefully someone else more in the know on this can come in and pick this up, when they wake up ;) At least we know the USB iso is ok, and the downloaded iso is also ok.

I wonder what is up with the thing.. :confused:


Glad to have helped out though! :)
MX-18.3_x64 May 26 2019 * 4.19.0-5-amd64 ext4 Xfce 4.12.3 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 390.116 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 860EVO * Samsung S24D330 & P2250 * HP Envy5030

User avatar
teddylegs
Forum Novice
Forum  Novice
Posts: 31
Joined: Sat Apr 28, 2018 4:39 pm

Re: live usb invalid sector size 65535

#18

Post by teddylegs » Sun Apr 29, 2018 5:57 am

Eadwine Rose wrote:Hrm... I was kinda hoping it would say something like FAILED ;)

I'm afraid this is the end of what I have in my notes about this. Hopefully someone else more in the know on this can come in and pick this up, when they wake up ;) At least we know the USB iso is ok, and the downloaded iso is also ok.

I wonder what is up with the thing.. :confused:


Glad to have helped out though! :)
Lol, yes; would have been a nice easy solution if just a different iso download had fixed things. Have much appreciated your help about this, and it will be interesting to discover what it is later. Many thanks again. :-)
Lenovo x310, i7-4790, 16ram, Radeon R9 255
MX-Linux 17.1 x64

User avatar
fehlix
Developer
Posts: 4639
Joined: Wed Apr 11, 2018 5:09 pm

Re: live usb invalid sector size 65535

#19

Post by fehlix » Sun Apr 29, 2018 2:38 pm

teddylegs wrote: ... 'error:invalid sector size 65535' ... Running it from Linux system, so bios is already altered...
Even you mentioned "bios" in your post above I do wonder you are booting in UEFI mode or BIOS mode?
Checking via checksum the MX related files is not enough as GRUB related
files might have been corrupt - so better check the whole ISO.
Here how I would try to handle this issue to sort out.
Surely first you would need to verify the ISO via checksum and (better!) signature-checking (see the MX manual) as pointed out already by Adrian and Eadwine Rose.
Next make sure the USB-stick is healthy and does not have any bad sectors / bad blocks.

To verify your usbstick does not have any bad sectors/blocks
Plugin the USB-stick and open in file manager.
Now watch for the device name by running this in the terminal.

Code: Select all

lsblk
The output would look like this
$ lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 60G 0 part
...
└─sda6 8:6 0 50G 0 part /
sdg 8:96 1 58,4G 0 disk
├─sdg1 8:97 1 58,4G 0 part /media/fehlix/Live-usb
└─sdg2 8:98 1 50M 0 part
Above you see my USB-stick has the device name /dev/sdg
Now do unmount from within Thunar the USB-stick.
You can now ckeck the USB-stick for bad blocks like this

Code: Select all

# sudo  badblocks  -t random  -v -w -s  /dev/sdX
Replace /dev/sdX with your device name of the stick.
Warning! The test will destructively overwrite all data
on the stick. Be careful to use the correct device name of your USB-stick.
Otherwise ... your are done!
If any errors show up, you might throw the USB stick into the bin!
If no errors show up and you have done checksum and signature checks
of the ISO do "burn" the ISO again with help of the "MX Live creator" and perhaps this time do use
the option "Copy Image to USB (dd)"

If the dd-imaged USB stick will boot properly you might consider recreating again the USB stick using
the standard option, i.e. tick off "Copy Image to USB (dd)" within "MX Live creator".

Happy booting. Good Luck!
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
teddylegs
Forum Novice
Forum  Novice
Posts: 31
Joined: Sat Apr 28, 2018 4:39 pm

Re: live usb invalid sector size 65535

#20

Post by teddylegs » Sun Apr 29, 2018 5:28 pm

Thank you very much, fehliz :-)

I'm booting in UEFI. Switched bios last May to enable installing LInux, and have used UEFI for live tries and for installs.

I plugged in the USB and typed 'lsblk' ...

Code: Select all

NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sr0                    11:0    1  1024M  0 rom   
sde                     8:64   1  58.6G  0 disk  
├─sde2                  8:66   1   3.3M  0 part  
└─sde1                  8:65   1   1.2G  0 part  /media/cat/antiXlive
sda                     8:0    0 931.5G  0 disk  
├─sda2                  8:2    0   488M  0 part  /boot
├─sda3                  8:3    0 930.5G  0 part  
│ └─sda3_crypt        253:0    0 930.5G  0 crypt 
│   ├─mint--vg-root   253:1    0 914.6G  0 lvm   /
│   └─mint--vg-swap_1 253:2    0    16G  0 lvm   [SWAP]
└─sda1                  8:1    0   512M  0 part  /boot/efi
I've unplugged the 4 externals, incase I do a goof, lol ... thanks for clear instructions, but if I may check exactly what would be the right line to type to check the usb. Great to learn, and, yes, if the little divil is what's causing the problem, I'll take great joy in chucking it far out of the window, lol. :-)

I've been having the USB formatted to Fat32 before adding the iso, if that has relevance.
Lenovo x310, i7-4790, 16ram, Radeon R9 255
MX-Linux 17.1 x64

Post Reply

Return to “Bugs and Non-Package Requests Forum”