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 22 Oct 2014, 05:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
kernel upgrade without compiling
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
maspai

Joined: 17 Jan 2013
Posts: 2

PostPosted: Thu 17 Jan 2013, 23:08    Post_subject:  kernel upgrade without compiling
Sub_title: kernel upgrade without compiling
 

i'm using slacko 5.4. whenever new future released, can i easily use the new kernel from the new release for my 5.4? eg. just by copying the vmlinuz, initrd, and .sfs from the new release?
thanks for replies.
Back to top
View user's profile Send_private_message 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 835
Location: USA

PostPosted: Thu 17 Jan 2013, 23:44    Post_subject:  

what?? a kernel contains software? Since when did the Linux devs put software into a kernel?

Sorry if that sounded rude. But Linux is only a kernel. But Puppy ( as well any other linux distribution) contains Linux (the kernel), and a lot of software.

Since you asked if you can upgrade a kernel, yes you can (if you like doing a lot of work and compiling). But you are also asking at the same time if you can upgrade Slacko 5.4, well no because that is the latest Slacko version.

Do you at least a tiny bit get it?

Anyways, Welcome to the kennels.

EDIT: I forgot to say that copying a newer version of Slacko's "vmlinuz", "initrd.img", and the "puppy_*.sfs" can be used to replace an older Slacko's 3 main files.

_________________
Desktop: Intel 945PSN Motherboard, 3.2Ghz P-IV "Prescott 2M", 2GB RAM, 500GB WD HDD, Windows 7
(Slacko) Puppy Arcade 11 on USB Stick, Kali Linux 1.0.9a in Vbox.
Back to top
View user's profile Send_private_message 
maspai

Joined: 17 Jan 2013
Posts: 2

PostPosted: Fri 18 Jan 2013, 00:23    Post_subject:  

i never told or mean to tell that kernel contains software. i know linux is a kernel, and puppy is a GNU/linux OS. all i want to confirm is just like what you said in your EDIT section above, that i can replace my current main puppy files (vmlinuz, initrd, and .sfs) with ones in future release.
thanks for reply, anyway.
Back to top
View user's profile Send_private_message 
Keef


Joined: 20 Dec 2007
Posts: 633
Location: Staffordshire

PostPosted: Fri 18 Jan 2013, 13:12    Post_subject:  

maspai

That is exactly what I do with my frugal installs. Mount the new iso, then copy the vmlinuz, initrd and pup_sfs into the existing directory. No need to re-install from the CD or mess with the menu.lst for Grub etc - although you may want to edit the title to relect the new version.
Just check the release notes on the forum to see if it is safe to use the old savefile - sometimes they can be updated, but if there have been big changes it may not be a good idea.
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2258

PostPosted: Fri 18 Jan 2013, 13:55    Post_subject:  

Actually, the kernel most certainly is software, not hardware or firmware. Yes, it's just a kernel and can't do anything at all without some userspace software -libraries or programs- but it is still programmable software and comes in the form of executable machine code.
Back to top
View user's profile Send_private_message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 18 Jan 2013, 14:32    Post_subject:  

Quote:
Actually, the kernel most certainly is software


That`s right. And kernel usually is modular, ie small kernel with a lot kernel modules.
Code:
Software is a generic term for organized collections of computer data and instructions, often broken into two major categories: system software that provides the basic non-task-specific functions of the computer, and application software which is used by users to accomplish specific tasks.


So...it sounds like kernel is system software.

sh-3.00# find /mnt/home/kernel-kits/kernel-precise-3.7.2/linux-3.7.2 -type f | wc -l
41005
Kernel source has over 40 K of files, plain readable.

sh-3.00# find /mnt/home/kernel-kits/kernel-precise-3.7.2/dist/packages/linux_kernel-3.7.2-upup -type f | wc -l
2214
And for me they produced one kernel and over 2000 kernel modules. They are not anymore plain readable.

In fact...inside kernel source is userspace software also:
sh-3.00# find /usr/src/linux -name "userspace"
/usr/src/linux/drivers/staging/ced1401/userspace
/usr/src/linux/drivers/staging/usbip/userspace

There is even one puppy pet using this kernel userspace software:
http://www.murga-linux.com/puppy/viewtopic.php?t=81656&sid=c5e3a33dfd3dfaf6baef67d87b9cc3d7
Back to top
View user's profile Send_private_message 
amigo

Joined: 02 Apr 2007
Posts: 2258

PostPosted: Sat 19 Jan 2013, 12:49    Post_subject:  

"40 K of files, plain readable" -That's the figure from some kernel packages. The kernel sources are over 60MB of plain old readable files -over 15 million lines of just (C) code. You are using wc -l to count the number of lines of the output from find -not the size. binary files like the kernel and its modules do not really have 'lines'. The readable files you refer to are the alias and map files used by modprobe when loading modules.
Back to top
View user's profile Send_private_message 
Dewbie

Joined: 15 Apr 2010
Posts: 1783

PostPosted: Sun 20 Jan 2013, 04:56    Post_subject:  

maspai wrote:
Quote:
i'm using slacko 5.4. whenever new future released, can i easily use the new kernel from the new release for my 5.4?

The short answer is maybe.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0589s ][ Queries: 11 (0.0054s) ][ GZIP on ]