You are not logged in.

#1 2016-07-28 21:51:00

dr34m
Member
Registered: 2016-07-28
Posts: 47

[Solved] Grub2 - Invalid partition table

Hola guys,

after installation on my laptop i have this (small) issue:

on grub boot i see the message:

Invalid partition table

and every time i must press a key, then the sistem boot normally

here my fdisk -l:

Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 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: dos
Disk identifier: 0x535a5cde

Dispositivo Avvio   Start      Fine   Settori   Size Id Tipo
/dev/sda1            2048   2099199   2097152     1G 82 Linux swap / Solaris
/dev/sda2         2099200 976773167 974673968 464,8G 83 Linux

Last edited by dr34m (2016-07-29 08:59:00)

Offline

#2 2016-07-29 04:42:16

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] Grub2 - Invalid partition table

How did you install Grub?

Post the output of:

parted /dev/sda print

Offline

#3 2016-07-29 07:17:42

dr34m
Member
Registered: 2016-07-28
Posts: 47

Re: [Solved] Grub2 - Invalid partition table

x33a wrote:

How did you install Grub?

Post the output of:

parted /dev/sda print

i use the installation guide:

grub-install --target=i386-pc /dev/sda

parted /dev/sda print:

Modello: ATA TOSHIBA MQ01ABF0 (scsi)
Disco /dev/sda: 500GB
Dimensione del settore (logica/fisica): 512B/4096B
Tabella delle partizioni: msdos
Flag del disco: 

Numero  Inizio  Fine    Dimensione  Tipo     File system     Flag
 1      1049kB  1075MB  1074MB      primary  linux-swap(v1)
 2      1075MB  500GB   499GB       primary  ext4

thanks for your help smile

Last edited by dr34m (2016-07-29 07:18:02)

Offline

#4 2016-07-29 08:42:41

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: [Solved] Grub2 - Invalid partition table

This would seem to be the same issue as https://bbs.archlinux.org/viewtopic.php?id=215215

It appears that you forgot to mark the relevant partition (sda2 in your case) bootable using parted or fdisk.

Offline

#5 2016-07-29 08:58:45

dr34m
Member
Registered: 2016-07-28
Posts: 47

Re: [Solved] Grub2 - Invalid partition table

paulkerry wrote:

This would seem to be the same issue as https://bbs.archlinux.org/viewtopic.php?id=215215

It appears that you forgot to mark the relevant partition (sda2 in your case) bootable using parted or fdisk.

Thanks buddy, i found that page before posting but i forgot to write change with fdisk

Offline

Board footer

Powered by FluxBB