Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub-install : Unknown partition table signature
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 141

PostPosted: Sat Feb 05, 2011 6:54 pm    Post subject: grub-install : Unknown partition table signature Reply with quote

Hi guys,

Doing a:

Code:
grub-install --no-floppy /dev/sda


on an ext4 boot partition results in a lot of "Unknown partition table signature" messages but it seems to complete and reports no errors.

If I do a manual grub install using:

Code:
grub> root (hd0,0)   
grub> setup (hd0)
grub> quit


I don't get any errors or messages regarding the table signatres.

Is this a bug in grub?

Cheers.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54847
Location: 56N 3W

PostPosted: Sat Feb 05, 2011 10:54 pm    Post subject: Reply with quote

eponymous,

Its probably not a grub bug - it would be all over the forums if it were.

Be aware that (hd0) may not be /dev/sda.
(hd0) is the first drive discovered by the BIOS. /dev/sda is the first drive discovered by the kernel.
If you have more than one drive these need not be the same drive.

Some braindead BIOS's report the boot drive as (hd0), regardless of which drive it actually is, in which case, with 2 or more drives installed you may encounter the above BIOS 'feature'.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 141

PostPosted: Sat Feb 05, 2011 11:40 pm    Post subject: Reply with quote

NeddySeagoon wrote:
eponymous,

Its probably not a grub bug - it would be all over the forums if it were.

Be aware that (hd0) may not be /dev/sda.
(hd0) is the first drive discovered by the BIOS. /dev/sda is the first drive discovered by the kernel.
If you have more than one drive these need not be the same drive.

Some braindead BIOS's report the boot drive as (hd0), regardless of which drive it actually is, in which case, with 2 or more drives installed you may encounter the above BIOS 'feature'.


The thing is, I'm booting into my Gentoo install just fine :S

Is there any way to check which device hd0 actually is?

* UPDATE: Oh now this is really odd. I've just tried doing the exact same thing again (after making a tweak to my grub.conf to add a rootfs=ext4 line) and it worked fine without any error messages :S

I'm confused.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54847
Location: 56N 3W

PostPosted: Sun Feb 06, 2011 9:30 pm    Post subject: Reply with quote

eponymous,

That makes no sense. A grub doesn't care what your kernel root file system is unless /boot is not a real partition, then it has to read files from your kernel root. In any case, rootfs= is a kernel parameter.

"Unknown partition table signature" refers to the last two bytes in the MBR, which must be 0x0aa 0x55. Don't quote me on the order.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
eponymous
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 141

PostPosted: Sun Feb 06, 2011 10:54 pm    Post subject: Reply with quote

NeddySeagoon wrote:
eponymous,

That makes no sense. A grub doesn't care what your kernel root file system is unless /boot is not a real partition, then it has to read files from your kernel root. In any case, rootfs= is a kernel parameter.

"Unknown partition table signature" refers to the last two bytes in the MBR, which must be 0x0aa 0x55. Don't quote me on the order.


Hi Neddy, sorry that is misleading. I didn't mean to imply that adding rootfs=ext4 solved the problem - I was merely stating what I had changed (to fix another problem) before I did another grub-install.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum