It is currently Thu Mar 23, 2017 4:13 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 31 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 9:33 am 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
Note (1)
This is a bug report, not a request for help.

Note (2)
I have been able to create working ISO's from MX with no problems.

Test 1 - 32 bit on Thinkpad T23:
This install had a number of additional programs installed, and was customised WRT appearance. The ISO was created without any changes to the default options. It was larger than would fit on a CD, and the machine only has a CD optical drive, so the ISO was transferred to another machine for creation.
The resultant disk was then tried in both the original (T23) laptop, and in a Thinkpad T41. In each case it failed to boot, stopping around the time that 'X' would normally appear.
The process was repeated. It was noted this time that when the media creation was finished, the burning program (K3B) reported it had burnt 783 of 851MiB. I have never seen this before! The second DVD failed in the same way as the first.

Test 2 - 64 bit on desktop with Core i5 CPU:
This install was only altered from OOTB by the addition of Firefox, and updated to current. An ISO was created again using all defaults. It was burnt from within the antiX install. Nothing untoward was reported. A boot from the created media was attempted on the machine from which it was created, and it failed in the same way.
With the machine stalled, using Ctrl-Alt_F1 to a console showed that the last message on-screen was:

Code:
antix16b5 login: / etc/rc.local: 30: / etc/rc.local: boot-log: not found


Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 12:53 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
make sure you have all the latest updates from antiX repos before you use the snapshot.
rc.local in etc should basically only have this
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

exit 0

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 12:55 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
The live rc.local in a snapshot should look something like this
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

restore=/live/ etc/init.d/live-restore-services

[ -x $restore ] && $restore start

# Add a background image to every virtual console if the splash
# boot parameter was given
/sbin/splash-all --auto

# Enable fstab auto-stuff after udev has run
fstab_rules=/live/ etc/udev/rules.d/90-fstab-automount.rules
test -e /live/config/fstab-hotplug \
    && test -e $fstab_rules && cp $fstab_rules / etc/udev/rules.d/

# Detect and set up correct broadcom
/usr/local/bin/BroadcomStartup

exit 0


Maybe the latest hasn't hit the repos yet.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 2:26 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
I did an apt-get upgrade before I started, and the second one was this am.

I will check the contents of those files.

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 2:40 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
anticapitalista wrote:
make sure you have all the latest updates from antiX repos before you use the snapshot.
rc.local in etc should basically only have this
Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

exit 0


rc.local on both 32 and 64 bit installs is this:

Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

restore=/live/ etc/init.d/live-restore-services

[ -x $restore ] && $restore start

# Add a background image to every virtual console if the splash
# boot parameter was given
/sbin/splash-all --auto

# Enable fstab auto-stuff after udev has run
fstab_rules=/live/ etc/udev/rules.d/90-fstab-automount.rules
test -e /live/config/fstab-hotplug \
    && test -e $fstab_rules && cp $fstab_rules / etc/udev/rules.d/

# Detect and set up correct broadcom
/usr/local/bin/BroadcomStartup

test -d /root/LiveUSB-Storage && which boot-log &>/dev/null \
    && (sleep 10 && boot-log) &

exit 0


Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 4:35 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
That second one is for the live set up.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 5:50 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
anticapitalista wrote:
That second one is for the live set up.


It was copied and pasted from an install, definitely not live, and the identical file exists on the other install.

Would that be the reason the snapshot failed? If so, I will do a fresh install, then see what rc.local contains.

Perhaps someone else could try to create a working snapshot?

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 6:52 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
There was an upgrade of rc.local via apt and you probably answered yes instead of no.
I'm making a snapshot and will see how it goes,

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 7:19 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
anticapitalista wrote:
There was an upgrade of rc.local via apt and you probably answered yes instead of no.

Yes, I did. Was that change needed for some reason? Perhaps it needs reappraising?

In the meantime, a fresh install of the 64 bit leaves etc/rc.local with just the exit 0 command.

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Tue Jun 07, 2016 11:42 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
I made a snapshot (in VBox) of latest (not released pre-RC1 with various changes to b5) upgraded to Debian Testing. The resultant iso booted just fine to desktop again in VB.

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Wed Jun 08, 2016 8:21 am 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
Should/will there be any steps taken to prevent someone else doing this? If someone did, is the situation recoverable?

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Wed Jun 08, 2016 3:02 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
The change to rc.local during updates is not the cause of the failed snapshot ISO's I am experiencing.

I did a fresh install of 32 bit. I checked rc.local only contained the 'exit 0' line. I updated, being careful to keep the original rc.local configuration. I re-booted, and again checked rc.local hadn't changed.

I then created a snapshot ISO. When I tried this both in the original machine, and another, it failed in exactly the same way I reported earlier.

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Wed Jun 08, 2016 4:28 pm 
Offline
User avatar

Joined: Sun Dec 16, 2007 4:49 pm
Posts: 2105
chris, could you clarify whether you used a DVD or a CD as the media. You mentioned that the T23 only has a cd drive, so that's why I'm asking.

_________________
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 15 32 bit (streaming media player)
sony laptop amd 900mhz duran 512mb ram, antix 13 32-bit
lenovo s21e - 2gb ram, celeron - antiX-16 64 bit


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Wed Jun 08, 2016 5:36 pm 
Offline

Joined: Thu Apr 21, 2011 9:13 am
Posts: 131
Location: Berkshire, UK
dolphin_oracle wrote:
chris, could you clarify whether you used a DVD or a CD as the media. You mentioned that the T23 only has a cd drive, so that's why I'm asking.


The T23 has a combination drive; it reads and writes CD's, but the DVD is read only.

I created the snapshot on the T23. Because I had added a few things it wouldn't fit on a CD, so I transferred the snapshot folder to another machine and created a DVD with it there.

During the tests I have been doing on this, I installed (64 bit) onto the desktop in my sig, and created a snapshot on it. I burnt the ISO to a DVD using that machine’s drive. It also failed to boot, with the identical error message.

Chris


Top
 Profile  
 
 Post subject: Re: antiX16-b5 iso-snapshot report
PostPosted: Wed Jun 08, 2016 9:48 pm 
Offline
Site Admin
User avatar

Joined: Tue Sep 11, 2007 4:55 pm
Posts: 5755
Location: Greece
Look in /usr/local/share/live-files/files/ etc/rc.local

It should look like this.
[code]
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#

restore=/live/ etc/init.d/live-restore-services

[ -x $restore ] && $restore start

# Add a background image to every virtual console if the splash
# boot parameter was given
/sbin/splash-all --auto

# Enable fstab auto-stuff after udev has run
fstab_rules=/live/ etc/udev/rules.d/90-fstab-automount.rules
test -e /live/config/fstab-hotplug \
&& test -e $fstab_rules && cp $fstab_rules / etc/ udev/rules.d/

# Detect and set up correct broadcom
/usr/local/bin/BroadcomStartup

exit 0
[code]

BTW is the snapshot Personal or system? My success was with Personal

_________________
Philosophers have interpreted the world in many ways; the point is to change it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 31 posts ]  Go to page 1, 2, 3  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred