LinuxMCE Forums

General => Developers => Topic started by: l3mce on February 26, 2011, 01:34:00 am

Title: Findings while working on alternative install DVD...
Post by: l3mce 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: [Select]
deb http://www.geekconnection.org/remastersys/repository ubuntu/We will remove it before install is made. As root:
Code: [Select]
apt-get update
apt-get install remastersys

Install LMCE. When you get to AVWizard, tty2 and root up:
Code: [Select]
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: [Select]
dist-upgrade
remastersys dist cdfs
remastersys dist LMCE.iso
burn the iso
Code: [Select]
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: [Select]
growisofs -M /dev/dvd /tmp/fixbroken.shI 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: [Select]
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: [Select]
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: [Select]
/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.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 26, 2011, 07:44:50 am
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
Title: Re: Findings while working on alternative install DVD...
Post by: rperre on February 26, 2011, 07:48:47 am
Nice work L3MCE
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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 :). 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.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on February 26, 2011, 03:54:40 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.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on February 26, 2011, 06:40:44 pm
The live DVD does need attention and I think it is great that you're looking into it!

Some of the packages you can probably deal with as you are suggesting, pre-present the agreement to the user to agree too.  Some of the licences (the msttcorefonts package for example) prohibit distribution except in their original format.

Two possibilities:
1)  Don't pre-install the packages on the DVD.  Each time the DVD boots into the live environment any required packages would need to be installed.  This is what the current installer does, and why the installation is not completed in the pre-installed DVD live environment.  This would require an internet connection.

2) Create a script that would pre-fectch any required packages with licencing issues (seperate from the livedvd/installer) and say... copy the files to a USB stick.  Then you could allow the user to provide the packages (or required files from the packages) on this USB stick during the live boot/install process.  This way the package licences are not violated by distributing them and simple script can be used by the user to fetch all the files.  This is not ideal, but the only way I have thought of meeting the licence requirements and not requiring an internet connection for install.

Just my thoughts, I'd looked at this a little once before.  Keep up the great work!

J.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on February 27, 2011, 11:56:17 pm
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.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on February 28, 2011, 03:42:32 am
:-)

J.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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...
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 03, 2011, 08:15:29 pm
It's that simple.

I am scripting the entire process now. The elements do the following.

Now the first boot preseed script.

Outstanding issues:

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: [Select]
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.
Title: Re: Findings while working on alternative install DVD...
Post by: posde on March 04, 2011, 08:48:00 am
Don't forget the rule, to attach your script to a trac ticket, so you can always go back, in case something fails.

We have had unfortunate incidents in the past, where code got lost, because it was not attached to ticket, and the system containing the code died.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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: [Select]
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.
/me 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.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 06, 2011, 02:17:59 am
unless your code is doing something clever that i dont see, i believe that /root/new-installer should be /home/$sad/new-installer
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 06, 2011, 03:28:47 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.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce 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: [Select]
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.
Title: Re: Findings while working on alternative install DVD...
Post by: RayBe on March 06, 2011, 05:32:08 pm
Hi L3mce,
Did you see my new concept of the splash-screen in your inbox?
I will add the lmce-logo, Let me know what you think.

Br,
Raymond
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 06, 2011, 09:10:08 pm
Hi L3mce,
Did you see my new concept of the splash-screen in your inbox?
I will add the lmce-logo, Let me know what you think.

Br,
Raymond

I thought I replied to you. I like it a lot. I am currently using phenigmas locally. I think I am going to rewrite remastersys specifically for this lmce mastering, to try and get everything a lot cleaner, and hopefully use kde partitioning front end.


While I lied before and said master_lmce.sh should work... it should work now without bombing. Dumb mistakes.

*No... I am wrong again. Won't work atm. Trying to adjust so it will.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 07, 2011, 06:31:25 am
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: [Select]
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.

i would just add the code you posted, so that if new-installer isnt in root it copies it there, and if it is then it just throws an not found and continues.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 07, 2011, 09:28:20 pm
i would just add the code you posted, so that if new-installer isnt in root it copies it there, and if it is then it just throws an not found and continues.

Probably because I don't know linux, or what it will do if a script is running from a directory that it itself moves. However I have enough to rewrite this from scratch now, without having to add the repo or use remastersys at all really. I will continue to attack it from my bassackwards methodology of forcing out bad packages and putting them back in as well as building it weird on my own.

Going forward I have to build my own on a builder. It might take a while for forward progress. Because I am going both directions, I will continue to put stuff up here on the backwards way when I make any large progress, and keep updating the trac, as well as a new one when on a forward builder. However at the end of the day I should have a few solid bases from which to build on... and a solid linuxmce*.deb base as well... ultimately in a few configurations.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 08, 2011, 04:16:09 pm
with the latest files i ran into an error
growisofs:line 175: command not found
i think it is a permissions problem because i know the dvd+rw-tools is installed, but i would add that to the line that installs remastersys just to be sure it gets installed
i have to do some work on vm then, ill try again so i can mount the .iso next time :)
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 08, 2011, 11:20:03 pm
I believe I have fully working scripts now.
Try again. You should not have any show stopping errors.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 09, 2011, 03:06:50 am
there were the cp errors that are always there and it didnt think that there was a dvd in the drive but i think i know why, but i cant copy my .iso out of my VM cause its throwing a fit so i cant test if the .iso boots yet.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 10, 2011, 12:32:27 am
i just started over on building it so i thought i would document my process so others could try or i can be corrected if im doing something wrong.
Install Ubuntu server 10.04 32 bit
Code: [Select]
sudo su
nano /etc/apt/sources.list
add deb http://www.geekconnection.org/remastersys/repository ubuntu/
apt-get update
apt-dist upgrade
apt-get install xorg kdm kde-minimal subversion pmount remastersys 'dvd+rw-tools'
shutdown -r now
open konsole after reboot
Code: [Select]
sudo su
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer
chmod 777 /home/user_name/new-installer
add master-lmce.sh and postmaster.sh to the new-installer directory
cd new-installer
./pre-install-from-repo.sh
apt-get -f upgrade
./mce-install.sh
./master_lmce.sh
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 10, 2011, 03:37:37 am
***Some success in 1004!
Seems smart to start pages with the trac http://svn.linuxmce.org/trac.cgi/ticket/1015

I have success in 1004 finally... for the very large part... will need to test more to be sure.
Load the pre-install-from-repo.sh, mce-install.sh, then master_lmce.sh. Will install. Slight oddity in that when you are trying to setup a new user during new dvd install, x fails over on tty8. I will fix that. Switch back to tty7.

On first boot... don't do anything. Just let it sit. It will eventually reboot itself when done resnagging ripped packages and drop you into avwiz.

i just started over on building it so i thought i would document my process so others could try or i can be corrected if im doing something wrong.
Install Ubuntu server 10.04 32 bit
Code: [Select]
sudo su
nano /etc/apt/sources.list
add deb http://www.geekconnection.org/remastersys/repository ubuntu/
apt-get update
apt-dist upgrade
apt-get install xorg kdm kde-minimal subversion pmount remastersys 'dvd+rw-tools'
shutdown -r now
open konsole after reboot
Code: [Select]
sudo su
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer
chmod 777 /home/user_name/new-installer
add master-lmce.sh and postmaster.sh to the new-installer directory
cd new-installer
./pre-install-from-repo.sh
apt-get -f upgrade
./mce-install.sh
./master_lmce.sh


For the record, on 10.04 you should use this repo
http://www.geekconnection.org/remastersys/repository karmic/
But the step should be unnecessary. The script adds, installs, and removes that repo now.

One day soon remastersys will not be necessary. I will have a couple of new scripts up tonight or tomorrow based on the 10.04 results.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 11, 2011, 01:20:37 am
Major progress.

I now have, I believe, a fully functional alt dvd install maker on 1004. (locutus_ I think the permission errors you were getting before were my fault... shoving too much unnecessary hidden stuff into skel)

This does not make 1004 more functional, mind you.

What it does do is make an installer with everything free available on the disk and 90% pre-installed. It is also prettier. It also (should be) MD ready. A quick breakdown of what it is actually doing...

Handles most of the functions ultimately run by mce-install.sh, except the networking magic. (You no longer need to run mce-install)
Installs the following tools to handle the rest of the process:
   vrms (checks non-free licenses)
   apt-rdepends (shows what depends on a package, rather than package dependencies)
   dvd+rw-tools (for burning if it is not already installed)
   remastersys (this will eventually be rewritten and included)
Creates 4 scripts to handle forcing out non-free packages and then replacing them politely.
Places postmaster.sh which will only run once, when booted from a hard drive.

Postmaster has taken on more tasks. It now handles network arrangement, and runs post-install.sh after regrabbing all necessary packages and reconfiguring/installing the major pieces. I can't figure out a way to bop an alert up in KDE yet, so I will probably kill kde so you can see what is going on. As it is now... it runs in the background and downloads for a while while you bungle around the desktop for a few minutes and then suddenly the machine reboots, and you end up at avwiz.

It is much more graceful about everything now. It is also pretty.

So now, with the dvd this produces, you can do a ground up install in about an hour, with MDs.

I am tweaking and testing, will put the code up later and update here. I am also trying to include a "burn to bootable thumbdrive" option as I have gone through about 100 dvd's since I started this project... that nobody asked for. Have learned a lot. Looking forward to doing this the right way.

*hack job up

The process is now...
download new scripts

drop my scripts IN THAT DIRECTORY.
Run pre-install-from-repo.sh
Run master_lmce.sh. Follow the prompts from there.

Things definitely left to do:
Better DVD, HD, and USBHD detection.
New graphics
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 11, 2011, 04:57:53 pm
Ok... so that worked out pretty well. Only major issues to sort is avwiz trying to boot during dvd product install (ctrl alt f7 back), and x starting on first boot, looking confusing.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 11, 2011, 07:40:32 pm
well i dont want to be a downer but mine failed on grub installation, but that i mounted from the raw .iso on a vm so now ill burn it to a dvd and try on hardware

also, this new script made a much bigger .iso than i was getting previously, 2.5 gigs, i was wondering if thats what you got also?
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 12, 2011, 01:23:05 pm
well i dont want to be a downer but mine failed on grub installation, but that i mounted from the raw .iso on a vm so now ill burn it to a dvd and try on hardware

also, this new script made a much bigger .iso than i was getting previously, 2.5 gigs, i was wondering if thats what you got also?

The reason it is so much bigger is because it is keeping the fat videos and preloading all of the MD stuff, so that hopefully they are plug n play.

I also was rushed when testing the first time, and interrupted the diskless dl... (and therefore post-install.sh) when it was successful. I also was holding shift on first (well... technically second) boot just in case avwiz did not glow.

