1 |
Am 02.07.2010 21:56, schrieb Keith Dart: |
2 |
> === On Wed, 06/30, waltdnes@××××××××.org wrote: === |
3 |
>> able to modify a CD boot image get Gentoo to boot from a |
4 |
>> USB stick. |
5 |
> === |
6 |
> |
7 |
> I have done that. Here's basically what I did. |
8 |
> |
9 |
> #!/bin/sh |
10 |
> |
11 |
> ISO=/home/ftp/pub/install/install-amd64-minimal-20081213.iso |
12 |
> |
13 |
> mkdosfs -F 32 /dev/sdc1 |
14 |
> dd if=/usr/share/syslinux/mbr.bin of=/dev/sdc || exit |
15 |
> mount -o loop,ro -t iso9660 $ISO /mnt/iso || exit |
16 |
> mount -t vfat /dev/sdc1 /mnt/media1 || exit |
17 |
> cp -r /mnt/iso/* /mnt/media1 || exit |
18 |
> sync |
19 |
> mv /mnt/media1/isolinux/* /mnt/media1 |
20 |
> mv /mnt/media1/isolinux.cfg /mnt/media1/syslinux.cfg |
21 |
> rm -rf /mnt/media1/isolinux* |
22 |
> mv /mnt/media1/memtest86 /mnt/media1/memtest |
23 |
> |
24 |
> umount /mnt/iso |
25 |
> #vim /mnt/media1/syslinux.cfg |
26 |
> sed -i -e "s:cdroot:cdroot slowusb:" \ |
27 |
> -e "s:kernel memtest86:kernel memtest:" /mnt/media1/syslinux.cfg |
28 |
> |
29 |
> umount /mnt/media1 |
30 |
> syslinux /dev/sdc1 |
31 |
> |
32 |
> |
33 |
> |
34 |
> |
35 |
> -- Keith Dart |
36 |
> |
37 |
|
38 |
|
39 |
try the manual from the systemrescuecd (a very recent gentoo based livecd) |
40 |
|
41 |
http://www.sysresccd.org/Sysresccd-manual-en_How_to_install_SystemRescueCd_on_an_USB-stick |