Re: GRUB no long gives menu on boot

2012-08-06 Thread Tom H
On Fri, Aug 3, 2012 at 4:48 PM, Matt Zagrabelny  wrote:
> On Fri, Aug 3, 2012 at 11:24 AM, Tom H  wrote:
>> On Thu, Aug 2, 2012 at 9:15 PM, Matt Zagrabelny  wrote:
>>>
>>> I have the following setup which worked well after performing a squeeze 
>>> install:
>>>
>>> /boot -> Software RAID5
>>> / -> LVM on top of Software RAID5
>>>
>>> I lost a disk of my RAID array a few months ago and ever since
>>> replacing it and rebuilding the arrays, I no longer get a menu of
>>> kernels to boot from in GRUB. Instead I get a prompt.
>>>
>>> I have tried reinstalling GRUB from a Squeeze rescue flash drive, but
>>> there is no change.
>>
>> How did you uninstall grub?
>
> I never uninstalled grub.
>
> There was/is a bug in grub that it cannot read a degraded RAID array.
> That was biting me at one point, but I replaced the drive and rebuilt
> the array.
>
>> What's the output of
>> http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/



>  => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
> 34 of the same hard drive for core.img. core.img is at this location and
> looks for (vg_01_ziggurat-root)/boot/grub on this drive.
>  => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
> 34 of the same hard drive for core.img. core.img is at this location and
> looks for (vg_01_ziggurat-root)/boot/grub on this drive.
>  => No boot loader is installed in the MBR of /dev/sdc.
>  => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdd and looks at sector
> 34 of the same hard drive for core.img. core.img is at this location and
> looks for (vg_01_ziggurat-root)/boot/grub on this drive.

1) You should install grub to /dev/sdc with either grub-install or grub-setup.

2) I'm surprised at the "looks for (vg_01_ziggurat-root)/boot/grub". I
would've expected a "looks for looks for (md/0/grub)".

How are you booting from the grub prompt?

Is it a regular or a rescue grub prompt?

What's the output of "ls" and "set" at the grub prompt?



> menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian
> --class gnu-linux --class gnu --class os {
> insmod raid
> insmod raid5rec
> insmod mdraid
> insmod part_gpt
> insmod ext2
> set root='(md/0)'
> search --no-floppy --fs-uuid --set 
> 154508d7-d29f-4ab6-8e85-a0365d32c5df
> linux   /vmlinuz-2.6.32-5-686 root=/dev/mapper/vg_01_ziggurat-root ro 
>  quiet
> initrd  /initrd.img-2.6.32-5-686
> }

This menuentry looks OK to me.

(Is "/dev/md0" a symlink to "/dev/md/0" or the other way around?)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SzcO2PKo+DtJoJDxjEt93hfszdxfiXE=oech0eds4f...@mail.gmail.com



Re: GRUB no long gives menu on boot

2012-08-06 Thread Tom H
On Fri, Aug 3, 2012 at 3:31 PM, hvw59601  wrote:
> Tom H wrote:
>>
>> What's the output of
>> http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/
>
> That's a nifty little script! Thanks!

You're welcome.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sxaxf-ikojau6nw1wdfa+kb3jccwvthxccxuxu7mz0...@mail.gmail.com



Re: GRUB no long gives menu on boot

2012-08-03 Thread Matt Zagrabelny
On Fri, Aug 3, 2012 at 1:14 PM, John Foster  wrote:
> A suggestion. You may have lost the mbr when the disk failed. If you
> completely reinstalled your system oncluding reformat of drives that option
> should have been offered. Do you recall that occuring.

Hmmm. If I recall correctly, I installed GRUB to the MBR on /dev/sda,
but /dev/sdc was the disk that died.

Who knows - my memory isn't that good.

I did not completely reinstall my system. I just used the Squeeze
rescue option which includes an option to reinstall GRUB.

-mz


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOLfK3WH6=fvkuuairaxy5_3v_bkdgoi+e0bcjen5h07tj6...@mail.gmail.com



Re: GRUB no long gives menu on boot

2012-08-03 Thread Matt Zagrabelny
Hi Tom,

On Fri, Aug 3, 2012 at 11:24 AM, Tom H  wrote:
> On Thu, Aug 2, 2012 at 9:15 PM, Matt Zagrabelny  wrote:
>>
>> I have the following setup which worked well after performing a squeeze 
>> install:
>>
>> /boot -> Software RAID5
>> / -> LVM on top of Software RAID5
>>
>> I lost a disk of my RAID array a few months ago and ever since
>> replacing it and rebuilding the arrays, I no longer get a menu of
>> kernels to boot from in GRUB. Instead I get a prompt.
>>
>> I have tried reinstalling GRUB from a Squeeze rescue flash drive, but
>> there is no change.
>
> How did you uninstall grub?

I never uninstalled grub.

There was/is a bug in grub that it cannot read a degraded RAID array.
That was biting me at one point, but I replaced the drive and rebuilt
the array.

> What's the output of
> http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/


 Boot Info Script 0.61  [1 April 2012]