I let it go the right way, and avwiz never hits... and orbiter creation fails... even if you then run avwiz, it will not come alive... so this is further from done than I thought. Also, the db is calling the first instance of avwiz (which pops up over installer... but NOT when it is supposed to) so it gets weird. For now, if you are testing, please hold shift down on the forced reboot... (assuming grub is not an issue... which it really shouldn't be... I was able to load on a lot of stuff).

I am also closing the postmaster.sh with /usr/pluto/bin/RebootWithAVWizard.sh hoping to get around the current working method of only running avwiz once... however it is not working. I need to think about this a while.
Title: Re: Findings while working on alternative install DVD...
Post by: ardirtbiker on March 13, 2011, 02:48:38 am
I actually got my MD to boot from the Core... the AV wizard ran, but when completed I was got a 'transparency' error which I fixed by changing 'nv' to 'nvidia' in xorg.conf.  Did a reboot and the system came up..

And YES is is kinda pretty. 

If i were smarter, I'd help fix some of the operational issues... but ive only mastered Visual Basic programming... and having a hard time figuring out C and C++.

Thanks for the hard work


Dennis
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on March 13, 2011, 05:49:44 am
its good to hear that you got it working, im just curious if you did 1004 or 0810
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 13, 2011, 09:52:50 am
I actually got my MD to boot from the Core... the AV wizard ran, but when completed I was got a 'transparency' error which I fixed by changing 'nv' to 'nvidia' in xorg.conf.  Did a reboot and the system came up..

And YES is is kinda pretty. 

If i were smarter, I'd help fix some of the operational issues... but ive only mastered Visual Basic programming... and having a hard time figuring out C and C++.

Thanks for the hard work


Dennis

Thank you for the feedback. I have some more changes that should detect video better... but avwiz is throwing a monkey in my method because it is being called from the db. There is a complete different set of graphics, which look way pretty, but until I find a place to stick them so I can wget them, you get only "kinda pretty". I come from java/ejb/js... and am in the same boat, only further removed. Glad you got it up with an MD no less...

Locutus_, I was reading over some past posts and I guess I was trying to play catchup, and did not make clear that I am no longer doing installs off the server kernel. I am installing kubu 10.04 generic, and running pre-install-from-repo.sh and master_lmce.sh only. I am sorry for not being more clear. Server brought more problems than it solved.
Title: Re: Findings while working on alternative install DVD...
Post by: ardirtbiker on March 13, 2011, 02:52:26 pm
Ive got 1004 running (on a spare computer as Core) and then just changing which core is plugged into my switch and using the same machine for my MD..   (i did have to 'fix' something... my MD has a RTL8111 (r8168) NIC so I created the MD in Admin, then installed the r8168 driver in the MD file system)   The MD booted up and installed fine (except for the changes noted earlier about the nvidia driver).

Things I know on my setup that I noticed didnt work were :   Gyration remote, LCDProcClient (for LCD display), a DVD doesnt display (just a black screen) but the audio is going (but pushing a remote button would 'pop-up' the screen momentarily).   Also, I couldnt get MythTV to display video... I'm using a HDPVR (that works using 'cat /dev/video0 >> test.ts') but Myth would just keep trying to start LiveTV over and over until timeout.   I didnt investigate too much though... 2 day weekends are not long enough  :-\ and there is plenty of yardwork to get done
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 13, 2011, 04:57:31 pm
Ive got 1004 running (on a spare computer as Core) and then just changing which core is plugged into my switch and using the same machine for my MD..   (i did have to 'fix' something... my MD has a RTL8111 (r8168) NIC so I created the MD in Admin, then installed the r8168 driver in the MD file system)   The MD booted up and installed fine (except for the changes noted earlier about the nvidia driver).

Things I know on my setup that I noticed didnt work were :   Gyration remote, LCDProcClient (for LCD display), a DVD doesnt display (just a black screen) but the audio is going (but pushing a remote button would 'pop-up' the screen momentarily).   Also, I couldnt get MythTV to display video... I'm using a HDPVR (that works using 'cat /dev/video0 >> test.ts') but Myth would just keep trying to start LiveTV over and over until timeout.   I didnt investigate too much though... 2 day weekends are not long enough  :-\ and there is plenty of yardwork to get done

Yuck!
Can you ssh into the md, and run
Code: [Select]
apt-get -f install
apt-get upgrade

Did the system detect gyro and it just not work? Or does it not even load?
Title: Re: Findings while working on alternative install DVD...
Post by: ardirtbiker on March 13, 2011, 05:23:21 pm
the OS and MD orbiter detect the usb transceiver (popup message), but none of the buttons work on the remote (or do wrong things).  I even re-created the child device under the orbiter (GO Cordless GC1005M  template 1812).   I dont know if it has to do with the usbhid module (as in 810 we had to compile a modified one).   I might try compiling the modified and test again.

But it will be later today... got some yard work to do before rain this afternoon

Dennis
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 13, 2011, 10:25:52 pm
the OS and MD orbiter detect the usb transceiver (popup message), but none of the buttons work on the remote (or do wrong things).  I even re-created the child device under the orbiter (GO Cordless GC1005M  template 1812).   I dont know if it has to do with the usbhid module (as in 810 we had to compile a modified one).   I might try compiling the modified and test again.

But it will be later today... got some yard work to do before rain this afternoon

Dennis


Did you add that line in xorg.conf under server flags?
Option    "AutoAddDevices"    "false"
reboot and see if it works correctly?
Title: Re: Findings while working on alternative install DVD...
Post by: ardirtbiker on March 13, 2011, 10:37:03 pm
oops.. forgot about that... I'll try it this evening!!!!

Dennis
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 13, 2011, 11:12:40 pm
My latest scripts do not download the MD stuff on creation. It is taking ME too long to test over my crap connection. If anyone would like this feature, uncomment line 199 of postmaster.sh. I have also included an experimental switch to telinit 3 which may get rid of the avwiz overrun.

Also when it is finished installing, it no longer automatically reboots. I had set it to run RebootWithAVWizard.sh, however it does not reboot with avwiz. For now, please manually reboot, and hold the shift key so avwiz will glow.

Because everything has changed so much, I would like to explain clearly, for now, how to test this.

For 810:
1. Install the latest 810 snap (using the "Install LinuxMCE" option) up to Kubuntu desktop and change the sources as described in the wiki. Run update/dist-upgrade as detailed in the wiki.
2. Download my latest scripts from svn link at top of each page in this thread.
3. Terminal into whatever directory you download to, and as sudo su execute the following (where XX is the latest script number):
Code: [Select]
cp postmaster.XX.sh /root/new-installer/postmaster.sh
cp master_lmce.XX.sh /root/new-installer/master_lmce.sh
chmod +x /root/new-installer/*.sh
/root/new-installer/pre-install-from-repo.sh
apt-get -f upgrade
/root/new-installer/master_lmce.sh


For 1004:
Download and install Kubuntu 10.04, 32bit edition only. At desktop open terminal and enter (where USER_NAME is your user name):
Code: [Select]
sudo su
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/new-installer
chmod 777 /home/USER_NAME/new-installer
cd new-installer

Now download my latest scripts at the svn link at the top of each page of this thread, and open a terminal at that place and enter (where XX is the current script number and USER_NAME is your user name):

Code: [Select]
cp postmaster.XX.sh /root/new-installer/postmaster.sh
cp master_lmce.XX.sh /home/USER_NAME/new-installer/master_lmce.sh
cp postmaster.XX.sh /home/USER_NAME/new-installer/postmaster.sh
chmod +x /home/USER_NAME/new-installer/*.sh
/home/USER_NAME/pre-install-from-repo.sh
apt-get -f upgrade
/home/USER_NAME/master_lmce.sh

For the record this creates a duplicate folder, and I dislike redundant folders.

For BOTH
When it is finished and has burned a DVD for you... choose an option (i.e. reboot with new dvd).
You will probably get about half way through the kubuntu installer before avwiz pops up with a failed to load x error. ctrl+alt+f7 to get back to the installer. I'm working on that... sorry.
The system will install, you will be prompted to reboot... on reboot... well... at the moment... I am not sure what you will see. KDE might load for a minute, it might not. You might be able to see what is happening... you might not. Check ctrl+alt+f7 or f2 or f3 until you you see normal download stuff. When it is finished, reboot the machine and hold the shift key down during boot. You will be in avwizard.

IF it does not detect your dvd burner (seems for me to only be a problem in vbox), it may be at /dev/sr0 or something like that, then execute (where YOUR_DVD is wherever your dvd is):
Code: [Select]
growisofs -Z /dev/YOUR_DVD=/home/remastersys/remastersys/lmce.iso
A Distribution creation will produce an installable distributable .iso without non-free drivers (like anything nvidia... etc)

A Personal creation will produce something entirely different that has all of the drivers pre-loaded for live boot, which you can use on just about any system (with the appropriate options in avwiz), which you can demo on foreign systems with full functionality... but I have not tested that in a long time... and a lot has changed.
Thank you all for your help.
Title: Re: Findings while working on alternative install DVD...
Post by: ardirtbiker on March 14, 2011, 02:29:59 am
l3mce,
     I added the "AutoAddDevices" "false" to xorg.conf where required.   No change...     I do know that a driver hid_gyration is loaded on 10.04.   The air-mouse portion (controlling the cursor) works, as do the left, right, up, and down arrow keys (however only when the air-mouse is enabled)  I have a 'dell' version of the GYR4101US.  (the functionality is the same on my core as well as the MD)

If I can help in any way with this, let me know.. I'll tinker with it when I have time  during this week.   Can you point me in a good direction?


Dennis
Title: Re: Findings while working on alternative install DVD...
Post by: pigdog on March 22, 2011, 10:06:19 pm
Hi,

I tried to build a LiveDVD but no matter what option I try ...

live, install, etc.

...it gives me a logging in as custom message and

A critical error occurred.  Please look at KDM's logfile(s) for more information or contact your system administrator.

The system wants me to log in as custom.

I also get authentication errors on tty's

Sorry.

p.s.  I built the 10.04 Personal variant.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 23, 2011, 12:15:36 pm
Hi,

I tried to build a LiveDVD but no matter what option I try ...

live, install, etc.

...it gives me a logging in as custom message and

A critical error occurred.  Please look at KDM's logfile(s) for more information or contact your system administrator.

The system wants me to log in as custom.

I also get authentication errors on tty's

Sorry.

That should have been fixed. This comes from moving too much information from user dir into skel. Are you sure you used the most recent version of both scripts in trac? I will get back to this project very soon.
Title: Re: Findings while working on alternative install DVD...
Post by: pigdog on March 24, 2011, 12:23:43 am
Hi,

I used master_lmce.26.sh & postmaster.14.sh

I was wondering if it had something to do customizing a LiveCD with creating a new initrd.gz file with no auto login.

I spent some time trying to figure out if I did something wrong - which I probably did.

Sorry for any inconvenience.

Cheers

p.s. A note about remastersys that I read...

You can log into the livecd/dvd with any valid user that was on the system on the hard drive but it is recommended to log into the first one created during the initial installation as that is the user that can sudo.  When you come to install this back to a hard drive, the user setup portion of ubiquity (the install program) is just a placeholder other than the system name.  The username and password set here will not be used but must be created in order to continue with the installation.  Part of the reason for this is that your users are already created so you don't need to create them again,  but more importantly because user setup is an integral part of the install program and cannot be removed or bypassed easily.  If you were using proprietary video drivers like the nvidia or ati ones, you will need to reinstall them.  The Ubuntu livecd scripts prevent these from running properly but reinstalling them after installation will make them work again.

On another thread I read that you only need the username and that the password is blank.

I've tried my username, root, etc password & no password - no go.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on April 01, 2011, 03:55:13 pm
just thought that i would add if l3mce picks this back up, mceinstall.sh has had a slight change that he may want to incorporate

http://svn.linuxmce.org/trac.cgi/changeset/23868
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 01, 2011, 08:10:57 pm
Am still toying with this. I have a problem in that I don't think the powers that be will ever produce a snap using it, and I have some definite database issues to address in order to make this work. I have been trying to get a builder up in 1004 for the last week or so... and experimenting with other distracting things. Sorry for the lack of attention.

Thank you very much for the kernel spot locutus_.

With my successful 1004 installs becoming less and less successful I have sort of put this on hold, as I see the death of 0810 impending in short order. That being said, these are the things I am working on to make this more successful.
1. Munging the DB to use liberation fonts instead of msttcorefonts.
2. Also changing over video types in video-wizard-videos in the DB to use my .avi's, which drop about 340Mb.
3. Exploring the DB call to launch AVSetupWizard, so I can script in an addition that prevents it from doing so unless running from a hard drive, and not the DVD.
4. Someplace to house a 4Gb file so people can test the snaps on the variety of hardware out there.

With those things solved, a snapshot can be produced by anyone with a working or tweaked system. If only as a "demo" to try rather than going through the drudgery of a normal install. The only thing on 1004 that needs to be ripped out is the video driver of whatever system is being used ATM... but will have the capability of ripping out future non-free additions.

Thank you all for helping.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on April 01, 2011, 08:20:38 pm
i understand your apprehensiveness with continuing, but if you do ill be able to help much more as i now have a local mirror of the ubuntu sources so now every time i install its not going out the internet which will greatly decrease my install time.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on April 01, 2011, 08:48:54 pm
Instead of a completely different DVD creation process, why not work towards altering the system as it is now? 

The fonts and video changes could benefit everyone using/installing from the repo now.  A 340Mb drop in installation video size could benefit any user trying to install 0810 or 1004 and would reduce (by 340Mb) the bandwidth on the server for each and every installation attempt.  This could reduce server bandwidth by many gigabytes of transfer each month.

I also agree about 0810.  It appears to have been all but abandoned already.  0810 seems to have reverted to alpha stability as 1004 updates are applied without thought to 0810 consequences.  I would not label 0810 as beta with the lack of stability it has.

I also understand your frustration.  I once had created, and heavily tested, a nice ubiquity scripted installer setup which improved the dvd installation process significantly (the current makedvd.sh is designed for the 'alternate install dvd' not the 'livedvd' that is being used, so much of the makedvd.sh script is useless and ignored by the installer).  Under the beta designation I was told this was a feature and that features would not be added, so I dropped it.

J.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 01, 2011, 10:05:31 pm
Hi phenigma,

I am absolutely trying to make these changes to benefit the current process. I became aware of them through this experiment, and had been confused about how to change them, thinking they were a billion Designer changes AND DB work. Make no mistake, I want small videos and msNOTHING for all. That is why I have abandoned this side project to focus on moving LMCE to those goals... however I HATE leaving things unfinished, and I do not know yet what else this backwards process might yield to that end. I do not care if it is implemented. It is all my way of figuring things out. I just hate unfinished work... it bothers me when I go to sleep... so I am building backwards and forwards.

I mentioned before that I have been making a builder, that is for forward progress on a leaner DL design. I am just a little cog, trying to find some purchase in the bigger wheels, and until LMCE had never used linux. All of my scripts are a learning exercise.
Title: Re: Findings while working on alternative install DVD...
Post by: pigdog on April 03, 2011, 01:46:27 am
Hi,

All I can say is KUDOS to you for trying things.

Best wishes.

Cheers.
Title: Re: Findings while working on alternative install DVD...
Post by: phenigma on May 07, 2011, 06:41:03 pm
All I can say is KUDOS to you for trying things.

I agree!  Great stuff for digging in.  Glad to hear you're not abandoning it!  Keep plugging through.

J.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on November 28, 2011, 06:23:51 pm

*hold on this till update... is blowing up before complete now... not sure what I broke.

New stuff. 1004 only really atm.
http://svn.linuxmce.org/trac.cgi/attachment/ticket/1015/

Download the 3 new files into /root/new-installer/lmcemaster
One of the files is an image.
Install LMCE up to AVWizard.
tty2 and sudo su
/root/new-installer/lmcemaster/lmceremaster.sh

Choose P for personal or D for distribution when prompted.
Choosing D may well break your install. It is designed to fix itself... but is a work in progress.

It is bloody barbaric... but it is much closer.
Did away with remastersys. KDE installer still throws ndbX errors. Choose ignore and make sure you choose the correct HD to install to.

I recommend screwing around in virtual installs, and saving a snapshot when you are at avwizard.
When I get a clean one I will upload an .iso somewhere so you can just play with the install process.
Title: Re: Findings while working on alternative install DVD...
Post by: locutus on November 29, 2011, 11:22:13 pm
did you see that a new version of remastersys is in the works.
http://www.remastersys.com/repository/ubuntu-testing/
i know you are making a custom script but just thought it might be helpful to look at the new code.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on November 30, 2011, 12:28:49 am
My burner is not the problem. It is gently breaking LMCE enough to recover from. I have run in circles around this problem... forcing out every package even... but... it's a nightmare in there.

I have completely changed out the ubiquity installer to the correct 1004 installer... and I have been working today on a completely different scheme. I still have to break it a little to get rid of a couple of packages... it is just a huge web of dependencies surrounding a couple... I am now looking at backing up the databases to an excluded area and destroying them, removing all of the startup scripts... and replacing them if there is a break in the process or on completion.

Then doing a full new install, with almost all of the packages already installed. It is currently about 2.5 gb... burned. This does all of the detection and reinstalls the database. It looks slick...

Of course at the moment it is flashing up all of the normal startup messages over the installer lol... but I am very close. Hope to get a working version up tonight.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on November 30, 2011, 08:13:34 am
***Update... I have a new method.

Ok... down to one script and an image file.

This MUST be named lmceremaster.sh (http://svn.linuxmce.org/trac.cgi/raw-attachment/ticket/1015/lmceremaster.62.sh) it must also live in /root/new-installer/lmcemaster (yes I know they are similar and confusing names)


This image (http://svn.linuxmce.org/trac.cgi/attachment/ticket/1015/splash.2.png) (or your own 640x480 .png) must ALSO live in /root/new-installer/lmcemaster as splash.png

Your mce-install.sh MUST live in /root/new-installer. (I have written in code to try and resolve this if you do not follow directions, but it is untested atm.)

*WARNING= This could very well break your working install (way to sell it eh?), but it is designed not to. Ideally it should be tested in a virtual box with a full blown install (minus mame... I doubt there is enough space), though running it at directly after the installer or at AVWizard might go smoother. Make a snapshot before running obviously.

Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on December 04, 2011, 04:44:32 pm
*****UPDATE*****

Things working
1004
Installer
Hybrid installs
DVD Burner/iso mover
"Fix what we broke"
Live Boot
Proper NIC configuration *nvidia requires a reboot, so attempting to force vesa drivers on live boot.
Proper VGA detect
Works on HW

Things definitely NOT working
Live boot
Proper NIC configuration (live)
sources.list country specific repositories

Things unknown
810
Proper VGA detect
Life outside of VM
Core only installs

Trying to force vesa over nvidia for live install. Live boot takes a bit of time. Press esc at the splash screen to see what is happening.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on December 23, 2011, 01:19:43 am
Ok. So I have been at this a bit, and have a pretty stable process now. I will upload a snapshot for people to download after SOMEONE tests the script that creates them. I have bee writing it to handle both 810 and 1004, but I only know it works in 1004. The snapshot I will upload is diskless ready. It is about 3.2 gb.


In the meantime here are some instructions.

Download this script
It is best to prep your host system by either starting with a fresh LinuxMCE install, OR deleting from an existing system your MD(s) in web admin, and your room(s), and user(s) in setup wizard, unless you are just making a backup (personal option). You can then either drop to tty2 (ctrl +f2), or choose the Start KDE option, open a terminal and type:
Code: [Select]
sudo su
mkdir -p /root/new-installer/lmcemaster
cd /root/new-installer/lmcemaster
wget http://svn.linuxmce.org/trac.cgi/raw-attachment/ticket/1015/lmceremaster.64.sh
mv lmceremaster.64.sh lmceremaster.sh
chmod +x lmceremaster.sh
You can then either put your own 640x480 image in there named splash.png (transparency supported but will show black). Or download one of the ones I am playing with, and run the script. (I would love some more graphics help.)
Code: [Select]
wget http://svn.linuxmce.org/trac.cgi/raw-attachment/ticket/1015/splash.4.png
mv splash.4.png splash.png
/root/new-installer/lmcemaster/lmceremaster.sh

It will ask you some questions. The first is if you want to make a copy to be distributed over the internet (this means only with packages that are legal to distribute) or a personal copy (this is more like a backup of your system that should install on your machine, or others). Both options come with the Live! boot option. This is a live boot into a full blown LMCE installation, not Kubuntu.

The next question (after a bit of time) is whether or not you want to burn, or keep the iso. If you want to burn a DVD, stick one in at this point. If you choose keep, it will spit an .iso onto your desktop with an MD5.

Live boot distro option takes longer, obviously, as you have to download all of the non-free packages and install them. Due to the nature of the nVidia driver requiring a reboot, I have shoehorned an open source driver for live boot only. It works pretty well, but I would avoid alpha layering. It works, but... slowly. This may spit errors as it rolls. I am cleaning those up, they cause no harm... they are just attempting to manipulate files that may not exist.
(http://oi39.tinypic.com/r08a9z.jpg)

Script produces an iso... which currently looks like this:
(http://oi40.tinypic.com/34y7hv6.jpg)

Which takes you to the ubiquity kde installer if you choose that option.
(http://oi43.tinypic.com/2a0doqp.jpg)
(http://oi42.tinypic.com/2u76rnk.jpg)

Which then dumps you at AVWizard... which we are all familiar with. Live boot takes you directly to AVWizard.
COMPLETE install takes less than an hour over a dialup connection (avwiz, setup wiz, with Diskless and all) and should work on pretty much any hardware lmce CAN run on. I am trying to stuff MAME on a different snapshot, but... it's BIG.

Again, this breaks the system it is made from, and then fixes itself. I have not run into any issues with a broken/repaired system... but I make no guarantees. You should create images from machines/virtual machines with 2 nics. It will properly detect and use the one nic config if you install on a machine with one nic, but going backwards does not detect the second nic correctly... at least it didn't. I have made a lot of changes to detection since then and it might... I just stopped testing.

I should also probably mention... this is in no way approved or supported by LMCE. They are kind to let me post my code, but don't go complaining to them if my code breaks something of yours. Complain to me. I am usually in IRC.
Title: Re: Findings while working on alternative install DVD...
Post by: Aviator on January 03, 2012, 06:06:17 pm
This looks interesting, I'm running it now and I'll let you know what happens.  I think I have a spare computer here at the office I can test this with.
Title: Re: Findings while working on alternative install DVD...
Post by: Aviator on January 03, 2012, 08:08:46 pm
My hard drive filled up while running the create script. Make sure your drive is half empty, not half full before running this...
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 03, 2012, 09:04:24 pm
Yeah... should have mentioned that... this may more than double the size of your install before it is all said and done. I have to copy most of it into its own file structure prior to squashing it, and then the squash is big, and the .iso is big.

Make sure you have enough free space on your drive to hold it all.
Title: Re: Findings while working on alternative install DVD...
Post by: bongowongo on January 04, 2012, 08:20:04 am
Yeah... should have mentioned that... this may more than double the size of your install before it is all said and done. I have to copy most of it into its own file structure prior to squashing it, and then the squash is big, and the .iso is big.

Make sure you have enough free space on your drive to hold it all.

How big is big?
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 04, 2012, 10:47:24 am
about twice the size of your current install.

Basically it duplicates your file structure -debs zips logs etc... and then squashes it which is between 2.2 and 4.4 gb depending on what is installed/done already and makes an iso which is between 2.3 and 4.5 gb. I don't have hard numbers atm. I can't tear down my system right now and all of my vboxes are on machines with small HDs.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 25, 2012, 03:31:05 pm
The Live CD part works nicely. Especialy if you wanna show someone quickly how LMCE works and looks like.
Gonna test the install part shortly.

Thanx
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 25, 2012, 05:33:24 pm
What's that?

Someone actually TESTED it? I have a new hero!

Please make a quick note as to the environment you created the DVD from (the specific hardware, or VM), and any environment(s) you test on (live or install, hardware, or VM). Also which options you chose (personal or distribution), and if you burned a physical DVD or kept the iso. I am not sure of the state of personal, as I spent most of my time focusing on distribution...

Also if you could keep a rough idea on time frames for generating, and live boots/installs in whichever mode you chose.

Thank you so much!
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 06:32:48 am
Created the Image from a VM, Fresh install.
Live booted two units. The one didnt boot. "Failed to start X" it has some sort of Intel Chipset.
       The Other was a Friends Centrino Laptop. Live CD booted all the way to the Orbiter. BTW the AV-Wizard ran without problems.
I chose the personal option. And chose "Kept the Iso"

I created the Image before running CreateDisklesTBZ.sh. So Im gonna do that now on my VM, and then create the CD again.

Anything specific you want me to test.?

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 26, 2012, 07:13:35 am
Well... I would be curious as to whether or not the VM you created the iso from had one NIC or two. If it had one NIC, I would be curious if it would automagically work installing it on whatever with two NICs.

There are some changes just applied which may fix the intel chipset issue (of course you would have to create a new iso) which should be built shortly... just for your own knowledge.

I would be interested if you would try and boot live with your current LMCE system, to know if the nouveau driver worked (presuming you are using nvidia).

Other than that, it might be neat to have a distribution version you could upload someplace so others could test your snapshot on more equipment. Megaupload is gone now unfortunately :( but perhaps rapidshare or some other space you are aware of.

Honestly I have some pretty cool preconfigured snaps, but my upload threshold is 27kbps... yes... with a k. It would take a week to upload something, presuming there were no interruptions.

Thanks again for testing.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 07:29:38 am
Quote
Well... I would be curious as to whether or not the VM you created the iso from had one NIC or two. If it had one NIC, I would be curious if it would automagically work installing it on whatever with two NICs.

2 Nics

Quote
There are some changes just applied which may fix the intel chipset issue (of course you would have to create a new iso) which should be built shortly... just for your own knowledge.

If your talking about the AV-Wizard sript in the other thread. Im going to add it too the next image I create.

Quote
I would be interested if you would try and boot live with your current LMCE system, to know if the nouveau driver worked (presuming you are using nvidia).


I can test that with my Work laptop. Geforce GT335M ?

Quote
Other than that, it might be neat to have a distribution version you could upload someplace so others could test your snapshot on more equipment. Megaupload is gone now unfortunately :( but perhaps rapidshare or some other space you are aware of.

I'll see what I can find. Any suggestions anyone?

Karel

::EDIT:: The Personal Image is 3.4GB in size
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 26, 2012, 10:20:05 am
2 Nics

If your talking about the AV-Wizard sript in the other thread. Im going to add it too the next image I create.
 

I can test that with my Work laptop. Geforce GT335M ?

I'll see what I can find. Any suggestions anyone?

Karel

::EDIT:: The Personal Image is 3.4GB in size
Ok
Yes
Yes
Make sure you choose dist mode for whatever you upload. Size should be smaller that way as well. It is going to break the hell out of your current install, then when it is done making the image, it should fix itself before moving on. The install/live boot will take a little longer as well from that image because it has to download the non-free packages. If you could confirm that it did indeed fix the native install that would be helpful too. You can also remake snaps from installs made from the snaps. The idea was, you could tweak the hell out of an install, do specific package builds etc, and build new snaps from there, so it can sort of evolve... and at any point you can revert install or whatever.

I would love to get an approximate install time start to finish with any mode you test.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 10:48:51 am
 >:(  >:(  >:(

My disklesscreate is failing on my VM!!!!!!
When I have it done I will create a Distribution Image and time it from start to finish.

Quote
Make sure you choose dist mode for whatever you upload. Size should be smaller that way as well. It is going to break the hell out of your current install, then when it is done making the image, it should fix itself before moving on.

I will make a backup of my Live working 1004 core, and then create a Dist image from there. Then we can see if everything works again afterwards. This will only happen over the weekend though, So I'll privide feedback on Monday.

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 01:29:11 pm
L3mce,

So I tried the Distrubution option. It didnt seem to remove w32-codecs or libdvdcss.
In the reinstall script w32-codecs is there to be reinstalled, but not libdvdcss. (Not that it matters right know, just observation)

Howerver the creation of the Distribution image didnt complete. The Log file doenst say much, just;
"Too big for DVD"

The console output was:
"The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are backing up and try again"

There is no media saved on the Vm. Must I remove the files created when I created the personal image, before attempting the Distribution image?

Karel

::EDIT::

Ok so now the both options complain that the image is too big.
Distribution and Personal.
Only that changed was the creation of the Diskless images for the MD's.
Maybe we can create a Dual layer DVD?
And w32codecs does get removed but not libdvdcss.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 03:31:48 pm
L3mce,

Sorry man Im swamping you with replies....  ;D

The "Personal" disk I created earlier, the install option doesnt work.
Both Live Boot and Install options boot a live cd enviroment.

Let me know if there is any else you want me todo.

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 26, 2012, 04:02:44 pm
As to the size issue... What are the chances the .iso you made previously still exists on your desktop? ;)
It is trying to stuff your previous iso into your new iso. I didn't delete it as part of the process because sometimes during testing I would forget to backup versions.

Shame about the personal installer, as I said, I stopped testing that many versions ago... and libdvdcss2 is what I am looking for to remove... I will check libdvdcss as well. Thank you so much for the replies. I will fix these options shortly.



Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 26, 2012, 07:24:23 pm
Ok so from here on out we will test the distributable version, unless otherwise specified by you.

I removed the iso from the desktop, and I removed everything in the /root/lmcetmp
I restarted but still fails with the iso being to big.
You think it might be because I ran the Diskless_CreateTBZ.sh. The data is too much to fit on a DVD?

I was doing all this testing at the office, and something affected the VM I was testing on. When I got home and started the VM, it went straight to the AV-Wizard....... After the AV-Wizard I briefly saw some pakages getting downloaded.

Hope this all makes sense???

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 26, 2012, 07:36:19 pm
I was surprised at the size of your personal iso. An iso made from a fresh install never yielded more than 2.2gb for me. Around 3.2 with Diskless_SetupTBZ having run. I was even able to stuff MAME on one.

Did you by chance create any MDs? Have you got .debs hiding someplace unusual?

When the script starts it looks to see if the workdir (/root/lmcetmp) exists, and deletes it... so you don't have to worry about that. Again a further version will destroy it on cleanup... but I liked it persisting until a new pass to look at stuff.

Can you possibly do a find /root/lmcetmp -name '*' -size +50000k and look for something big and unusual... like another iso or something? The only time I ever ran into size problems was after installing MAME and other stuff... unless I forgot about that iso you already removed.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 27, 2012, 08:26:52 am
Damn QT-SDK installer was sitting in the home directory and taking up 1.3GB of size.

It took about 1hour and 30min to create the distributable version and reinstall everything again afterwards, that was removed to create the image.
Im sure these times would change with different hardware specs, i.e Faster cores and internet bandwith.

I might still have some crap laying around, because the iso image is 3GB in size.

Now to test the install on a VM and actual core.

Karel

Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 27, 2012, 10:36:14 am
Outstanding. Knew it had to be something ;)

If you ran TBZ I would expect it to be about that size... regardless, you should be in the clear for whatever you want to do (other than mame)
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 27, 2012, 08:59:46 pm
Ok... it isn't you, I somehow broke the installer. I will have to grab several versions and see what I did to break it... has been so long since I looked at it.

I will try and fix it now. Sorry.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on January 28, 2012, 01:59:44 pm
What isnt working?
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on January 29, 2012, 07:01:24 am
I think I broke the "install" option. Seems to only live boot...
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 02, 2012, 07:21:46 am
Any progress?
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 02, 2012, 08:20:54 am
No outward progress... lol... I think script 62 works... I will try and get a working script up and rolling tonight.

I have been busy trying to get 1004 snapshots going from a builder which has been sucking up my time/bandwidth for the last few days.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 14, 2012, 02:14:10 pm
Hi L3mce,

Any progess update???

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 19, 2012, 07:46:17 am
Yes, quite a bit, but not on this version.

Versions 58-60 have varying degrees of success. I am now working on a similar method which can either build LMCE from scratch (abnormally) and press an installing DVD, or take the pre-made abnormal image and produce the DVD.

I produced my first DVD that would make it through the installer today. A lot of errors to cleanup, and address a couple of processes and you should see a different sort of iso coming out soon.

Once I get it a bit more stable, I could use some help. It is currently spitting .iso's at 1.05Gb without video-wizard-videos. End result SHOULD be an install dvd at under 2 gb with Diskless_Setup already run.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 20, 2012, 03:10:49 pm
Cant wait to start testing.....
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 21, 2012, 05:38:23 am
Well...

What you COULD do if you really can't wait... and are feeling brave... is create a dd image from scratch with... this...
scratch_master.sh
Code: [Select]
#!/bin/bash
#
# Create an image which can be dd'ed onto
# a harddisk, and, after adding a boot loader
# using grub, be ready for consumption.
# TODO must apt-get install syslinux squashfs-tools genisoimage sbm on HOST

#set -e
LIVECDURL="http://www.linuxmce.org"
IMAGEFILE=`tempfile -p 1004`
#IMAGEFILE=1004
http_proxy=http://127.0.0.1:3128
TEMPDIR=`mktemp -d 1004-dir.XXXXXXXXXX`
TEMPISO=`mktemp -d 1004-iso.XXXXXXXXXX`
#TEMPDIR=snapshot
#TEMPISO=isoshot
apt-get install syslinux squashfs-tools genisoimage sbm
mkdir -p $TEMPISO/{casper,isolinux,install}

trap futureTrap EXIT
futureTrap () {
umount -lf $TEMPDIR/proc
umount -lf $TEMPDIR/sys
umount -lf $TEMPDIR/dev/pts
umount -lf $TEMPDIR
}

#########################
# FUNCTIONS
#########################
bootstrapper() {
dd if=/dev/zero of=$IMAGEFILE count=4 bs=1GB
mkfs.ext2 -F $IMAGEFILE
debootstrap --arch=i386 --include=mysql-server lucid $TEMPDIR
}

mainMount () {
mount -o loop $IMAGEFILE $TEMPDIR
mount none -t proc $TEMPDIR/proc
mount none -t devpts $TEMPDIR/dev/pts
mount none -t sysfs $TEMPDIR/sys
mkdir -p $TEMPDIR/root/new-installer/lmcemaster/
cp /etc/network/interfaces $TEMPDIR/etc/network/interfaces
}

mkExe () {
chmod +x $TEMPDIR/root/new-installer/lmcemaster/ping.sh
chmod +x $TEMPDIR/root/new-installer/lmcemaster/cleanup.sh
chmod +x $TEMPDIR/usr/pluto/bin/gpgupdate.sh
chmod +x $TEMPDIR/usr/sbin/invoke-rc.d
chmod +x $TEMPDIR/usr/bin/screen
chmod +x $TEMPDIR/root/new-installer/lmcemaster/chmaster.sh
}

stopStartups () {
mv $TEMPDIR/usr/sbin/invoke-rc.d $TEMPDIR/usr/sbin/invoke-rc.d.orig
cat <<EOL > $TEMPDIR/usr/sbin/invoke-rc.d
#!/bin/bash
exit 0
EOL

mv $TEMPDIR/usr/bin/screen $TEMPDIR/usr/bin/screen.orig
cat <<EOL > $TEMPDIR/usr/bin/screen
#!/bin/bash
exit 0
EOL
}

fixSources () {
cat <<EOL > $TEMPDIR/etc/apt/sources.list
deb http://deb.linuxmce.org/ubuntu/ lucid  beta2
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main
deb http://packages.medibuntu.org/ lucid free non-free
EOL

cat <<EOL > $TEMPDIR/etc/apt/sources.list.d/ubuntu.org
deb http://archive.ubuntu.com/ubuntu lucid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu lucid-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu lucid-security main restricted universe multiverse
deb http://debian.slimdevices.com/ stable  main
EOL

#create preseed file
cat <<EOL | LC_ALL=C chroot $TEMPDIR debconf-set-selections
debconf debconf/frontend  select Noninteractive
# Choices: critical, high, medium, low
debconf debconf/priority        select critical
msttcorefonts   msttcorefonts/http_proxy        string
msttcorefonts   msttcorefonts/defoma    note
msttcorefonts   msttcorefonts/dlurl     string
msttcorefonts   msttcorefonts/savedir   string
msttcorefonts   msttcorefonts/baddldir  note
msttcorefonts   msttcorefonts/dldir     string
msttcorefonts   msttcorefonts/blurb     note
msttcorefonts   msttcorefonts/accepted-mscorefonts-eula boolean true
msttcorefonts   msttcorefonts/present-mscorefonts-eula  boolean false
sun-java6-bin   shared/accepted-sun-dlj-v1-1    boolean true
sun-java6-jre   shared/accepted-sun-dlj-v1-1    boolean true
sun-java6-jre   sun-java6-jre/jcepolicy note
sun-java6-jre   sun-java6-jre/stopthread        boolean true
debconf debconf/frontend        select  Noninteractive
# Choices: critical, high, medium, low
debconf debconf/priority        select  critical
EOL
}

mkImg () {
rm -f  $TEMPDIR/etc/udev/rules.d/70-persistent-net-rules
umount $TEMPDIR
sleep1
e2fsck -fy $IMAGEFILE
cp $IMAGEFILE ./1004
cp 1004 1004bu
}

####################################
# SCRIPTS
####################################
# chrooted

writeScripts () {
cat <<EOL > $TEMPDIR/root/new-installer/lmcemaster/chmaster.sh
#!/bin/bash
export HOME=/root
export LC_ALL=C
mkdir -p /var/run/network
/root/new-installer/lmcemaster/ping.sh
apt-get install -y dbus
dbus-uuidgen > /var/lib/dbus/machine-id
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
/usr/pluto/bin/gpgupdate.sh
apt-get dist-upgrade -y --force-yes --allow-unauthenticated
apt-get clean
apt-get install linux-image-generic libc-dev-bin linux-libc-dev libc6-dev linux-headers-generic manpages-dev screen -y
apt-get clean

mysqldPID=\`mysqld --skip-networking&\`
echo MySQL PID: \$mysqldPID
chmod 755 \$TEMPDIR/var/lib/mysql

apt-get install lmce-hybrid -y --allow-unauthenticated
apt-get clean

# Add the minimal KDE meta package, which will also install Xorg.
apt-get install kde-minimal -y --allow-unauthenticated
apt-get clean

#
apt-get install pluto-x-scripts pluto-orbiter -y --allow-unauthenticated
apt-get clean

# Asterisk stuff
apt-get install lmce-asterisk -y --allow-unauthenticated
apt-get clean

# Additional stuff wanted by l3top
apt-get install ubuntu-standard casper lupin-casper discover1 laptop-detect os-prober linux-generic grub2 plymouth-x11 ubiquity-frontend-kde initramfs-tools
apt-get clean

kill \`lsof $TEMPDIR|grep mysqld|cut -d" " -f3|sort -u\` || :
sleep 3
kill \$mysqldPID || :
EOL

#### Check online status
# chrooted
cat <<EOL > $TEMPDIR/root/new-installer/lmcemaster/ping.sh
#!/bin/bash
while ! ping -c 1 google.com | sleep 1 > /dev/null 2>&1; do /etc/init.d/networking restart; sleep 5; done
EOL

#### Update and get gpg keys
# chrooted

cat <<EOL > $TEMPDIR/usr/pluto/bin/gpgupdate.sh
#!/bin/bash
gpgs=\$(apt-get update |& grep -s NO_PUBKEY | awk '{ print \$NF }' | cut -c 9-16); if [ -n \$gpgs ]
then for gpg in \$gpgs; do gpg --keyserver pgp.mit.edu --recv-keys \$gpg
gpg --export --armor \$gpg | apt-key add -
done
apt-get update
fi
EOL

#### Cleanup script
# chrooted
cat <<EOL > $TEMPDIR/root/new-installer/lmcemaster/cleanup.sh
#!/bin/bash
ls /boot/vmlinuz-2.6.**-**-generic > list.txt
sum=\$(cat list.txt | grep '[^ ]' | wc -l)
if [ \$sum -gt 1 ]; then
dpkg -l 'linux-*' | sed '/^ii/!d;/'"\$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
fi
rm list.txt
apt-get clean
rm -rf /tmp/*
rm /etc/resolv.conf
rm /var/lib/dbus/machine-id
rm /sbin/initctl
dpkg-divert --rename --remove /sbin/initctl
rm /usr/sbin/invoke-rc.d
mv /usr/sbin/invoke-rc.d.orig $TEMPDIR/usr/sbin/invoke-rc.d
rm /usr/bin/screen
mv /usr/bin/screen.orig $TEMPDIR/usr/bin/screen
umount -lf /proc
umount -lf /sys
umount -lf /dev/pts
#umount $TEMPDIR/dev
EOL

#############################
# Config files
#############################

#### Set temporary network file
#cat <<EOL > $TEMPDIR/etc/network/interfaces.2
#auto lo
#iface lo inet loopback

#auto eth0
#iface eth0 inet dhcp

#auto eth1
#iface eth1 inet dhcp
#EOL
}

###########################
# Main Execution Area
###########################
# If not bootstrapping, hash bootstrapper, fixSources, finalizeFs, and mkImg

bootstrapper
mainMount
writeScripts
mkExe
fixSources
stopStartups
LC_ALL=C chroot $TEMPDIR /usr/pluto/bin/gpgupdate.sh
LC_ALL=C chroot $TEMPDIR /root/new-installer/lmcemaster/chmaster.sh
LC_ALL=C chroot $TEMPDIR /root/new-installer/lmcemaster/cleanup.sh
finalizeFs
mkImg

then get lmcemaster (http://"http://svn.linuxmce.org/trac.cgi/raw-attachment/ticket/1256/lmcemaster.2")
and dvd-installer (http://"http://svn.linuxmce.org/trac.cgi/raw-attachment/ticket/1256/dvd-installer.2.sh") You will rename them to remove the numbers. I put the commands below. You will need to install debootstrap and dpkg-devel before running the first script. The second will install what it needs.

chmod +x on all of them. Keeping them all in the same directory. Make the following modifications. To save yourself SOME time, grab a copy of video-wizard-videos_1.1_all.deb from /var/cache/apt/archives of a current LMCE 1004 directory, put it in the same directory as the scripts, and unhash lines 50-54 of lmcemaster to prevent having to download all 489 megs of it. Unhash line 50 at the very least to copy dvd-installer.sh into the proper place.

Another thing YOU should do is drop that nifty image of yours in the same directory and hash line 363 of lmcemaster and add a line like so:
Code: [Select]
#   if [ -e $DDMASTER/splash.png ]; then cp $DDMASTER/splash.png $ISODIR/isolinux/splash.png; fi
cp splash.png $ISODIR/isolinux

I am also screwing with the menu sizing to try and fit on your little screen, which is why it will be a little... weird if you use it as is. I am currently trying (at line 190 lmcemaster)
menu width 70
menu margin 10

I do sudo su before these sorts of things... so I don't type sudo before everything as it should be implied.
Code: [Select]
chmod +x scratch_master.sh
mv lmcemaster.3 lmcemaster
chmod +x lmcemaster
mv dvd-installer.2.sh dvd-installer.sh
chmod +x dvd-installer.sh
./scratch_master.sh

A bit of warning... I have never run scratch_master... but I have looked over it a lot and it really SHOULD work... lol. It is just too big a drain on my tiny internet... if it encounters any errors they should be minor. Post and I will fix.

Another thing, keep that 1004 image backup the first script spits out. You will only want to make it once, and you will be using it a lot. Now
Code: [Select]
./lmcemasterOnce you run lmcemaster you will douche up that image... so once run just: cp 1004bu 1004
and you are ready to run again to create another image. lmcemaster will spit out an iso named LMCE-1004-beta.iso and its md5. You can load that in a vm, use unetbootin to drop it to a thumb or burn a dvd.

I have not even begun to get back to live boot again. No idea what it will do.

If lmcemaster hits an error it will die. It should not hit an error. If it does and you want to continue because it is awesome even if it errors, hash line two. (set -e)
(http://i39.tinypic.com/33o44kn.png)
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 22, 2012, 08:59:21 am
I'll give it a bash.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 25, 2012, 11:25:48 am
Currently playing with it.......  ;D
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 25, 2012, 09:34:14 pm
I have it now.
If you get the scratch installer working (which I think will be problematic without the mysql bits which give me problems) I have the rest of the process working... will be updating soon. Watch http://svn.linuxmce.org/trac.cgi/ticket/1256 and follow whatever directions are there.

I don't have time atm to fix the scratchmaster... but should only be a couple of lines to change to use the pluto_main for version control getting mysql happy in chroot.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 27, 2012, 07:26:22 am
I'll give it a try and let you know the outcome.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 27, 2012, 09:42:00 pm
Just use this instead to create the initial image. It is known to work.
Code: [Select]
#!/bin/bash
#
# Create an image which can be dd'ed onto
# a harddisk, and, after adding a boot loader
# using grub, be ready for consumption.
#
set -e

IMAGEFILE=`tempfile -p 1004`
dd if=/dev/zero of=$IMAGEFILE count=4 bs=1GB
mkfs.ext2 -F $IMAGEFILE
TEMPDIR=`mktemp -d 1004-dir.XXXXXXXXXX`
mount -o loop $IMAGEFILE $TEMPDIR
debootstrap --arch=i386 --include=mysql-server,rsync lucid $TEMPDIR
echo dcerouter > $TEMPDIR/etc/hostname
LC_ALL=C chroot $TEMPDIR mkdir -p /var/run/network /lib/plymouth/themes
cat <<EOF > $TEMPDIR/etc/apt/sources.list
deb http://deb.linuxmce.org/ubuntu/ lucid  beta2
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main
#deb http://packages.medibuntu.org/ lucid free non-free
EOF

cat <<EOF > $TEMPDIR/etc/apt/sources.list.d/ubuntu.org
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt lucid-security main restricted universe multiverse
deb http://debian.slimdevices.com/ stable  main
EOF

cat <<EOF >$TEMPDIR/etc/apt/sources.list.d/fluffy.list
deb http://fluffybitch.org/builder-lucid/ ./
deb ftp://mirror.hetzner.de/ubuntu/packages lucid main restricted universe multiverse
deb ftp://mirror.hetzner.de/ubuntu/packages lucid-updates main restricted universe multiverse
deb ftp://mirror.hetzner.de/ubuntu/security lucid-security main restricted universe multiverse
EOF

#create preseed file
cat <<EOF | LC_ALL=C chroot $TEMPDIR debconf-set-selections
debconf debconf/frontend  select Noninteractive
# Choices: critical, high, medium, low
debconf debconf/priority        select critical
msttcorefonts   msttcorefonts/http_proxy        string
msttcorefonts   msttcorefonts/defoma    note
msttcorefonts   msttcorefonts/dlurl     string
msttcorefonts   msttcorefonts/savedir   string
msttcorefonts   msttcorefonts/baddldir  note
msttcorefonts   msttcorefonts/dldir     string
msttcorefonts   msttcorefonts/blurb     note
msttcorefonts   msttcorefonts/accepted-mscorefonts-eula boolean true
msttcorefonts   msttcorefonts/present-mscorefonts-eula  boolean false
sun-java6-bin   shared/accepted-sun-dlj-v1-1    boolean true
sun-java6-jre   shared/accepted-sun-dlj-v1-1    boolean true
sun-java6-jre   sun-java6-jre/jcepolicy note
sun-java6-jre   sun-java6-jre/stopthread        boolean true
debconf debconf/frontend        select  Noninteractive
# Choices: critical, high, medium, low
debconf debconf/priority        select  critical
EOF

mv $TEMPDIR/usr/sbin/invoke-rc.d $TEMPDIR/usr/sbin/invoke-rc.d.orig

cat <<EOF > $TEMPDIR/usr/sbin/invoke-rc.d
#!/bin/bash
exit 0
EOF
chmod +x $TEMPDIR/usr/sbin/invoke-rc.d


mount -o bind /dev $TEMPDIR/dev
mount -t proc none $TEMPDIR/proc
mount -t devpts none $TEMPDIR/dev/pts

LC_ALL=C chroot $TEMPDIR apt-get update
LC_ALL=C chroot $TEMPDIR apt-get dist-upgrade -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get install linux-image-generic libc-dev-bin linux-libc-dev libc6-dev linux-headers-generic manpages-dev screen -y
LC_ALL=C chroot $TEMPDIR apt-get clean

cat <<EOF > $TEMPDIR/usr/sbin/invoke-rc.d
#!/bin/bash
exit 0
EOF
chmod +x $TEMPDIR/usr/sbin/invoke-rc.d

mv $TEMPDIR/usr/bin/screen $TEMPDIR/usr/bin/screen.orig

cat <<EOF > $TEMPDIR/usr/bin/screen
#!/bin/bash
exit 0
EOF
chmod +x $TEMPDIR/usr/bin/screen
mysqldPID=`LC_ALL=C chroot $TEMPDIR mysqld --skip-networking&`
echo MySQL PID: $mysqldPID
chmod 755 $TEMPDIR/var/lib/mysql

LC_ALL=C chroot $TEMPDIR apt-get install lmce-hybrid -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get clean

# Add the minimal KDE meta package, which will also install Xorg.
LC_ALL=C chroot $TEMPDIR apt-get install kde-minimal -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get clean

#
LC_ALL=C chroot $TEMPDIR apt-get install pluto-x-scripts pluto-orbiter -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get clean

# Asterisk stuff
LC_ALL=C chroot $TEMPDIR apt-get install lmce-asterisk -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get clean

# Additional stuff wanted by l3top
LC_ALL=C chroot $TEMPDIR apt-get install ubuntu-standard casper lupin-casper discover1 laptop-detect os-prober linux-generic grub2 plymouth-x11 ubiquity-frontend-kde initramfs-tools -y --allow-unauthenticated
LC_ALL=C chroot $TEMPDIR apt-get clean

rm $TEMPDIR/usr/sbin/invoke-rc.d
mv $TEMPDIR/usr/sbin/invoke-rc.d.orig $TEMPDIR/usr/sbin/invoke-rc.d

rm $TEMPDIR/usr/bin/screen
mv $TEMPDIR/usr/bin/screen.orig $TEMPDIR/usr/bin/screen

# We now have the problem, that Pluto/LinuxMCEs startup scripts get executed WITHOUT the
# use of invoke-rc.d - instead, they use screen.
#

umount $TEMPDIR/dev/pts
umount $TEMPDIR/proc
kill `lsof $TEMPDIR|grep mysqld|cut -d" " -f3|sort -u` || :
sleep 3
# kill $mysqldPID || :
umount $TEMPDIR/dev

# Show the current usage
du -h --max-depth=1 $TEMPDIR |& grep -v "du: cannot access"

# Get rid of existing network assignments
rm -f  $TEMPDIR/etc/udev/rules.d/70-persistent-net-rules
# Remove fluffy and our providers Ubuntu mirror from the sources.list
rm -f $TEMPDIR/etc/apt/sources.list.d/fluffy.list

# and no longer use the local ubuntu mirror.
cat $TEMPDIR/etc/apt/sources.list.d/ubuntu.org >> $TEMPDIR/etc/apt/sources.list
# Make sure fluffy is not in the list of available repositories
LC_ALL=C chroot $TEMPDIR apt-get update

# Clean up debconf back to dialog
echo debconf debconf/frontend select Dialog | LC_ALL=C chroot $TEMPDIR debconf-set-selections

# Let's unmount everything, and run fsck to make sure the image
# is nice and clean.

umount $TEMPDIR
fsck.ext2 $IMAGEFILE

#
# Let's do the stuff using l3top's mastermaker
#
exit 0
Title: Re: Findings while working on alternative install DVD...
Post by: posde on February 27, 2012, 11:37:03 pm
If you don't have a proxy locally, remove the line that sets the http_proxy, otherwise l3mce's optimistic comment might not hold...

updates to the file can be found at http://svn.linuxmce.org/svn/people/posde/  whenever they happen... It is the file image.sh
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 28, 2012, 05:26:31 am
er... yeah... that.

I wanted to mention with the latest, to remove the allow-hotplug in lines 75 & 78. As experiments go, not so much. Was trying to cut down the time for networking restart. I set that file that way btw, because on my laptop I go back and forth between wired and wireless networks, so setting them both to dhcp default gets me live. If you create the file, you probably won't require that at all... but this way it works no matter what you are on or doing.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on February 28, 2012, 08:37:49 am
So I can test creating an Install image with that script?
Title: Re: Findings while working on alternative install DVD...
Post by: huh on February 29, 2012, 01:09:38 am
So I can test creating an Install image with that script?

I would like to know this as well...  Need to redo my install and the wife is not relying on lmce at the moment, so would be a good time to be an alpha/beta tester.  About to cook dinner, so just going to try and see what happens.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on February 29, 2012, 05:23:20 am
That script ( will modify to make more worky worky )

Will create the root image necessary to build an iso from. This will be a dd image, named, simply: 1004
That will live somewhere with the other files in ticket 1256 (http://"http://svn.linuxmce.org/trac.cgi/ticket/1256")
You will need the latest versions in that thread of the following...
splash.png
dvd-installer.sh
GeneralFunctions.sh
lmcemaster.sh


You will ALSO need, from a working install's /var/cache/apt/archives directory:
video-wizard-videos_1.1_all.deb
and you will ALSO need
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/lmce-plymouth-theme lib/plymouth/themes/LinuxMCE/

I will be updating tonight.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 02, 2012, 06:16:08 am
Will be updating once everything is perfect... but... this is the current screenflow.

(http://oi43.tinypic.com/20gfbrc.jpg)
(http://oi41.tinypic.com/5kllok.jpg)

Changed the BG to keep more continuity.
(http://oi42.tinypic.com/29m0o3o.jpg)
(http://oi43.tinypic.com/8vvmus.jpg)
(http://oi39.tinypic.com/16koqih.jpg)
(http://oi39.tinypic.com/xkoaic.jpg)

So I am just about there.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 02, 2012, 07:59:59 am
This is Awesome.....!!!!!!!!

Maybe move the "Press Tab to edit"  2 lines down....


Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 03, 2012, 12:45:52 am
This is Awesome.....!!!!!!!!

Maybe move the "Press Tab to edit"  2 lines down....


Karel

Updated.
Thanks, and I plan on it (more work on the menu). I just need to figure out how to change the text colors. I figured out the timer... lol... but yes those will change.

Just something to be aware of... this looks different on a "real" display. The second menu has the orange progress meter, for instance, and tux isn't so huge during installer.

Keep in mind, beyond looking somewhat nicer, the real benefits of this process are:
1 The DVD is only 1.6 Gb
2 Almost everything is pre-installed. You do not need to download very much at all
3 It is one stage, unlike before where you install Kubuntu and then do our install. After choosing your options for the base install (pic 3, normal ubiquity install), it goes through its install sequence, a post installer (the OSD part), reboots and goes straight to AVWizard.
4 Because we have options from jump, it can be dual booted.
Title: Re: Findings while working on alternative install DVD...
Post by: posde on March 03, 2012, 10:43:30 am
[..]Keep in mind, beyond looking somewhat nicer, [..]

admit it, you are just doing it for the looks :P
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 05, 2012, 08:26:21 pm
Ok... so with the recent changes made to allow for IPv6, my external network process eats turd... so for this very second, once you get in after firstboot on hard drive, you have no internet without manually configuring your interfaces file, say at avwizard.

But there is (finally) a snapshot to test, and that issue will be resolved just as quick as I figure it out.
http://linuxmce.iptp.org/snapshots
LMCE-1004-beta.iso

Please give her a spin, and report all problems weirdness outside of the momentary networking glitch.

Please consider this very alpha... beta is the version of LMCE, not this process... and as always THANKS FOR TESTING!
Title: Re: Findings while working on alternative install DVD...
Post by: bushtech on March 05, 2012, 08:57:38 pm
 ;D Great work!! Download scheduled for 5 past 12 (bandwidth problems :() Will give it a spin tomorrow night. Going to try a side by side installation on my 0810 drive.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 06, 2012, 03:31:33 am
Ok... getting fluffy to build the way my stuff is building is problematic. First reports on testing this were less than champagne worthy.

Until we get an iso that works right, I hazard against dual booting... of course, the way this one failed, you won't get that close. If you DO want to dual boot, I STRONGLY recommend getting clonezilla and creating a full backup of your current drive prior to alteration in case things go poorly.

(A small hint, delete the contents of your /home/public/data/pvr/livetv folders before backing up... will save a LOT of time and unnecessary space).
Title: Re: Findings while working on alternative install DVD...
Post by: bushtech on March 07, 2012, 06:53:06 am
Took your advice and stayed away from side by side installation. Created a vm on my core and loaded the .iso, Installation screen came up & I picked install lmce. Crashed soon afterwards at (initramfs). Should I have loaded something else first? ???
Title: Re: Findings while working on alternative install DVD...
Post by: bongowongo on March 07, 2012, 02:17:00 pm
Took your advice and stayed away from side by side installation. Created a vm on my core and loaded the .iso, Installation screen came up & I picked install lmce. Crashed soon afterwards at (initramfs). Should I have loaded something else first? ???

No, I will get a snapshot wiki site up and running for us to follow, like I did with 0810.
First need te get one working first ;)
Title: Re: Findings while working on alternative install DVD...
Post by: bushtech on March 07, 2012, 05:54:32 pm
Thanks Bongo

Feel a bit  :-[ here in the developer section, cos I ain't no developer.  But l3mce did ask to post findings.

I've tried to attach a screenshot, hope it works ???
Title: Re: Findings while working on alternative install DVD...
Post by: posde on March 07, 2012, 07:06:02 pm
bushtech,

thanks for the screenshot. That loop error has been fixed in the latest snapshot.
Title: Re: Findings while working on alternative install DVD...
Post by: bushtech on March 07, 2012, 07:29:34 pm
Thanks posde

Now for a bandwidth deprived, is it possible to get that change into my .iso without downloading the latest snapshot?

Apologies if this is a stupid question
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 08, 2012, 01:29:34 am
It is not I am afraid... it has to do with how the filesystem is compressed before the iso is created.

That is fixed now, and networking should be fixed as well. I have 3 known issues...

1 vesa drivers (for people installing in virtual machines) are not being loaded when hitting a driver it doesn't know (InnoTek in the case of my VM). I can sneak in while avwizard starts with a sed command and replace InnoTek with vesa, and it boots fine. It uses the ATI/nVidia/intel drivers correctly however.

The second issue is the desktop. After install, clicking KDE Desktop from teh orbiter craps out with an error about kstartupconfig4 file. If you can still test given these conditions, it is appreciated.

The third issue is that an extra networking thing is stuck in there by a recent change to other code. I believe that has been resolved, but not tested yet... so check your /etc/network/interfaces file and make sure there is not a third nic entry there with blank values.

In VM, while it is loading the first time it reboots, you can right ctrl + f2, login, and issue issue (over and over)
sed -i 's/InnoTek/vesa/g' /etc/X11/xorg.conf.pluto.avwizard
Replacing InnoTek with whatever your VM identifies as (Wasn't InnoTek the company in Office Space?) and it will load and work right.

I am working to resolve all of these problems.


*** oh... a fourth issue is that purple screen which you ONLY see in VM. I have no idea how that thing is persisting.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 08, 2012, 02:54:31 pm
Ok...
video=solved  *as an added incentive to test this... I believe I have vastly improved ATI detection and operability :)
network=solved (thanks Foxi)
kde=solved (not in this morning's snapshot)
purple=still plagues me

new annoyance... orbiter tries to load too early, and throws errors until all of its prerequisites are met, and Sarah hits the scene. I assume that something triggers orbiter when some package is shown to be installed that we are pre-installing. Will look further into it. Until then, ignore the "Failed to read orbiter config from router..." and "Regenerating orbiter, this will take 15-30 minutes..." warnings on first load.

http://linuxmce.iptp.org/snapshots/
something on or past 08-Mar-2012
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 09, 2012, 08:19:21 am
Im missing something  ???
I have downloaded the scripts and now Im testing, but it fails on the first mount command.

Code: [Select]
dcerouter_1024804:~/new-installer/lmcemaster# ./lmcemaster.sh
1004: No such file or directory
dcerouter_1024804:~/new-installer/lmcemaster#


Code: [Select]
dcerouter_1024804:~/new-installer/lmcemaster# bash -x lmcemaster.sh
+ set -e
++ mktemp -d 1004-dd.XXXXXXXXXX
+ DDDIR=1004-dd.LjUhOEiJFv
++ mktemp -d 1004-wrk.XXXXXXXXXX
+ WORKDIR=1004-wrk.CmAx7oTuQg
++ mktemp -d 1004-iso.XXXXXXXXXX
+ ISODIR=1004-iso.ua2ZTMAOhw
+ NEWINST=/root/new-installer
+ MASTERDIR=/root/new-installer/lmcemaster
+ DDMASTER=1004-dd.LjUhOEiJFv/root/new-installer/lmcemaster
+ WORKMASTER=1004-wrk.CmAx7oTuQg/root/new-installer/lmcemaster
+ CUSTOMISO=LMCE-1004-beta.iso
+ LIVECDLABEL='LinuxMCE 10.04 Live CD'
+ CDBOOTTYPE=ISOLINUX
+ LIVECDURL=http://www.linuxmce.org
+ IMAGEFILE=1004
+ VERSION=10
+ ARCH=i386
+ mount -o loop 1004 1004-dd.LjUhOEiJFv
1004: No such file or directory
dcerouter_1024804:~/new-installer/lmcemaster#
Title: Re: Findings while working on alternative install DVD...
Post by: posde on March 09, 2012, 04:56:24 pm
you need http://svn.linuxmce.org/svn/people/posde/image.sh
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 25, 2012, 12:53:19 pm
Latest Shapshot works great!!!!!!

After downloading the iso, installed from it. about 40mb or so downloads. (assuming it restricted packages)
Then after Sarah another 100mb or so.

Wel that is a huge improvement from downloading an 3-4Gb iso and then while installing another 3gb or so was downloaded.....

Testing the MD part, but my AV-Wizard seems to be going into a loop.......
The MD gets to the point of the AV-wizard. choose resolution and Audio outputs. Then after that it seems to be continiuing booting, but then the AV-wizard starts again.....

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: bongowongo on March 25, 2012, 01:46:17 pm
Latest Shapshot works great!!!!!!

After downloading the iso, installed from it. about 40mb or so downloads. (assuming it restricted packages)
Then after Sarah another 100mb or so.

Wel that is a huge improvement from downloading an 3-4Gb iso and then while installing another 3gb or so was downloaded.....

Testing the MD part, but my AV-Wizard seems to be going into a loop.......
The MD gets to the point of the AV-wizard. choose resolution and Audio outputs. Then after that it seems to be continiuing booting, but then the AV-wizard starts again.....

Karel

Which iso did you install?
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 25, 2012, 02:22:53 pm
LMCE-1004-201203211118.iso
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 26, 2012, 08:25:39 am
avwiz should not be looping still.

Dragon K, can you update pluto-boot-scripts please and see if that fixes your problem (on core and MD)

Thanks
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 27, 2012, 12:49:39 am
Can anyone who has ANY snapshot install confirm they are missing /etc/dhpc3/dhpc.conf ?

I expect most only have a hooks file... this means dhcp is not working. I have a fix, I just need to confirm that this is more than just... me.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 27, 2012, 08:20:05 am
Im using LMCE-1004-201203211118.iso

And I have a  /etc/dhpc3/dhcp.conf

Karel

Edit:: Typo
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 27, 2012, 02:51:56 pm
Interesting... well... I tried to fix something that isn't broken then... it is probably just my vm receiving dhcp from outside that breaks mine. If you can spare the bandwidth and the time, a new snapshot should come out sometime today. If you wanted to test it that would be groovy...

I have also added a headless install option.
(http://oi43.tinypic.com/24greab.jpg)
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 27, 2012, 03:52:53 pm
I copied the line "/etc/dhpc3/dhpc.conf ?" from your post. and after reading it now, i realized dhcp was spelled incorrectly.
Was it just a typo in your post or were you looking for dhpc.conf instead of dhcp.conf?

Will have a look tomorrow if I can download it.

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 27, 2012, 11:04:38 pm
No sorry it was a typo... dhcp.conf

and thanks :)
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on March 28, 2012, 10:44:58 am
ATm Latest snapshot is LMCE-1004-201203252247.iso

Thats not the one you want me to test?
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on March 28, 2012, 06:16:44 pm
No... other code is preventing fluffy from building properly and creating a new snap. When that is resolved, a new snap will arrive... I have no timeline.
Title: Re: Findings while working on alternative install DVD...
Post by: PreDeToR_ on April 02, 2012, 04:11:02 pm
Hi l3mce

How much work would it be to make this a bootable USB image?

Im sure most people are running systems with a USB port, which will allow us to install even quicker?

Title: Re: Findings while working on alternative install DVD...
Post by: posde on April 02, 2012, 06:57:41 pm
Try the usb-creator-gtk and let us know how good it works out.
Title: Re: Findings while working on alternative install DVD...
Post by: Kramden on April 03, 2012, 12:49:02 am
I have used 8.10 for some time and decided to try 10.04. Clean installed from 201203211118 and built first MD. On creation of second MD at reboot PXE reported no offers. Dhcp had died. Reinstalled from same disk and dhcp did not work. Installed from 201203300106 . No dhcp. dhcp.conf is missing. 
Title: Re: Findings while working on alternative install DVD...
Post by: PreDeToR_ on April 03, 2012, 09:33:07 am
Try the usb-creator-gtk and let us know how good it works out.

Thanks posde,
My new hardware should be arriving in the next week or two, then I will be able to do some tests on the new installer
and system :)

Cant wait, I'm really excited to do an upgrade, with the new system I also wanna start using the home automation
Title: Re: Findings while working on alternative install DVD...
Post by: posde on April 03, 2012, 04:31:42 pm
I have used 8.10 for some time and decided to try 10.04. Clean installed from 201203211118 and built first MD. On creation of second MD at reboot PXE reported no offers. Dhcp had died. Reinstalled from same disk and dhcp did not work. Installed from 201203300106 . No dhcp. dhcp.conf is missing. 

Did you open a trac ticket about this?
Title: Re: Findings while working on alternative install DVD...
Post by: Kramden on April 03, 2012, 08:54:57 pm
I have now. I thank all of you for your work on this project. I can offer little coding help as the last program I wrote was in FORTRAN and ran from punch cards on an IBM 1170. But I can try installing from snapshots from time to time. I have reverted to 8.10 for now. Thank you again for LMCE.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 05, 2012, 04:44:44 am
I am aware of the dhcp problem. It is a big one atm. I am working on figuring out what is breaking it.
Thank you for creating a ticket.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 06, 2012, 05:49:15 pm
Going forward http://linuxmce.iptp.org/snapshots/LinuxMCE-1004-latest-snapshot-i386.iso will be what you want to grab at any given time.

I feel strongly that the current one will have very positive results should anyone wish to test.
Title: Re: Findings while working on alternative install DVD...
Post by: posde on April 06, 2012, 07:45:15 pm
Even though the latest is always the latest, try at least to note someplace what your version is. You can find out using dpkg -l pluto-dcerouter - the last 5 digits of the version number indicate the svn revision.
Title: Re: Findings while working on alternative install DVD...
Post by: gtsupport on April 06, 2012, 10:30:10 pm
I'm trying the latest snapshot which ends in 25824 and have no dhcpd.conf file. I have also tried the previous snapshot, and also the web install, all have the same problem. Am trying to manually write a dhcpd.conf file, not as easy as I was hoping!

Matt
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 06, 2012, 11:00:52 pm
You shut your mouth.


er...

I believe (read "hope") you have the version prior to most current, which I just worked out this morning. The most recent snapshot which works without this issue SHOULD be http://linuxmce.iptp.org/snapshots/LMCE-1004-20120407002125844.iso
Give that a try.

*was trying to be funny... don't take that the wrong way

as per possy's post... outside of today, latest does not necessarily mean best or even stable. Until it is tested we will not know. Typically you should look at the snapshot wiki for the BEST version to run. I simply fixed a big problem (I believe) this morning with all snapshots, making all options workable. Snapshots are created when new builds happen, even if my snapshot code is not stable. Be forewarned.

Looking back I would expect that version you had to have dhcp. To be clear... You have 2 nics, yes? and you did not interrupt the install process, or the two boots after the install...
Title: Re: Findings while working on alternative install DVD...
Post by: gtsupport on April 10, 2012, 02:14:24 pm
Hi,
First things first, yes I have 2 NICs and no I didn't interrupt the install process at all.  Could it be due to the fact that with 8.10 my machine didn't like the R8169 module, and I had to blacklist it??  Seems like there is some kind of problem with the DHCP3 server.  The crazy thing is that when I first switched over to 1004, then I didn't have to change anything, and the system worked fine with both NICs, has done since around Oct/Nov last year.  I've been away for a couple of months at the start of this year, came back and did the old apt-get update/upgrade to keep up to date and now I can't seem to get a working system with 1004.

Anyway, back to the snapshot testing, I have tried several times to download newer shapshots over the last couple of days, today I just tried the newest one 201204092213 and found that after the install and first reboot, it hangs at:-
ssh start/running, process 2396                                              OK

It waits there indefinitely.  I'm happy to send you any logs if you need them.  For now I'm going to try reverting back to 8.10 to keep the family happy, but have partitioned the HDD so can keep trying snapshots of 1004 late at night until it works.

Matt.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 10, 2012, 07:42:50 pm
I have been working to fix new errors I created fixing others. You aren't alone in your frustration with the snapshots. The one created this morning works correctly except for one tiny little bug. When avwizard starts the first time, it provides an xorg.conf, so switching outputs (pressing 1, or 3 or whatever) doesn't stick. I hope to have that little bug fixed today. Thank you very much for your persistence. If you want to test the new one, everything should work well, save that you will have to drop to a terminal and kill that xorg.conf before switching/continuing so as to not have auto-generated values overriding your settings.
http://linuxmce.iptp.org/snapshots/LMCE-1004-20120410150425862.iso
Title: Re: Findings while working on alternative install DVD...
Post by: coley on April 24, 2012, 01:06:34 pm
I've been following along here and decided to download the most recent snap LMCE-1004-20120423001425928.iso
I tried loading it in Virtualbox as I wanted to try out a headless core install.
I get an error
Code: [Select]
Can not mount /dev/loop0 (/cdrom/casper/filesystem.squashfs) on //filesystem.squashfsthen dumped into busybox.
Is this image a dud or can I give you any info from it to help resolve the issue?

-Coley.
Title: Re: Findings while working on alternative install DVD...
Post by: posde on April 25, 2012, 12:54:39 pm
It's b0rken - LMCE-1004-20120423221925928.iso should work better.
Title: Re: Findings while working on alternative install DVD...
Post by: coley on April 25, 2012, 01:09:41 pm
It's b0rken - LMCE-1004-20120423221925928.iso should work better.
I don't see that up there under /snapshots/ yet, is there an eta?

thx
-Coley.
Title: Re: Findings while working on alternative install DVD...
Post by: posde on April 25, 2012, 02:01:04 pm
It was manually build, and not moved to the output directory that gets moved to iptp every few hours. Wait a bit and it should appear.
Title: Re: Findings while working on alternative install DVD...
Post by: coley on April 27, 2012, 03:51:01 pm
Ok there seem to be  afew threads knocking about with people testing the snaps.
L3mce - do you have a preference on which one to report findings?

Tried the latest snap - headless core.
Installs fine but MD boot fails.
We get an IP addr and pxe booting starts, but it fails to find a config file, either under its MAC addr or a default one.

Can I provide any more info?

I'll try a hybrid install on another VM and see if it operates differently.

-Coley.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on April 29, 2012, 02:07:01 am
I will wait on hybrid results.

Core only install works very different than anything prior. The MD stuff has always been installed by default, and then a tiny one character change has been made to the pluto.conf file to produce a core only system. I no longer create various tables in the DB for the core, and a lot of things simply aren't installed, and if this behavior is daughtered to MDs, then it is no wonder that they fail (w regard to package installs only). So I am very curious if you CAN install a hybrid and MD's just magically work, whether or not I can address those issues, or cheat and setup a headless to support an md... I would prefer to do an actual core only install.
Title: Re: Findings while working on alternative install DVD...
Post by: coley on April 29, 2012, 04:14:20 pm
Ok hybrid install - MD still fails to boot.
there is no default dir under /tftpboot/
I'm guessing running Diskless_create_TBZ.sh would sort it all out but I think there is another thread where someone else also had probs getting an MD to boot with snap one itreration later than this.

-Coley.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on May 01, 2012, 01:29:58 am
Ok hybrid install - MD still fails to boot.
there is no default dir under /tftpboot/
I'm guessing running Diskless_create_TBZ.sh would sort it all out but I think there is another thread where someone else also had probs getting an MD to boot with snap one itreration later than this.

-Coley.

Interesting. This was all previously working. I will do some testing tonight on my end, and talk with the big guy about whats going on if my results are different. I believe you are correct however, had another user do an install this morning with the same results... and yes TBZ will almost certainly fix it, but the idea is to avoid that ;)

Thanks so much for the feedback.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on May 01, 2012, 11:11:15 am
Hi,

Snapshot LMCE-1004-20120425171925932.

Hybrid Core + MD Install
Core has a Nvidia GT220
MD is a Zotac MAG HD-ND01

Installed fine. Only thing that I had to do is run Diskless_create_TBZ.sh

Atm core and MD are connected to LCD screens via the Dsub port. Going to connect to Via HDMI now.
Holding thumbs for Zotac to get HDMI Video and Audio.

Karel

Then X10 and 1-wire to be tested.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on May 01, 2012, 03:25:00 pm
For the life of me.... I cant get the Avwizard to start on the core
Or md, so that I can change the outputs to hdmi.

Pressing the shift key while booting
From the orbiter under advanced Video Res & Audio setup
From the cli running RebootWithAVWizard.sh

None of these work... Any ideas?
Title: Re: Findings while working on alternative install DVD...
Post by: coley on May 02, 2012, 02:56:46 pm
tested http://linuxmce.iptp.org/snapshots/LMCE-1004-20120429132625935.iso VM hybrid and headless installs.
Neither have a correctly populated /tftpboot/  :(

I'll check if I have an older iso snap and see how that gets on.

-Coley.

btw recommended snap on wiki no longer exists - is there a currently recommended snap? I can update.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on May 02, 2012, 07:42:49 pm
For the life of me.... I cant get the Avwizard to start on the core
Or md, so that I can change the outputs to hdmi.

Pressing the shift key while booting
From the orbiter under advanced Video Res & Audio setup
From the cli running RebootWithAVWizard.sh

None of these work... Any ideas?

Yes. I made a big booboo.

In /usr/pluto/bin/Utils.sh  in the CheckVideoDriver function, when the correct video driver is matched there is an exit 0. Remove that. It is exiting both Utils.sh and a0start_avwizard.

Sorry.
Title: Re: Findings while working on alternative install DVD...
Post by: DragonK on May 03, 2012, 08:24:53 am
Thanx L3mce,

Will give that a try Tonight when I get home.

Karel
Title: Re: Findings while working on alternative install DVD...
Post by: coley on May 05, 2012, 01:42:02 pm
following on from IRC Q - /tftpboot/ on last few snapshots doesn't have the default image.
Although I see the latest snapshot has suddenly grown in size LMCE-1004-201205050910.iso
I'll give that a whirl later on and see how I get on.

-Coley.
Title: Re: Findings while working on alternative install DVD...
Post by: l3mce on May 06, 2012, 06:59:35 pm
Diskless has been fixed... so I don't miss anything, please put any further tests/problems over here: http://forum.linuxmce.org/index.php/topic,12520.0.html

Thanks again to all you guys for your help.
Title: Re: Findings while working on alternative install DVD...
Post by: coley on May 09, 2012, 04:21:58 pm
Thanks for that, headless and hybrid VM installs worked.

-Coley.