Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-10 Thread John Doe
From: Zhang Huangbin > now display dialog pages, but it can't switch to tty1 via 'chvt 1', and/or > display further messages in tty3. Any > idea? It worked for me, but I do not use dialog... Did you check that dialog does indeed exit? Did you try to run the script by hand in vt2? JD _

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-10 Thread Zhang Huangbin
On Jun 10, 2010, at 12:16 AM, John Doe wrote: > > I fixed it with some execs: > > chvt 3 > exec < /dev/tty3 > /dev/tty3 > /tmp/misc/ks_pre.sh | tee /tmp/ks_pre.log 2>&1 > chvt 1 > exec < /dev/tty1 > /dev/tty1 Thanks John. It now display dialog pages, but it can't switch to tty1 via 'chvt 1', a

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin > I use 'chvt 3' in ks file to switch to 3rd tty, but it stays in 1th tty > (installation console). > Swith to 2nd tty with 'Ctrl+Alt+F2', run 'ps' command, i can see dialog > process is > running. I fixed it with some execs: chvt 3 exec < /dev/tty3 > /dev/tty3 /tmp/misc/

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: John Doe > I just tested my kickstart with 5.5 and it does fail too now, > while it was working with 5.4. > The pre ks process was running, but on no vt... > I ran my script by hand from vt2, then killed the old stuck > one and anaconda switched to vt1 and displayed: > "Can't ask a questi

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin > I use 'chvt 3' in ks file to switch to 3rd tty, but it stays in 1th tty > (installation console). > Swith to 2nd tty with 'Ctrl+Alt+F2', run 'ps' command, i can see dialog > process is > running. I just tested my kickstart with 5.5 and it does fail too now, while it was

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread Zhang Huangbin
On Jun 9, 2010, at 5:39 PM, John Doe wrote: > From: Zhang Huangbin >> I'm trying to customize a CentOS installation cd, but got >> trouble with kickstart. >> I want to use dialog[1] for command line based >> user interface, but it can't display correctly in kickstart with CentOS 5.5. >> Same

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread Zhang Huangbin
On Jun 9, 2010, at 5:39 PM, John Doe wrote: > From: Zhang Huangbin >> I'm trying to customize a CentOS installation cd, but got >> trouble with kickstart. >> I want to use dialog[1] for command line based >> user interface, but it can't display correctly in kickstart with CentOS 5.5. >> Same

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-09 Thread John Doe
From: Zhang Huangbin > I'm trying to customize a CentOS installation cd, but got > trouble with kickstart. > I want to use dialog[1] for command line based > user interface, but it can't display correctly in kickstart with CentOS 5.5. > Same ks file works with CentOS 5.3 (both i386 and x86_64).

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-08 Thread Zhang Huangbin
On Jun 9, 2010, at 2:20 AM, Karanbir Singh wrote: > Hi, > > On 08/06/2010 17:25, Zhang Huangbin wrote: >> I want to use dialog[1] for command line based user interface, but it can't >> display correctly in kickstart with CentOS 5.5. Same ks file works with >> CentOS 5.3 (both i386 and x86_64).

Re: [CentOS] Kickstart issue: 'dialog' doesn't work in %post, CentOS 5.5

2010-06-08 Thread Karanbir Singh
Hi, On 08/06/2010 17:25, Zhang Huangbin wrote: > I want to use dialog[1] for command line based user interface, but it can't > display correctly in kickstart with CentOS 5.5. Same ks file works with > CentOS 5.3 (both i386 and x86_64). > I cant comment on your issue here as such, but my the way