Re: [newbie] Still No SCSI Emulation-but getting there

2003-06-16 Thread John Richard Smith
Langsley T Russell wrote:

Hi Johns. 

OK I believe that I finally managed to edit my lilo.conf file as
directed. I just checked my /sbin/lilo file, this is what appears. 

[EMAIL PROTECTED] langsley]# /sbin/lilo
Added linux *
Added failsafe
Added windows
Added floppy
Yep , that's as it should be, provided you have the amended append= line 
to include scsi-em for your writer. Do you also want your cdrom scsi-em, 
because if so it has to have another entry as well.

I'm assuming you want just the writer, and hd(x)=ide-scsi, where (x) is 
the drive letter of the writer
is all you need here.

I see nothing about nay CD ROM or CDRW drive there. Must I add this in
some way?
No it  , that goes in fstab

About the /etc/fstab file: This is what is currently in there. 

/mnt/hdb /mnt/hdb supermount dev=/dev/hdb,fs=auto,--,user 0 0
/mnt/scd0 /mnt/scd0 supermount
dev=/dev/scd0,fs=auto,--,user,iocharset=iso8859-1,suid 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
What must I edit and how? My CDRW drive is mounted as hdb and my old CD
ROM is mounted as scd0 I believe.
 

I'm not sure if these will work as they appear to be supermount, and on 
my machine supermount does not work with scsi-emulation, but some do 
find it to work.

I therefore use automount which has a different line like this,

/dev/scd0 /mnt/cdrom auto 
user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0

you also need a directory in /mnt called cdrom, if there is not one, then,

in a root terminal 

mkdir /mnt/cdrom 

then

ls /mnt and it should show up in there as cdrom.

then in root terminal,
mount -a to mount it.
Maybe all this already exists and supermount works for you.
You should also be able to add an Icon on desktop for both your rom and writer if you 
so wish.
John



--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation-but getting there

2003-06-16 Thread John Drouhard
On Mon, 16 Jun 2003 22:25:59 +0100
Anne Wilson <[EMAIL PROTECTED]> wrote:
> This is listing the various stanzas, so you wouldn't expect to see the 
> details.

Ya, you won't see anything about the cd drives when you run lilo.

> > About the /etc/fstab file: This is what is currently in there.
> >
> > /dev/hda6 / ext3 defaults 1 1
> > none /dev/pts devpts mode=0620 0 0
> > none /dev/shm tmpfs defaults 0 0
> > /dev/hda8 /home ext3 defaults 1 2
> > /mnt/floppy /mnt/floppy supermount
> > dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=8
> >50 0 0
> > /mnt/hdb /mnt/hdb supermount dev=/dev/hdb,fs=auto,--,user 0 0
> > /mnt/scd0 /mnt/scd0 supermount
> > dev=/dev/scd0,fs=auto,--,user,iocharset=iso8859-1,suid 0 0
> > /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850
> > 0 0 /dev/hda5 /mnt/win_d vfat
> > iocharset=iso8859-1,umask=0,codepage=850 0 0 none /proc proc
> > defaults 0 0
> > /dev/hda7 swap swap defaults 0 0
> >
> > What must I edit and how? My CDRW drive is mounted as hdb and my
> > old CD ROM is mounted as scd0 I believe.
> >
> > Again thanks for all the help and considerable patience!
> >
> It look absolutely fine to me.  And your reading of the cd-rom and 
> cd-rw positions is correct.  Go ahead, now try it.  Everything should 
> be ok.
> 

