LinuxMCE Forums
May 24, 2013, 01:12:32 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: 1 ... 57 58 [59] 60 61 ... 69
871  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 06, 2011, 04:15:00 pm
on an internet install, it is /home/user/new-installer, and i cant copy it into root so for now im just going to change the path for testing untill i can download and install a snapshot.

postmaster.sh will not be found if it is not there, so please edit the two scripts to reflect your different directory. Or try
Code:
sudo su
mv -r /home/USER_NAME/new-installer /root/
/root/new-installer/master_lmce.sh
Obviously change the USER_NAME to reflect yours.
I will write some logic into handling this later. I was going to take a break from this for a few days, but ended up doing all night because I kept working things out.

I have a spacing error that appears after some of the "= " which is preventing it from forcing out some packages. Just ignore them till I get sed right.
This latest one should run, only throwing some dpkg errors. There will be no videos. I am just reimaging avwiz and running, fixing errors as I go. Sorry for the amount of them that didn't run correctly.
872  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 06, 2011, 09:33:31 am
New scripts. Removes non free packages and then reinstalls them on boot under distribution option now... so go with that. May have to run /etc/init.d/postmaster.sh manually on first boot... might be a wise idea to comment out the last line which deletes itself until it is known to work. Not sure how much a startup script wants to throw sudo at you while trying to boot avwiz. If you don't have internet... chances are it didn't work and you should run it manually. More has to be done with detection. For now it is hard coded for 2 nics, eth0 for internet. Detection is the last part of that script and it is close to finished. Have to clear up those nbd errors, and set some defaults... and maybe a different splash.

The new-installer directory from dvd snaps is in /root/new-installer.

Just do a full install now (ie install a snap and click the LMCE button on desktop). Only thing you SHOULD have to do is run the /root/new-installer/master_lmce.sh script before rebooting. First script should work like a dream. Now looks for writable media when you tell it to burn, so you don't have to wait and it shouldn't bomb... unless you don't actually have any disk at all in there... I think it will exit. I also think /etc/skel should move hidden files too so I commented out the odd copy command. If you cant get to kde, run that command from console and reboot.
873  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 05, 2011, 01:04:31 am
Ok... currently, what appears to be working, is the creating the dvd without post-install.sh...

