Linux Newbie help
 help / color / mirror / Atom feed
* Oversized kernel
@ 2003-03-12  9:59 Eng Se-Hsieng
  2003-03-12 10:02 ` Eckhardt, Rodolpho H. O.
  2003-03-12 11:04 ` 1stFlight
  0 siblings, 2 replies; 5+ messages in thread
From: Eng Se-Hsieng @ 2003-03-12  9:59 UTC (permalink / raw)
  To: linux-newbie

Dear all,

I've just compiled a new kernel and the vmlinuz is over 2Mb in size.
Since mkbootdisk returns : Not enough space and I don't have a CD writer
on my system, I'm unable to create a boot disk and am a little wary
about not having one.

How does one know what are the minimum options to choose in order to
reduce the size of the vmlinuz? My system is a Toshiba Satellite 4030CDT
(Celeron 266 Mhz)

Thank you.

Regards,
Se-Hsieng
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oversized kernel
  2003-03-12  9:59 Oversized kernel Eng Se-Hsieng
@ 2003-03-12 10:02 ` Eckhardt, Rodolpho H. O.
  2003-03-12 11:04 ` 1stFlight
  1 sibling, 0 replies; 5+ messages in thread
From: Eckhardt, Rodolpho H. O. @ 2003-03-12 10:02 UTC (permalink / raw)
  To: g0202512; +Cc: linux-newbie

Hi,

Check for things that you added and you don't need, like smp, math-emu, scsi, old
drivers, net routing, net drivers etc...

I don't know you machine very well so I can't tell you what you need or don't.

Best regards,

Rodolpho

-------- mensagem original --------
assunto: Oversized kernel
de: "Eng Se-Hsieng" <g0202512@nus.edu.sg>
data: Qua, Março 12, 2003 6:59
para: <linux-newbie@vger.kernel.org>

> Dear all,
>
> I've just compiled a new kernel and the vmlinuz is over 2Mb in size. Since mkbootdisk
> returns : Not enough space and I don't have a CD writer on my system, I'm unable to
> create a boot disk and am a little wary about not having one.
>
> How does one know what are the minimum options to choose in order to reduce the size
> of the vmlinuz? My system is a Toshiba Satellite 4030CDT (Celeron 266 Mhz)
>
> Thank you.
>
> Regards,
> Se-Hsieng
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of
> a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html Please read the FAQ
> at http://www.linux-learn.org/faqs


-- 
Rodolpho H. O. Eckhardt
reckhardt@mandic.com.br
Cel: 11 9126-9107


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oversized kernel
  2003-03-12  9:59 Oversized kernel Eng Se-Hsieng
  2003-03-12 10:02 ` Eckhardt, Rodolpho H. O.
@ 2003-03-12 11:04 ` 1stFlight
  2003-03-13  0:35   ` Eric
  1 sibling, 1 reply; 5+ messages in thread
From: 1stFlight @ 2003-03-12 11:04 UTC (permalink / raw)
  To: Eng Se-Hsieng; +Cc: linux-newbie

Are you using "make bzImage:" when you compile? It makes for a smaller 
kernel

Eng Se-Hsieng wrote:

>Dear all,
>
>I've just compiled a new kernel and the vmlinuz is over 2Mb in size.
>Since mkbootdisk returns : Not enough space and I don't have a CD writer
>on my system, I'm unable to create a boot disk and am a little wary
>about not having one.
>
>How does one know what are the minimum options to choose in order to
>reduce the size of the vmlinuz? My system is a Toshiba Satellite 4030CDT
>(Celeron 266 Mhz)
>
>Thank you.
>
>Regards,
>Se-Hsieng
>-
>To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.linux-learn.org/faqs
>
>  
>

-- 
  It's not that life is so short, it's that death is so long... 
				


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oversized kernel
       [not found] <720FB032F37C0D45A11085D881B03368A2B496@MBXSRV24.stu.nus.ed u.sg>
@ 2003-03-12 16:19 ` Ray Olszewski
  0 siblings, 0 replies; 5+ messages in thread
From: Ray Olszewski @ 2003-03-12 16:19 UTC (permalink / raw)
  To: Eng Se-Hsieng, linux-newbie

At 05:59 PM 3/12/2003 +0800, Eng Se-Hsieng wrote:
>Dear all,
>
>I've just compiled a new kernel and the vmlinuz is over 2Mb in size.
>Since mkbootdisk returns : Not enough space and I don't have a CD writer
>on my system, I'm unable to create a boot disk and am a little wary
>about not having one.

Is this a compressed kernel? I suspect not, since "make bzImage" usually 
generates a kernel named bzImage, not vmlinuz.

>How does one know what are the minimum options to choose in order to
>reduce the size of the vmlinuz? My system is a Toshiba Satellite 4030CDT
>(Celeron 266 Mhz)

There is no useful general answer to this question. Start from a sensible 
.config file (one as-shipped with the kernel source is usually fairly 
sensible) and do as much as you can as modules instead of compiling into 
the kernel. But in the end, you really need to do a long march through one 
of the make procedures (personally, I'm a fan of "make menuconfig", but 
tastes vary), adding in only the parts you need. (Once you get a bit of 
practice, this is not hard to do ... custom kernels are normally smaller 
than stock kernel images, not bigger).



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Oversized kernel
  2003-03-12 11:04 ` 1stFlight
@ 2003-03-13  0:35   ` Eric
  0 siblings, 0 replies; 5+ messages in thread
From: Eric @ 2003-03-13  0:35 UTC (permalink / raw)
  To: Eng Se-Hsieng; +Cc: linux-newbie

Go through it item by item and remove any drivers you dont need. Old ide 
drivers, networking, scsi, sound, bluetooth. Find out what hardware your 
machine has and recompile it with only those options. Play around and read 
the help thats available when compiling the kernel. Worst case scenario, 
simply compile a BARE kernel and recomple everything else you need as a 
module and put them on a seperate disk so you can load them if/when you need 
them. Compiling a kernel can be a very machine personal thing. Without 
knowing the exact hardware its very hard to say exactly what options to use. 

On Wednesday 12 March 2003 05:04 am, 1stFlight wrote:
> Are you using "make bzImage:" when you compile? It makes for a smaller
> kernel
>
> Eng Se-Hsieng wrote:
> >Dear all,
> >
> >I've just compiled a new kernel and the vmlinuz is over 2Mb in size.
> >Since mkbootdisk returns : Not enough space and I don't have a CD writer
> >on my system, I'm unable to create a boot disk and am a little wary
> >about not having one.
> >
> >How does one know what are the minimum options to choose in order to
> >reduce the size of the vmlinuz? My system is a Toshiba Satellite 4030CDT
> >(Celeron 266 Mhz)
> >
> >Thank you.
> >
> >Regards,
> >Se-Hsieng
> >-
> >To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> >the body of a message to majordomo@vger.kernel.org
> >More majordomo info at  http://vger.kernel.org/majordomo-info.html
> >Please read the FAQ at http://www.linux-learn.org/faqs

-- 
#------------------------
#Eric Bambach   
#Eric@CISU.net 
#------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-13  0:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12  9:59 Oversized kernel Eng Se-Hsieng
2003-03-12 10:02 ` Eckhardt, Rodolpho H. O.
2003-03-12 11:04 ` 1stFlight
2003-03-13  0:35   ` Eric
     [not found] <720FB032F37C0D45A11085D881B03368A2B496@MBXSRV24.stu.nus.ed u.sg>
2003-03-12 16:19 ` Ray Olszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox