nightmorph 06/11/05 04:02:25 Modified: liveusb.xml Log: added 2006.1 fix-in-the-works; should be evaluated. commented fixes and explanation only, **no content change**
Revision Changes Path 1.11 xml/htdocs/doc/en/liveusb.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?rev=1.11&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?rev=1.11&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/liveusb.xml?r1=1.10&r2=1.11 Index: liveusb.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- liveusb.xml 18 Sep 2006 10:51:48 -0000 1.10 +++ liveusb.xml 5 Nov 2006 04:02:25 -0000 1.11 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding="UTF-8"?> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.10 2006/09/18 10:51:48 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.11 2006/11/05 04:02:25 nightmorph Exp $ --> <guide link="/doc/en/liveusb.xml"> <title>Gentoo Linux LiveUSB HOWTO</title> @@ -245,6 +245,47 @@ drive. Do not enable this unless the target computer has at least 128MB RAM. </note> +<!-- +(2006.1 workaround) posted by nightmorph + +Background: +After some lengthy discussion with Robin Johnson (robbat2) on IRC, it turns out +that the reason why 2006.1 fails to work with this guide is because inside the +initramfs, it specifies -t iso9660..but usb flash isn't this filetype, it's +vfat. 2006.0 was much better and just specified mount -t auto. so the thing is +to install an ~arch version of genkernel (3.4.4, still ~arch as of 2006-11-04) +and reconfigure syslinux.config to point at the renamed files. + +Obviously, unmasking an ~arch version is never desirable in documentation, so we +need some more alternatives...since 3.4.4 was only created at the end of +october; not likely to go stable all that soon. + +Procedure: +After adjusting the parameters, and before the disk is unmounted/bootloader +installed, the following must be done for ~arch genkernel. Please replace (dash) +with an actual - , since the damned xmllint throws a "comment not terminated" +error. + +# echo "sys-kernel/genkernel" >> /etc/portage/package.keywords +# genkernel (dash)(dash)bootdir=/mnt/usb (dash)(dash)install all +(not sure if syslinux has been installed previously yet) +# nano -w syslinux.cfg +(Edit it to point at the new filenames installed by genkernel) +(might be worth renaming to the ones normally used by syslinux, as +if the kernel name is too long, "vfat might bite") + +(might need to re-run syslinux as specified below to pick up the new names, +though maybe this renaming step should be in the section below?) +# syslinux /dev/sda1 + +TODO: +- if/when this document changes, brix requested some time ago that he be renamed +"Original Author" and be moved to the bottom of the credits list. +- if/when this fix goes in, robbat2 deserves credit: this is his solution after + all, and it works. + +--> + </body> </section> </chapter> -- [email protected] mailing list
