Gentoo Archives: gentoo-user

From: michael@×××××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Having trouble installing grub on second disk
Date: Tue, 26 Jul 2005 21:21:15
Message-Id: Pine.LNX.4.61.0507261343330.18554@mail.magrittesystems.com
In Reply to: Re: [gentoo-user] Having trouble installing grub on second disk by Neil Bothwick
1 On Tue, 26 Jul 2005, Neil Bothwick wrote:
2
3 > On Tue, 26 Jul 2005 13:12:40 -0700 (PDT), michael@×××××××××××××.com wrote:
4 >
5 >> I have Gentoo (2005.0) installed on my master primary device, and I
6 >> am trying to create a minimal Linux system on a new disk, my slave
7 >> primary device.
8 >>
9 >> So, I partition and make a 32M ext2 file system, make the appropriate
10 >> directories and devices, install busybox and other odds and ends. Then I
11 >> copy over the kernel from my Gentoo system (same hardware, so the same
12 >> kernel).
13 >>
14 >> Finally I install grub on the slave primary device, and set up my
15 >> grub.conf like so:
16 >>
17 >> default 0
18 >> timeout 10
19 >>
20 >> title=minimal linux on slave primary device
21 >> root (hd1,0)
22 >> kernel /boot/vmlinuz root=/dev/hdb1
23 >>
24 >> root (hd1,0) should be the first partition on my slave primary device
25 >
26 > You don't need to install GRUB on the slave drive, just add this to your
27 > existing grub.conf. GRUB is able to boot from a different drive.
28
29 Ah, but eventually the first disk will go away. It's just support while
30 I develop the minimal install. So I do need grub on it. But thanks for
31 responding anyway, I appreciate the help
32
33 Michael
34 --
35 gentoo-user@g.o mailing list