LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   lilo unable to mount root-fs , lilo.conf (https://www.linuxquestions.org/questions/linux-software-2/lilo-unable-to-mount-root-fs-lilo-conf-4175438634/)

curious95 11-25-2012 08:31 AM

lilo unable to mount root-fs , lilo.conf
 
um, i was wondering what is the problem with my lilo.conf file. everytime i try to boot up my computer outputs this error and stops working:
Code:

No filesystem could mount root, tried: romfs
Kernel panic - not syncing: VFS: unable to mount root fs on unknown block(8,2)

my /etc/lilo.conf file enabled options:
Code:

lba32
append=" vt.default_utf8=0"
boot = /dev/sda
bitmap = /boot/slack.bmp
bmp-colors = 255,0,255,0,255,0
bmp-table = 60,6,1,16
bmp-timer = 65,27,0,255
prompt
timeout = 1200
change-rules
reset
vga = normal
image = /boot/vmlinuz-generic-3.2.29
        root = /dev/sda2
        label = "Linux"
        read-only

What's wrong with my lilo.conf file?

TobiSGD 11-25-2012 08:35 AM

You are booting a generic kernel without specifying an initrd. This can't work.

curious95 11-25-2012 08:45 AM

Interesting well i don't think i have one, ls /boot without the irrelevant files is:
Code:

System.map
System.map-generic-3.2.29
System.map-generic-smp-3.2.29-smp
System.map-huge-3.2.29
System.map-generic-smp-3.2.29-smp
config
config-generic-3.2.29
config-generic-smp-3.2.29-smp
config-huge-3.2.29
config-huge-smp-3.2.29-smp
inside.bmp
vmlinuz
vmlinuz-generic-3.2.29
vmlinuz-generic-smp-3.2.29-smp
vmlinuz-huge-3.2.29
vmlinuz-huge-smp-3.2.29-smp

can i boot without an initrd? because i was booting fine before without the initrd...

TobiSGD 11-25-2012 08:50 AM

I assume that this is Slackware 14. You can boot without the initrd if you use the huge kernel instead of the generic kernel. An initrd is not delivered by default, that wouldn't make sense since the configuration of it is system dependent. As always with Slackware (and most other distributions) it is a good idea to read the docuemntation first: http://mirrors.slackware.com/slackwa.../README.initrd

curious95 11-25-2012 08:55 AM

yes slackware 14, thank you for your answer. I'll begin making my initrd right away :) I had read the README.initrd but i thought it wasn't a must to build the initrd since my system booted without it. well now i know.


All times are GMT -5. The time now is 06:01 PM.