Am 02.07.2010 21:56, schrieb Keith Dart: > === On Wed, 06/30, waltd...@waltdnes.org wrote: === >> able to modify a CD boot image get Gentoo to boot from a >> USB stick. > === > > I have done that. Here's basically what I did. > > #!/bin/sh > > ISO=/home/ftp/pub/install/install-amd64-minimal-20081213.iso > > mkdosfs -F 32 /dev/sdc1 > dd if=/usr/share/syslinux/mbr.bin of=/dev/sdc || exit > mount -o loop,ro -t iso9660 $ISO /mnt/iso || exit > mount -t vfat /dev/sdc1 /mnt/media1 || exit > cp -r /mnt/iso/* /mnt/media1 || exit > sync > mv /mnt/media1/isolinux/* /mnt/media1 > mv /mnt/media1/isolinux.cfg /mnt/media1/syslinux.cfg > rm -rf /mnt/media1/isolinux* > mv /mnt/media1/memtest86 /mnt/media1/memtest > > umount /mnt/iso > #vim /mnt/media1/syslinux.cfg > sed -i -e "s:cdroot:cdroot slowusb:" \ > -e "s:kernel memtest86:kernel memtest:" /mnt/media1/syslinux.cfg > > umount /mnt/media1 > syslinux /dev/sdc1 > > > > > -- Keith Dart >
try the manual from the systemrescuecd (a very recent gentoo based livecd) http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick