Gentoo Archives: gentoo-doc-cvs

From: Josh Saddler <nightmorph@×××××××××××.org>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] cvs commit: liveusb.xml
Date: Sun, 05 Nov 2006 04:02:46
Message-Id: 20061105040226.106B164AA6@smtp.gentoo.org
1 nightmorph 06/11/05 04:02:25
2
3 Modified: liveusb.xml
4 Log:
5 added 2006.1 fix-in-the-works; should be evaluated. commented fixes and explanation only, **no content change**
6
7 Revision Changes Path
8 1.11 xml/htdocs/doc/en/liveusb.xml
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?rev=1.11&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?rev=1.11&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?r1=1.10&r2=1.11
13
14 Index: liveusb.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v
17 retrieving revision 1.10
18 retrieving revision 1.11
19 diff -u -r1.10 -r1.11
20 --- liveusb.xml 18 Sep 2006 10:51:48 -0000 1.10
21 +++ liveusb.xml 5 Nov 2006 04:02:25 -0000 1.11
22 @@ -1,6 +1,6 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
25 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.10 2006/09/18 10:51:48 nightmorph Exp $ -->
26 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.11 2006/11/05 04:02:25 nightmorph Exp $ -->
27
28 <guide link="/doc/en/liveusb.xml">
29 <title>Gentoo Linux LiveUSB HOWTO</title>
30 @@ -245,6 +245,47 @@
31 drive. Do not enable this unless the target computer has at least 128MB RAM.
32 </note>
33
34 +<!--
35 +(2006.1 workaround) posted by nightmorph
36 +
37 +Background:
38 +After some lengthy discussion with Robin Johnson (robbat2) on IRC, it turns out
39 +that the reason why 2006.1 fails to work with this guide is because inside the
40 +initramfs, it specifies -t iso9660..but usb flash isn't this filetype, it's
41 +vfat. 2006.0 was much better and just specified mount -t auto. so the thing is
42 +to install an ~arch version of genkernel (3.4.4, still ~arch as of 2006-11-04)
43 +and reconfigure syslinux.config to point at the renamed files.
44 +
45 +Obviously, unmasking an ~arch version is never desirable in documentation, so we
46 +need some more alternatives...since 3.4.4 was only created at the end of
47 +october; not likely to go stable all that soon.
48 +
49 +Procedure:
50 +After adjusting the parameters, and before the disk is unmounted/bootloader
51 +installed, the following must be done for ~arch genkernel. Please replace (dash)
52 +with an actual - , since the damned xmllint throws a "comment not terminated"
53 +error.
54 +
55 +# echo "sys-kernel/genkernel" &gt;&gt; /etc/portage/package.keywords
56 +# genkernel (dash)(dash)bootdir=/mnt/usb (dash)(dash)install all
57 +(not sure if syslinux has been installed previously yet)
58 +# nano -w syslinux.cfg
59 +(Edit it to point at the new filenames installed by genkernel)
60 +(might be worth renaming to the ones normally used by syslinux, as
61 +if the kernel name is too long, "vfat might bite")
62 +
63 +(might need to re-run syslinux as specified below to pick up the new names,
64 +though maybe this renaming step should be in the section below?)
65 +# syslinux /dev/sda1
66 +
67 +TODO:
68 +- if/when this document changes, brix requested some time ago that he be renamed
69 +"Original Author" and be moved to the bottom of the credits list.
70 +- if/when this fix goes in, robbat2 deserves credit: this is his solution after
71 + all, and it works.
72 +
73 +-->
74 +
75 </body>
76 </section>
77 </chapter>
78
79
80
81 --
82 gentoo-doc-cvs@g.o mailing list