fabien85 wrote:Here is what I get with a live USB of LM18 Mate
Code: Select all
$ sudo gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Warning! Main partition table overlaps the first partition by 32 blocks!
You will need to delete this partition or resize it in another utility.
Warning! Secondary partition table overlaps the last partition by
33 blocks!
You will need to delete this partition or resize it in another utility.
However, the USB stick is perfectly bootable.
Clue #1: I've never been able to boot to USB stick. The best I've gotten is a very brief, single-line message: "Error: File '/boot/' not found." I presume that the message is from 'grub'. That you
can boot to USB stick is, methinks, the first big difference.
I booted it successfully on a Mac and a PC. And I successfully ran "check the integrity of the medium", that you get on the grub menu when booting it.
Clue #2: Speaking of file checks, the periodic full-file system check (every xx-th boot -- I don't know the value of xx but I estimate 20<xx<40) has never run to completion, though I've given it 1-1/2 hours. On those occasions, I have to force the computer off. When I turn it back on, I get a 2-line menu. I presume the menu is from 'grub' -- I just let it boot normally.
Clue #3: My BIOS shows every indication that it is a BIOS, not EFI. The BIOS setup menu is a BIOS setup menu -- I posted it to this forum here:
viewtopic.php?f=46&t=233236#p1237481. There is no EFI switch and no mention of EFI whatsoever. This is my surmise: For some reason, the Mint installer thought that the firmware is EFI. Or perhaps 'grub' sees something that usually indicates EFI in most cases, but is wrong in this machine. Perhaps this discrepancy is then ignored by 'grub' (or 'fixed up' on-the-fly) and, therefore, I can boot to my embedded hard disk. But thereafter, utilities like 'mintstick' or 'dd' or 'enetbootin' are using the (bogus) EFI info to prepare new, live boot media (which then fails to boot). Perhaps the utilities like 'fdisk'
Code: Select all
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 934D1C36-6153-4D02-ACB3-A942134C291F
Device Start End Sectors Size Type
/dev/sda1 2048 1050623 1048576 512M EFI System
/dev/sda2 1050624 2050047 999424 488M Linux filesystem
/dev/sda3 2050048 1953523711 1951473664 930.5G Linux filesystem
which indicate EFI are merely reporting that (bogus) information and don't really test the hardware/firmware. This all is my surmise -- I don't know internals.
So, as said previously in the case of gparted earlier in this thread, just dont worry, these are not indications of anything.
Live USBs have tricks so that they can be booted both in Legacy and UEFI mode. So they are NOT formatted correctly like a hard drive. And that's perfectly fine.
I can't boot to USB stick... perhaps the "tricks" are part of the problem... perhaps the "tricks" are papering over what is really bogus information (that other utilities are not papering over) -- again, I don't know internals, so this is just a surmise, but my surmise does fit the symptoms, don't you agree?
Clue #4: '/dev/sda2' is unclean
Code: Select all
mark@mark-Lenovo-V570 ~ $ sudo tune2fs -l /dev/sda2|egrep 'Last checked|Maximum mount count|Mount count|Filesystem state'
Filesystem state: not clean
Mount count: 1
Maximum mount count: -1
Last checked: Sun Nov 6 01:12:52 2016
mark@mark-Lenovo-V570 ~
and WharfRat has advised me here:
viewtopic.php?f=90&t=233176#p1237165
What do you make of this:
Code: Select all
mark-Lenovo-V570 mark # smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device <<---
/dev/sdc -d sat # /dev/sdc [SAT], ATA device
mark-Lenovo-V570 mark # smartctl --scan-open
/dev/sda -d sat # /dev/sda [SAT], ATA device <<---
/dev/sdc -d sat # /dev/sdc [SAT], ATA device
mark-Lenovo-V570 mark # smartctl --scan
/dev/sda -d scsi # /dev/sda, SCSI device <<---
/dev/sdc -d sat # /dev/sdc [SAT], ATA device
mark-Lenovo-V570 mark #