Install, log into kde, open a terminal (because my scripting sucks) and typing the following:
Code:
cp -r /etc/temphome/* .!** /home
cp -r /etc/skel/* .!** /home/USERNAME (whatever your user name is)

Hit the install button on the desktop again. Will install without internet, and throw a few errors due to its inability to connect... ignore them.
* l3mce deletes rosy optimism

So... the network has to be manually configured too. For whatever reason, something has changed and the detection scripts do not function correctly, so I have to write a new one. That is going to take me a minute. The moving should have been easy, and I am sure will be. I moved it there... just not moving it back. So moving directories and redetecting and rewriting the interfaces file works it... then I can finish the legal part... and the nbd errors. I will redo it tomorrow. I am just glad the first part works.
874  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 04, 2011, 05:25:42 pm
Is ready for testing... (I think).

***Changed
Having some issues with generating that startup script in from the master script. Made two now.
Both scripts should go in /root/new-installer directory. Make sure that the numbers before .sh are removed on whatever revision you are working on. Must be named master_lmce.sh and postmaster.sh.

do a normal install, using the pre-install-from-repo.sh and mce-install.sh in the /root/new-installer dir. Do not run post-install.sh.
Do not run postmaster.sh. Create an empty script for now to replace it in /root/new-installer.

lmce_master will ask you if this is for distro or personal. For now choose personal. Distro will just ask you the q again.

At the end of that procedure, there is a little query that asks if you have a blank dvd in there... I am not sure how well it waits for the device to be ready... so give it a minute to spin up. Then you get another query, reboot to the DVD, and install again from there... should be about 17 min to get back where you were, with a fresh install. For those not playing along, you will get a language pack error (have a fix for that) and you might get a bunch of nbd errors while gparted is looking for partitions. Please click CANCEL, NOT ignore. Also please post if you did or did not get the errors.

Chances are your setup wizard videos will error out. I need a better host for the little ones.

Once new DVD install reboots, press the normal desktop button for install. This will go very quickly, and you do not have/need internet for the process. Reboot and you should have a full install.
875  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 04, 2011, 01:51:25 pm
http://svn.linuxmce.org/trac.cgi/ticket/1015

Doesn't rip out and replace non-free yet... but should shortly.
Splash changes not implemented yet.

I am testing now... so as of now it is untested.

To use, install LMCE up to mce-install.sh. Allow that to complete without errors, then run this script.
On first install from the product, it SHOULD do some work, and then run post-install.sh.

This might work.
876  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: March 03, 2011, 08:15:29 pm
It's that simple.

I am scripting the entire process now. The elements do the following.
  • Finds non-free files, and their dependencies, and their .debs. Forces out the offending software, ignoring the depends, creating a record of what has to be reinstalled on first boot.
  • Moves hidden home and nonspecific user folders around for preservation.
  • Creates the remaster file system
  • Generates and burns the iso

Now the first boot preseed script.
  • Performs most of the functions found in post-install.sh to re-initialize network.
  • Re-installs non free packages that were removed from specific build. Will probably throw in a user reply w/ packages to ensure legality.
  • More post-install.sh functions to ensure proper nvidia driver usage.
  • Moves the hidden files back.
  • Performs cleanup so that the process leaves no trace of itself.

Outstanding issues:
  • KDESudo crashes the first time you load desktop. It corrects itself and does not interfere with operation, and does not reappear after reboot.
  • Because I have to install the video drivers after the fact, I am pretty sure an additional reboot is going to have to occur. This means unless I can figure out a way to legally package the nvidia etc., or get around a reboot after nvidia recompiles the kernel, there will be no distributable live boot into a fully functional system, however w/user prompt can allow non-distributable creation for portable demo.
  • Installer errors finding nbdX... forcing you to click cancel several times before you get to the partitioner. Clicking ignore makes a list too big for you to see your HD. **
  • Videos are too big to fit in ISO standard as they cannot be further compressed by squeezefs. I have submitted much smaller ones, but I used a hack to trick them into being used, and I expect they will not be live until the setup wizard is edited to use the correct filetype... so for now I have to put them someplace the script can insert them.
  • msttcorefonts will ideally be changed over to ttf-liberation in the back end to avoid removal and install of that package while the AVWizard is trying to use  them.

That is all I can find wrong now. Scripting is going to take me a while to get perfect... and the first function in post-install-common.sh script should be changed for copy of hidden folders to read:
Code:
cp -r /etc/skel/* .[!.]** `grep 1000 /etc/passwd|head -1|cut -d: -f6`
While this is helpful to me, is not necessary for the process to work. I am doing it elsewhere in the DVD preseed.

http://svn.linuxmce.org/trac.cgi/ticket/1013

** I may be able to avoid these nbd errors by editing /etc/lvm/lvm.conf. Will try later.

I will load all of the working parts of the scripts this evening. Getting everything formatted right for the forced package removal is going to take me some time (the install part works, and does not require the package dependencies to trigger, though some will by default). Everything else should work well as is. So within a few days/week I should have a full script avail which creates the livedvd automatically, which will then install LMCE correctly. This shaves about 4.5 hours off of the 6hr install process over MY crappy internet, and is completely automated... no sources editing, no nothing. Click "install". With some graphics help from RayBe, it should be a lot prettier watching the splash screens which will show LinuxMCE, instead of kubuntu, with verbose output over that background if alt+f1 is pushed.
877  LinuxMCE / Installation issues / Re: Logitech MX Air on: March 01, 2011, 03:05:35 pm
Grin

Sorted, same problem as with the "Gyration Remote keys all wacky" post.

Just added     Option "AutoAddDevices" "false" under "Server Flags" in the xorg.conf file.

Regards
LmceCape


That also brings back most keyboards (that have them) media controls. Glad that worked for you, (Thom is the source). Please, as Techstyle recommended, submit the plug and play template, for yourself and others.
878  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 28, 2011, 03:01:26 pm
I went to bed last night thinking very hard about removing these dependencies, rather upset that the system overrode my changes, forcing that package install.

I woke up all bleary eyed with a single thought... hey wait a minute... if during install it fixes dependencies... I just have to force out all non-free packages... and the sys will grab them back as dependencies after av wiz.


Now I just need that list to test the theory...


It's so simple... it can't be that simple...
879  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 28, 2011, 12:05:56 am
The fonts package is a dependency for Orbiter at least and CheckDependencies will install it if it hasn't been already.  This would have to be worked in as an upstream change in the system itself, as would any package alterations, otherwise the system will just re-install them automatically.

J.

Thanks for the elucidation. I guess from here I have to have a builder up... and learn how that all works. Lol.

pluto-avwizard, pluto-dcerouter, pluto-nvidia-video-drivers, pluto-orbiter, and pluto-orbitergen all depend... and from there pretty much all of pluto seems to depend on them.
880  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 27, 2011, 11:24:31 pm
Ok... so I have successfully  removed the msttcorefonts package, with a bit of force, and replaced the fonts with liberation. There are dependency issues, so that will have to be addressed at a level above me. (Thanks to Merk for finding the right fonts and working to make it work the "right" way). So I know they work.

I also did a fresh install, doing the same thing at avwizard, but something during the install noticed the missing dependency and re-installed it.

Phenigma, your second solution is intriguing. I need to get an actual list of non-free packages together... and I still like the idea of grabbing non crucial build packages in the setup wizard under software. As I said, to try and knock these down one by one, I am going to need a list.

Also... I am going to try rsyncing the hidden .kde directory in USER_NAME to skel, and script a rewrite of the subdirectories which bear it. That will probably fix KDE without having to build a different server.
881  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 26, 2011, 08:39:24 pm
Not for nothing, I have grabbed the liberation fonts included in the red hat distro and simply renamed them and the orbiters all work. playing with different ones now. I know it is a hack, but I can package those.

http://i55.tinypic.com/sxjb79.png
882  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 26, 2011, 04:59:59 pm
Be careful of licencing issues.  Many packages that are used by LMCE cannot legally be distributed through any medium but an internet connection.  One of these is the MS Core Fonts that cannot be installed or packaged onto any other medium.  These fonts are used by Orbiter, which essentially means any distribution using orbiter must have an internet connection to install fonts before orbiter is launched.  This would include LMCE, PadOrbiter, etc...  Any medibuntu packages also cannot be distributed through the CD or DVD as they often contain code/patented routines that cannot be legally used in many countries without paying for them.  These are the primary reasons that the DVD install still needs an internet connection.

J.

I had considered this, which was why I encourage people to make their own atm for their own personal use. What I was considering for what I want to upload, is an agreement clicked on first accepting the licenses for the portions of the install which are not free. I do not know if that makes it legal, but seems good to me atm. Worst case scenario I will have to create my own specialized install excluding those packages, and include a secondary install script. This would still greatly reduce the time/install issues commonly addressed in these forums. I guess I could just remove non-free repos during install... but if any are housed at linuxmce.org I will need to change something.

Perhaps these packages could be installed using the old package installer in setup wizards "software" section.
883  LinuxMCE / Developers / Re: Findings while working on alternative install DVD... on: February 26, 2011, 03:26:22 pm
HI,

This sounds interesting, I wanna reload my core, but I dont like the idea of reinstalling, and have to download alot more from the internet, even if its the latest snapshot. Now the route your going, if I understand correctly, you dont need an active internet connection?

Karel

Until the setup wizard, when specifying things like mythtv etc... there is no downloading. With the disk you can do a ground up install to AVWizard in under 30 min (depending on the size of the drive being formatted).

To make this disk, you will have to go through the drudgery of a normal install once. Once I am finished I will find someplace to stick an iso and you can download it like a snap (assuming the powers that be have no issue with the thing).
One of the benefits of doing it yourself, for your own purposes, is that you can tweak it as you like (including packages that LMCE cannot distribute), or special configs you have made to .xorg or whatever. So when you install, everything just works... you know... except the things which are currently broken Smiley. I do not use asterisk or security atm... so I cannot test that, but everything else works. Detection and DCERouting is fine. Will have a lot more after the weekend.
884  LinuxMCE / Developers / Findings while working on alternative install DVD... on: February 26, 2011, 01:34:00 am
This is less than a perfect process... but the results are really neat. I need to test more to find more that is broken, but, rather unusually, I have solutions for the things I have found thus far which are not happy... if not a graceful implementation.

Let me tell you the results before I bore you with the details. Using the following methodology I have created an alternative "livecd" LMCE installer. The install option installs the system all the way to the AVWizard without requiring internet access, you never see KDE... the first screen you see after the 15 min install is AVWizard. As an unexpected surprise, which may be the only realistic benefit of the experiment, the "live" boot also boots to AVWizard, and allows you to configure and run a system from a disk or thumbdrive, creating a portable version of the system without touching the native drive. This installer is as hardware independent as I have access to, with better results on non-supported hardware than I have been able to achieve through regular installs, and supported hardware installs with some minor issues I will address at the end. I like my good news first... esp when the bad news isn't that bad.

Current method: 810
Follow the standard install until changing sources, making this addition.
Code:
deb http://www.geekconnection.org/remastersys/repository ubuntu/
We will remove it before install is made. As root:
Code:
apt-get update
apt-get install remastersys

Install LMCE. When you get to AVWizard, tty2 and root up:
Code:
cp -r  /home/USER_NAME/*? /etc/skel
(This makes these folders appear when a new user is created from future installs, -remastersys. Obviously substitute whatever your current user name is for USER_NAME)
Edit sources.list and get rid of that repo.
Code:
dist-upgrade
remastersys dist cdfs
remastersys dist LMCE.iso
burn the iso
Code:
apt-get install 'dvd+rw-tools'
growisofs -Z /dev/dvd=/home/remastersys/remastersys/LMCE.iso
Most of the work is done. I now create some scripts to deal with the problems and add them to the .iso.
Code:
growisofs -M /dev/dvd /tmp/fixbroken.sh
I will put it up here, but they need a bit of tweaking. I just figured all this out early this morn, and have been working all day, so bare with me. I am working on a graphical kicker for install, but for now you get 4 text options in isolinux. Boot live, boot forcing vesadrivers, install... and boot to hd.

Now the bad news. Building this way, on a normal system, breaks KDE. However there is documentation on how to build this in an Ubuntu server environment which preserves all the pesky hidden KDE stuff. The gparted installer also pukes about 12 errors about not being able to mount nd1, nd3... etc. Choose cancel on each warning. Also warns you that language packs are not available for install. Default values are all over the map, but easily changed when going through install process.

Installing or booting live, there are no nics in /etc/network/interfaces. Stealing from the new-installer scripts, I grep for existence of eth0 /etc/network/interfaces, and if not use chunks from the single/dual nic auto configuration script in one of the installers. For now if you are anxious, just edit (for dual nic)  to read:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
address 192.168.80.1
netmask 225.225.225.0
Or single nic
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth0:1
iface eth0:1 inet static
address 192.168.80.1
netmask 225.225.225.0
Then
Code:
/etc/init.d/networking restart

As I said, I will post a cleanup script once I have time to create/test them again to automate them.

There are also permission errors in some /var dir (watch boot)... I can't remember off the top of my head. This will also be addressed this weekend with a cleanup script, but for now change them.

Firefox has remembery issues, but I believe that may have been solved dumping into /etc/skel
I know there is more... but this is a fun start. I can't push a 4gb file from my homemade giant aluminum foil antenna I get internet on... so I encourage others to play with this along with me. I will add more after more napping, but the installed system works with everything I have, behaving nicely.
885  LinuxMCE / Developers / Re: Kubuntu prep script for 8.10 installs on: February 24, 2011, 10:58:45 am
http://svn.linuxmce.org/trac.cgi/attachment/ticket/1003/repoplaces.4.sh?format=raw
Should be just about finished as a pre-install script.
No longer dist-upgrades in download only mode. Much cleaner process, and now works in any country (silly Americans forget)
Pages: 1 ... 57 58 [59] 60 61 ... 69
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!