The time now is Tue 21 May 2013, 02:17
All times are UTC - 4 |
| Author |
Message |
tallboy

Joined: 21 Sep 2010 Posts: 343 Location: Oslo, Norway
|
Posted: Tue 14 Jun 2011, 22:43 Post subject:
|
|
| 'f00 wrote: | | @tallboy ..Oh yeah, that evil red RAMFULL towards the end of bootext? |
No, this happens very early in the boot process, I have described it in the thread Dpup: Squeezed Puppy 4.99.2 bug reports and feedback. I have had the same experience with other puppies too.
This is a sqzd4-99-2 multisession CD-R, containing only two small saves, and I wanted to prevent the latest from loading, using the 'puppy pfix=1' boot message.
Loading drivers needed to access disk drives.................................done
Folder 2011-06-11-03-19 marked bad.............................................done
Loading the 'puppy_sqzd_4.99.2.sfs' main file... copying to ram......done
Kernel panic - not syncing: Attempt to kill init!
And then everything freezes, nothing happens except for 'Caps lock' and 'Scroll lock' diodes start blinking on my keyboard, and I have to physically turn off the pc. I can boot sqzd_4.99.2 normally from the CD, without using any boot message, after starting the PC again. I haven't tried with option 'puppy pfix=ram', which prevent all saves from loading, it may act differently. I shall try it later and report back.
Tallboy.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9844 Location: Arizona USA
|
Posted: Tue 14 Jun 2011, 22:55 Post subject:
|
|
| tallboy wrote: | | Flash wrote: | | I do remember seeing a file or folder (seems to me it was a folder) where I could put the sessions I didn't want Puppy to boot, but it's been years. |
You mean /archive?... |
No, it isn't (wasn't) /Archive. Whatever it is, wouldn't isolinux have to find and read it while loading Puppy from the CD or DVD? I suppose that means it would probably be located in the root directory of the CD or DVD.
Maybe I could find out by booting a multisession Puppy DVD that I no longer use, entering puppy pfix=1 at the boot prompt, shut down saving to the DVD, then mount the DVD and see if there's a new file in its root directory, or look in the last saved session to see what changed.
|
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 343 Location: Oslo, Norway
|
Posted: Tue 14 Jun 2011, 23:03 Post subject:
|
|
Flash: Smart!
Update: Small correction, the CD going into kernel panic contained only one small save.
I did a new test, and everything froze using 'puppy pfix=1', but NOT when using 'puppy pfix=ram' !
Tallboy.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9844 Location: Arizona USA
|
Posted: Wed 15 Jun 2011, 23:37 Post subject:
|
|
The same thing happened to me when I tried to boot a multisession DVD which had only one session saved on it. You'd think Puppy would boot as if there were no saved sessions at all when you use pfix=1 with only one session saved on the DVD, but evidently not....
So I switched to a multisession DVD with many saved sessions on it, booting with puppy pfix=2 (choosing the 2 at random), then saving to the DVD and rebooting. What I found after mounting the DVD was a new hidden file on the DVD named .badfolders inside the latest saved session on the DVD, and a new hidden file named /.badfolders in Puppy's root directory. Inside .badfolders are the two sessions I blacklisted with the puppy pfix=2 boot option. I figured that if I replaced the two sessions in /.badfolders with any of the valid session(s) on the DVD and then shut down saving to the DVD, Puppy would skip the sessions I put in .badfolders when it boots, and that did indeed happen.
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2627 Location: Earth
|
Posted: Thu 16 Jun 2011, 13:49 Post subject:
|
|
| Flash wrote: | | T ... So I switched to a multisession DVD with many saved sessions on it, booting with puppy pfix=2 (choosing the 2 at random), then saving to the DVD and rebooting. What I found after mounting the DVD was a new hidden file on the DVD named .badfolders inside the latest saved session on the DVD, and a new hidden file named /.badfolders in Puppy's root directory. Inside .badfolders are the two sessions I blacklisted with the puppy pfix=2 boot option. I figured that if I replaced the two sessions in /.badfolders with any of the valid session(s) on the DVD and then shut down saving to the DVD, Puppy would skip the sessions I put in .badfolders when it boots, and that did indeed happen. | Thanks @Flash. Thats plausible. I think this implies that one can "dismiss" ANY prior session by simply adding it into the /.badfolders on the root filesystem and rebooting. It will then SKIP" the sessions you don't want.
Could you show a console log (or a script/screencast) method of how to do this? This would be extremely useful to us Live media users.
Thanks, again, for your testing and your finding!
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 343 Location: Oslo, Norway
|
Posted: Thu 16 Jun 2011, 22:21 Post subject:
|
|
Flash, what happens if you set bootmessage pfix=1 to the DVD with many saves on it?
It is a pity the construction don't work properly, and especially without having a dialog window informing of the situation, and asking if you want a .badfolders file written. I thought that only the boot process noted that file(s) should not be loaded, and that it was strictly for the running session only. I can see why we need such a function, to avoid loading the last saved file that may contain settings for another machine with a different cpu. It will be difficult to understand for someone not being aware of the fact that all modifications and settings in the file marked bad are gone, just because he/she saves again.
Isn't there a file describing which files that are saved in a normal session save? Then there is possibility to omit the .badfolders. That action also need a dialog window.
I still don't understand the reason for 'Kernel panic - not syncing: Attempt to kill init!'
Tallboy.
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9844 Location: Arizona USA
|
Posted: Fri 17 Jun 2011, 00:44 Post subject:
|
|
| tallboy wrote: | Flash, what happens if you set bootmessage pfix=1 to the DVD with many saves on it?
... |
If there's more than one saved session, Puppy skips the last saved session. If there's only one saved session, Puppy goes into a panic. I don't know why.
As for the rest of it, a bit of experimentation with a DVD+RW, followed by a period of contemplation, should clarify things.
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Sun 09 Dec 2012, 05:42 Post subject:
|
|
In my case, first, I am using a DVD +RW media and going multisession with Puppy Lucid 5.2.0.
I got most things settings done on the first boot with Pfix=ram and then doing a SAVE.
I then went back after finding my wifi was not supported to the extent of not showing up.
I used ndiswrapper and got everything set up and saved before saving back to the DVD.
But....
Upon a reboot, later after adding some SFS files, my network settings had disappeared.
I noticed the order the sessions were loaded was latest first and then older sessions in order.
So are the older sessions overwriting the network settings when loaded?
I currently have 4 sessions on the DVD so I assume to use the most current one and ignore the older 3 I would boot with "pfix=3" to get the others blacklisted.
And FYI, if one installs the latest version of sfs_load a right-click on an SFS file will offer to load it with a warning of it being experimental.
But I was able to load SFS files that way.
SFS_Load-on the fly will not see SFS files on the DVD though that I have in my /root/my-documents directory.
I have 4gigs of memory on the laptop so putting them in the session did not bother me.
I still have to try putting the SFS files in the root of the DVD not to be confused with /root to see if it messes up booting ability.
What I do not understand though is to why the sessions are loaded in reverse order of the dates.
If they were instead loaded in earliest to latest order, it seems like the changes one made to network settings would stick.
Currently, I have to go through the whole network setup process every time I boot the DVD.
|
|
Back to top
|
|
 |
