bug-grub
[Top][All Lists]
Advanced

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

Re: Installing GRUB to a different harddisk doesn't work


From: Christoph Plattner
Subject: Re: Installing GRUB to a different harddisk doesn't work
Date: Fri, 24 Aug 2001 08:31:21 +0200

Hello !

Do I understand this right ? You have a master disk and you want 
to boot from the backup disk, if the master disk fails.

The first point to consider: Will the backup disk get the 
number (hd0) then or will it stay (hd1). If the name changes,
you will get quite problems. As stage1 knows from which drive
to load stage2.

When I call the "setup", I do this in the following way:

setup (hd1) (hd1,0)/boot/grub

Try this notation !
But I don't know, if this is the solution, or if GRUB has
a problem here. I have to repeat your experience. 

With friendly regards

        Christoph P.


Christian Hammers wrote:
> 
> I have a running system with hd(0,0) as my current partition. Now I have a
> backup harddisk as (hd1,0) which I want to make bootable. I made it by
> booting from floppy disk and then setup'ing it to the harddisc, but this
> is not nice and esp. not a solution for a server I don't want to shutdown but
> want have a *bootable* backup disk in.
> 
> I have an ext2 filesystem on the backup disk and a /boot/grub directory,
> I copied from my master disk. I tried the following commands from grub all
> without success:
> 
> root (hd1,0)
> 
> => the string "GRUB" and then the system stands
> install (hd1,0)/boot/grub/stage1  (hd1)  (hd1,0)/boot/grub/stage2 p 
> /boot/grub/m
> install (hd1,0)/boot/grub/stage1  (hd1)  (hd1,0)/boot/grub/stage2  
> /boot/grub/me
> 
> => "file not found" when trying in the grub shell
> install (hd0,0)/boot/grub/stage1  (hd1)  (hd1,0)/boot/grub/stage2  
> /boot/grub/me
> install (hd1,0)/boot/grub/stage1  (hd1)  (hd0,0)/boot/grub/stage2  
> /boot/grub/me
> 
> => I did "setup (hd1)" or "setup --force-lba (hd1)" and get "GRUB hard disk 
> error"
> embed /boot/grub/e2fs_stage1_5 (hd1)
> install /boot/grub/stage1 d (hd1) (hd1)1+16 p (hd1,0)/boot/grub/stage2 
> /boot/gru
> 
> (the last word was the menu file, cut&paste cut it)
> Any hints? With root and setup it looked so damn easily...
> 
> bye,
> 
>  -christian-
> 
> --
> Christian Hammers    WESTEND GmbH - Aachen und Dueren     Tel 0241/701333-0
> address@hidden     Internet & Security for Professionals    Fax 0241/911879
>            WESTEND ist CISCO Systems Partner - Premium Certified
> 
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub


------------------------------------------------------------------
private:  address@hidden
company:  address@hidden



reply via email to

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