Strange behaviour with lnx-bbc
"Jack Luepke" <[email protected]> Mon, 6 Dec 2004 09:09:34 -0500
| Newsgroups | gmane.linux.bbc.general |
|---|---|
| Message-ID | <F7B16EB8984B14409ACB015F1326BB6601F22D8E@ATL1VEXC005.usdom004.tco.tc> |
This is a multi-part message in MIME format. --===============1269176935== content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4DB9D.36836C9D" This is a multi-part message in MIME format. ------_=_NextPart_001_01C4DB9D.36836C9D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To all or anyone: =20 I have a very strange problem when using syslinux, and lnx-bbc. Perhaps somebody can provide some insight into Syslinux as it relates to what I'm trying to do. =20 At Peerless, we use LNX-BBC to build a bootable USB thumbdrive. We added a script to init.d in the ram disk to execute one our scripts during LNX-BBC boot from the USB thumb drive. I have seen an apparent difference between the Linux syslinux (we use RedHat 7.3) and the SYSLINUX.EXE windows version. We can create bootable thumbdrives with both versions of syslinux, however when using the linux version of syslinux the=20 booted system executes our "added" script in init.d - however - when we use the SYSLINUX.EXE version we=20 can boot the thumbdrive however our "added" script in init.d does not execute. The only difference in the two scenarios is the version of syslinux. =20 Note that we rebuilt singularity (obviously) to modify the contents of /etc/init.d in the ram disk. =20 In addition if we prepare a USB thumbdrive using the SYSLINUX.EXE version (and test to verify that our "added" script in init.d does not execute) then execute the linux syslinux version on the same thumbdrive, we then verify that our "added" script in init.d executes during boot. =20 Weird, right? I'll pester the syslinux folks as well, but I thought the LNX-BBC folks at zork.net would maybe have Insight. =20 Thanks, Jack Luepke Peerless Systems Corporation =20 ------_=_NextPart_001_01C4DB9D.36836C9D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <meta name=3DProgId content=3DWord.Document> <meta name=3DGenerator content=3D"Microsoft Word 10"> <meta name=3DOriginator content=3D"Microsoft Word 10"> <link rel=3DFile-List href=3D"cid:[email protected]"> <o:SmartTagType = namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"PersonName"/> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:SpellingState>Clean</w:SpellingState> <w:GrammarState>Clean</w:GrammarState> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:UseFELayout/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"\FF2D\FF33 \660E\671D"; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} @font-face {font-family:"\@MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-1610612033 1757936891 16 0 131231 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"MS Mincho";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline; text-underline:single;} span.EmailStyle17 {mso-style-type:personal-compose; mso-style-noshow:yes; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; font-family:Arial; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:windowtext;} span.SpellE {mso-style-name:""; mso-spl-e:yes;} span.GramE {mso-style-name:""; mso-gram-e:yes;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 10]> <style> /* Style Definitions */=20 table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman";} </style> <![endif]--> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple = style=3D'tab-interval:.5in'> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>To all or anyone:<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I have a very strange problem when using <span = class=3DSpellE>syslinux</span>, and <span class=3DSpellE>lnx-bbc</span>. <span style=3D'mso-spacerun:yes'> </span>Perhaps somebody can provide = some insight<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>into</span></font></span><fo= nt size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> <span class=3DSpellE>Syslinux</span> as it relates to what I’m trying to = do.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>At Peerless, we use LNX-BBC to build a bootable USB = <span class=3DSpellE>thumbdrive</span>.<span style=3D'mso-spacerun:yes'> = </span>We added a script to <span class=3DSpellE>init.d</span> in the ram = disk<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>to</span></font></span><font= size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> execute = one our scripts during LNX-BBC boot from the USB thumb drive.<span style=3D'mso-spacerun:yes'> </span>I have seen an apparent = difference<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>between</span></font></span>= <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> the Linux <span class=3DSpellE>syslinux</span> (we use <span = class=3DSpellE>RedHat</span> 7.3) and the SYSLINUX.EXE windows version.<span style=3D'mso-spacerun:yes'> = </span>We can create<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>bootable</span></font></span= ><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> <span class=3DSpellE>thumbdrives</span> with both versions of <span = class=3DSpellE>syslinux</span>, however when using the <span class=3DSpellE>linux</span> version of = <span class=3DSpellE>syslinux</span> the <o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>booted</span></font></span><= font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> system executes our “added” script in <span = class=3DSpellE>init.d</span> – however – when we use the SYSLINUX.EXE version we = <o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>can</span></font></span><fon= t size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> boot the <span class=3DSpellE>thumbdrive</span> however our “added” script = in <span class=3DSpellE>init.d</span> does not execute.<span = style=3D'mso-spacerun:yes'> </span>The only difference in the two<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>scenarios is the version of = syslinux.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Note that we rebuilt singularity (obviously) to = modify the contents of /etc/<span class=3DSpellE>init.d</span> in the ram = disk.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>In addition if we prepare a USB <span = class=3DSpellE>thumbdrive</span> using the SYSLINUX.EXE version (and test to verify that our = “added”<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>script</span></font></span><= font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> in <span class=3DSpellE>init.d</span> does not execute) then execute the <span class=3DSpellE>linux</span> <span class=3DSpellE>syslinux</span> version = on the same <span class=3DSpellE>thumbdrive</span>, we = then<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>verify</span></font></span><= font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'> that our = “added” script in <span class=3DSpellE>init.d</span> executes during = boot.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Weird, = right?</span></font></span><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><span style=3D'mso-spacerun:yes'> </span>I’ll pester the <span = class=3DSpellE>syslinux</span> folks as well, but I thought the LNX-BBC folks at zork.net would maybe = have<o:p></o:p></span></font></p> <p class=3DMsoNormal><span class=3DGramE><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Insight.</span></font></span= ><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks,<o:p></o:p></span></font></p> <p class=3DMsoNormal><st1:PersonName><font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>Jack = Luepke</span></font></st1:PersonName><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p= > <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Peerless Systems = Corporation<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> </div> </body> </html> =00 ------_=_NextPart_001_01C4DB9D.36836C9D-- --===============1269176935== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ lnx-bbc mailing list [email protected] http://zork.net/mailman/listinfo/lnx-bbc --===============1269176935==--