Remastersys and AVLinux Forum
May 24, 2013, 09:11:20 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Remastersys depends on user donations to survive.  Please help keep Remastersys going.

http://www.remastersys.com
 
   Home   Remastersys Home Remastersys downloads Donate Login Register AV LINUX Home Help Search  
Pages: [1]
  Print  
Author Topic: Problem installing from custom Xubuntu 12.04 iso  (Read 2305 times)
0 Members and 1 Guest are viewing this topic.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« on: July 31, 2012, 01:39:16 PM »

Hi,
I am a developer of the OSGeoLive project http://live.osgeo.org/en/index.html

We are using remastersys to create our iso based on a custom VM installation of Xubuntu.
http://wiki.osgeo.org/wiki/Live_GIS_Build
For the upcoming version of our system we moved to Xubuntu 12.04 and we now use remastersys 3.0.x.

The problem:
After trying all methods (dist, dist without auto-login and backup) we can boot the iso and we are able to install the system from the iso. But during first boot (from all methods) we are getting this failure:

https://trac.osgeo.org/osgeo/attachment/ticket/974/iso-installation-error1.jpeg
https://trac.osgeo.org/osgeo/attachment/ticket/974/iso-installation-error2.jpeg
https://trac.osgeo.org/osgeo/attachment/ticket/974/iso-installation-error3.jpeg

Any ideas why this is happening?

The logs from the iso builds are here:

http://aiolos.survey.ntua.gr/owncloud/public.php?service=files&token=bb0db786bcc3d1b99693df4b8e5d7f2c4bdb5349&file=/build_iso-mini-dist.log

http://aiolos.survey.ntua.gr/owncloud/public.php?service=files&token=b3fc0e14ec506cd1f791aa4240b7a8462567be68&file=/build_iso-mini-backup.log

Regards,
Angelos
Logged
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #1 on: July 31, 2012, 02:51:33 PM »

The same messages appear when live system starts but after a few seconds the system starts without problem...
Logged
RevLinux
Administrator
Hero Member
*****
Offline Offline

Posts: 219


Ridin' the bit stream.... Cowabunga!


WWW
« Reply #2 on: July 31, 2012, 05:20:44 PM »

Did anyone manually edit fstab or mtab?
It looks like a mounting issue with a drive.

Perhaps fstab or mtab copied from a different system to another?
Logged

Join the Linux Revolution!
http://www.revlinuxos.com
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #3 on: July 31, 2012, 08:06:03 PM »

No there was not any change to fstab or mtab.
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #4 on: July 31, 2012, 08:39:41 PM »

I need to see the remastersys.log
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #5 on: July 31, 2012, 09:43:36 PM »

Hello,

This is the remastersys log file:
http://aiolos.survey.ntua.gr/gisvm/6.0/remastersys.log

Thanks,
Angelos
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #6 on: July 31, 2012, 10:42:52 PM »

You have a lot of stuff on the iso.

On your system where you built this, show me the output of the following command:

sudo grep -R "7a421a2f" /

It will take a long time to run as it searches what file contains the uuid.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #7 on: August 01, 2012, 04:27:11 AM »

I executed the command and I got this loop error:

grep: warning: /sys/devices/platform/reg-dummy/subsystem/devices/i8042/serio0/subsystem/devices/serio1/input/input4/subsystem/input0/device/subsystem/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/physical_node/subsystem/devices/0000:00:01.1/host1/subsystem/devices/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0/subsystem/0:0:0:0/device/block/sda/sda5/subsystem/ram11/bdi/subsystem/1:10/subsystem: recursive directory loop
grep: /sys/devices/platform/reg-dummy/subsystem/devices/i8042/serio0/subsystem/devices/serio1/input/input4/subsystem/input0/device/subsystem/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/physical_node/subsystem/devices/0000:00:01.1/host1/subsystem/devices/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0/subsystem/0:0:0:0/device/block/sda/sda5/subsystem/ram11/bdi/subsystem/1:10/power/autosuspend_delay_ms: Input/output error
grep: warning: /sys/devices/platform/reg-dummy/subsystem/devices/i8042/serio0/subsystem/devices/serio1/input/input4/subsystem/input0/device/subsystem/devices/LNXSYSTM:00/device:00/PNP0A03:00/device:01/physical_node/subsystem/devices/0000:00:01.1/host1/subsystem/devices/host2/target2:0:0/2:0:0:0/bsg/2:0:0:0/subsystem/0:0:0:0/device/block/sda/sda5/subsystem/ram11/bdi/subsystem/1:11: recursive directory loop

Is there a way to exclude /sys?
Logged
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #8 on: August 01, 2012, 04:46:07 AM »

I tried
sudo grep -R "7a421a2f" / --exclude='(^/sys/*)'
but I still get this loop error
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #9 on: August 01, 2012, 08:19:40 AM »

Try this then:

sudo grep -R "7a421a2f" /var
sudo grep -R "7a421a2f" /usr
sudo grep -R "7a421a2f" /lib
sudo grep -R "7a421a2f" /etc

That should take care of what I need to see.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #10 on: August 01, 2012, 09:06:22 AM »


http://pastebin.com/ruQ6sVfD
http://pastebin.com/ipPysbFP

sudo grep -R "7a421a2f" /etc
grep: /etc/blkid.tab: No such file or directory

and the larger one:
http://aiolos.survey.ntua.gr/gisvm/dev/grep-usr.log

I also moved the remastersys.log here:
http://aiolos.survey.ntua.gr/gisvm/dev/remastersys.log

Thanks for your time.
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #11 on: August 01, 2012, 09:16:20 AM »

Everything looks normal except for the fact that gvfs is mounted in the lightdm /var/lib folder and by the lightdm user.  I believe this may be the cause since gvfs is responsible for mounting drives/filesystems.  How did it get mounted here?

I think you need to remove the gvfs mount from lightdm and remaster again.  This is the only thing I can see that is not as it should be.  gvfs is known to cause problems with the live and as far as I know, it should never be mounted under lightdm which is the login manager.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #12 on: August 01, 2012, 09:29:36 AM »

Thank you.

I will test this and report back.

Best regards,
Angelos
Logged
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #13 on: August 01, 2012, 02:28:58 PM »

Hi,

There was no way to remove .gvfs from /var/lib/lightdm. Even rm -rf with root did not work...
I observed that this folder goes away when I drop lightdm completely before building the iso.
So using "$sudo service lightdm stop" I tried again.
The problem persists after installation with the new iso. Live system is still good.

Have you seen this again in Xubuntu? Has this version of remastersys worked before with Xubuntu 12.04?

Angelos
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #14 on: August 01, 2012, 03:03:15 PM »

I've never seen that and I originally did my 12.04 testing on Xubuntu 12.04.  There has to be a way of stopping that.  There is no reason lightdm should have access to other filesystems or any need for that matter.  Have you checked on the Ubuntu forum or googled it?
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #15 on: August 02, 2012, 03:52:25 AM »

In the scripts we use, the xubuntu system gets dist-upgrade at some point.
Have you tested against the current updates? I am wondering if this is a Lightdm issue.

Do you believe that switching to gdm would solve this?

I searched for this issue and I haven't seen something similar...
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #16 on: August 02, 2012, 08:05:36 AM »

I know it is not a lightdm issue.  I used lightdm for all of my remasters including my ede one.

Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #17 on: August 02, 2012, 10:24:53 AM »

I tried the Ubuntu default method to produce an iso
https://help.ubuntu.com/community/LiveCDCustomization

After running the same scripts to install the software needed, I don't get the same error (but I get different trouble, about how to change the live session username).

I am not sure if this helps you understand this issue, I wonder what are the differences between remastersys and that method.
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #18 on: August 02, 2012, 12:11:09 PM »

You must have tried to make customizations as lightdm at some point.  Post all your lightdm config files.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #19 on: August 02, 2012, 01:32:52 PM »

Can this be a reason for this failure?

https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/build_iso.sh
check lines 168-172
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #20 on: August 02, 2012, 02:19:44 PM »

It is possible depending on what gets removed.

I don't ever recall seeing gvfs mounted under a login manager before on any system and there is no need for it.  Perhaps you have some sort of pointer using the lightdm user or something.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #21 on: August 02, 2012, 02:27:33 PM »

I have made another test:

I installed a fresh Xubuntu 12.04.
I installed subversion, checked out osgeolive code, installed only one application (mapserver) and then run the above script (with those lines commented out).

The result: and unbootable iso. VirtualBox hangs and ISOLINUX is frozen at $boot:

I will find and post the log.
Logged
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #22 on: August 02, 2012, 02:51:26 PM »

This is the log file:

http://aiolos.survey.ntua.gr/owncloud/public.php?service=files&token=fddea44fa3cc2db2b9d400f30123ab3b1fa22a9f&file=/remastersys.log

Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #23 on: August 02, 2012, 03:04:49 PM »

Please check this sticky

http://www.remastersys.com/forums/index.php?topic=2414.0

Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
kalxas
Jr. Member
**
Offline Offline

Posts: 15


« Reply #24 on: August 02, 2012, 03:29:51 PM »

This was a clean installation of Xubuntu, no guest additions (except if they are installed automatically somehow)
Logged
fragadelic
Administrator
Hero Member
*****
Offline Offline

Posts: 3920


Remastersys Developer and Founder


WWW
« Reply #25 on: August 02, 2012, 03:51:17 PM »

Boot this one with removing quiet, nosplash, break=bottom and debug - check the casper.log and see why.
Logged

Please attach your remastersys.log for the system you are asking for help on as it helps me assist you much quicker.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!