Re: /boot partition and modules/kernels
Do you mean the initrd (initial RAM disk), which is in /boot? That is where you place some modules needed by the kernel. Mainly those relating to eventually accessing the root disk, where the remaining things are then found. Are you wanting to place other modules there? Unless you hack the setup, they will not be used. After the kernel loads the drivrs needed to mount the root partition, this ram disk is deleted. I do not think the kernel will load other modules there. Of course, I bet there is a script somewhere that controls this at boot time. But it is all in the initrd stuff. On Wed, 26 Jun 2002 23:17:16 -0400 Matthew Carpenter [EMAIL PROTECTED] wrote: I remember reading about someone keeing a /boot partition which holds their kernels as well as /lib/modules/2.x.x-x directories, which are then linked to in the original locations... I have attempted this and have been running face first into a wall when attempting to load modules... I'd be interested in hearing some pointers on this one. I believe I read it in a post by David Bandel. TIA, Matt ps. And sorry for the OT-TID thread. I didn't mean for it to get out of hand like that. -- Matthew Carpenter [EMAIL PROTECTED] http://www.e-i-s.cc/ Enterprise Information Systems *Network Consulting, Integration Support *Web Development and E-Business ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- ++===+ | Roger Oberholtzer | E-mail:[EMAIL PROTECTED] | | OPQ Systems AB | WWW: http://www.opq.se/ | | Erik Dahlbergsgatan 41-43 |Phone: Int + 46 8 314223 | | 115 32 Stockholm | Mobile: Int + 46 733 621657 | | Sweden | Fax: Int + 46 8 302602 | ++===+ ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: /boot partition and modules/kernels
On Wed, 26 Jun 2002 23:17:16 -0400 begin Matthew Carpenter [EMAIL PROTECTED] spewed forth: I remember reading about someone keeing a /boot partition which holds their kernels as well as /lib/modules/2.x.x-x directories, which are then linked to in the original locations... I have attempted this and have been running face first into a wall when attempting to load modules... I'd be interested in hearing some pointers on this one. I believe I read it in a post by David Bandel. no links. OK, here's what I do: /boot contains: kernel-x.x.x (usually called bzImage-2.4.x-xfs-1.1 or some such) System.map-x.x.x (same extension as kernel) /modules /boot is not mounted by any distro, if/when I need to alter it, I mount it, work with it, umount it. my lilo.conf contains various images, such as: image = /boot/bzImage-2.4.18-xfs-1.1 label = foo root = /dev/hda2 read-only image = /boot/bzImage-2.4.18-xfs-1.1 label = bar root = /dev/hda3 read-only I build the kernel on one partition (say /dev/hda2). After a complete install and test boot (usually via a boot disk w/ the kernel dd'd to it), change lilo.conf, run lilo, copy /lib/modules to /boot/modules, then mount /dev/hda3, cp -a /boot/modules to /lib/modules there. This copying is necessary because /boot is on /dev/hda1 which is never mounted, /lib/modules/... needs to be accessed early on in the boot process (and so must be on the root partition). Now I can boot 27 or more different root partitions (distros) using the same kernel and modules. That help? Ciao, David A. Bandel -- Focus on the dream, not the competition. -- Nemesis Racing Team motto ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: /boot partition and modules/kernels
On Wed, 26 Jun 2002, Matthew Carpenter wrote: I remember reading about someone keeing a /boot partition which holds their kernels as well as /lib/modules/2.x.x-x directories, which are then linked to in the original locations... I have attempted this and have been running face first into a wall when attempting to load modules... I'd be interested in hearing some pointers on this one. I believe I read it in a post by David Bandel. I've been doing this for quite some time now, sans the links to /lib/modules. Initially it was to overcome issues with LILO being able to find the kernel in large disks. Now its just habit. Interestingly, When using the custom option in the RedHat installer and the letting disk druid automatically partition the disk, the result is the same. 50mb /boot , some amount for swap, the rest for root. TIA, Matt ps. And sorry for the OT-TID thread. I didn't mean for it to get out of hand like that. No apologies required for me. I'm just sorry the thread didn't make it to the general list, sigh. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
/boot partition and modules/kernels
I remember reading about someone keeing a /boot partition which holds their kernels as well as /lib/modules/2.x.x-x directories, which are then linked to in the original locations... I have attempted this and have been running face first into a wall when attempting to load modules... I'd be interested in hearing some pointers on this one. I believe I read it in a post by David Bandel. TIA, Matt ps. And sorry for the OT-TID thread. I didn't mean for it to get out of hand like that. -- Matthew Carpenter [EMAIL PROTECTED] http://www.e-i-s.cc/ Enterprise Information Systems *Network Consulting, Integration Support *Web Development and E-Business ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.