/[gentoo]/xml/htdocs/doc/en/liveusb.xml
Gentoo

Diff of /xml/htdocs/doc/en/liveusb.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.10 2006/09/18 10:51:48 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/liveusb.xml,v 1.11 2006/11/05 04:02:25 nightmorph Exp $ -->
4 4
5<guide link="/doc/en/liveusb.xml"> 5<guide link="/doc/en/liveusb.xml">
6<title>Gentoo Linux LiveUSB HOWTO</title> 6<title>Gentoo Linux LiveUSB HOWTO</title>
7 7
8<author title="Author"> 8<author title="Author">
243Consider adding <c>docache</c> to the boot parameters. This will allow running 243Consider adding <c>docache</c> to the boot parameters. This will allow running
244<c>umount /mnt/cdrom/</c> after booting so that you can unplug the USB flash 244<c>umount /mnt/cdrom/</c> after booting so that you can unplug the USB flash
245drive. Do not enable this unless the target computer has at least 128MB RAM. 245drive. Do not enable this unless the target computer has at least 128MB RAM.
246</note> 246</note>
247 247
248<!--
249(2006.1 workaround) posted by nightmorph
250
251Background:
252After some lengthy discussion with Robin Johnson (robbat2) on IRC, it turns out
253that the reason why 2006.1 fails to work with this guide is because inside the
254initramfs, it specifies -t iso9660..but usb flash isn't this filetype, it's
255vfat. 2006.0 was much better and just specified mount -t auto. so the thing is
256to install an ~arch version of genkernel (3.4.4, still ~arch as of 2006-11-04)
257and reconfigure syslinux.config to point at the renamed files.
258
259Obviously, unmasking an ~arch version is never desirable in documentation, so we
260need some more alternatives...since 3.4.4 was only created at the end of
261october; not likely to go stable all that soon.
262
263Procedure:
264After adjusting the parameters, and before the disk is unmounted/bootloader
265installed, the following must be done for ~arch genkernel. Please replace (dash)
266with an actual - , since the damned xmllint throws a "comment not terminated"
267error.
268
269# echo "sys-kernel/genkernel" &gt;&gt; /etc/portage/package.keywords
270# genkernel (dash)(dash)bootdir=/mnt/usb (dash)(dash)install all
271(not sure if syslinux has been installed previously yet)
272# nano -w syslinux.cfg
273(Edit it to point at the new filenames installed by genkernel)
274(might be worth renaming to the ones normally used by syslinux, as
275if the kernel name is too long, "vfat might bite")
276
277(might need to re-run syslinux as specified below to pick up the new names,
278though maybe this renaming step should be in the section below?)
279# syslinux /dev/sda1
280
281TODO:
282- if/when this document changes, brix requested some time ago that he be renamed
283"Original Author" and be moved to the bottom of the credits list.
284- if/when this fix goes in, robbat2 deserves credit: this is his solution after
285 all, and it works.
286
287-->
288
248</body> 289</body>
249</section> 290</section>
250</chapter> 291</chapter>
251<chapter> 292<chapter>
252<title>Installing a bootloader</title> 293<title>Installing a bootloader</title>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20