SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yesterday evening I attempted to enable scsi emulation, as that's what xcdroast had been hassling me about. Anyways, one of the steps required was to add
Code:
append="hdc=ide-scsi"
into /etc/lilo.conf. So, I did that, saved and then restarted my box. And then, to my surprise, I get hit with
Code:
kmod: failed to exec /sbin/modprobe/ -s -k ide-disk, errno =2
vfs: cannot open root device "303 or 03:03
Please append a correct "root=" boot option
kernel panic: vfs: unable to mount root fs on 03:03
<6>keyboard: unknown scancode e0 7a
This takes place right after I boot "Linux-2.4.29" from lilo.
Now, does anyone have an idea as to what the hell is happening? I've been try to correct my error for about 4 hours. Removing that simple line seems to do nothing, so I most likely have altered a different file.
Note about configuring SCSI-emulation in Linux:
The trick are these two lines (Examples for two drives which are connected as master and slave on the secondary IDE controller):
Line for /etc/modules.conf
options ide-cd ignore='hdc hdd'
(This tells the IDE-driver to ignore the two devices you want to use within X-CD-Roast)
-
Line for /etc/lilo.conf (add anywhere before any "image=" lines)
append="hdc=ide-scsi hdd=ide-scsi" (Kernel 2.2.x and most 2.4.x)
or
append="hdc=scsi hdd=scsi" (Kernel 2.4.x only, if the above line does not work)
(And this tells the kernel to install scsi-emulation for two drives)
seems, maybe, you missed a step. also, check the default lilo.conf file to see if you messed up the "root=" line. just a few things to try.
Well, recently I found out that I haven't compiled my kernel for scsi emulation support. I need ide-scsi.o and sg.o in "/lib/modules/2.4.29/kernel/drivers/scsi" which I do not. So, I've decided to abandon scsi-emulation, for a short while.
However, I still need to find out what adding append="hdc=ide-scsi" to lilo.conf has done to my setup. I can't even boot my kernel.
Quote:
check the default lilo.conf file to see if you messed up the "root=" line.
That was my original plan, but somehow I've managed to alter the default lilo.conf file. So, I don't really know what I use to have specified.
*EDIT*
Does anyone know what
Code:
append="hdc=ide-scsi"
has done to my lilo config?
Last edited by Diminished7th; 05-30-2005 at 02:53 PM.
Try removing the line and rerunning lilo, if you only changed that line, then your system will be like before.
As they suggested you've to put that line after the image= line that matches the kernel you want that paramater to be append.
I've been using a live-cd known as "Auditor," and that's how I've been able to edit my lilo.conf file this whole time.
However, attempting tp run lilo on this live-cd has failed. How else might I run lilo after I've appended my config?
*NOTE* I'm having to make these posts in a seperate windows partition that I luckily spared.
when you edit the file in order to run lilo on that partition you need to be "in" it so to speak. So you will need to do the following.
This is assuming you already have the partition mounted somwhere in /mnt on the livecd
user@comp# : mount -t proc proc /mnt/<whatever>/proc
user@comp# : chroot /mnt/<whatever>
user@# : lilo
user@# : exit
You should see the normal output of lilo
then just reboot
That is of course assuming you have lilo setup correctly, and/or your kernel is right.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.