Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 21:31
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
[SOLVED] lupu528005 'switch root' kernel panic at combo-boot
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Thu 21 Jun 2012, 03:51    Post subject:  [SOLVED] lupu528005 'switch root' kernel panic at combo-boot
Subject description: Solved, but some issues remain...followup later
 

With 'combo-boot' I mean:
- Puppy is installed (frugal) on the harddisk
- there's a (remastered) liveCD in the drive bay
On boot from the CD, do nothing. Let Puppy start (no F2/pfix=ram). Puppy comes up with personal files and asks to choose one, e.g.:

0 none
1 sda1 lupusave.2fs
2 sda1 lupusave-1.2fs
3 sda1 /lupu52805/lupusave.2fs

Any choice results in a kernel panic when Puppy tries to perform a 'switch root' to the layered filesystem.
Next I fired up Puppy with pfix=ram and checked the lupusave files. I found that both sda1 lupusave-1.2fs and sda1 /lupu528005/lupusave.2fs were reported as being used by the system. Apparently, Puppy doesn't care, because it is running in RAM? However, a combo-boot leads to a kernel panic. I do not know what happens with a combo-boot and a full installed Puppy.
A boot from HD is no problem.

Last edited by linuph on Wed 27 Jun 2012, 10:49; edited 1 time in total
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5096
Location: Charleston S.C. USA

PostPosted: Fri 22 Jun 2012, 00:42    Post subject:  

To make sure you are using proper command.

To not use save file when booting a live Puppy CD:
boot option is puppy pfix=ram
Quote:
there's a (remastered) liveCD

Are any of these lupusave files made after booting with this CD for first time?
A save file made for the CD?
Is the remastered version of Lucid Puppy, on the CD, the same thing as the frugal install to the hard drive?

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Sat 23 Jun 2012, 22:36    Post subject:  

Thanks for your reply, bigpup.
I see this not so much as a problem. I know now what (not) to do. It is more an observation of "what happens if" driven by remaster problems (see my post [/http://murga-linux.com/puppy/viewtopic.php?t=79175].
In the above case, one can choose one of the alternative save files, or none. In the latter case Puppy should happily start up from CD without regard of any save file it has found. Except when there is a save file on the CD. It is then a liveCD. If there is no save file on the CD, it's an "installCD".
If a save file is chosen, a sanity check should be done if the save file suits the CD. If not, a message like "Incompatible save file" or the like should display. The user can then try again or cancel. There should not be a crash.

A correct fool-proof handling of save files would open the possibility of running the same, original distro with different setups on different computers with no need to remaster.

Can Windows or OSX do that? Nope. Puppy would be ideal....just my idea.
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3424
Location: West Lothian, Scotland, UK

PostPosted: Sun 24 Jun 2012, 04:39    Post subject:  

Is there an un-matched SFS file sitting beside a pupsave file that has been chosen?
Musn't be so.
Any SFS file sitting beside the pupsave must not be an imperfect match.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Sun 24 Jun 2012, 08:47    Post subject:  

These were the choices offered:

0 none
1 sda1 lupusave.2fs /mnt/home --> original liveCD
2 sda1 lupusave-1.2fs /mnt/home --> customized1
3 sda1 /lupu52805/lupusave.2fs /mnt/home/lupusave528005 customized2
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3424
Location: West Lothian, Scotland, UK

PostPosted: Sun 24 Jun 2012, 09:58    Post subject:  

Yes, but...

Did you ever copy the SFS file from the optical disk to sit [in the same folder] beside one or more of the 3 lupusave files?

If you did that, and then [for example, you] changed to using an updated version of the live Puppy optical disk, you have trouble.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Mon 25 Jun 2012, 23:17    Post subject:  

Good question.....I only used lupu5.2.8-005 on a freshly partitioned HD. I will try out again from a clean install....later.
Back to top
View user's profile Send private message 
linuph


Joined: 03 Jun 2012
Posts: 128
Location: Philippines

PostPosted: Wed 27 Jun 2012, 10:46    Post subject:  

It seems that my HD is dying...this could be/probably is why Puppy can't find save files and/or they are unreadable/corrupted. I will not further go into this untill I have e new HD. I consider it "solved" until then.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

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
[ Time: 0.0575s ][ Queries: 11 (0.0072s) ][ GZIP on ]