LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware10.1 boot error (https://www.linuxquestions.org/questions/slackware-14/slackware10-1-boot-error-335151/)

dejavu_01 06-19-2005 10:42 AM

Slackware10.1 boot error
 
Hi, I've installed various version of Slackware on my notebook with success before but this time when I tried to install slackware10.1 on my spare HDD of my desktop, everything went fine during the install but after that when it boot, after a fewpage scroll by it gave the following error.


VFS: Insert root floppy and press ENTER

when I press enter, it said

VFS: Cannot open root device "202" or 202
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:02


I boot the system again with the slackware installation CD, and use the fdisk or cfdisk to check and see the primary partition already has the boot flag and the lilo.conf has pointed to hda which is the correct device.

My hardware is 2200 AMD Sempron on ASUS A7V880

What could cause the problem?

uselpa 06-19-2005 11:08 AM

Still, can you post lilo.conf and the output of "cfdisk -P s" ?

egag 06-19-2005 11:17 AM

------------
VFS: Insert root floppy and press ENTER
------------

did you get that after the complete install and reboot at the end ?

maybe the bootfloppy is still in the drive...?

egag

dejavu_01 06-26-2005 10:29 AM

Quote:

Originally posted by egag
------------
VFS: Insert root floppy and press ENTER
------------

did you get that after the complete install and reboot at the end ?

maybe the bootfloppy is still in the drive...?

egag


Yes, I got that after the install is completed and I was back at the prompt and issue reboot command.

No, I boot the installation from the installation CD.

egag 06-26-2005 11:14 AM

that's a strange thing.
i get the message that i quoted normally when i install with floppys.
i don't know where it comes from, i think an install script or so...

but can you still boot with the cd and the " mount root=....etc " option ?
there might also be smth wrong in your /etc/lilo.conf file.
maybe you can post it here ?

egag

dejavu_01 06-26-2005 08:13 PM

hi, I just recalled that the harddisk that I tried Linux on doesn't have its' jumper set to "master" position, it was set to "cable select". Maybe this is the cause? I'll try correct this when I get home and see what happens.

dejavu_01 06-28-2005 06:48 AM

Despite I tried set the jumper hd to master, I still get the same error message.
I've looked closly at the boot screen again today and before the said error message in my first post, there are these suspecious messages.

Code:

Partition check:
hda: hda1 hda2 <hda5 hda6>
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k sesi_hostadapter, errno=2
kmod: failed to exec /sbin/modprobe -s -k sesi_hostadapter, errno=2
kmod: failed to exec /sbin/modprobe -s -k sesi_hostadapter, errno=2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4


I really want to install and learn Slackware...

keefaz 06-28-2005 07:02 AM

Quote:

the lilo.conf has pointed to hda
Ok, but which hda partition ?

dejavu_01 06-28-2005 07:44 AM

Quote:

Originally posted by keefaz
Ok, but which hda partition ?
could it be that my mainboard has SATA port which slackware10.1 default kernel doesn't support, althought the port isn't used since I have only an IDE harddrive.

I strongly beleave lilo points to hda1 which is a correct partition,

keefaz 06-28-2005 07:49 AM

No, the SATA bus has nothing to do with the IDE
(I too have a SATA port, but installed slackware with
standard bare.i kernel)

If you think that hda1 is the correct partition, try
to boot with a Slackware CD and test it with giving
root=/dev/hda1 at the prompt

dejavu_01 06-29-2005 07:51 AM

Quote:

Originally posted by keefaz
No, the SATA bus has nothing to do with the IDE
(I too have a SATA port, but installed slackware with
standard bare.i kernel)

If you think that hda1 is the correct partition, try
to boot with a Slackware CD and test it with giving
root=/dev/hda1 at the prompt

Strangly enought, after I boot the slackware rescue disk with the root=/dev/hda1 option, this is what I got.

Code:

Could not find kernel image: root=/dev/hda1
But I saw that there's vmlinuz already present in /boot !!!??? so is this concern something else?

When installing slackware, my harddisk is partitioned into

hda1 boot primary type Linux ext3 (for / )
hda5 extend type Linux ext3 (this is for /home)
hda6 swap type Linux swap

Is there anything wrong with this?

keefaz 06-29-2005 08:08 AM

Please follow the prompt when you boot from the install CD
it gives a boot line example (I can not remember)
Maybe you have to tell :
bare.i root=/dev/hda1 noinitrd ro

dejavu_01 06-30-2005 09:26 AM

Quote:

Originally posted by keefaz
Please follow the prompt when you boot from the install CD
it gives a boot line example (I can not remember)
Maybe you have to tell :
bare.i root=/dev/hda1 noinitrd ro

To make long story short, I was able to boot into my system and startup KDE with the help (again) of the recovery disk. But the system refuse to boot in a normal way (without the help of recovery CD). Hence, now I suspect that LILO has been wrongly installed. One question, giving that I devoted entirely one spare harddisk to linux, should LILO be installed on the "super block" OR "master boot record". What I did was I installed it on the super block, which might be the problem...? IMO

uselpa 06-30-2005 09:35 AM

If it's the only boot loader you use, install it on MBR. It will happily boot Linux and Windows.

dejavu_01 06-30-2005 10:13 AM

Quote:

Originally posted by uselpa
If it's the only boot loader you use, install it on MBR. It will happily boot Linux and Windows.
Then I suspect this is the very cause of the very problem since the beginning. I'll go for a reinstall again but now change lilo to MBR.


All times are GMT -5. The time now is 11:44 PM.