LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-19-2005, 05:24 PM   #1
steveel
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Rep: Reputation: 0
boot file too large for floppy


I have a SCSI system that boots ok from adaptec.s but I can't buld a kernel small enough to fit a floppy. Is there any docs showing how to get adaptec.s from menuconfig? Thanks.
 
Old 11-19-2005, 09:22 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How are you making your kernel? And which options do
you compile in? My SCSI-kernel on my server is 809K.


Cheers,
Tink
 
Old 11-20-2005, 04:13 PM   #3
zhizaki
Member
 
Registered: Sep 2005
Location: Austin, TX
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
Alright, the kernel that you install initally I *believe* is going to be the same configuration that is default the first time you go to recompile the kernel. I can't say for certain, but regardless if it's not, it shouldn't be too hard to trim down your kernel to an acceptable floppy size. Here's some tips to take in consideration when recompiling the kernel to maximize space:

- Make as many things modules as possible!

- Only include things in the kernel that are absolute musts, such as: your filesystem support (ext2, ext3, jfs, etc), support for your harddrives (scsi, sata, ide), partition tables (if necessary, such as dual boot), NIC (if absolutely necessary)

- Determine exactly what you need to have in order to get your system up and running and disable everything else.

- Test, Test and Test again.



If you build things like video card support, NIC support, USB, etc as modules then don't forget to make sure they are loaded during the startup process. Nothing sucks like discovering that *YOU* forgot something.
 
Old 11-21-2005, 06:36 AM   #4
steveel
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for above. Menuconfig shows a shedload of stuff after adaptec.s is installed, way over 1.6Mb. I got it under by stripping out stuff, but it was pot luck, and as a newbie I'm still not sure what I'm doing. Since somebody has gone to a lot of trouble to optimise adaptec.s and other kernels for utility against space, a config list would be very handy. I note the current build 2.6 adaptecs is way over floppy size.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Floppy boot disk *.img file dherve SUSE / openSUSE 1 08-31-2005 01:49 PM
boot floppy file format mherring02 Linux - Software 4 05-23-2005 07:43 PM
SCSI bootdisk image to large for floppy gargamel Slackware 10 07-24-2004 12:11 PM
How to copy a file to floppy and list file on floppy device kabeko Linux - Newbie 3 12-09-2003 11:36 PM
What image file do I use for the boot floppy on Install??? sourlinux Linux - Newbie 8 10-15-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:53 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
Open Source Consulting | Domain Registration