= Boot Info Summary: ===

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
34 of the same hard drive for core.img. core.img is at this location and
looks for (vg_01_ziggurat-root)/boot/grub on this drive.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
34 of the same hard drive for core.img. core.img is at this location and
looks for (vg_01_ziggurat-root)/boot/grub on this drive.
 => No boot loader is installed in the MBR of /dev/sdc.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdd and looks at sector
34 of the same hard drive for core.img. core.img is at this location and
looks for (vg_01_ziggurat-root)/boot/grub on this drive.
 => ISOhybrid (Syslinux 3.82-4.03) is installed in the MBR of /dev/sde.

sda1: __

File system:   BIOS Boot partition
Boot sector type:  Grub2's core.img
Boot sector info:

sda2: __

File system:   linux_raid_member
Boot sector type:  -
Boot sector info:

sda3: __

File system:   linux_raid_member
Boot sector type:  Unknown
Boot sector info:

sdb1: __

File system:   BIOS Boot partition
Boot sector type:  Grub2's core.img
Boot sector info:

sdb2: __

File system:   linux_raid_member
Boot sector type:  -
Boot sector info:

sdb3: __

File system:   linux_raid_member
Boot sector type:  Unknown
Boot sector info:

sdc1: __

File system:   BIOS Boot partition
Boot sector type:  -
Boot sector info:

sdc2: __

File system:   linux_raid_member
Boot sector type:  -
Boot sector info:

sdc3: __

File system:   linux_raid_member
Boot sector type:  -
Boot sector info:

sdd1: __

File system:   BIOS Boot partition
Boot sector type:  Grub2's core.img
Boot sector info:

sdd2: __

File system:   linux_raid_member
Boot sector type:  -
Boot sector info:

sdd3: __

File system:   linux_raid_member
Boot sector type:  Unknown
Boot sector info:

sde1: __

File system:   iso9660
Boot sector type:  Unknown
Boot sector info:
Operating System:
Boot files:

vg_01_ziggurat-root': __

File system:
Boot sector type:  Unknown
Boot sector info:
Mounting failed:   mount: unknown filesystem type ''

md/0: __

File system:   ext4
Boot sector type:  -
Boot sector info:
Operating System:
Boot files:/grub/grub.cfg /grub/core.img

md/1: __

File system:   LVM2_member
Boot sector type:  -
Boot sector info:

 Drive/Partition Info: =

Drive: sda _

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 390

Re: GRUB no long gives menu on boot

2012-08-03 Thread hvw59601

Tom H wrote:

On Thu, Aug 2, 2012 at 9:15 PM, Matt Zagrabelny  wrote:

I have the following setup which worked well after performing a squeeze install:

/boot -> Software RAID5
/ -> LVM on top of Software RAID5

I lost a disk of my RAID array a few months ago and ever since
replacing it and rebuilding the arrays, I no longer get a menu of
kernels to boot from in GRUB. Instead I get a prompt.

I have tried reinstalling GRUB from a Squeeze rescue flash drive, but
there is no change.


How did you uninstall grub?

What's the output of
http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/




That's a nifty little script! Thanks!

Hugo


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/jvh8uf$7im$1...@dough.gmane.org



Re: GRUB no long gives menu on boot

2012-08-03 Thread John Foster
A suggestion. You may have lost the mbr when the disk failed. If you
completely reinstalled your system oncluding reformat of drives that option
should have been offered. Do you recall that occuring.
On Aug 2, 2012 8:46 PM, "Matt Zagrabelny"  wrote:

> Greetings,
>
> I have the following setup which worked well after performing a squeeze
> install:
>
> /boot -> Software RAID5
> / -> LVM on top of Software RAID5
>
> I lost a disk of my RAID array a few months ago and ever since
> replacing it and rebuilding the arrays, I no longer get a menu of
> kernels to boot from in GRUB. Instead I get a prompt.
>
> I have tried reinstalling GRUB from a Squeeze rescue flash drive, but
> there is no change.
>
> Comments and help appreciated.
>
> Thanks,
>
> -mz
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/CAOLfK3UXXYa=_wy+vkjpsqerjcwb66ortkhke57jkpbwemb...@mail.gmail.com
>
>


Re: GRUB no long gives menu on boot

2012-08-03 Thread Tom H
On Thu, Aug 2, 2012 at 9:15 PM, Matt Zagrabelny  wrote:
>
> I have the following setup which worked well after performing a squeeze 
> install:
>
> /boot -> Software RAID5
> / -> LVM on top of Software RAID5
>
> I lost a disk of my RAID array a few months ago and ever since
> replacing it and rebuilding the arrays, I no longer get a menu of
> kernels to boot from in GRUB. Instead I get a prompt.
>
> I have tried reinstalling GRUB from a Squeeze rescue flash drive, but
> there is no change.

How did you uninstall grub?

What's the output of
http://sourceforge.net/projects/bootinfoscript/files/bootinfoscript/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SyNCj_WOXpZBRvsT4pjwHn+aeA5=8x8XufgUNF-R=8...@mail.gmail.com