View Full Version : source out the boot video
DonPIZI
02-16-2010, 09:52 AM
Hi,
I want to free up my rootfs and so I want to source out the boot video to an other directory.
I typed the commands in the follow order:
sudo gainroot
mkdir /home/user/MyDocs/media
cd /usr/share/hildon-welcome
rm -r media
ln -s /home/user/MyDocs/media /usr/share/hildon-welcome
In the /home/user/MyDocs/media I stored the video what I want as boot viedo.
If I type
cd /usr/share/hildon-welcome/media
xterm show me
/home/user/MyDocs/media
So I think the systemlink is correct, but on startup the device donīt show the video.
Do I make a mistake or is it impossible to source out the boot video?
fred123
02-16-2010, 09:54 AM
Is MyDocs mounted before the boot video runs?
DonPIZI
02-16-2010, 10:13 AM
hmm I donīt know.
Wich directories are mounted before the boot video run and arenīt in the rootfs?
When the storage card is mounted?
Lacedaemon
02-16-2010, 10:16 AM
Tried moving the media folder you created or just the video to /opt/ ?
DonPIZI
02-16-2010, 10:23 AM
Thanks, I moved the the directory to /opt and create an new systemlink. Now it works :)
rolan900d
02-17-2010, 07:19 AM
Don:
Could you please explain the whole set up?
Don't get that systemlink part yet!
Schturman
02-19-2010, 05:29 AM
Yea... I want to know too, please explain the whole set up.
Thanks
DonPIZI
02-19-2010, 07:22 AM
Iīll try to explain all steps to put the boot video to another directory (with my bad english). Itīs a bit faster than my first way. Because I move the whole directory to /opt
1st.: run xterm and type
sudo gainroot
2nd.: move the directory, where the boot video is storaged to /opt
mv /usr/share/hildon-welcome/media /opt
3rd: link the new directory path to the old. So the system can find the boot video at startup
ln -s /opt/media /usr/share/hildon-welcome
If you want to have another boot video, you can modify /etc/hildon-welcone.d/default.conf
just enter the video name that you have storaged in /opt/media
I hope you understood what I did.
Schturman
02-19-2010, 07:43 AM
You mean I need write this in the default.conf file:
[hildon-welcome]
filename=/opt/media/my_video.avi
?
DonPIZI
02-19-2010, 08:18 AM
Hi, no, only the file name
[hildon-welcome]
filename=video.avi
Schturman
02-19-2010, 09:08 AM
Ok,
If I don't want the move the folder "media", maybe I can create the another folder with name "media" in the opt ? And after this use the link: /opt/media/my_video.avi
It will work ?
DonPIZI
02-19-2010, 09:40 AM
No, it wouldnīt work. I tried it, too. So I moved the media directory.
If you move the directory, you save some MB in rootfs!
b666m
02-19-2010, 11:42 AM
mhm... for me symlinking was a bit nasty...
i moved /usr/share/hildon-welcome/media to /opt/media.
i tried linking it with full paths in the command:
ln -s /opt/media /usr/share/hildon-welcome
the media folder again showed up in /usr/share/hildon-welcome but when i wanted to enter it threw an error (don't remember it but something like "no such directory/file"!?)
so i played around in linking different folders and only the videos with full paths... didn't work at all...
then i did:
cd /usr/share/hildon-welcome
ln -s /opt/media media
and BAM it worked?! o.O
the same issue appeared when trying to symlink my pidgin logs from ~/MyDocs/pidgin/logs to ~/.purple/logs for easy synchronization via mass storage mode. full path didn't work. i had to cd to ~/.purple first.... ^^
DonPIZI
02-19-2010, 12:06 PM
its normal that "media" is showed in /usr/share/hildon-welcome
enter in xterm
ls -l
and you will see that isnīt a directory its only the link to /opt/media
Schturman
02-19-2010, 01:30 PM
ok. thanks.
And if I want, can I move the media folder back to the /usr/share/hildon-welcome ?
DonPIZI
02-19-2010, 05:33 PM
Yes of course!
Just type
cd /usr/share/hildon-welcome
rm -r media
For deleting the link to /opt/media
Then type
mv /opt/media /usr/share/hildon-welcome
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.