bug-grub
[Top][All Lists]
Advanced

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

Installing GRUB to a different harddisk doesn't work


From: Christian Hammers
Subject: Installing GRUB to a different harddisk doesn't work
Date: Thu, 23 Aug 2001 17:09:02 +0200
User-agent: Mutt/1.3.12i

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



reply via email to

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