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
fehlix
Developer
Posts: 4639
Joined: Wed Apr 11, 2018 5:09 pm

Re: live usb invalid sector size 65535

#21

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

teddylegs wrote:

Code: Select all

NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
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
Looks like your usb-stick is /dev/sde.
So after unmount the /media/cat/antiXlive - folder from within Thunar
do the bad-block hunting like this

Code: Select all

# sudo  badblocks  -t random  -v -w -s  /dev/sde
(remove the #-hash sign in front, thats only to avoid pasting wrong stuff into the command line
as it actually is a comment-sign on the cli!)
Happy hunting! :fox:
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

#22

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

Thanks again, fehlix, and, oops, I'm not seeing how to unmount. When I right click on the usb drive in Caja, there's just 'eject' as an option.
EDIT: was able to find an 'unmount' in SpaceFM, but same result when pasting code into terminal.

Code: Select all

badblocks: No such file or directory while trying to determine device size
if I just go ahead and paste the line into terminal.
Last edited by teddylegs on Sun Apr 29, 2018 5:48 pm, edited 1 time in total.
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

#23

Post by fehlix » Sun Apr 29, 2018 5:48 pm

teddylegs wrote:I'm not seeing how to unmount. When I right click on the usb drive in Caja, there's just 'eject' as an option.
OK. in MATE's Caja better don't do the eject, as it will be not available to the kernel anymore ( it's like ejected!).
So first plug-in again!
If it's auto mounted do cli-unmount like this

Code: Select all

# sudo umount /dev/sde1
check again with
lsblk
to see the device is still visible to the kernel before you do the badblock test.
The umount is not stricly requirerd. But I do prefere is to not confuse the fielmanger and the dbus sysmtem to much with the badblock huinting!
Last edited by fehlix on Sun Apr 29, 2018 5:53 pm, edited 1 time in total.
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

#24

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

The USB looks fine after being plugged in again, so no worries. I've entered that code in terminal, and it says

Code: Select all

umount: /dev/sde1: mountpoint not found
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

#25

Post by fehlix » Sun Apr 29, 2018 5:55 pm

teddylegs wrote:The USB looks fine after being plugged in again, so no worries. I've entered that code in terminal, and it says

Code: Select all

umount: /dev/sde1: mountpoint not found
Check with lsblk that your device is visble. Your device name might have changed as you have pluged out other device inbitween
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

#26

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

fehlix wrote:Check with lsblk that your device is visble. Your device name might have changed as you have pluged out other device inbitween
Thanks, fehlix.

Code: Select all

NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sdb                     8:16   1  58.6G  0 disk  
├─sdb2                  8:18   1   3.3M  0 part  
└─sdb1                  8:17   1   1.2G  0 part  /media/cat/antiXlive
sr0                    11:0    1  1024M  0 rom   
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

sudo umount /dev/sdb1 has successfully unmounted the usb.
And, success! ...

Code: Select all

sudo  badblocks  -t random  -v -w -s  /dev/sdb1
Checking for bad blocks in read-write mode
From block 0 to 1243135
Testing with random pattern: done                                                 
Reading and comparing: done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)
I'm wondering if, with the bios/UEFI not having changed, iso and the usb drive both fine, might it be some crud left on the main drive, from some live runs/different installs? I imagine it would take a very long time on a 1tb drive, but would it be good to do some kind of total clean of the drive?
Last edited by teddylegs on Sun Apr 29, 2018 6:07 pm, edited 1 time in total.
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

#27

Post by fehlix » Sun Apr 29, 2018 6:05 pm

teddylegs wrote:
fehlix wrote:Check with lsblk that your device is visble. Your device name might have changed as you have pluged out other device inbitween
Thanks, fehlix.

Code: Select all

NAME                  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sdb                     8:16   1  58.6G  0 disk  
├─sdb2                  8:18   1   3.3M  0 part  /media/cat/MX-uefi
└─sdb1                  8:17   1   1.2G  0 part  /media/cat/antiXlive
Oops, seems there are two entries now (I'd gone back into SpaceFM to re-mount, just incase, but Mint had also auto-mounted again, I think ... will do a quick reboot).
Reboot is not needed. The two partiton on USB-stick are ok. Automounting is a bit confusing.
If you can unmount do so other wise not a big deal.
Just do the lsblk to check the current device nam and run the badblock.
After badblocks runs without error do the MX-USB-installer with the dd-image-mode. an do a reboot from the dd-imaged USB-stick.
Have you rechecked the ISO-checksum?
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

#28

Post by teddylegs » Sun Apr 29, 2018 6:10 pm

fehlix wrote:Just do the lsblk to check the current device nam and run the badblock.
After badblocks runs without error do the MX-USB-installer with the dd-image-mode. an do a reboot from the dd-imaged USB-stick.
Have you rechecked the ISO-checksum?
Posts are crossing over and I'm quickly editing. Apologies for any confusion. Sorry, I'm on Mint Mate 18.3 at this point.
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

#29

Post by fehlix » Sun Apr 29, 2018 6:21 pm

teddylegs wrote:
fehlix wrote:I'm on Mint Mate 18.3 at this point.
Fine! You need run the iso check also
navigate into your folder with the latest MX iso and run and compare the iso

Code: Select all

md5sum MX-17.1_April_x64.iso
c2ef3d943898b4ebbd28f40a2eae14ee  MX-17.1_April_x64.iso
If you are on Mint's MATE you can run Mint's USB-image writer to make the dd-imaged USB stick!
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
fehlix
Developer
Posts: 4639
Joined: Wed Apr 11, 2018 5:09 pm

Re: live usb invalid sector size 65535

#30

Post by fehlix » Sun Apr 29, 2018 6:30 pm

teddylegs wrote:[

Code: Select all

sudo  badblocks  -t random  -v -w -s  /dev/sdb1
Checking for bad blocks in read-write mode
From block 0 to 1243135
Testing with random pattern: done                                                 
Reading and comparing: done                                                 
Pass completed, 0 bad blocks found. (0/0/0 errors)
You enterd the badblcosk command wrongly!
You enterd
sudo badblocks -t random -v -w -s /dev/sdb1
But I'm certain I migth have wrote / ment
sudo badblocks -t random -v -w -s /dev/sdb
Watch the difference! You need to check the device /dev/sdb not only one partiton /dev/sdb1
So again, Sir!
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

Post Reply

Return to “Bugs and Non-Package Requests Forum”