[Voyage-linux] Different PXE Server
John Schultz
(spam-protected)
Sat Aug 13 22:45:14 HKT 2011
OK, Michael....
Thanks for the sample boot files, however those did not work for me either.
I also tried to use the parameters with those initrd and vmlinuz files from
0.6.5 stable from you with 0.7.5 release.
Ive noticed all along that the error message is "can't access tty; job
control turned off" Does this mean that the live setup is in fact meant for
a serial connection? If so, I am up the creek as I do not have a serial
cable (nul modem cable) to connect to this board, hence the reason Ive been
using console all along.
Is there a way to compile my existing debian box setup in a network boot
image?
Thanks again,
John
On Fri, Aug 5, 2011 at 20:12, John Schultz <jschultz0614 at gmail.com> wrote:
> Unfortunately, I am using a Windows SBS 2003 Server with WDS installed for
> my PXE Server.
>
> An Idea that just occurred to me is to create a custom Debian Live ISO with
> the voyage source package built in and then install from there.
>
> I will have to play with some ideas and then report back my findings.
>
> Thanks,
> John
>
>
> On Wed, Aug 3, 2011 at 13:12, Michael Steinmann <mike.steinmann at gmail.com>wrote:
>
>> if I remember correct this is the error message I got with newer Voyage
>> versions (even with some newer daily v0.6.5):
>>
>> /bin/sh: can't access tty; job control turned off
>> (initramfs)
>>
>> the correct setting should be:
>> * console=tty1
>> *but I don't think this helps.
>>
>> I don't know why it's not working with newer versions anymore...
>> have you really tried with all the files I provided in the rar with the
>> same folder structure?
>> don't put filesystem.squashfs in a subfolder like /pxe/voyage/. Try
>> putting the Voyage files *vmlinuz1, **initrd1.img and filesystem.squashfs
>> * in the tftp root folder.
>>
>> I have this setup on a pfSense for some reasons, but as Punky said PXE
>> server should work straight forward on a Voyage installation.
>>
>> /michael
>>
>> *
>>
>> *
>> 2011/8/3 John Schultz <jschultz0614 at gmail.com>
>>
>>> OK,.. I have tried the suggestions you suggested in your first email
>>> today and I get the following:
>>>
>>>> *Loading linux/voyage/vmlinuz1
>>>> Loading linux/voyage/initrd1.img
>>>> early console in setup code
>>>> early console in decompress_kernel
>>>>
>>>>
>>>> Decompressing Linux... Parsing ELF... done.
>>>> Booting the kernel.
>>>> *
>>>
>>>
>>> and then nothing - no network activity whatsoever.
>>>
>>> Here is my menu section config:
>>>
>>>> *LABEL Voyage
>>>> MENU DEFAULT
>>>> MENU LABEL Voyage
>>>> KERNEL linux/voyage/vmlinuz1
>>>> APPEND initrd=linux/voyage/initrd1.img boot=live fetch=
>>>> http://jsch-svr-01/linux/pxe/voyage/filesystem.squashfs live-getty
>>>> noautologin all_generic_ide debug console=ttyS0,38400n8
>>>> *
>>>
>>>
>>> I then tried taking off the ttyS0 param, rebooted and I got the following
>>> output:
>>>
>>>> *Bunch of linux load crap*
>>>>
>>>> *BusyBox v1.17.1 (Debian 1:1.17.1.-8) Built-in shell (ash)
>>>>
>>>> Enter 'help' for a list of built-in commands.
>>>>
>>>> /bin/sh: can't access tty; job control turned off
>>>> (initranfs)
>>>> *
>>>
>>>
>>> That became evident that my console settings are not correct. What is the
>>> correct tty console setting for a regular console setup (no serial
>>> connectivity)?
>>>
>>> This is by far the closest Ive been to a solution in 3 weeks then I ever
>>> have been.
>>>
>>> If this works, I owe you a pizza from the pie (:p)
>>>
>>>
>>> On Wed, Aug 3, 2011 at 07:57, Michael Steinmann <
>>> mike.steinmann at gmail.com> wrote:
>>>
>>>> that probably was version 0.6.5 stable, actually I just tried it and it
>>>> still works :-)
>>>> this is the PXE menu entry:
>>>>
>>>> LABEL Voyage
>>>> MENU LABEL ^Voyage 0.6.5
>>>> KERNEL voyage-0.6.5.stable/vmlinuz1
>>>> APPEND initrd=voyage-0.6.5.stable/initrd1.img boot=live
>>>> fetch=tftp://192.168.100.1/voyage-0.6.5.stable.filesystem.squashfslive-getty noautologin all_generic_ide debug console=ttyS0,38400n8
>>>>
>>>> and here is uname -a output:
>>>> Linux voyage 2.6.30-voyage #1 PREEMPT Wed Dec 30 18:39:44 GMT 2009 i586
>>>> GNU/Linux
>>>>
>>>> I could put the whole thing for download somewhere, if you can't get it
>>>> working.
>>>> how far do you get? what's the error message?
>>>>
>>>> michael
>>>>
>>>>
>>>>
>>>> 2011/8/3 John Schultz <jschultz0614 at gmail.com>
>>>>
>>>>> Definitely need to know what version you were able to do this on. I
>>>>> tried this under 0.7.5 and it totally blew chuncks.
>>>>>
>>>>> Thanks.,
>>>>> John
>>>>>
>>>>>
>>>>> On Wed, Aug 3, 2011 at 07:26, John Schultz <jschultz0614 at gmail.com>wrote:
>>>>>
>>>>>> I tried that (unfortunately it did not work), Since, I posted this
>>>>>> issue on experts exchange and thats where I found the two referenced links.
>>>>>> Just for sake of argument, I will try this again and see if I can get it to
>>>>>> work.
>>>>>>
>>>>>> Do you know off hand what version of Voyage you were using at the time
>>>>>> this worked for you?
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 3, 2011 at 06:04, Michael Steinmann <
>>>>>> mike.steinmann at gmail.com> wrote:
>>>>>>
>>>>>>> Hi John,
>>>>>>>
>>>>>>> this is from some other thread a while a go...
>>>>>>>
>>>>>>> see the attached rar, but the files from the ISO are missing
>>>>>>> this worked for me, at least it did with older voyage ISOs.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Michael Steinmann
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------- Forwarded message ----------
>>>>>>> From: Michael Steinmann <mike.steinmann at gmail.com>
>>>>>>> Date: 2011/7/16
>>>>>>> Subject: Re: [Voyage-linux] Different PXE Server
>>>>>>> To: John Schultz <jschultz0614 at gmail.com>
>>>>>>>
>>>>>>>
>>>>>>> ignore the file mntfs.
>>>>>>> see the attached rar, but the files from the ISO are missing
>>>>>>>
>>>>>>> /michael
>>>>>>>
>>>>>>>
>>>>>>> 2011/7/16 Michael Steinmann <mike.steinmann at gmail.com>:
>>>>>>> > no, not the ISO. open the ISO and you will find the files to copy
>>>>>>> to
>>>>>>> > the PXE server. in this case these are the files:
>>>>>>> >
>>>>>>> > vmlinuz1
>>>>>>> > initrd1.img
>>>>>>> > filesystem.squashfs
>>>>>>> >
>>>>>>> > and according to the following two lines they are all in the voyage
>>>>>>> directory:
>>>>>>> >
>>>>>>> > KERNEL voyage/vmlinuz1 root=LABEL=ROOT_FS
>>>>>>> console=ttyS0,38400n8
>>>>>>> > APPEND initrd=voyage/initrd1.img fs=voyage/filesystem.squashfs
>>>>>>> > boot=live netboot=fs
>>>>>>> >
>>>>>>> > this is the tree:
>>>>>>> > ¦ memdisk
>>>>>>> > ¦ menu.c32
>>>>>>> > ¦ mntfs
>>>>>>> > ¦ pxelinux.0
>>>>>>> > ¦
>>>>>>> > +---pxelinux.cfg
>>>>>>> > ¦ default
>>>>>>> > ¦
>>>>>>> > +---voyage
>>>>>>> > ¦ vmlinuz1
>>>>>>> > ¦ initrd1.img
>>>>>>> > ¦ filesystem.squashfs
>>>>>>> >
>>>>>>> >
>>>>>>> > /michael
>>>>>>> >
>>>>>>> >
>>>>>>> > 614 at gmail.com>:
>>>>>>> >> OK, so if I understand you correctly, this script goes on my PXE
>>>>>>> Server
>>>>>>> >> along with the live ISO and that should do it? I thought you had
>>>>>>> to have a
>>>>>>> >> kernel image and an initrd image.
>>>>>>> >>
>>>>>>> >> FYI,.. my setup is as follows:
>>>>>>> >> PXE/DHCP Server: Windows SBS 2003 Premium
>>>>>>> >> Clients: multiple Alix.3D3 SBCs
>>>>>>> >>
>>>>>>> >> PXE Environment has been slightly modified to use isolinux
>>>>>>> derivative.
>>>>>>> >>
>>>>>>> >> Thanks,
>>>>>>> >> John
>>>>>>> >>
>>>>>>> >> On Sat, Jul 16, 2011 at 07:53, Michael Steinmann <
>>>>>>> mike.steinmann at gmail.com>
>>>>>>> >> wrote:
>>>>>>> >>>
>>>>>>> >>> that's true,
>>>>>>> >>> for vga console change console=ttyS0,38400n8 to console=tty1
>>>>>>> >>>
>>>>>>> >>> /Michael
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 2011/7/16 John Schultz <jschultz0614 at gmail.com>:
>>>>>>> >>> > This looks like a config file for a serial connection. Is that
>>>>>>> intended?
>>>>>>> >>> > The
>>>>>>> >>> > systems I am using are the Alix 3D3 which uses a usb port for a
>>>>>>> keyboard
>>>>>>> >>> > and
>>>>>>> >>> > a vga port for a console instead of a serial connection.
>>>>>>> >>> >
>>>>>>> >>> > On the other hand, Ive been at this since 3am so I could be
>>>>>>> confused
>>>>>>> >>> > :-p.
>>>>>>> >>> >
>>>>>>> >>> > Thanks again.
>>>>>>> >>> > John
>>>>>>> >>> >
>>>>>>> >>> >
>>>>>>> >>> > On Sat, Jul 16, 2011 at 07:40, Michael Steinmann
>>>>>>> >>> > <mike.steinmann at gmail.com>
>>>>>>> >>> > wrote:
>>>>>>> >>> >>
>>>>>>> >>> >> this is what my pxelinux.cfg\default looked like for v0.6.2,
>>>>>>> >>> >> indicating the necessary files:
>>>>>>> >>> >>
>>>>>>> >>> >> SERIAL 0 38400
>>>>>>> >>> >>
>>>>>>> >>> >> DEFAULT menu.c32
>>>>>>> >>> >> ALLOWOPTIONS 0
>>>>>>> >>> >> PROMPT 0
>>>>>>> >>> >> TIMEOUT 0
>>>>>>> >>> >>
>>>>>>> >>> >> MENU TITLE Server PXE Boot Menu
>>>>>>> >>> >>
>>>>>>> >>> >> LABEL Voyage
>>>>>>> >>> >> MENU LABEL ^Voyage 0.6.2
>>>>>>> >>> >> KERNEL voyage/vmlinuz1 root=LABEL=ROOT_FS
>>>>>>> console=ttyS0,38400n8
>>>>>>> >>> >> APPEND initrd=voyage/initrd1.img
>>>>>>> fs=voyage/filesystem.squashfs
>>>>>>> >>> >> boot=live netboot=fs
>>>>>>> >>> >>
>>>>>>> >>> >>
>>>>>>> >>> >> #Michael
>>>>>>> >>> >>
>>>>>>> >>> >>
>>>>>>> >>> >> 2011/7/16 John Schultz <jschultz0614 at gmail.com>:
>>>>>>> >>> >> > What files need to be copied to my PXE Server in order to
>>>>>>> install
>>>>>>> >>> >> > Voyage
>>>>>>> >>> >> > from the network?
>>>>>>> >>> >> >
>>>>>>> >>> >> > My PXE Server is not the live CD.
>>>>>>> >>> >> >
>>>>>>> >>> >> > Thanks in advance,
>>>>>>> >>> >> > John
>>>>>>> >>> >> >
>>>>>>> >>> >> > _______________________________________________
>>>>>>> >>> >> > Voyage-linux mailing list
>>>>>>> >>> >> > Voyage-linux at list.voyage.hk
>>>>>>> >>> >> > http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>>> >>> >> >
>>>>>>> >>> >> >
>>>>>>> >>> >
>>>>>>> >>> >
>>>>>>> >>
>>>>>>> >>
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110813/56e3585c/attachment.html>
More information about the Voyage-linux
mailing list