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 Sat 25 Oct 2014, 10:39
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Can one patch vmlinuz and initrd.gz?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 15 Jan 2012, 04:04    Post_subject:  Can one patch vmlinuz and initrd.gz?  

This is about Ubuntu and Debian more than about Puppy.

I tested a brand new version of deft linux found it on DistroWatch.


I used my cheating iso boot code. It really is cheating so ...

title Deft 7 forensic 2011 frugal iso boot of deft7 live boots okay
find --set-root --ignore-floppies --ignore-cd /deft7.iso
kernel /deft7/casper/vmlinuz file=/cdrom/preseed/lubuntu.seed boot=casper iso-scan/filename=/deft7.iso locale=en_US console-setup/modelcode=pc105 console-setup/layoutcode=se noeject noprompt
initrd /deft7/casper/initrd.lz

compare with similar code for Netrunner

title Netrunner 2011 frugal iso boot of netrunner-4.0.iso live keyb=se
find --set-root --ignore-floppies --ignore-cd /netrunner-4.0.iso
kernel /netrunner40/casper/vmlinuz file=/cdrom/preseed/netrunner.seed boot=casper iso-scan/filename=/netrunner-4.0.iso locale=en_US console-setup/modelcode=pc105 console-setup/layoutcode=se noeject noprompt
initrd /netrunner40/casper/initrd.lz

Which also boot but this one for Asturix did not boot

title asturix 4 iso boot frugal ntfs using netrunner's vmlinuz and initrd.lz did not boot with original
find --set-root --ignore-floppies --ignore-cd /asturix/casper/initrd.gz
kernel /asturix/casper/vmlinuz file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=/asturix4-i386.iso noeject noprompt
initrd /asturix/casper/initrd.gz

So I borrowed the vmlinuz and initrd from another Ubuntu
and that booted a mix between that version and the Asturix.

It lacked the docking bar so one most likely have to find
how to activate that one. All else was asturix and not
Netrunner nor Linux Mint. I tested with both. Both booted
and made a hybrid of themselves and Asturix.

I would want to patch Asturix so it does boot.

It fails to find the index files. I have no idea what that
refers to? What is an index file?

Do we have such in Puppy? Can I somehow sift out those
files and place them somewhere or change the boot so
it finds them where they are? link to Asturix

Why I don't ask in the Ubuntu forum or Asturix forum?
Generally no Ubuntu user or even Develpoer have even
heard of frugal install. And if they have heard about it
then they are very much against it and especially the
cheating way I do it.
Many times they ahve asked me. Why don't you do full
install on a linux partition. That is how one shall use linux.

I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 

Joined: 08 Jun 2005
Posts: 5037
Location: Arizona, U.S.A.

PostPosted: Mon 16 Jan 2012, 19:08    Post_subject:  

Hi nooby; The kernel (vmlinuz) is written in C, and so are patches for it.

initrd.gz is easy to modify. Extract it with cpio, modify it, and cpio it again.
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 » Off-Topic Area » Programming
Jump to:  

You cannot attach files in this forum
You can download files in this forum

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