Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have a debian woody installed on my PC. I wanted to burn on my CD-RW so I installed 'cdrecord'. But it didn't work and reading through a lot of forums I found out that I had to "do" CD-RW HOWTO process. So I did. When rebooting, it doesn't bootmy linux anymore This is what is popped out:
-----------------------------------------------
hdb: driver not present
VFS: Cannot open root device 3:42
kernel-panic: VFS : Unable to mount root fs on 3:42
-----------------------------------------------
Now I'm guessing that it has something to do with "append="hdb=scsi" but I can't figure out what to do.
And one more thing. Can I get "into" linux by typing something during startup at lilo???
The line should properly be append=hdb=ide-scsi. If you can, boot from a rescue medium (floppy/CD) and edit your lilo/grub.conf file appropriately, and reboot. If it works and you can boot OK, then run cdrecord -scanbus to find out your scsi disk number.
Are you sure the writer is on hdb?I think I screwed up about anything possible when I got mine - including lilo lines that didn't work and kernel configurations but that didn't affect the booting process.
First of all, Thanks Thymox & CrashMeister for replying.
Thymox: It was appended as : append="hdb=ide-scsi". Sorry for that but I didn't know how to get to lilo.conf file before I realized (from you) that I could reboot with my floppy...
Anyway, this is how it is written in lilo.conf:
------------------------------------
default=Debian
CarshMeister: I'm not sure at all. In fact, I haven't a clue. My writer was linked to hdc (cdrom->hdc) but the CD-RW Howto told me to change it. This is the only reader/writer I have installed on my PC. To be honest, this Howto file is very confusing for a newbie like me.
If originally cdrom-->hdc, then you need to have
append="hdc=ide-scsi"
in your lilo.conf file. And don't forget to run /sbin/lilo to put the changes into effect.
So... changed to hdc again. Now it boots OK... Thanks a lot!
Thymox:
But still, when I type 'cdrecord -scanbus' I still get following message:
----------------------
cdrecord: No such file or directory. Cannot open SCSI driver
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
----------------------
(Its on root I get it!)
Any idea. I pretty much followed the CD-Writing howto procedure although I was very confused during process.
Hmmm, it seems that the modules aren't being loaded. What do your /etc/modules and /etc/modules.conf (or whatever their Debian equivalents are) say? I have:
Code:
/etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
scsi_hostadapter
/etc/modules.conf
probeall scsi_hostadapter ide-scsi
Nothing about scsi_hostadapter.
All there is relating to it is what was written in cd-writing howto:
------------
options ide-cd ignore=hdc
alias scd0 sr_mod
pre-install sg modprobe ide-scsi
pre-install sr_mod modprobe ide-scsi
pre-install ide-scsi modprobe ide-cd
------------
I don't know but using modconf, I can't load the ide-scsi module. It fails:
--------------------
modprobe: Can't locate module ide-cd
modprobe: pre-install ide-scsi failed
modprobe: insmod ide-scsi failed
You may have to recompile your kernel.If you do and don't have any RAM issues just compile all the scsi stuff right in the kernel not as modules.Works fine for me and I have one thing less to worry about.
CRASHMEISTER:
I would like to do that but I don't know how to. You see, I only have had linux on my PC for two months. And debian I found was best for me for the reason there was not too much shit installed during installation and that this was I could learn a lot by setting up by myself and by help of good people like you.
So, every time some mention about recompiling, i don't know how to because in debian you just add the package (which I never managed either). So please, could you give me instructions on this?
SEWER_MONKEY: I'll look into it. last time I installed i got lost and with lilo it was more straight forward. But then again, I'm not very experienced in linux. Not yet at least... :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.