On Mon, 2007-04-09 at 08:59 +0800, Joe Morris (NTM) wrote:
> Art Fore wrote:
> > I would assume grub is installed on the mbr when booting non-raid, is
> > that right? 
> Not if you haven't changed the default.
> > If so, when I install with raid setup, would not the new
> > grub go in the mbr? 
> not in 10.2.  They changed the default to install grub somewhere else
> and install a generic mbr.  That was supposed to fix problem, but for me
> only caused problems.
> > How can I tell if grub is in the mbr anyhow? 
> >   
> /etc/sysconfig/bootloader or through Yast etc/sysconfig Editor. 
> Variable is LOADER_LOCATION.
> > On my system with raid, where you have root=(hd0,4) I have (hd1,0). I
> > have root installed on MD) which is sda1 and sdc1.
> >
> >   
> Where then is your boot?  Do you only have SATA drives?  Does
> /boot/grub/device.map confirm hd1 is either sda1 or sdc1?  Our office
> server also boots from a raid 1 from SATA disks, so SATA is not the
> problem, just make sure device.map is correct.  If all of those settings
> are correct, and it still will not work, boot to the rescue system,
> mount your raid 1 to mnt, cd /mnt and chroot, then run the grub command,
> followed by root (hd 1,0), then setup (hd1).  This will give you a
> visual confirmation of what grub actually knows.  BTW, assuming sda1 is
> hd0,0 and sdc1 is hd1,0, while you are in grub, you can also install
> grub on the mbr of sda by changing the 1 to 0, i.e. root (hd0,0), setup
> (hd0).  Then, you could boot from either disk.
> 
> -- 
> Joe Morris
> Registered Linux user 231871 running openSUSE 10.2 x86_64

Think I am getting a better understanding of this whole process, but
have a few questions still. I am at work now, so I only have my laptop
to look at, also Suse 10.2 but 32-bit.

Yast bootloader shows root device as /dev/sda2. 

Yast Sysconfig Editor Loader_location shows blank, but also has note
that default is mbr. /etc/sysconfig/bootloader shows LOADER_LOCATION="".
/boot/grub/device.map shows (hd0)       /dev/sda. 

/boot/grub/menu.lst shows root (hd0,1) for the linux partition. (First
partition is Windows). 

/boot/grub/menu.lst also has a line gfxmenu (hd0,1)/boot/message. What
does this mean?

>From the above, it looks like hd0,1 equates to /dev/sda2. Is that right?

Does the /boot/grub/device.map (hd0) /dev/sda Indicate the mbr is
located on /dev/sda?

Art



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to