On Thu, April 20, 2006 4:33 am, Julien Rennard wrote: > Thanks for the quick answer, > > But I still can't open inirafs.gz cpio tells me about bad en of > archive... may be a utf8 problem nothing very important since now I know > where to start.
Hmm, utf8 shouldn't have anything to do with gun-zipping the file. The command examples that I gave you came directly from my machine, as I tried each step. It worked just fine for me. Can you do: ls -l initramfs.gz and show me what it says? Jim McQuillan [EMAIL PROTECTED] > > Thanks fot he great job made with LTSP. > > Bye. > > > Le mardi 18 avril 2006 à 14:09 -0400, Jim McQuillan a écrit : >> Julien, >> >> why can't you open the initramfs.gz file? >> >> It's just a gzipped cpio archive. >> >> Try something like this: >> >> mkdir /tmp/initramfs >> cd /tmp/initramfs >> gunzip </tftpboot/lts/2.6.16.1-ltsp-1/initramfs.gz | cpio -ivmud >> >> That will leave the contents of the initramfs in /tmp/initramfs >> >> MAKE SURE YOU ARE NOT IN / WHEN YOU DO THIS!!!! >> >> Once you've unpacked the initramfs, you can modify whatever you want. >> Take notice that the 'linuxrc' script is now called 'init'. >> >> After you've finished making your changes, you can rebuild the >> initramfs.gz file by doing this: >> >> cd /tmp/initramfs >> find ./ -print | cpio -o -H newc | gzip -9 >/tmp/initramfs.gz >> cp /tmp/initramfs.gz /tftpboot/lts/2.6.16.1-ltsp-1/initramfs.gz >> >> That should do it for you. >> >> Jim McQuillan >> [EMAIL PROTECTED] >> >> >> >> >> >> On Tue, April 18, 2006 5:28 am, Julien Rennard wrote: >> > Hi all, >> > >> > I am a long time LTSP user (since 3.0). Now I am tring to integrate >> LTSP >> > in a "universal boot server" that helps all workstations of the >> network >> > to boot. This server provide LTSP, classical Diskless, local Windows >> AND >> > "partimage diskless" (to restore the Windows (because Windows s... >> > )) >> > The user choose what he wants via a network enabled grub. So, my dhcp >> > serveur has filename option set to "nbgrub" or pxegrub". But I can't >> set >> > a root-path before I know what the user chose because my /etc/exports >> > look like this : >> > >> > #LTSP >> > /var/lib/vservers/ubuntu/opt/ltsp/i386 >> > 192.168.0.0/255.255.255.0(ro,no_root_squash,async) >> > /var/lib/vservers/ubuntu/var/opt/ltsp/swapfiles >> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async) >> > #Diskless >> > /var/lib/vservers/ubuntu/opt/diskless/default/root/ >> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async) >> > /var/lib/vservers/ubuntu/var/lib/diskless/default/ >> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async) >> > #Diskless >> > /var/lib/vservers/ubuntu/opt/diskless/partimage/root/ >> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async) >> > /var/lib/vservers/ubuntu/var/lib/diskless/partimage/ >> > 192.168.0.0/255.255.255.0(rw,no_root_squash,async) >> > >> > So there is at least 3 different "root-path". The solution is to use >> the >> > "nfsroot=" append option in grub like this : >> > >> > title LTSP 4.1 Terminal >> > kernel (nd)/lts/2.6.9-ltsp-3/bzImage-2.6.9-ltsp-3 init=/linuxrc2 rw >> > root=/dev/ram0 >> > nfsroot=192.168.0.5:/var/lib/vservers/ubuntu/opt/ltsp/i386 >> > initrd (nd)/lts/2.6.9-ltsp-3/initrd-2.6.9-ltsp-3.gz >> > >> > And using a modified linuxrc script, like the one I made for 4.1 ltsp >> > (just swaped rootpath and nfsroot in the script and that works >> (tested)) >> > >> > But, (there is allways a but) I can't open the new inramfs.gz thing to >> > add my linurc2 in LTSP 4.2. >> > >> > My idea is that we should modify the linuxrc script in all LTSP so >> that >> > LTSP could work with classical rootpath AND nfsroot so LTSP will work >> > better in networks where he is not alone. (This can also be usefull if >> > you want to have ltsp 4.1 and 4.2 on the same server at the same time) >> > >> > I can provide this script if Jim is interested. If not, can someone >> help >> > me to open that initramfs.gz thing ? >> > >> > Thanks reading my long an poor english message. >> > >> > If someone else has this kind of problems with LTSP please tell me. >> > >> > -- >> > Julien >> > >> > >> > >> > >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email is sponsored by xPML, a groundbreaking scripting >> > language >> > that extends applications into web and mobile media. Attend the live >> > webcast >> > and join the prime developer group breaking into this new coding >> > territory! >> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 >> > _____________________________________________________________________ >> > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: >> > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss >> > For additional LTSP help, try #ltsp channel on irc.freenode.net >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by xPML, a groundbreaking scripting >> language >> that extends applications into web and mobile media. Attend the live >> webcast >> and join the prime developer group breaking into this new coding >> territory! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 >> _____________________________________________________________________ >> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: >> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss >> For additional LTSP help, try #ltsp channel on irc.freenode.net >> >> > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net