Ya, try it, but if it is backwards (cd rom drive is scd0 and cdrw is
hdb, then try changing all occurrences of scd0 to whatever your other cd
drive was mounted as, like hdc or something. Then, change hdb to scd0.
So, on your machine, the lines would like something like this

none /mnt/cdrw supermount dev=/dev/scd0,fs=auto,ro,--,user 0 0
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,--,user,iocharset=iso8859-1,suid 0 0

Change the last line so that dev=whatever device your cdrom drive is.
All this is only if it doesn't work after you try it.

HTH, 
John Drouhard

-- 
Mon Jun 16 18:11:39 UTC 2003
- 
They told me to install Windows 98 or better, so I installed Linux.
Registered Linux User # 315649 
Registered Machine # 201001

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation-but getting there

2003-06-16 Thread Anne Wilson
On Monday 16 Jun 2003 10:08 pm, Langsley T Russell wrote:
> Hi Johns.
>
> OK I believe that I finally managed to edit my lilo.conf file as
> directed. I just checked my /sbin/lilo file, this is what appears.
>
> [EMAIL PROTECTED] langsley]# /sbin/lilo
> Added linux *
> Added failsafe
> Added windows
> Added floppy
>
> I see nothing about nay CD ROM or CDRW drive there. Must I add this
> in some way?
>
This is listing the various stanzas, so you wouldn't expect to see the 
details.

> About the /etc/fstab file: This is what is currently in there.
>
> /dev/hda6 / ext3 defaults 1 1
> none /dev/pts devpts mode=0620 0 0
> none /dev/shm tmpfs defaults 0 0
> /dev/hda8 /home ext3 defaults 1 2
> /mnt/floppy /mnt/floppy supermount
> dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=8
>50 0 0
> /mnt/hdb /mnt/hdb supermount dev=/dev/hdb,fs=auto,--,user 0 0
> /mnt/scd0 /mnt/scd0 supermount
> dev=/dev/scd0,fs=auto,--,user,iocharset=iso8859-1,suid 0 0
> /dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850
> 0 0 /dev/hda5 /mnt/win_d vfat
> iocharset=iso8859-1,umask=0,codepage=850 0 0 none /proc proc
> defaults 0 0
> /dev/hda7 swap swap defaults 0 0
>
> What must I edit and how? My CDRW drive is mounted as hdb and my
> old CD ROM is mounted as scd0 I believe.
>
> Again thanks for all the help and considerable patience!
>
It look absolutely fine to me.  And your reading of the cd-rom and 
cd-rw positions is correct.  Go ahead, now try it.  Everything should 
be ok.

Anne

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation-but getting there

2003-06-16 Thread Langsley T Russell
Hi Johns. 

OK I believe that I finally managed to edit my lilo.conf file as
directed. I just checked my /sbin/lilo file, this is what appears. 

[EMAIL PROTECTED] langsley]# /sbin/lilo
Added linux *
Added failsafe
Added windows
Added floppy

I see nothing about nay CD ROM or CDRW drive there. Must I add this in
some way?

About the /etc/fstab file: This is what is currently in there. 

/dev/hda6 / ext3 defaults 1 1
none /dev/pts devpts mode=0620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda8 /home ext3 defaults 1 2
/mnt/floppy /mnt/floppy supermount
dev=/dev/fd0,fs=vfat,--,iocharset=iso8859-1,umask=0,sync,codepage=850 0
0
/mnt/hdb /mnt/hdb supermount dev=/dev/hdb,fs=auto,--,user 0 0
/mnt/scd0 /mnt/scd0 supermount
dev=/dev/scd0,fs=auto,--,user,iocharset=iso8859-1,suid 0 0
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-1,umask=0,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0

What must I edit and how? My CDRW drive is mounted as hdb and my old CD
ROM is mounted as scd0 I believe.

Again thanks for all the help and considerable patience! 

