Gentoo Archives: gentoo-amd64

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] new clean rebuild
Date: Sun, 18 May 2008 17:30:17
Message-Id: 5bdc1c8b0805181030x1a32fadu1a485d6ce2486e9e@mail.gmail.com
In Reply to: Re: [gentoo-amd64] new clean rebuild by Drake Donahue
1 On Sun, May 18, 2008 at 10:05 AM, Drake Donahue <donahue95@×××××××.net> wrote:
2 > ----- Original Message -----
3 >>
4 >> From: Beso
5 >> To: gentoo-amd64@l.g.o
6 >> Sent: Saturday, May 17, 2008 2:04 PM
7 >> Subject: Re: [gentoo-amd64] new clean rebuild
8 >
9 > <snip><beso discussed rebuild>
10 >
11 >> 2008/5/17 Mark Knecht markknecht@×××××.com
12 >
13 > said in part in reply:
14 >
15 >> 1) Mask >grub-0.97.r4 for now.
16 >
17 > Recommend not doing the step above.
18 >
19 > In contrast to my experience a week ago when ext2/ext3 filesystems were
20 > being built with INODE_SIZE=128 (in spite of a default INODE_SIZE=256 in
21 > the /etc/mke2fs.conf file}; yesterday, an up-to-date mke2fs was honoring
22 > the default setting and producing ext2/ext3 filesystems with
23 > INODE_SIZE=256.
24 > If one runs mke2fs as suggested in the handbook to create a filesystem for
25 > use as /boot the filesystem will have INODE_SIZE=256. Therefore
26 > grub-0.97.r4 and older will not be able to setup a stage 1/stage1.5/stage2
27 > capable of loading /boot. At the point the handbook follower finds that grub
28 > 0.97.4 is reporting:
29 > <quote>
30 > grub> setup (hd0)
31 > Checking if "/boot/grub/stage1" exists... no
32 > Checking if "/grub/stage1" exists... no
33 >
34 > Error 2: Bad file or directory type
35 > <unquote>
36 > The valid recovery choices then will be:
37 > a) unmask grub, emerge grub (version 0.97.5 or newer), run grub and setup
38 > the desired drive
39 > or
40 > b) move or copy /boot and subdirectories to another partition, remake the
41 > filesystem specifying INODE_SIZE=128, return /boot and subdirectories to the
42 > remade partition, run grub setup the desired drive.
43 >
44 > <snip><Mark suggested rebuild techniques><beso further discussed/replied>
45 >
46 > Beso said in part in reply:
47 >
48 >> ps. i've never had any problems with grub, unless the fact that i'm not
49 >> able to rebuild it with the grubfx >image (as the opensuse version).
50 >
51 > I've played extensively with grub 0.97-r5 in the last 10 days and it is not
52 > a problem.
53 > Should also be noted that emerging/installing grub has no affect on the
54 > ability to boot an existing installation. Effects are not felt until grub or
55 > grub-install is run or grub.conf is edited.
56
57 Drake,
58 Thanks very much for the info. It makes me feel *slightly* better,
59 but still I feel I need to study a bit more.
60
61 My recommendation to Beso was based on the trouble you were having.
62 Personally I don't know of any *major* advantage to 0.9-r5 so on my
63 existing machines I've masked it out until I really understand how to
64 upgrade it without problems. (I think I do but again I wanted to study
65 it and didn't want any suggestion I gave Beso to cause him problems.
66
67 I did rebuild a couple of old boxes this last week from scratch. On
68 those machines I used 0.97-r5 and on a 'from scratch' installation it
69 worked fine, other than an issue with not having a menu.lst link on
70 one machine.
71
72 Cheers,
73 Mark
74 --
75 gentoo-amd64@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] new clean rebuild Beso <givemesugarr@×××××.com>