Booting withou questions!


Forum: USB booting
Topic: Booting withou questions!
started by: igorgatis

Posted by igorgatis on Nov. 12 2004,00:59
Hi,

I've installed DSL using frugall instalation. I would like to know now disable configuration questions.

First, how to disable the question made when the system just boot up. It says 'You passed ...' related to screen configuration. I always press Enter to continue.
This question is not made in my office computer, it only happens in my house computer.

Second, how to disable the x setup questions (I think they are made by xsetup.sh script - if so, how disable the script call)?

Thanks,
Igor

Posted by roberts on Nov. 12 2004,02:21
1. Probably should boot from cdrom with the following:
boot: dsl vga=normal 2
then at system prompt
# frugal_instal.sh

That should get rid of the invalid video mode.

2. When you setup X then do a system backup. Then you will not be prompted again.

Posted by Rapidweather on Nov. 12 2004,03:12
Here's the way I do that:
The file /home/dsl/.xserverrc can be saved by an entry in filetool.lst.
My current .xserverrc looks like this:
Code Sample
exec /usr/bin/X11/Xvesa -2button -screen 800x600x24 -shadow -nolisten tcp -I &>/dev/null

---
The entry in filetool.lst is:
Code Sample
home/dsl/.xserverrc

---
I usually remaster the .xserverrc into /etc/skel then the questions are not asked.
The Menu --> System --> X Setup item will work to run the xsetup.sh script.
I have modified the last part of the xsetup.sh file to automatically run "startx":
Code Sample
WriteConfig $XSERV $XRES $XDEP $XBUT

#Now we run "startx" and return to X with the choices that were made.
startx
echo "X Setup has been run, returning to the GUI with the choices that were made."
# let's end xsetup.sh
exit 0;

---
Anyway, once you boot with restore=sda1, for instance, representing your
USB pen drive, then the .xserverrc file will be in /home/dsl before X comes up,
so it will be used by the system, to bring X up to your choices in the file.
If you do not have an .xserverrc file in /home/dsl, then the xsetup.sh script is
presented, and you have to make the choices each time you boot up.
---
:;):

Posted by igorgatis on Nov. 12 2004,16:00
Ok, let me understand:

Quote

1. Probably should boot from cdrom with the following:
boot: dsl vga=normal 2
then at system prompt
# frugal_instal.sh

That should get rid of the invalid video mode.

This will ensure no quesion about display configuration on the very first boot up time, isn't? The message : 'You passed wrong...' will never be shown agian.


Quote

2. When you setup X then do a system backup. Then you will not be prompted again.

And this one is to avoid the questions made by xsetup script.

Please, if this conclusions are not right, tell me. :)

Thanks a lot,
Gatis

Posted by ke4nt1 on Nov. 12 2004,16:09
Yep!

You got it right..

Good work...

73
ke4nt

Posted by igorgatis on Nov. 12 2004,16:11
Hi,

Quote

Here's the way I do that:
The file /home/dsl/.xserverrc can be saved by an entry in filetool.lst.
My current .xserverrc looks like this:
Code Sample

exec /usr/bin/X11/Xvesa -2button -screen 800x600x24 -shadow -nolisten tcp -I &>/dev/null


The entry in filetool.lst is:
Code Sample

home/dsl/.xserverrc


Ok! That was I think I should do by reading Robert's reply.

Quote

---
I usually remaster the .xserverrc into /etc/skel then the questions are not asked.
The Menu --> System --> X Setup item will work to run the xsetup.sh script.
I have modified the last part of the xsetup.sh file to automatically run "startx":
Code Sample

WriteConfig $XSERV $XRES $XDEP $XBUT

#Now we run "startx" and return to X with the choices that were made.
startx
echo "X Setup has been run, returning to the GUI with the choices that were made."
# let's end xsetup.sh
exit 0;


If I remaster just to make DSL saves .xserverrc (including it on filetool.lst file), the xsetup question will be made only once. Am I right?

One more question... who calls xsetup script on initialization process?

Thanks,
Gatis

Posted by igorgatis on Nov. 17 2004,20:49
I've found! xsetup.sh is called by startx script.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.