bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

search for UUID fails with dedicated /boot filesystem on disk larger tha


From: Arthur Marsh
Subject: search for UUID fails with dedicated /boot filesystem on disk larger than what BIOS sees
Date: Tue, 16 Jun 2009 19:20:37 +0930
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

To try to identify the problem I had with "error: no such device: bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea", I removed all but the boot disk and edited the boot entry for Linux on my ext3 /boot filesystem when GRUB started:

menuentry "Debian GNU/Linux, Linux 2.6.30" {
        set root=(hd0,1)
search --no-floppy --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
        linux   /vmlinuz-2.6.30 root=/dev/hda7 ro
        initrd  /initrd.img-2.6.30
}

to include:

SET DEBUG=PARTITION

before the "search" line.

fdisk reports the following:

 fdisk -l /dev/hda
GNU Fdisk 1.2.2
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.


Disk /dev/hda: 320 GB, 320070320640 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1044     8385898   83  Linux
/dev/hda2            1045       38913   304174710    f  Extended LBA
/dev/hda7            1045       34462   268422052   83  Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/hda6           34463       38639    33543720   1b  Hidd FAT32
Warning: Partition 6 does not end on cylinder boundary.
/dev/hda5           38640       38913     2192872   82  Linux swap
Warning: Partition 5 does not end on cylinder boundary.

To help clarify what output I experienced from GRUB, I obtained a hex dump using fdisk, with some interesting lines with "*" underneath them:

victoria:/home/amarsh04# fdisk -r /dev/hda
GNU Fdisk 1.2.2
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Device: /dev/hda
0x000: EB 4C 90 10 8E D0 BC 00 B0 B8 00 00 8E D8 8E C0
0x010: FB BE 00 7C BF 00 06 B9 00 02 F3 A4 EA 21 06 00
0x020: 00 BE BE 07 38 04 75 0B 83 C6 10 81 FE FE 07 75
0x030: F3 EB 16 B4 02 B0 01 BB 00 7C B2 80 8A 74 04 00
0x040: 00 80 00 08 01 00 00 00 00 00 00 00 FF FF FA EB
0x050: 07 F6 C2 80 75 02 B2 80 EA 5D 7C 00 00 31 C0 8E
0x060: D8 8E D0 BC 00 20 FB A1 4C 7C 88 E6 3C FF 74 02
0x070: 88 C2 52 BE 76 7D E8 25 01 BE 05 7C F6 C2 80 74
0x080: 48 B4 41 BB AA 55 CD 13 5A 52 72 3D 81 FB 55 AA
0x090: 75 37 83 E1 01 74 32 31 C0 89 44 04 40 88 44 FF
0x0A0: 89 44 02 C7 04 10 00 66 8B 1E 44 7C 66 89 5C 08
0x0B0: 66 8B 1E 48 7C 66 89 5C 0C C7 44 06 00 70 B4 42
0x0C0: CD 13 72 05 BB 00 70 EB 74 B4 08 CD 13 73 0A F6
0x0D0: C2 80 0F 84 ED 00 E9 85 00 66 0F B6 C6 88 64 FF
0x0E0: 40 66 89 44 04 0F B6 D1 C1 E2 02 88 E8 88 F4 40
0x0F0: 89 44 08 0F B6 C2 C0 E8 02 66 89 04 66 A1 48 7C
0x100: 66 09 C0 75 51 66 A1 44 7C 66 31 D2 66 F7 34 88
0x110: D1 31 D2 66 F7 74 04 3B 44 08 7D 3A FE C1 88 C5
0x120: 30 C0 C1 E8 02 08 C1 88 D0 5A 52 88 C6 BB 00 70
0x130: 8E C3 31 DB B8 01 02 CD 13 72 2B 8C C3 8E 06 42
0x140: 7C 60 1E B9 00 01 8E DB 31 F6 31 FF FC F3 A5 1F
0x150: 61 5A FF 26 40 7C BE 7C 7D E8 42 00 EB 0E BE 81
0x160: 7D E8 3A 00 EB 06 BE 8B 7D E8 32 00 BE 90 7D E8
0x170: 2C 00 CD 18 EB FE 47 52 55 42 20 00 47 65 6F 6D
0x180: 00 48 61 72 64 20 44 69 73 6B 00 52 65 61 64 00
0x190: 20 45 72 72 6F 72 00 BB 01 00 B4 0E CD 10 AC 3C
0x1A0: 00 75 F4 C3 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 BF 50 07 00 00 00 80 01
*
0x1C0: 01 00 83 FE FF FF 3F 00 00 00 D5 EA FF 00 00 FE
*
0x1D0: FF FF 0F FE FF FF 14 EB FF 00 AD EB 42 24 00 00
*
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA

0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FE
0x1C0: FF FF 82 FE FF FF 3F 00 00 00 53 2A 43 00 00 00
0x1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA

0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FE
0x1C0: FF FF 1B FE FF FF 3F 00 00 00 D2 EA FF 03 00 FE
0x1D0: FF FF 05 FE FF FF 01 00 00 00 09 D6 FF 1F 00 00
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA

0x000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FE
0x1C0: FF FF 83 FE FF FF 7D 00 00 00 8C D5 FF 1F 00 00
0x1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA


GRUB 1.96+20090613-1 which I compiled from svn reported (what didn't scroll by):

partmap/pc. 139

partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5
partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5
partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5
partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5

kern/partition.c 106 Detecting pc_partition_map...

pc.c 139

partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5

partition.c 117 pc_partition_map detection succeeded

pc.c 139

partition 0, flag 0x80, type 0x83, start 0x3f, len 0xffead5
partition 1, flag 0,    type 0xf,  start 0xffeb14, len 0x2442ebad
partition 2, flag 0,    type 0,    start 0, len 0
partition 3, flag 0,    type 0,    start 0, len 0

error: no such device: bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea

As usual, if I edited out the "search" line, I could boot normally.

Regards,

Arthur.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]