[mythtv-users] Quick-boot linux?

Paul Bender pebender at san.rr.com
Tue Feb 19 01:12:39 UTC 2008


Yan Seiner wrote:
> Andy Burns wrote:
>> On 19/02/2008 00:11, Yan Seiner wrote:
>>
>>   
>>> The SCSI subsystem seems to be the headache for S3.
>>>
>>> Basically, the SCSI subsystem needs a bus reset on boot.  I can reset it 
>>> just fine with sg_reset - but that utility is not accessible without 
>>> resetting the scsi bus.
>>>     
>> Mount a little ramdisk with a copy of sg_reset before sending it to sleep?
>>   
> 
> Thought of that.  It's not statically linked; it needs libc6.  Anyone 
> know how I go about stuffing both libc6 and a user program into a 
> ramdisk and deal with the linker correctly?

I do not know whether or not there is a turnkey way to do it. However, 
it is doable. I do it MiniMyth. MiniMyth is ramdisk image, but I use a 
custom script. There are tools that list dependent libraries. If you are 
  doing it in a native environment, then you can use ldd. If you are 
doing it in a cross environment, then you can use the cross compiler's 
objdump with a little extra effort.

> (I guess I could also build a static version....  Or I could just drop 
> an IDE drive into the box and be done with it?)

Either or these two routes is likely easier. Also, if this a frontend 
only system, then you might consider diskless booting.


More information about the mythtv-users mailing list