Gentoo Archives: gentoo-user

From: Florian Philipp <lists@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Grub on a new disk
Date: Fri, 04 Jul 2008 09:19:57
Message-Id: 20080704111848.6e5823c0@NOTE_GENTOO64.PHHEIMNETZ
In Reply to: Re: [gentoo-user] Grub on a new disk by Mick
1 On Thu, 3 Jul 2008 23:04:26 +0100
2 Mick <michaelkintzios@×××××.com> wrote:
3
4 > On Thursday 03 July 2008, Florian Philipp wrote:
5 > > Hi!
6 > >
7 > > I've recently moved /boot from /dev/hda to /dev/hdd. Then I've
8 > > installed grub with
9 > > for i in /dev/hd{a,b,d}; do grub-install --recheck $i; done
10 >
11 > My knowledge of bash is less than rudimentary, therefore I am not
12 > sure what this does - can you please explain (in plain English). Did
13 > you only have /dev/hdd mounted at the time of installation? What
14 > else is connected to the controller that hdd is connected to?
15 >
16
17 The above line is a short version of:
18 grub-install --recheck /dev/hda
19 grub-install --recheck /dev/hdb
20 grub-install --recheck /dev/hdd
21
22 --recheck was necessary because the old device map listed /dev/hdd as
23 an optical drive.
24
25 I installed grub on all devices because I wasn't sure which one is
26 checked by the BIOS. Now I know I can tell the BIOS to look at /dev/hdd
27 first but that doesn't help.
28
29 At the time of installation the system was running with all devices
30 mounted. The old /boot (/dev/hda1) was unmounted and the
31 new /boot (/dev/hdd1) mounted.
32
33 On the same controller there are two more HDDs (hda and hdb) and a
34 DVD-burner (hdc). UDMA modes are set correctly by the BIOS, after boot
35 everything works fine.
36
37 There is also a floppy drive and several USB-devices (card reader).

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Grub on a new disk "Sebastian Günther" <samson@××××××××××××××××.de>