View previous topic :: View next topic |
Author |
Message |
vhristev n00b
Joined: 08 Jan 2014 Posts: 22
|
Posted: Mon Aug 03, 2015 9:35 pm Post subject: grub2 invalid partition table |
|
|
Hey guys ,
I have strange behavior with Grub
Laptop: Dell e6400
BIOS: latest A16 (update it)
SSD: Samsung 850 PRO - swap from Samsung 840 EVO
Clean install after configure grub and reboot i get "invalid partition table!" tried with MBR and GPT same behavior.
When i hit any key Grub loads without issues
Double check BIOS boot order even left only Internal HDD so there is no other drivers / dvd's / usb / nic's
Code: | localhost ~ # gdisk /dev/sda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Command (? for help): p
Disk /dev/sda: 500118192 sectors, 238.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 330AF5B4-12D9-49E6-A162-5D81C144505D
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 2048 6143 2.0 MiB EF02 BIOS boot partition
2 6144 415743 200.0 MiB 8300 Linux filesystem
3 415744 457594879 218.0 GiB 8300 Linux filesystem
4 457594880 500118158 20.3 GiB 8300 Linux filesystem
5 34 2047 1007.0 KiB EF02
|
BIOS
Code: | BIOS Information
Vendor: Dell Inc.
Version: A16
Release Date: 08/19/2014 |
Code: | localhost ~ # cat /proc/cmdline
BOOT_IMAGE=/kernel-genkernel-x86_64-4.0.5-gentoo-vhristev root=UUID=c4264edb-13df-4152-a807-1b95a1472fa2 ro rootfstype=ext4 init=/usr/lib/systemd/systemd |
Code: | localhost ~ # hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: Samsung SSD 850 PRO 256GB
Serial Number: S251NSAG317135F
Firmware Revision: EXM02B6Q |
dmesg > https://bpaste.net/show/ec40c2d270ae
Any ideas .... i'm not sure if the problem is from the SSD firmware because when i return back my 840 EVO (MBR) everything is fine and the problem is not there. _________________ Being lazy means being smart |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Aug 03, 2015 10:16 pm Post subject: |
|
|
i read something about those particular drives. in short data corruption with those kind of samsung drives.
https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/
Quote: | TL;DR
Broken SSDs: (Drives on which we have detected the issue)
SAMSUNG MZ7WD480HCGM-00003
SAMSUNG MZ7GE480HMHP-00003
SAMSUNG MZ7GE240HMGR-00003
Samsung SSD 840 PRO Series
recently blacklisted for 8-series blacklist
Samsung SSD 850 PRO 512GB
recently blacklisted as 850 Pro and later in 8-series blacklist
|
off topic:
when you want my opinion get an intel one and ditch the samsung one ... i would not be surprised when this drive has more hidden issues.
and just another proof that products are sold without proper testing. we are the beta testers afaik ... |
|
Back to top |
|
|
vhristev n00b
Joined: 08 Jan 2014 Posts: 22
|
Posted: Tue Aug 04, 2015 9:16 pm Post subject: |
|
|
Hello ,
Thank you for that i also catch some posts about TRIM issues but not sure why i got Invalid Partition table.
Fun thing is that i have also Samsung 840 EVO but the problem is just in Samsung 850 PRO .... karma.
Still searching for some explanation what that is happening. Also i could test with other boot loader because i think things get ugly on 1st stage of boot loader _________________ Being lazy means being smart |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Tue Aug 04, 2015 10:32 pm Post subject: |
|
|
Do you really believe that error is reproduceable? i doubt. because the mcu has some sort of algorithm and depending on the age of the cells the data is saved in some sort of pattern and compression ...
well teh firmware is buggy.
and data corruption just means it can catch any area of the drive. you never know how the sectors are mapped and how the data is saved. thats an endless topic ...
and are you sure that the drive do not have other flaws? says all when a data center finds such issues and samsung is unable to provide firmware without issues at the time of shipping the product.
**
off topic, why i do not buy any samsung product again.
**
and i had a samsung phone which i bought recently and the calender on it from samsung did not had the month march of year 2015 ... says all, right, samsung... unable to make a calender, with all months and all days. thats just a click on these days software projects. and they did not even test the hardware. on the televisions i did not bought samsung on purpose because they have useless features and everywhere states, security risks, and slow interface. samsung television costs nearly as twice as much as other brands when you do not care for smart television thingy. and from the electronics perspective, you can be sure the browser and other stuff in the television will never get any security fixes. and they just need an mcu anyway, they just add some more flash rom with a bit more code lines for the smart tv, basically same hardware in the end, ... just overpriced gadgets which are hardly tested.
you also see it for samsung smartphones that these hardly get any updates after a few months. older android is prone for security risks for example. google tried to circumvent with the google play services framework which gets updated over the playstore but a few main components of the os have some serious issues. ... samsung does not allow root / custom firmware you loose the gurantee ... bad company anyway and stay away from products...
manufacturers hide those flaws in weird descriptions of their firmware update reasons. |
|
Back to top |
|
|
vhristev n00b
Joined: 08 Jan 2014 Posts: 22
|
Posted: Wed Aug 05, 2015 1:42 pm Post subject: |
|
|
Hey ,
From my years of exp i know that every couple of years some hardware vendor screw things up and new leader is there so the idea is to buy the more reliable hardware for current time. We can have new firmware from Samsung that fix everything and then it's not point to buy Intel but for now yes maybe after this crap i will buy Intel.
This weekend i will put that SSD on my Workstation (i have ~5 SSDs) and will try to boot from there to check if i will get again partition table issue. Then i will be sure its a combination with Dell and Samsung. _________________ Being lazy means being smart |
|
Back to top |
|
|
py-ro Veteran
Joined: 24 Sep 2002 Posts: 1734 Location: Velbert
|
Posted: Wed Aug 05, 2015 2:02 pm Post subject: |
|
|
Just mark a Partiton bootable, if you use GPT, then mark the protective mbr partition bootable.
Py |
|
Back to top |
|
|
vhristev n00b
Joined: 08 Jan 2014 Posts: 22
|
Posted: Sat Aug 08, 2015 7:26 pm Post subject: |
|
|
Hello ,
I set BIOS_GRUB then i set legacy_boot on both 1st 2MB and /boot partitions without any difference.
As i explained MBR was the first time i partition the disk but it has the same issue. I will try to boot that on my Workstation to see if the problem is combination Laptop e6300 BIOS and Samsung SSD FIRM
Thanks for the suggestions
Code: | Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB BIOS boot partition bios_grub, legacy_boot
2 3146kB 213MB 210MB ext2 Linux filesystem bios_grub, legacy_boot
3 213MB 234GB 234GB ext4 Linux filesystem
4 234GB 256GB 21.8GB ext4 Linux filesystem |
_________________ Being lazy means being smart |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 08, 2015 7:30 pm Post subject: |
|
|
vhristev,
Use fdisk -t dos to set the boot flag. You will only see one partition. Thats correct. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Tue Aug 11, 2015 5:44 am Post subject: |
|
|
I own the Samsung 850 Pro 512GB and no problems at all.
I think the error "invalid partition table" comes from the Bios or an imcompatibilty drive - bios (mainboard). |
|
Back to top |
|
|
vhristev n00b
Joined: 08 Jan 2014 Posts: 22
|
Posted: Wed Aug 12, 2015 8:32 am Post subject: |
|
|
I already did that when first time I setup the MBR partition table without success
NeddySeagoon wrote: | vhristev,
Use fdisk -t dos to set the boot flag. You will only see one partition. Thats correct. |
I'm sure its BIOS and SSD Firm issue because a friend of mine don't have this problem.
I'm located in Europe but i bought the SSD from US but my friend SSD is from Europe so we are going to check the revisions because firms are the same and he don't have the problem. _________________ Being lazy means being smart |
|
Back to top |
|
|
|