LTR  }}:{(


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation ??

2003-06-15 Thread John Drouhard
On 15 Jun 2003 17:17:45 -0500
Langsley T Russell <[EMAIL PROTECTED]> wrote:

> Hi again John. 
> 
> You said:
> 
> > What exactly does it do when you try to edit the file as root? It
> > should work.
> 
> Here is a copy and paste from my terminal of exactly what I entered and
> the response it got.
> 
> [EMAIL PROTECTED] langsley]# /etc/lilo.conf

Ah, you are trying to execute the lilo.conf file, which is impossible,
because it is only a config file. You must type the name of the program
to edit the file, then the file (ie,nano /etc/lilo.conf, or joe
/etc/lilo.conf, or vi /etc/lilo.conf). You might want to install them,
and read their man pages to understand how to use them. For now, just
use midnight commander with F4, and F2 for saving.

> 
> > Try installing Midnight Commander (my favorite) by typing 'urpmi
> > mc' without the quotes. Then follow the instructions. Once it is
> > installed, type mc in the command line as root. Then navigate to /etc.
> > Scroll down until you find lilo.conf, and then press F4. It should
> > open
> > the file for editing. Then change the append line under linux, and
> > linux-nonfb to say hdb=ide-scsi (plus whatever else was already there:

It does appear that you don't have a linux-nonfb, forget about that sorry. :)

> > append="quiet devfs=mount hdd=ide-scsi hdb=ide-scsi acpi=off" 
> 
> 
> As I am sure you can see, there is no,  "append line under linux,"  The
> only append lines I see are "under" image=/boot/vmlinuz  and
> image=/boot/vmlinuz Unless I simply don't understand what "under" means.

image=/boot/vmlinuz
 label=linux  <--- thats what I meant by linux
 root=/dev/hda6
 initrd=/boot/initrd.img
 append="devfs=mount hdb=ide-scsi"   I am unable to find anything in the lilo.conf file which says
> "linux-nonfb" Therefore I have no idea what I should edit , "to say
> hdb=ide-scsi (plus whatever else was already there":
> 

> My attempts at editing the /etc/fstab file met with the same "permission
> denied" result. I have yet to try it using MC, but thought I should get
> this off while I work on that so that this dialog can progress and I can
> get my CDRW working. 

Again, you must call the editor, then the file. Edit this file as instructed in 
earlier emails.


Hope you get this working.

John Drouhard

-- 
Sun Jun 15 21:28:42 UTC 2003
-
They told me to install Windows 98 or better, so I installed Linux.
Registered Linux User # 315649
Registered Machine # 201001

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation ??

2003-06-15 Thread Langsley T Russell




Hi again John. 

You said:

What exactly does it do when you try to edit the file as root? It should work.

Here is a copy and paste from my terminal of exactly what I entered and the response it got.

[EMAIL PROTECTED] langsley]# /etc/lilo.conf
bash: /etc/lilo.conf: Permission denied
[EMAIL PROTECTED] langsley]#

You then said:

Try installing Midnight Commander (my favorite) by typing 'urpmi
mc' without the quotes. Then follow the instructions. Once it is
installed, type mc in the command line as root. Then navigate to /etc.
Scroll down until you find lilo.conf, and then press F4. It should open
the file for editing. Then change the append line under linux, and
linux-nonfb to say hdb=ide-scsi (plus whatever else was already there:

append="quiet devfs=mount hdd=ide-scsi hdb=ide-scsi acpi=off" 

 Once again I did as you recommended and installed Midnight Commander. I spent about 6 hours or so discovering how to "navigate to /etc and opening the lilo.conf file. When I did, this what I found.

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=normal
default=linux
keytable=/boot/us.klt
lba32
prompt
nowarn
timeout=150
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
    label=linux
    root=/dev/hda6
    initrd=/boot/initrd.img
    append="devfs=mount"
    read-only
image=/boot/vmlinuz
    label=failsafe
    root=/dev/hda6
    initrd=/boot/initrd.img
    append="failsafe devfs=nomount"
    read-only
other=/dev/hda1
    label=windows
    table=/dev/hda
other=/dev/fd0
    label=floppy
    unsafe

As I am sure you can see, there is no,  "append line under linux,"  The only append lines I see are "under" image=/boot/vmlinuz  and image=/boot/vmlinuz Unless I simply don't understand what "under" means.

I am unable to find anything in the lilo.conf file which says "linux-nonfb" Therefore I have no idea what I should edit , "to say hdb=ide-scsi (plus whatever else was already there":

You then asked:

Did you already edit fstab? If not, follow the directions in my other
email for doing that. When you are ready to save, press F2, then F10
twice to exit.

My attempts at editing the /etc/fstab file met with the same "permission denied" result. I have yet to try it using MC, but thought I should get this off while I work on that so that this dialog can progress and I can get my CDRW working. 

Thanks again for all the effort you're putting into this. 



LTR  }}:{(








Re: [newbie] Still No SCSI Emulation ??

2003-06-13 Thread Langsley T Russell




Hi again John.

You asked:

What is the output of this command:
ls -l /etc/lilo.conf

It should say this to be correct:
-rw-r--r--    1 root root  864 May 19 15:34 /etc/lilo.conf

I entered the command and got the output you said would be correct except that the date is different. 

You then said:

If it doesn't, then try doing the chmod a-rwx /etc/lilo.conf and chmod +rw /etc/lilo.conf
They should be done as root, and if done correctly,
you will get no output at all.


HTH,
John Drouhard

I did that also and got nothing but a return to my original root command line cursor. Now what? 



LTR  }}:{(
~~~
[EMAIL PROTECTED]
http://www.bullovedbulldogs.com/








Re: [newbie] Still No SCSI Emulation ??

2003-06-13 Thread John Drouhard
On 12 Jun 2003 15:46:05 -0500
Langsley T Russell <[EMAIL PROTECTED]> wrote:

> On Thu, 2003-06-12 at 13:18, John Richard Smith wrote:
> 
> > If I were you I'd go to MCC and alter grub to lilo graphical and do as
> > listed here(as root)
> 
> Well I did as you recommended and switched to lilo graphical as my boot
> loader. I rebooted to make sure the changes I made took effect and that
> it works, which it does. 
> 
> Now when I open a terminal as root, and type in /etc/lilo.conf
> permission is denied to /etc/lilo.conf. If root doesn't have permission
> how can I do anything with the file? What must I do to get permission to
> edit this file?

What is the output of this command:
ls -l /etc/lilo.conf

It should say this to be correct:
-rw-r--r--1 root root  864 May 19 15:34 /etc/lilo.conf

If it doesn't, then try doing the chmod a-rwx /etc/lilo.conf and chmod +rw 
/etc/lilo.conf
They should be done as root, and if done correctly,
you will get no output at all.


HTH,
John Drouhard

-- 
Fri Jun 13 13:42:29 UTC 2003
-
They told me to install Windows 98 or better, so I installed Linux.
Registered Linux User # 315649
Registered Machine # 201001

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Still No SCSI Emulation ??

2003-06-12 Thread Langsley T Russell




On Thu, 2003-06-12 at 13:18, John Richard Smith wrote:

If I were you I'd go to MCC and alter grub to lilo graphical and do as 
listed here(as root)

Well I did as you recommended and switched to lilo graphical as my boot loader. I rebooted to make sure the changes I made took effect and that it works, which it does. 

Now when I open a terminal as root, and type in /etc/lilo.conf permission is denied to /etc/lilo.conf. If root doesn't have permission how can I do anything with the file? What must I do to get permission to edit this file?



LTR  }}:{(








Re: [newbie] Still No SCSI Emulation ??

2003-06-12 Thread John Richard Smith
Langsley T Russell wrote:

On Mon, 2003-06-09 at 16:39, John Drouhard wrote:
 

as root, try chmod a-rwx /etc/modules.conf, and then
chmod +rw /etc/modules.conf
That should allow you to modify it as root. 
   

I typed- chmod a-rwx /etc/modules.conf and hit enter. That returned me
to my root login.
Then I typed- chmod +rw /etc/modules.conf  and hit enter. once again it
simply took me back to where I started, back to my root login.
 

And to get scsi emulation,
find which cd you want to be emulated (ie hdb or hdc), then edit
lilo.conf to say something like this: ...
   

I'm using grub not lilo. 

 

Then, edit /etc/fstab and make it look like this (only the cdrom
lines, there are many more lines):
   

I find no lines identified as cdrom lines. The device I'm trying to set
up is currently listed as hdb. would that be the line/s. Or will that
change if I once get my boot loader setup?
On Tue, 2003-06-10 at 04:18, John Richard Smith wrote: 
 

Two things,

add to the append line in/etc/lilo.conf  like this
append=" hdc=ide-scsi hdd=ide-scsi "
then run in terminal.
/sbin/lilo to check new lilo script is OK
this will scsi-em's both dvd and writer.
   

As I mentioned above I'm using grub not lilo. Can I accomplish a similar
result using grub?
I don't use grub, but suerly that must be so, I expect there will be a 
/etc/grub.conf or something when using grub instead of lilo. But I don't 
know since I've given up using grub years ago.
If I were you I'd go to MCC and alter grub to lilo graphical and do as 
listed here(as root)

 

change in /etc/fstab like this
/dev/scd0 /mnt/cdrom auto 
user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0
/dev/scd1 /mnt/cdrom2 auto 
user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0
this enables the new scsi-em'd devices to be mounted.
   

I have a stone-age SCSI 1X CD ROM drive in my system now. Would this
affect the ID as (scd0) The device I'm currently trying to get to work
under the emulation is a Samsung 48X CDRW-DVD ROM drive currently
identified as hdb, and mounted as CDRW.
I wouldn't of though either of the drives would matter much.

Thanks for all the help. I'm determined to get this thing worked out.

 



--
John Richard Smith
[EMAIL PROTECTED] 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[newbie] Still No SCSI Emulation ??

2003-06-12 Thread Langsley T Russell
On Mon, 2003-06-09 at 16:39, John Drouhard wrote:
> as root, try chmod a-rwx /etc/modules.conf, and then
> chmod +rw /etc/modules.conf
> 
> That should allow you to modify it as root. 

I typed- chmod a-rwx /etc/modules.conf and hit enter. That returned me
to my root login.
Then I typed- chmod +rw /etc/modules.conf  and hit enter. once again it
simply took me back to where I started, back to my root login.

> And to get scsi emulation,
> find which cd you want to be emulated (ie hdb or hdc), then edit
> lilo.conf to say something like this: ...

I'm using grub not lilo. 

> Then, edit /etc/fstab and make it look like this (only the cdrom
> lines, there are many more lines):

I find no lines identified as cdrom lines. The device I'm trying to set
up is currently listed as hdb. would that be the line/s. Or will that
change if I once get my boot loader setup?

On Tue, 2003-06-10 at 04:18, John Richard Smith wrote: 
> Two things,
> 
> add to the append line in/etc/lilo.conf  like this
> append=" hdc=ide-scsi hdd=ide-scsi "
> 
> then run in terminal.
> /sbin/lilo to check new lilo script is OK
> 
> this will scsi-em's both dvd and writer.

As I mentioned above I'm using grub not lilo. Can I accomplish a similar
result using grub?

> change in /etc/fstab like this
> /dev/scd0 /mnt/cdrom auto 
> user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0
> /dev/scd1 /mnt/cdrom2 auto 
> user,iocharset=iso8859-15,umask=0,exec,codepage=850,ro,noauto 0 0
> this enables the new scsi-em'd devices to be mounted.

I have a stone-age SCSI 1X CD ROM drive in my system now. Would this
affect the ID as (scd0) The device I'm currently trying to get to work
under the emulation is a Samsung 48X CDRW-DVD ROM drive currently
identified as hdb, and mounted as CDRW.

Thanks for all the help. I'm determined to get this thing worked out.

LTR  }}:{(
~~~
[EMAIL PROTECTED]
http://www.bullovedbulldogs.com/


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com