[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bootable memory stick: did I miss something?



Joey Hess wrote:
Harald Dunkel wrote:

I'm trying to create a bootable memory stick, but it doesn't
work. Attached is the script I'm using (kids, don't try this at
home).

I thought this follows the documentation. Did I miss anything?


cd /var/tmp
wget -N http://debian-amd64.alioth.debian.org/debian-installer/daily/hd-media/2.6/initrd.gz
wget -N http://debian-amd64.alioth.debian.org/debian-installer/daily/hd-media/2.6/vmlinuz


Why not just get the boot.img.gz from the same directory? I've not heard
success or failure with usb memory sticks and d-i for amd64 before, but
at least it has the initrd, kernel, and a known working syslinux
configuration.

Sorry, but I don't want to try a different procedure. I want
to know whether the script is correct or whats wrong.

Seems that my EMail wasn't precise about the problem: My PC
doesn't even try to access /vmlinuz on the memory stick. Even
though USB-ZIP is the first in the boot order, my PC checks
only the CDROM, then it boots via grub from my harddisk. It
doesn't matter whether I use the files for amd64 or i386.

I thought that since you folks are creating boot images
each day, some of you might have more experience with
booting from a USB memory stick.

Any links to the documentation you are referring to? Maybe
I grabbed the wrong document (http://d-i.pascal.at/). I would
guess the exact syslinux.cfg would be _extremely_ important.


wget -N http://debian-amd64.alioth.debian.org/install-images/sid-amd64-netinst.iso


And stick this file on it like the documentation tells you to.


cat <<EOT >syslinux.cfg
default vmlinuz
append initrd=initrd.gz ramdisk_size=8192 root=/dev/rd/0 init=/linuxrc devfs=mount,dall rw DEBCONF_PRIORITY=medium
EOT


We stopped using init=/linuxrc about half a year ago. I don't know what
documentation you used, but it's wrong. The ramdisk_size may be larger
than 8192.




Many thanx

Harri



Reply to: