[Top][All Lists]

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

Re: How to force os-prober to scan for new hard disk

From: Barry Jackson
Subject: Re: How to force os-prober to scan for new hard disk
Date: Mon, 21 Mar 2011 09:49:37 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-UK; rv: Gecko/20110320 Lightning/1.0b2 Lanikai/3.1.10pre

On 20/03/11 20:08, Bernard Wu wrote:
Hi Listers,
I just added a new hdd to my dual boot machine. This new hard disk
contains RHEL 5.5 with grub installed in its mbr.
No matter how many times I run update-grub, it doesn't see this hard drive.
However fdisk sees it as /dev/sdc. How dos I force os-prober to include
this new disk when it does its scanning. I even tried modifying
/etc/grub.d/40_custom with this syntax:

menuentry "RedHat Enterprise Linux Server (2.6.18-194.el5)" {
set root='(hd2)'
chainloader +1

but when I select it, all it gives me is a blinking cursor and nothing

My current setup:
disk 1 - sda - ubuntu 10.04.2 - grub2 installed in mbr
disk 2 - sdb - win /xp professional - windows in mbr
disk 3 ( new addition ) - sdc - RHEL 5.5 - grub 0.97 installed in mbr

Any advice and suggestion will be much appreciated.


Help-grub mailing list

Try booting it directly - *something* like :-

menuentry 'RHEL' {
linux (hd2,1)/boot/vmlinuz
initrd (hd2,1)/boot/initrd.img

Since your RHEL drive had grub installed when it was not connected as hd2 it will not boot from it's MBR until it's grub has been set up again in it's current location. Likewise with menu.lst - all the entries will be pointing to the wrong places.


reply via email to

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