Bug#462835: Debian bug #462835

Bharath Ramesh krosswindz at gmail.com
Fri Aug 22 14:26:13 UTC 2008


Here is the output from grub>
grub> set
?=0
color_highlight=
color_normal=
default=0
gfxmode=640x480
menu_color_hightlight=white/blue
menu_color_normal=cyan/blue
prefix=(hd0,3)/grub/
root=hd0,3
grub> ls -l
Device lvm-var: Filesystem type ext2, Label var, UUID
87ad29ae-e51e-4258-a325-29ef06daf347
Device lvm-usr: Filesystem type ext2, Label usr, UUID
e6f3a8c2-1d6d-46cc-b2ed-6ba778b9205c
Device lvm-swap: Unknown filesystem
Device lvm-root: Filesystem type ext2, Label root, UUID
055cf62b-a546-4e75-9e2c-1456936bb6bc
Device hd0: Partition table
             Partition hd0,1: Filesystem type fat, UUID d508-0819
             Partition hd0,2: Filesystem type ntfs, UUID ce2cd7482cd72a6b
             Partition hd0,3: Filesystem type ext2, UUID
b2bbccd8-f533-4198-96d2-b497f990c20b
             Partition hd0,5: Filesystem type ntfs, UUID ca54ffe754ffd3e3
             Partition hd0,6: Filesystem type ntfs, UUID b8ec3e70ec3e2950
             Partition hd0,7: Unknown filesystem
             Partition hd0,8: Filesystem type ext2, Label home, UUID
0e40b571-7ef8-4800-aa0d-65f988f8085f


I am not sure if this is right or this incorrect


On Wed, Aug 20, 2008 at 7:41 PM, Bharath Ramesh <krosswindz at gmail.com> wrote:
> On Wed, Aug 20, 2008 at 11:03 AM, Felix Zielcke <fzielcke at z-51.de> wrote:
>> tag 462835 - moreinfo
>> retitle 462835 GRUB fails to grub> prompt with LVM instead of showing the menu
>> thanks
>>
>> Am Mittwoch, den 20.08.2008, 09:36 -0400 schrieb Bharath Ramesh:
>>
>>> bah, I am dumb. I always thought something was wrong. I was under the impression
>>> postinst script would run grub-install for me when it updated grub2.
>>
>> As I wrote my last mail I had it now in mind that there was recently a
>> bug on grub-legacy about this, but I hadn't looked it up:
>> http://bugs.debian.org/451701
>> Though the explanation is missing:
>> We can't assume that (hd0) in device.map is always the disk you want to
>> have GRUB in your MBR.
>> Now with Robert's cross install UUID patch recently, you could say that
>> it's now officially supported to have MBR + /boot + / on totally
>> different disks.
>>
>
> Its not a problem for me now that I know postinst does not run
> grub-install. Till
> that time I will manually run grub-install myself. It sounds a bit dumb that
> update-grub really only updates the config file. IMO it should be
> renamed probably
> as update-grub-config as in reality it never updates grub.
>
>>
>>> It shows the message "Welcome to Grub"
>>>
>>> It flickers some message for an instant I am unable to read it and lands
>>> me into the grub command prompt.
>>
>> I should have waited before I retitle'd the bugreport, but as I always
>> I'm a bit impatitant.
>>
>>> I just need to type linux /boot/vmlinuz root=/dev/mapper/lvm-root ro vga=795
>>> followed by intird = /boot/initrd and lastly issue boot.
>>
>> So it's `grub>' and not `rescue>'
>> That's a bit weird that the `normal.mod' is loaded but it fails to load
>> the configfile or at least to show the menuentry.
>> I don't have really a clue what the problem could be.
>> Hopefully Robert has an idea.
>
> yes its 'grub>' and not 'rescue>'
>
> I am not sure if its the same issue that I had earlier, could it be that
> gfxterm is still broken. I remember that a when I moved to grub2 that issue
> of gfxterm not being able to be loaded when /usr was in lvm would cause
> this scenario.
>
>>
>> With `set' command you can see `root' and `prefix' setting.
>> `help' shows you the list of commands.
>> `ls -l' shows every device GRUB can see, so your harddisks, partitions
>> and LVMs.
>>
>
> I dont have physical access to my laptop at the moment. I will check
> this and let
> you know what the output of the above are when I run them in the 'grub>' prompt.
>





More information about the Pkg-grub-devel mailing list