How do I get modules in the Kernel to load automatically at boottime? I''m specifically trying to get i810fb to load during the boot process. In Ubuntu, I just had to edit a file and update my initramfs. How do I do this in Fedora?
I was wondering how can I determine among the modules loaded at boot which of them are really necessary and which are not, in order to reduce the boot process time and have a more "elegant" system start.
I know this theme is a little bit of complicated because it depends of the user's point of view and demand a high knowledge of which things are happening in your system but I need somewhere to start improving the performance of my debian system.
Tonight I installed ubuntu 10.10 (32 bit) on an external usb harddrive with a dvd I burned and I used my older desktop. I disconnected all internal and external drives first so everything had to be put on the usb drive I selected (only option available). I used the option to load extra software, use the entire hard drive, and let the software do it's thing. I basically had no options where to put things and it didn't have much choice.
When I boot the usb drive on my laptop (win 7 64 bit) by telling the bios to boot to it first... I get an error: modprobe: FATAL Could not load /lib/modules 2.6.35-22 generic modules No such file or directory. This message appears twice and then it does boot into ubuntu and seems to work fine. I'm new to this OS so that is an uneducated guess but the things I have done seem to be working. So exactly what is this error referring too? Is there a way to fix the problem or do I just ignore it.
The new kernel upgrade on Fedora 14 will not boot. lib/modules do not exist is the message. Grub was adjusted to match the old kernel, and the new kernel when booting says lib/modules do not exist. The old kernel has twice as many modules as the new kernel in lib/modules. How do I get the new modules to install so I can boot with the new kernel then? Should I reinstall the new kernel?
After a hiatus I found my machine to be down, but upon turning it on I get significant errors and dropped into emergency mode (see below). This machine wasn't very up-to-date to begin with, so I'm having difficulty determining the order in which to proceed. A couple naive checks and updates on my part are not working. The file system appears to be intact enough to "cd" around and "ls" to see that my files are all (seemingly) there. But the kernel modules aren't loading which is, you know, a problem.
The state I find it in is that it will begin booting to Linux 3.2 (which I know is no longer supported in testing, see below where I tried to update to 3.16), but fails quickly and puts me into emergency mode
Loading, please wait... megasas: INIT adapter done systemd[1]: Failed to insert module 'autofs4' systemd[1]: Failed to open /dev/autofs: No such file or directory systemd[1]: Failed to initialize automounter: No such file or directory systemd[1]: Failed to set up automount Arbitrary Executable File Formats File System Automount Point.
...Then several drives show up as clean....
Running "journalctl -xb" shows that it can't mount the module even though it's there on the disk: ... systemd-modules-load[259]: could not open moddep file '/lib/modules/3.2.0-4-amd64/modules.dep.bin' ... systemd-modules-load[259]: Failed to lookup alias 'firewire-sbp2': Function not implemented ... systemd-modules-load[259]: could not open modeep file '/lib/modules/3.2.0-4-amd64/modules.dep.bin' ... systemd-modules-load[259]: Failed to lookup alias 'loop': Function not implemented
And yet, if I 'ls' that modules.dep.bin file, it's right where it's supposed to be, for the appropriate architecture and everything.
After that (in the journalctl output), it shows several things start up, but systemd-modules-load.service fails: .. systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE .. systemd[1]: systemd-modules-load.service: Failed to start Load Kernel Modules
...and lots of things fail from systemd-udevd: failed to execute '/lib/udev/socket:@/org/freedesktop/hal/udev_ev_event': No such file directory.
I tried updating via apt to the Linux 3.16.0 kernel, but grub wasn't finding it in a way that effects the boot process, and no appropriate "vmlinuz-" file appears with the others on the boot partition. So, I tried switching to grub2 but the update-grub command produces many errors.... For now, grub2 still (attempts to) load the old kernel (3.2) with the same results as I was getting with the old grub-legacy.
Regarding the module-loading features, running "lsmod" shows about 30 lines:
Module ext3 mbcache jbd dm_mod usbhid hid
[Code] ....
...I'm at the limit of what I know to check and/or try.
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory os : debian 5 (folder lib/modules is empty)
I am trying to setup Slacware 13.1 x86_64 to a encrypted partition. I used the README_CRYPT.TXT howto : [URL] At the step when I create an initrd.gz I get this error: Quote: ERROR: No /lib/modules/2.6.33.4-smp kernel modules tree found for kernel "2.6.33.4-smp"
I tried to look into the directory and there was only modules under 2.6.44.3. So I tried to change the command into: Quote: mkinitrd -c -k 2.6.33.4 -m ext3 -f ext3 -r cryptroot -C /dev/sda2
This command was successful, but I don't know if this is alright. I made the changes in lilo.conf, add initrd = initrd.gz. This is all on unencrypted /boot partition. The boot=/dev/sda1 I also set for the unencrypted boot partition. When I boot the system I get a kernel panic:
I was trying to install VirtualBox through the YaST > Software Management but it is not working, someone in the forum told me that I have to download the OSE version and do it manual way. Finally I am able to start up VB but not able to use the network connection. Thus I am trying to do this:
/etc/init.d/vboxdrv setup. I get this error:
[code]...
When I type dmesg, it shows me a bunch of info which I don't know what should look for. When I type modprobe vboxnetflt, I get the error: FATAL: Error inserting vboxnetflt (/lib/modules/2.6.37.1-1.2-default/updates/vboxnetflt.ko): Invalid module format. what should I do in order to get my VB to be able to connect to the internet?
For a diskfull node (the OS installed in a disk), I can use the 'insmod' command to insert a kernel module into the kernel. And after the reboot, the module is still in the kernel. I have a question here: how, when and which kernel module will be loaded in the boot up process for a diskfull node?And for the diskless node, can I use the chroot or some other ways to install the kernel modules into ramdisk, so that kernel module can work when the diskless node boot up? I think it needs certain mechanism to load the kernel like the boot up of diskfull node.
I am attempting to compile the linux-2.6.35.13 kernel from kernel.org to use with an installation of Fedora 14 (2.6.35.11-83.fc14.x86_64). I've done this before with different kernel versions for older versions of Fedora, but I've encountered a new problem this time. Whenever I get to the "make install" step, I get the following:Quote:
sh /home/user/testing/source/linux-2.6.35.13/arch/x86/boot/install.sh 2.6.35.13 arch/x86/boot/bzImage System.map "/boot"
The other day I installed VMware Player on the system when the Kernel was 2.6.38.8-32.fc15.x86_64. On running VMware player after installing the kernel-headers and gcc files the program ran fine (I did not try to install the VMware Tools). I also have not loaded the guess OS as yet.
toady I did and update in which the kernel was updated. I checked to ensure the Kernel-headers were also updated for the latest kernel.
After rebooting the machine the running kernel was then 2.6.40-4.fc15.x86_64. I then tried to start VMware Player. It indicated because the kernel was changed it needed to install new kernel modules, OK, It open the module screen and then crashed.
The log says it can not compile Vmmon which is the first module. it does not go any further.
Tried to installed a new copy of VMware Player over the old one but this only resulted in the same error messages.
On Grub legacy i used a menu entry to boot from a DVD since the bios on my pc doesn't recognize my DVD burner.... So before on the old grub i can just added this menu entry and it all worked...title DVDroot(hd0,0)kernel /boot/grub/memdisk.bininitrdboot/grub/sbootmgr.dskthen grub 2 came along and that all changed..on the 40_custom file i added this
menuentry "Boot DVD Drive" { set root=(hd0,0) linux /boot/grub/memdisk.bin
Ubuntu 9.1 is installed in sda1, however, while creating a separate boot partition an error occurred and now I can not boot sda1. I get the message load kernel first. I have tried without success to learn to load a kernel.
I have installed Linux Mint 9 within Win XP and have installed an additional HDD as a Slave on the same IDE cable as my DVD drive. I installed ubuntu on to the additional HDD using the live CD and when I try to boot the computer I am greeted by two versions of GRUB?! First version appears to be the one that comes with Mint and so asks me to boot either Windows or Mint, when I select Mint I get ubuntu's version of Grub, it asks me to boot one of three OS's; here's where it gets weird:
Top of screen says: GNU GRUB Version 1.98-1ubuntu5-1mint2 If I select Win, it boots fine. If I select Mint it boots fine however if I select Ubuntu it says: error: no such device error: file not found error: you need to load the kernel first
I pressed "e" within grub and was faced with this: insmod ntfs set root ='(hd1,1)' search --no floppy --fs-uuid --set f6422203421e479 loopback loop0 /linuxmint/disks/root.disk setroot =(loop0) linux /boot/vmlinuz-2.6.3-21-generic root =dev/sdb1 loop=/linuxmint/disks/root.disk ro quiet splash initrd/boot/initrd.img-2.6.32-21-generic
I opted to install my Linux Fedora distribution, in a SUN VM (Virtualbox). [URL] I have 2 questions:
My current max res available to select is 1024x768. Can I run at 1920x1200? My display indicated that it is 'Unknown'. I don't know if that is in on the deal, or not...
Second question: When installing VBOXADDITIONS_3.1.2_56127, I am getting the error: Building the VirtualBox Guest Additions kernel modules [FAILED]
If I am displaying the log correctly, it indicates: Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop Pictures are located here, in the EVGA Linux forum: [URL] I am new to both Linux, and Fedora.
My mission statement: To run Linux using the Fedora distribution, in a VM window under Windows 7 64bit Ultimate, with the ability for scripting using Bash, with the Perl programming language installed, and use Apache Tomcat to monitor both apps, and various VM installs, on numerous Servers via the internet.
I have installed Ubuntu 10.10 on a USB 2.0 flash drive (8GB),like this: [url]
The installation was successfull, but when i want to boot ubuntu, it shows the grub, and after it, an error message: "You need to load the kernel first. Press any key to continue"
I've got a Macbook Pro 13'' (2010 edition) with a Intel processor.
I unfortunately remove "some" softwares on my OpenSuse10 (preinstalled on my laptop, without cd driver) cause I was running out of space on hd. Icons starts to dissappear ...
Then I have only the Grub 0.97 shell that appears and to use to solve the problem... tried to boot kernel, but said that it "must be loaded before boot".
In the Grub 0.97 black window I have two lines :
I press "b", to boot with the First line : kernel (hd0,2)/boot/vmlinuz ... but the window turns blue and said "all data would be lost", so it shut down the system automatically to avoid this.
I press "e" to edit the command in the boot sequence for the same line, but don't really know what to tell Grub to do.
I must get my important datas back on my hd before "Restore to factory settings" (the last option). Any solution ?
Maybe it is a step on a solution ?
From [url] I downloaded linux kernel 2.6.27.27 on a usb memory stick. Could it be useful ? how to ?
I tried to update to 2.6.31-20 kernel but I think I messed it up, because when I click on it in the GRUB it starts to load but then it goes back to the dell boot up screen and I have to use the older one in order to get onto ubuntu. Is there anything I can do to fix this?
Yet another problem I have. Suse is taking a while to learn but I swear I'm getting there. Can pritty much do everything by CLI now. I'm trying to run VMware Workstation 6.5 on OpenSuse 11.2, Gnome. I had it running fine but then needed to do a system re-install and upon installation this time I get a error saying it's is Unable To Build Kernel Module and reffers me to a error log. The error log says:
Code: Mar 14 22:07:51.420: app| Log for VMware Workstation pid=6136 version=6.5.0 build=build-118166 option=Release
I've been playing with some intel server board and they provide a type of fakeraid which is called Embedded Server Raid Technology 2. Since Intel officially support RHEL and SLES on their servers, they provide drivers/modules for this fake raid (which supports raid 0, 1, 5 and 10). I have installed RHEL before on these severs and redhat's installer has the ability to load additional modules (via a boot command linux dd).
While intel doesn't provide the modules for other operating systems, they provide a library where people can build their own module for their kernel. I managed to build this module called 'megasr' (for now I've built it for kernel 2.6.32-24-generic which is my testbed at the moment but I would eventually build it for box i386 and amd64 for both server and desktop versions) and load it on a system which is installed on a single drive.
We are able to load it successfully and see the raid 5 as a single volume and access it (partition, format and copy data to it) and all its functions (work in degraded mode, rebuild, etc) work fine but my main goal is to actually install such volume as my main boot volume (similar to how its possible with RHEL or SLES). Is this possible? Load additional modules during the installation that will be present after the installation is finished?
My apache and wordpress were running fine till this morning. I ran updates via webmin,though I wasn't sure what those updates were for.
Then when I tried to access mysite.com, index.php downloads instead of opening.
I tried some troubleshooting and followed a form where it was advised to enable mod php5, so I did a2enmod php5 and tried to restart apache. Since I get this error Cannot load /usr/lib/apache2/modules/libphp5.so into server.