LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2009, 03:18 PM   #1
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
Smile tiny multipurpose vmlinuz + initrd


I saw that you can install slackware from a usb img, which is < 40MB of size... amazing isnt it? the only problem is that it would delete part of the contents of your usb when you make:

Code:
dd if=usbboot.img of=/dev/sdb
as mentioned here

So i came up and extracted the contents of the .img file and using extlinux for my usb I point to the vmlinuz and initrd that where contained in the .img file, and you there you go...

Now, I am fairly new to linux and would like to know how can i add commands to this little kernel?

I would like to add vi, and some selfmade scripts that i could run so I could use this as a tiny problem solver and multi Linux installer.

Please tell me what you think about this.

By the way can someone point me to some tutorial on modifying kernels?
I would like to shrink my Slackware 12.2 kernel so it only has the drivers that i use.

(Of course I know slax a fairly tiny linux, and DSL, but i dont need graphical interfaces and they take more than 50MB in my usb which I just want to use for storing some other data to carry around for fixing pcs)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/vmlinuz /initrd.img links ninj4fly Linux - Newbie 4 02-19-2008 09:33 AM
creating vmlinuz and initrd on distribution media tkmsr Linux - Kernel 4 10-24-2007 02:13 PM
Is it possible to update the pxe network install initrd.img and vmlinuz ? lets-eat-gary Fedora 1 08-22-2006 05:54 AM
how to encrypt initrd.img and decrypt in vmlinuz. AshesOfTime Programming 1 12-09-2004 04:48 PM
booting vmlinuz/initrd from a bootloader bob_man_uk Linux - General 4 04-07-2004 10:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration