Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Amoeba file system
Date: Sun, 08 Apr 2007 10:19:43
Message-Id: 200704081117.47793.prh@gotadsl.co.uk
In Reply to: Re: [gentoo-amd64] Amoeba file system by dustin@v.igoro.us
1 On Saturday 07 April 2007 22:27:08 dustin@×××××××.us wrote:
2
3 > Wait, you're saying that *emerging* grub-static is repartitioning your
4 > drive? I'm going to go out on a limb, without actually looking at the
5 > grub ebuild, and say: no, no it's not.
6
7 Watch this:
8
9 # fdisk -l /dev/hda
10 [...]
11 Device Boot Start End Blocks Id System
12 /dev/hda1 * 1 7 56196 83 Linux
13 [...]
14
15 # emerge grub-static
16 Calculating dependencies ..... ..... ..... .... done!
17 >>> Verifying ebuild Manifests...
18
19 >>> Emerging (1 of 1) sys-boot/grub-static-0.97 to /
20 [...]
21 >>> sys-boot/grub-static-0.97 merged.
22 [...]
23 # fdisk -l /dev/hda
24
25 Disk /dev/hda: 80.0 GB, 80026361856 bytes
26 [...]
27 Device Boot Start End Blocks Id System
28 /dev/hda1 1 7 56196 93 Amoeba
29 [...]
30
31 Now I'm going to have to boot a CD and run fdisk to delete and
32 re-create /dev/hda1, then chroot to the root partition and run grub to
33 reinstall itself.
34
35 > I'm not familiar with why you'd need the grub-static package, instead of
36 > just 'USE="static" grub',
37
38 I haven't thought of doing that; perhaps I should try it. I used to use
39 grub-static a few years ago when 64-bit grub had not yet been developed, in
40 accordance with the standard installation instructions of the time; I
41 suppose I've just stuck with it.
42
43 > ... you should duplicate the conditions under which your grub-static
44 > package was initially built by using /etc/portage/package.*,
45 > and then put grub-static (and not grub) in your 'world'.
46
47 It turns out that 'world' does have grub-static, not grub. Sorry I was
48 unclear about that. How would I arrange package.* to pass --usepkg to
49 emerge? Maybe I won't have to if your suggestion works (USE=static emerge
50 grub).
51
52 --
53 Rgds
54 Peter Humphrey
55 Linux Counter 5290, Aug 93
56 --
57 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Amoeba file system dustin@×××××××.us