LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Graceful startup and shutdown? (https://www.linuxquestions.org/questions/linux-general-1/graceful-startup-and-shutdown-537748/)

Shilo Carson 03-15-2007 11:29 AM

Graceful startup and shutdown?
 
I'm looking for a way to make some Fedora Core 6 machines startup and shut down without so much informational text showing on the screen.

What would be even better is to display a graphic on startup and shutdown.

Is there a way to hide all this text? I've tried "quiet" mode and rhgb, but they don't suppress the text enough.

In short, I'd like a completely quiet startup and shutdown. The reason for this is that these are public machines, and I'd rather not have the users know the underlying OS is not Windows.

Is there a way I can shift to a different virutal screen or something?

Thanks
Shilo

Beads 03-15-2007 12:04 PM

"The reason for this is that these are public machines, and I'd rather not have the users know the underlying OS is not Windows."

Why in the world would that be? :tisk:

Shilo Carson 03-15-2007 01:12 PM

Political reasons
 
Simply put, the boss is biased against Linux, so I need to keep it stealthy.

In fact all the textual "noise" on the screen is one of the reasons she is against it.

doublejoon 03-15-2007 02:12 PM

I know you can do
Code:

shutdown -nrf now
almost no kernel messages when rebooting

Beads 03-15-2007 07:19 PM

AHH! Ok then. In that case, keep up the great work! :D

lurko 03-15-2007 08:30 PM

sorry, but I can't help saying, your boss sounds like a tool. I'm sure I'm preaching to the converted here, but while all that text may not be all fancy like Windows' shutdown/startup screens, on Windows when something goes wrong you don't get to have any idea what it is. I seem to recall Windows repeatedly hanging on shutdown over the years, a verbose shutdown screen would likely help to find and fix whatever the issue is. As it is, Windows users must simply resign themselves to the fact that they run a POS OS that occassionally takes half an hour to shutdown. I'm so sick of hearing about ignorant morons ignorantly forcing Windows on innocents. sorry for not contributing in the least with this post.

johngreenwood 03-15-2007 09:45 PM

Doesn't FC6 use GNOME? I don't think GNOME resembles Windows in the least. Just using it you can tell it's not Windows. There is bootsplash though, check it out at www.bootsplash.org

Shilo Carson 03-15-2007 10:17 PM

Quote:

Originally Posted by johngreenwood
Doesn't FC6 use GNOME? I don't think GNOME resembles Windows in the least. Just using it you can tell it's not Windows. There is bootsplash though, check it out at www.bootsplash.org

The user never sees gnome. In fact, there isn't any window manager at all. The only user interface is a browser.

I haven't had much luck with bootsplash, unfortunately. I'm trying gensplash now, which supposedly has been tuned for Fedora.

Shilo Carson 03-15-2007 10:25 PM

Quote:

Originally Posted by lurko
sorry, but I can't help saying, your boss sounds like a tool. I'm sure I'm preaching to the converted here, but while all that text may not be all fancy like Windows' shutdown/startup screens, on Windows when something goes wrong you don't get to have any idea what it is.

Well, it doesn't have to be that way. MacOS, for example, doesn't show all that text. It's there, but it's directed somewhere else away from the user.

I think the problem is Linux assumes the console is the primary screen. I think if I could direct it to another screen, or display a different screen shortly after the boot sequence starts, I'd be OK.

The problem is, I can't figure how to do that. I can flip screens with the keyboard, but I can't figure how to program it from a script.

lurko 03-15-2007 11:29 PM

truth is you can access the system logs from the Admin Tools on the Start menu pretty easily(or control panel, i don't remember for certain). I really just take issue with people causing other people problems/hassle because they're closed minded fools (apparently). A verbose boot/shutdown that isn't all puppies and ice cream is a bonkers reason to declare a platform verboten - especially when by the sound of it you can't accomplish what you're doing with the software she deems acceptable. People with no clue have all the power. rawr.

have you tried using the "quiet" kernel parameter? I believe you'd add it to the kernel string in your bootloader.. that's my attempt at a contribution, I think in the end the best solution is educating your boss. good luck either way. :)

J.W. 03-16-2007 12:55 PM

Hey, if you're running Linux, you shouldn't _need_ to shutdown/reboot the machines each day.......

Shilo Carson 03-16-2007 02:03 PM

Quote:

Originally Posted by J.W.
Hey, if you're running Linux, you shouldn't _need_ to shutdown/reboot the machines each day.......

In this case, I do. Several times a day. It's because of the environment and application.

General Failure 03-16-2007 03:44 PM

I compiled bootsplash some time ago and it was possible to completely silence booting there (by turning off the part that displays the messages IIRC). I only played with that and don't use it anymore so I can't say more about it.

Shilo Carson 03-16-2007 04:41 PM

Quote:

Originally Posted by General Failure
I compiled bootsplash some time ago and it was possible to completely silence booting there (by turning off the part that displays the messages IIRC). I only played with that and don't use it anymore so I can't say more about it.

I've been trying to get bootsplash and gensplash to work to no avail. The problem seems to be that it can't open /dev/fd0. Not having a /dev/fd0 is a big problem, but I solved that by putting vga in the kernel boot parameters. Now I have a /dev/fd0, but it still can't be opened. (*sigh*)

I did find I could switch the console to another tty by using CONSOLE=/dev/tty3 as a kernel boot parameter. It doesn't get rid of all the messages (five or six lines show up), but it comes pretty darn close. I also found I could bring up different screens with the chvt command. I use this to switch to another blank screen in rc.sysinit. That makes those last lines vanish after several seconds.

I just wish I could get a graphic displayed, but I'd be happy with a plain-text screen if that's what it comes down to.

General Failure 03-16-2007 04:59 PM

I don't get what you are saying about fd0. Maybe we can work out why bootsplash didnt work if you are a little more precise about it. A floppy wouldn't normally be needed to have a bootsplash. Do your boxes have Windows on them as well?


All times are GMT -5. The time now is 10:32 PM.