Jasper

Joined: 25 Apr 2010 Posts: 869 Location: England
|
Posted: Sun 09 Dec 2012, 06:55 Post subject:
|
|
Hi 8-bit,
Your assumption is wrong, "puppy pfix=3" loses the latest 3
and retains the original of your four sessions. You can
confirm this by pressing F2 on boot and reading.
BarryK, and others, understand the multisession boot
order - and it works. Do not worry about the "experi-
mental" note either.
My regards
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9844 Location: Arizona USA
|
Posted: Sun 09 Dec 2012, 09:21 Post subject:
|
|
I wondered why multisession Puppy loads the sessions in counterintuitive order when it boots. A few years ago I actually modified a Puppy so it loaded the saved sessions first-to-latest. It made no difference. I posted my findings somewhere in this forum. Then someone who knows more than I do said that the reverse order was done on purpose. The upshot is, the way multisession Puppy combines them when it boots is indifferent to the order sessions are loaded.
|
|
Back to top
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3012 Location: Oregon
|
Posted: Sun 09 Dec 2012, 14:13 Post subject:
|
|
You have lost me on that one then.
That is to say if I have 4 sessions with say first, second, third, and fourth that using pfix=3 will blacklist second,third,and fourth using only first?
It would seem that the pfix=3 should instead use the fourth one and ignore first, second, and third.
IOW, how do I know that the earlier sessions when loaded are not overwriting my network settings that are contained in both the third and forth, but not the first and second?
As I had previously stated, I am using ndiswrapper, blacklisting eth0, and using a windows driver for my wifi.
It does work when I set it up. But the network settings I made are not being loaded from the fourth session.
I am shown as not having a network connection on booting and eth0 shows up as the only wifi interface.
Having to set up my network settings each time I boot is not something I should have to do!
And how, would one use just the fourth session while ignoring the first three in that case?
|
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 9844 Location: Arizona USA
|
Posted: Sun 09 Dec 2012, 14:34 Post subject:
|
|
Sorry, I was only talking about the order in which multisession Puppy loads the sessions when it boots without using the pfix option.
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2627 Location: Earth
|
Posted: Tue 11 Dec 2012, 17:54 Post subject:
|
|
Linux does not approach the use of the copy command in the same vane as Microsoft.
This is why it starts with the very last Savefile first; thus anything from older saved files will NOT overlay an existing (potentially newer) file in any of the folders.
In Microsoft, a copy operation would be done starting with the oldest to achieve the very same thing; thus it would overlay something from an older folder with the contents of the newer.
Hope you understanding the differences in copy operation across the OSes.
Here to help
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
Q5sys

Joined: 11 Dec 2008 Posts: 843
|
Posted: Thu 13 Dec 2012, 18:53 Post subject:
|
|
| gcmartin wrote: | Linux does not approach the use of the copy command in the same vane as Microsoft.
This is why it starts with the very last Savefile first; thus anything from older saved files will NOT overlay an existing (potentially newer) file in any of the folders.
In Microsoft, a copy operation would be done starting with the oldest to achieve the very same thing; thus it would overlay something from an older folder with the contents of the newer.
Hope you understanding the differences in copy operation across the OSes.
Here to help |
I think you are confusing the cp command with using a layered file system. Might want to go back and read up on that one.
_________________
My PC is for sale
|
|
Back to top
|
|
 |
gcmartin
Joined: 14 Oct 2005 Posts: 2627 Location: Earth
|
Posted: Fri 14 Dec 2012, 07:03 Post subject:
|
|
| Q5sys wrote: | | gcmartin wrote: | Linux does not approach the use of the copy command in the same vane as Microsoft.
This is why it starts with the very last Savefile first; thus anything from older saved files will NOT overlay an existing (potentially newer) file in any of the folders.
In Microsoft, a copy operation would be done starting with the oldest to achieve the very same thing; thus it would overlay something from an older folder with the contents of the newer.
Hope you understanding the differences in copy operation across the OSes.
Here to help |
I think you are confusing the cp command with using a layered file system. Might want to go back and read up on that one. | Have you looked at the file structure of the Save-session files on the Livemedia of 32bit PUPs? Could that be a clue of the command use?
_________________ Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
|
|
Back to top
|
|
 |
|
|
|
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 vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|