Unix Technical Forum

Command-line options to lilo

This is a discussion on Command-line options to lilo within the Linux Operating System forums, part of the Unix Operating Systems category; --> Yesterday I compiled support for SCSI emulation and SCSI support into my kernel to enable me to burn CDs. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 04:37 PM
Jonas Granqvist
 
Posts: n/a
Default Command-line options to lilo

Yesterday I compiled support for SCSI emulation and SCSI support into my
kernel to enable me to burn CDs. It all turned out well and I was able
to blank and burn a CD-RW disk. But a quite irritation thing has arised,
which I would appreciate if someone could help me with.

When I start the computer and lilo starts, I have to write 'linux
hdb=scsi' to enable SCSI support for my CD. Without it, the CD doesn't
work att all and I have to reboot the computer to make it work.

Is this possible to make lilo do this automatically? I've seen the
command-line option '-R', but it only works temporary (according to the
man page).

Regards,
Jonas Granqvist
jonas [UNDERSCORE] g [AT] hotbrev [DOT] com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 04:37 PM
*.*
 
Posts: n/a
Default Re: Command-line options to lilo

in lilo.conf stick a line like:

append="hdb=ide-scsi"
or
append="hdb=scsi"

what ever will work in your kernel....mines a little olde

you need the quotes to pass the parameters.

Funny: this must be an issue with specific cdrom drives. I don't have to
do this to get my cd burner to work under scsi emulation, but needed it
for an old cd reader...

wierd....


Just configured idescsi emulation and scsi cdrom support in the kernel.
think thats what you want...at least thats what I've got

....
Jonas Granqvist wrote:
> Yesterday I compiled support for SCSI emulation and SCSI support into my
> kernel to enable me to burn CDs. It all turned out well and I was able
> to blank and burn a CD-RW disk. But a quite irritation thing has arised,
> which I would appreciate if someone could help me with.
>
> When I start the computer and lilo starts, I have to write 'linux
> hdb=scsi' to enable SCSI support for my CD. Without it, the CD doesn't
> work att all and I have to reboot the computer to make it work.
>
> Is this possible to make lilo do this automatically? I've seen the
> command-line option '-R', but it only works temporary (according to the
> man page).
>
> Regards,
> Jonas Granqvist
> jonas [UNDERSCORE] g [AT] hotbrev [DOT] com
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 04:39 PM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: Command-line options to lilo


"Jonas Granqvist" <jonas_g@hotbrev.com> wrote in message
news:bootto$2egl$1@news.wplus.net...
> Yesterday I compiled support for SCSI emulation and SCSI support into my
> kernel to enable me to burn CDs. It all turned out well and I was able
> to blank and burn a CD-RW disk. But a quite irritation thing has arised,
> which I would appreciate if someone could help me with.
>
> When I start the computer and lilo starts, I have to write 'linux
> hdb=scsi' to enable SCSI support for my CD. Without it, the CD doesn't
> work att all and I have to reboot the computer to make it work.
>
> Is this possible to make lilo do this automatically? I've seen the
> command-line option '-R', but it only works temporary (according to the
> man page).


First, isn't it "hdb=ide-scsi"? Second, look a tthe line in your lilo.conf,
and for the particular LILO entry make it something like this.


image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="hdd=ide-scsi"

I'd also recommend you use "grub" instead of LILO these days, grub is pretty
fabulous.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:01 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com