Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: boot Gentoo from USB key
Date: Fri, 02 May 2008 11:22:34
Message-Id: pan.2008.05.02.11.22.16@cox.net
In Reply to: [gentoo-amd64] boot Gentoo from USB key by Raffaele BELARDI
1 Raffaele BELARDI <raffaele.belardi@××.com> posted
2 1209537833.6170.62.camel@×××××××××××××.com, excerpted below, on Wed, 30
3 Apr 2008 08:43:53 +0200:
4
5 > In the process of building an amd64 diskless box, I am trying to make a
6 > bootable USB key with no success up to now.
7 >
8 > The first problem I encountered was related to ext2/vfat. I initially
9 > tried to format the key as ext2, but grub refuses to install on it. Even
10 > though I copied the /boot/grub/* directory into the key, and I see it is
11 > there, grub does not see it. The problem does not happen with vfat.
12
13 I think I might have come across the problem you experienced here. I'd
14 put the chances at pretty good the below covers the problem here, but I
15 believe the "invisible USBkey @ boot" issue is different, so you'll
16 likely have to address it separately (but luckily there are plenty of
17 posts with suggestions).
18
19 If I'm correct you're running into the ext3 large inode issue. Briefly,
20 old versions used 128 byte inodes, while newer versions use 256 byte
21 inodes by default, in ordered to be ready for the improvements coming in
22 ext4. The problem is that legacy grub doesn't support the larger inodes,
23 and isn't being developed any longer so that isn't going to change, while
24 new grub isn't even scheduled for format compatibility stability until
25 late this year!
26
27 One solution is a command line option to mke2fs as detailed in the
28 article below. Or...
29
30 There's a Gentoo patched grub-0.97-r5 that'll handle the new inodes hard
31 masked for testing, but I don't believe it's even ~arch yet (I'm on the
32 no-multilib profile here, where grub is masked and grub-static is used,
33 so wouldn't see it go to ~arch and thus can't say for sure).
34
35 Here's the article I just found detailing the issue in general. It's
36 well worth reading but a word of warning. LinuxPlanet tends to be a bit
37 ad-heavy... and weirdly formatted if you are using an ad-blocker (unless
38 you use a custom filter to cut out the weirdness, as I do with privoxy).
39 Still, for those using both grub and an ext3 /boot, it's DEFINITELY worth
40 the read, as it may prevent (or in your case fix) some serious issues
41 later (now, for you).
42
43 http://www.linuxplanet.com/linuxplanet/tutorials/6480/1/
44
45 Meanwhile, here's the developer list thread (via gmane) asking for
46 testing of the new version with the large-inode patch, among other fixes.
47
48 http://comments.gmane.org/gmane.linux.gentoo.devel/55463
49
50 Finally, the Gentoo-grub ext3 large inodes bug:
51
52 http://bugs.gentoo.org/show_bug.cgi?id=214563
53
54 --
55 Duncan - List replies preferred. No HTML msgs.
56 "Every nonfree program has a lord, a master --
57 and if you use the program, he is your master." Richard Stallman
58
59 --
60 gentoo-amd64@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Re: boot Gentoo from USB key Drake Donahue <donahue95@×××××××.net>