[Voyage-linux] memdisk: iso checksums failing
Jim Cromie
(spam-protected)
Fri Aug 20 00:39:09 HKT 2010
2010/7/30 Michael Steinmann <mike.steinmann at gmail.com>
> 2010/7/30 Jim Cromie <jim.cromie at gmail.com>
>
> thanks Michael,
>>
>>
>> On Sun, Jul 25, 2010 at 1:44 AM, Michael Steinmann
>> <mike.steinmann at gmail.com> wrote:
>> > my PXE running in pfsense (192.168.100.1) works like this:
>> >
>> > SERIAL 0 38400
>> > # CONSOLE 0
>> >
>> > DEFAULT menu.c32
>> > ALLOWOPTIONS 0
>> > PROMPT 0
>> > TIMEOUT 0
>> >
>> > MENU TITLE --== Install Voyage ==--
>> >
>> > LABEL rootmenu
>> > MENU LABEL ..
>> > kernel menu.c32
>> > append pxelinux.cfg/default
>> >
>> > LABEL Voyage
>> > MENU LABEL ^Voyage 0.6.5
>> > KERNEL voyage-0.6.5/vmlinuz1
>> > APPEND initrd=voyage-0.6.5/initrd1.img boot=live
>> > fetch=tftp://192.168.100.1/voyage-0.6.5.filesystem.squashfs live-getty
>> > noautologin all_generic_ide debug console=ttyS0,38400n8
>> >
>>
>> can you clarify a few things ?
>>
>> fetch=<>
>>
>> Im not familiar with this directive, and I didnt see it on
>> syslinux.zytor.com
>>
>
> see http://syslinux.zytor.com/wiki/index.php/WDSLINUX
> until now I used:
> PXELINUX 3.71 Debian-2008-09-06 Copyright (C) 1994-2008 H. Peter Anvin
> and just now I upgraded to (changed pxelinux.0 and menu.c32):
> PXELINUX 4.02 2010-07-21 Copyright (C) 1994-2010 H. Peter Anvin et al
>
>
>
>> I can imagine what it should do, but I tried adding it, and saw no
>> download happening.
>> what part of the boot actually uses it ?
>> what would the proper output look like ?
>>
>
> Intel UNDI, PXE-2.0 (build 082)
> Copyright (C) 1997,1998,1999 Intel Corporation
> VIA Rhine III Management Adapter v2.43 (2005/12/15)
>
> CLIENT MAC ADDR: 00 0D B9 12 87 68
> CLIENT IP: 192.168.100.233 MASK: 255.255.255.0 DHCP IP: 192.168.100.1
> GATEWAY IP: 192.168.100.1
>
> PXELINUX 4.02 2010-07-21 Copyright (C) 1994-2010 H. Peter Anvin et al
>
> ┌────────────────────────────
> │ --== PXE Boot Menu ==--
> ├────────────────────────────
> │ Voyage 0.6.5
> │ Voyage 0.6.5 stable
> │ Voyage-One (0.6.5 based)
>
>
>
> Loading voyage-0.6.5/vmlinuz1....
> Loading voyage-0.6.5/initrd1.img........ready.
>
> [ 0.000000] Linux version 2.6.32-voyage (2.6.32) (root at punknix-uml)
> (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Sat Jun 5 10:37:21 GMT
> 2010
> [ 0.000000] KERNEL supported cpus:
> [ 0.000000] Intel GenuineIntel
> [ 0.000000] AMD AuthenticAMD
> [ 0.000000] NSC Geode by NSC
> ...
>
> and here the filesystem.squashfs gets fetched:
>
> [ 6.387421] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
> [ 6.391592] eth1: link down
> [ 6.427181] ide_generic: please use "probe_mask=0x3f" module parameter
> for probing all legacy ISA IDE ports
>
> and after a while and some NIC-LEDs blinking (no other messages in
> between):
>
> [ 56.105838] aufs 20090126
> [ 56.273950] loop: module loaded
> [ 56.419914] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> INIT: version 2.88 booting
> Using makefile-style concurrent boot in runlevel S.
> Starting the hotplug events dispatcher: udevd[ 79.151982] udev: starting
> version 158
>
>
>
>> I also tried appending it to the initrd=<img>,filesystem.squashfs,
>> which did download,
>> but didnt know what to do with it afterwards.
>> Is 192.168.100.1 the same box that provides the pxelinux.0 file ?
>>
>
> yes
>
>
>> pfsense is a FreeBSD based dist, right ?
>>
>
> yes
>
>
>> is this what youre using as the dhcpd, tftp server ?
>>
>
> yes, it does it all. This is my little how-to enable PXE on pfSense:
>
> - In pfSense 1.2.3-Release install the TFTP package.
> - remount the filesystem R/W with "mount -rw /dev/ufs/pfsense0 /"
> - make a folder /tftpboot/
> - in the webGUI: pfSense->Services->DHCP server->Enable Network booting
> [checked]; enter the IP of the pfSense itself (192.168.100.1), and the
> filename "pxelinux.0"
>
> >
>> > the files are from the live-cd
>> > make sure not to place the filesystem.squashfs in a subfolder.
>>
>> If I had tried this, would I get a clear error ?
>> I did not, since I saw nothing during the boot process.
>>
>
> I was wrong, I just had this in mind but tested it again and it also works
> if it is in a subfolder.
> If the filesystem.squashfs is missing I get the following output:
>
> [ 6.393543] ide_generic: please use "probe_mask=0x3f" module parameter
> for probing all legacy ISA IDE ports
>
> BusyBox v1.15.3 (Debian 1:1.15.3-1) built-in shell (ash)
> Enter 'help' for a list of built-in commands.
>
> /bin/sh: can't access tty; job control turned off
> (initramfs)
>
> I hope this helps.
> What do you see? How far does it go?
>
> MIchael
>
>
FWIW, I think the problem (with booting iso directly via memdisk on the
soekris)
is that the syslinux.cfg doesnt have a 'SERIAL ....' directive.
thus I cant see whats going on.
Its debatable whether it should - writing boot stuff to whatever
might be connected to serial port could be troublesome.
scanning the subnet which laptop dhcpd would be serving to it
doesnt show any open ports, I didnt look into why, but I did expect
it to use dhcp to get its IP.
I havent tried remastering my own iso with SERIAL,
just pulling CF, and using voyage.update on desktop to write it works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100819/9935de8d/attachment.html>
More information about the Voyage-linux
mailing list