LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-16-2007, 05:46 PM   #16
Shilo Carson
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by General Failure
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?
/dev/fb0, sorry. I've been making that mistake all afternoon.

No...no Windows.

From what I've been able to gather, /dev/fb0 doesn't exist unless you pass vga as a boot parameter. But rhgb (the normal Red Hat Graphical Boot)somehow gets around this.

rhgb wouldn't be so bad if it would just kick-in sooner.

Thanks
 
Old 03-17-2007, 04:46 AM   #17
General Failure
Member
 
Registered: Jan 2007
Location: Germany
Distribution: Slackware 13.37
Posts: 387

Rep: Reputation: 37
So its a framebuffer problem. Have you compiled yourself or been using a package? I suppose you're using a package. Since you want to use this professionally I suggest compiling your own kernel with bootsplash support.

Thats a little effort but afterwards you'll have silent boot with even your logo on screen if you want (and I guess your boss will like that )
 
Old 03-17-2007, 05:42 AM   #18
GTrax
Member
 
Registered: Oct 2005
Location: UK
Distribution: Mint
Posts: 258

Rep: Reputation: 37
I think you can do this. I say this because we have various LiveCDs which show a bootsplash graphic or logo, and you press F2 or somesuch toggle to see all the bootup text rushing by. You can also add to startup scripts to launch straight into a application that presents the machine operator interface without any visible preamble. I feel sure this must be possible because that is what the use of small SBC (single board computers) and embedded Linux applications in industrial control is all about. Google for "embedded Linux" and you will find loads of ready-made Linux hardware that does have a video monitor connector.

Other questions arise. There is a difference between window manager and a GUI made more complicated by a desktops like KDE which combine both roles. How you can make your application control the X-server video to order, without first having a conventional desktop load up, is what we need to know.

I suggest you have a look at the scripts on a Knoppix, or Mepis install CD. There may be a way to redirect the standard output to null, or maybe even deny any framebuffer or video mode option in the bootloader script. I do not have the skill, but I feel sure there are geeky experts here who do.
 
Old 03-19-2007, 05:55 PM   #19
Shilo Carson
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by GTrax
Other questions arise. There is a difference between window manager and a GUI made more complicated by a desktops like KDE which combine both roles. How you can make your application control the X-server video to order, without first having a conventional desktop load up, is what we need to know.
Well, I'm back on bootsplash again. I've recompiled the kernel, but I think I'm getting hung-up when I try to attach the graphic to the initrd file. It corrupts the initrd so the system panics.

I'm thinking it's because the initrd on Fedora is compressed?

I understand the ramdisk is needed since no filesystem is yet loaded, but I was hoping to avoid the ramdisk completely to speed loading...well, maybe you can't have everything

I'm just skipping the desktop and loading the application with xinit.
 
Old 03-19-2007, 06:13 PM   #20
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
What are you using to attach the images to the initrd?
 
Old 03-20-2007, 09:58 AM   #21
Shilo Carson
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johngreenwood
What are you using to attach the images to the initrd?
Per the bootsplash instructions, this form:
/sbin/splash -s -f /etc/bootsplash/themes/yourtheme/config/bootsplash-1024x768.cfg >> /boot/initrd.splash
 
Old 03-20-2007, 10:23 AM   #22
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
Ok, what do you mean it corrupts the initrd? How do you know? Are you attaching them to a separate initrd as your post suggests, (/boot/initrd.splash) or appending them to an existing initrd with something necessary for boot?
 
Old 03-20-2007, 11:00 AM   #23
Shilo Carson
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johngreenwood
Ok, what do you mean it corrupts the initrd? How do you know? Are you attaching them to a separate initrd as your post suggests, (/boot/initrd.splash) or appending them to an existing initrd with something necessary for boot?
I'm appending them to the existing initrd. However, when I do that and try to boot, the machine panics.

I'm guessing the initrd is compressed, and I need to find a modified mkinitrd to include the image?

The initrd setup seems to be standard operating procedure for Fedora Core. For booting purposes, I really don't need one, and I have been able to cut it out to speed things up (it requires some voodoo to the /dev directory, though). So, maybe I should that and use the initrd as created by splash?
 
Old 03-20-2007, 11:11 AM   #24
johngreenwood
Member
 
Registered: Nov 2006
Location: Lancashire, United Kingdom
Distribution: Slackware 13
Posts: 243

Rep: Reputation: 31
Well, I'm stuck then. Maybe you should try what you said, if you can get away with not needing an initrd, except for splash purposes, then I don't see why it shouldn't work.

Good Luck
 
Old 03-21-2007, 07:31 PM   #25
Shilo Carson
LQ Newbie
 
Registered: Oct 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johngreenwood
Well, I'm stuck then. Maybe you should try what you said, if you can get away with not needing an initrd, except for splash purposes, then I don't see why it shouldn't work.

Good Luck
This is driving me nuts. I don't know why this is so hard.

I started with a clean system and compiled the latest kernel with the bootsplash patch. That seems OK.

However, when I try to use bootsplash, I get something about not being able to find an appropriate signature when looking for the bootsplash files.

I think if I could just incorporate the bootsplash files with fedora's version of the mkinitrd command, I might get somewhere, but I can't seem to figure out how to do that.

ARGGGH!!!!
 
Old 03-22-2007, 09:26 AM   #26
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Manjaro
Posts: 963

Rep: Reputation: 36
last time i used windows tehre was plenty of boot garbage anyway....

though that was win 98
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FVWM: graceful exit yozhhh Linux - Software 1 01-17-2006 07:56 AM
hanging up on startup / shutdown labworker Linux - Laptop and Netbook 3 01-23-2005 05:56 PM
Graceful shutdown.. howto? rohan208 Linux - General 5 05-16-2004 02:39 PM
dm is ok at startup, but failed during shutdown spyghost Linux - Software 0 09-21-2003 07:29 AM
Startup/Shutdown MasterC Linux - General 13 05-14-2002 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration