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 Fri 28 Nov 2014, 15:38
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to switch kernels between Puppy versions
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 7 [97 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Thu 08 Aug 2013, 07:14    Post subject:  

I put the slax 6 kernel on puppy 4.12. Works nicely though those analogue modems can be a problem as puppy has some script jiggling to implement the drivers...ie such a modem is detected (or not...it always wants to load slmodem cos there is an Intel sound card!!!!), that unpacks driver, binary, init script, firmware ...in theory a change of kernel should not affect this but its one to watch out for (new kernel may not include needed driver for example). Or in my case I have a router so quietly ignore any potential issues as I cannot test it Very Happy

Also watch for kernel changes... eg splitting up the usbhid drivers forced a major hack in the initrd. Plus /sys and /proc locations get moved around so may upset scripts.

top tips from top tip land

mike
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Thu 08 Aug 2013, 07:20    Post subject:  

Ya Lucid is a fantastic pup. Only problem is that I can't record from the Audio Line-In on my iMac because the kernel doesn't support it. The kernel in Precise 5.7 does so I think I will play around and see if I can get 5.2.8 working with the Precise 5.7 kernel.
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 924
Location: Ottawa Ontario Canada

PostPosted: Mon 12 Aug 2013, 12:06    Post subject: Re: How to switch kernels between Puppy versions
Subject description: Taking the kernel from wary-060 and putting it in lupu-511
 

jrb wrote:




Open Edit-SFS from the Utility menu.

1. Extract lupu-511.sfs from lupu-511.iso. Click on the .iso and when it opens in rox drag lupu-511.sfs to the edit-sfs window.

2. When the edit window opens up delete /etc/modules/, /lib/modules/ and /lib/firmware/.

3. Click on wary-060.iso. Click on wary-060.sfs to mount it. Drag /etc/modules/, /lib/modules/ and /lib/firmware/ from wary-060.sfs into the edit window and copy them in. (Make sure they end up in the right place!) Wink

Build the new lupu-511.sfs.




In my case, I am trying to upgrade the kernel in puppy 528 with the one in precise 5.7.1.

I am stuck on step 3. I have the precise iso on my desktop, I click on it to open but when I click on the puppy_precise_5.7.1.sfs file, it doesn't mount. I get a failed mounting or unmounting error. What am I doing wrong?
Back to top
View user's profile Send private message Visit poster's website 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Mon 12 Aug 2013, 12:44    Post subject:  

Quote:
I am stuck on step 3. I have the precise iso on my desktop, I click on it to open but when I click on the puppy_precise_5.7.1.sfs file, it doesn't mount. I get a failed mounting or unmounting error. What am I doing wrong?
change in squashfs version/format at a guess...its not generally backward compatible.

My technique is usually to build a tree of the files then make an sfs of it in the target version... that way it can be tested and tweaked assuming you get puppy to load it at boot. (set in boot manager then point to new kernel/initrd in boot menu at a guess)

mike
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Mon 12 Aug 2013, 14:06    Post subject:  

It may be not the squashfs version, but the type of squashfs compression ( gz or xz ) .

The kernel should support squashfs xz compressed since version 2.6.38 .

Lupu default kernel is version 2.6.33.2 and THD I think 2.6.37.6 -- both would not support xz-squash .
Back to top
View user's profile Send private message Visit poster's website 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Mon 12 Aug 2013, 14:37    Post subject:  

http://www.murga-linux.com/puppy/viewtopic.php?t=67123

Would this be useful for kernel switching ?
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3361
Location: Mer méditerrannée (1 kms°)

PostPosted: Wed 25 Sep 2013, 23:45    Post subject: what about savefile ?
Subject description: Luci to Racy
 

Luci to Racy : the whole process runs fine, I enjoy that !
the only problem is the save file : saved in lucisave, but not found at reboot by Racy, sorry Lucid.
AaaaH, just the little thing that is wrong. Could you help ? Merci.

One hour later : I Change savefilename from lucisave to racysave in sda2 and that is ok ! i will confirm at shutdown . Nice, very nice.
And the distro reboots on the racysave. I added the necessary flasplayer, you tube shows me the movies with the sound. Racy has provided the adequate drivers. But all that is wonderfull.

If you dont want to run frugal install, type puppy pdev1=sdb1 (or other) to run distro from yr usb stick.

FYI Lucid couldnt connect wireless on my computer. Racy does.

Last edited by Pelo on Fri 04 Oct 2013, 02:58; edited 3 times in total
Back to top
View user's profile Send private message Yahoo Messenger 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Thu 26 Sep 2013, 06:06    Post subject:  

Quote:
FYI Lucid couldnt connect wireless on my computer. Racy does.

It did not have a suitable driver you mean.. its relatively easy to build them Very Happy. Replacing a whole kernel for the sake of one driver is part of linux madness ...

But who cares Very Happy

mike
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3361
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 26 Sep 2013, 12:07    Post subject: Wireless driver  

Wireless driver : can you tell us more about that ? I have been searching for ... years (3, 4 years).
Very happy that switching kernels solve the problem. But you are right, it's not the easiest way, sure.
Back to top
View user's profile Send private message Yahoo Messenger 
mikeb


Joined: 23 Nov 2006
Posts: 8715

PostPosted: Thu 26 Sep 2013, 17:53    Post subject:  

Hi pelo...

sorry not aimed at you really...
for you it should have been a case of you posting your wifi card details and a driver being built for you....but thats really out of the scope of this thread.
But perhaps if you encounter a similar problem in the future then you may find an easier path..

Driver sources are usually found at the manufacturers site if they support linux well.. eg ralink...then a devx file and kernel sources for the particular puppy..... it actually takes more time to gather the files than actually build the driver... and if you are not confident there should be someone around who is able to help you here.

regards

mike
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3361
Location: Mer méditerrannée (1 kms°)

PostPosted: Sun 29 Sep 2013, 02:53    Post subject: Kernel switching : 2nd method
Subject description: from Lupu 528 to Racy 5.3
 

Here above i thank you for frugal install of a Luci-005 ( iso remasterized with Racy 5.3).

I want to go one step forward by using the second method with lupu 528 (spanish nite flux box) installed on USB stick.
Unfortunately i have no more wireless connection and sound than with the original Lupu.
Kernel 3.0.25 well installed. But no kernel modules listed in hardinfo hardware info
Distro spec are lupu's ones.
FYI intel chipset 1048086 not recognized by 915 resolution : could this explain that ?
Strange : sda3 is mounted (my HD linux partition). I am still with frugal install ?
2nd info : pupsave size : 1MB ?!!! solved by using pet pupsaveconfig 2.2.2
Back to top
View user's profile Send private message Yahoo Messenger 
Pelo


Joined: 10 Sep 2011
Posts: 3361
Location: Mer méditerrannée (1 kms°)

PostPosted: Mon 30 Sep 2013, 13:39    Post subject: Lucid 528 nite Fluxbox kernelized 3.0.25 Racy
Subject description: Distro now works fine with wireless and sound
 

Distro now works fine with wireless and sound. I have only burn the iso on the usb stick via puppy univeral installer. All is fine, even the savefiles ( reboot well loads the pupsave found in the USB stick.
Kernel is 3.0.25 (Racy 5.3).
Ah, the creator has issued a nite fluxbox based on Precise... zut !
But now, i know how to proceed.
Back to top
View user's profile Send private message Yahoo Messenger 
Mercedes350se

Joined: 16 Apr 2008
Posts: 653

PostPosted: Sun 20 Oct 2013, 20:43    Post subject:  

I want puppy 3.01 with the kernel from 4.1.2.

I copied the 301 files, except the pup_301.sfs and the zdrv_301.sfs, to the puppy301 folder on partition 2.

I copied the pup_412.sfs into the same folder and renamed it to pup_301.sfs.

Amended the menu.lst to suit.

Tried to boot but get a message saying that pup_301.sfs cannot be found.

Looked inside the renamed pup_301.sfs and amended, in two files, 412 to 301.

Rebooted but get the same message. What do I need to do?
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1783

PostPosted: Mon 21 Oct 2013, 02:08    Post subject:  

There's much more to it than that; read jrb's initial post closely.
(I wouldn't try that combo anyway; too many differences.)
Back to top
View user's profile Send private message 
nic007

Joined: 13 Nov 2011
Posts: 754

PostPosted: Mon 21 Oct 2013, 12:55    Post subject:  

Okay. Switched the puppy 5390 kernel to puppy 412 and then converted to 4sfs. Everything works fine except for the timezone, date and time. Wouldn't accept/save the customized correct settings, keep on changing after every reboot. Any ideas to fix it? Settings appear to be incorrect in the base file.

Still looking for an answer to this. If I change the timezone at bootup the screen flickers and the correct time appears. Is there a script that can run at start-up to set the clock correct automatically? I'm at GMT +2. Thanks

Last edited by nic007 on Mon 04 Nov 2013, 06:34; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 7 [97 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0845s ][ Queries: 13 (0.0052s) ][ GZIP on ]