Re: Tape Drive With Linux.

"Richard and Renee Goodwin" <[email protected]> Wed, 1 May 2002 13:18:02 -0500
Newsgroups gmane.linux.tape
Message-ID <025001c1f13c$88f7af70$647ba8c0@beeners>
Sorry, stupid email client sent before I was ready.. You just append th=
e
"hdd=3Dide-scsi" to the line that references the kernel, ie:

kernel /vmlinuz-2.4.7-10 ro root=3D/dev/hda2 hdd=3Dide-scsi

That should do it :)


----- Original Message -----
=46rom: "Matthew Stanfield" <[email protected]>
To: "Richard and Renee Goodwin" <[email protected]>; "Mike Dresser=
"
<[email protected]>; "Wolfgang Weisselberg"
<[email protected]>
Cc: <[email protected]>
Sent: Wednesday, May 01, 2002 1:10 PM
Subject: Re: Tape Drive With Linux.


> > Red Hat 7.2 uses Grub as the default boot loader. You need to add t=
he
> > "hdd=3Dide-scsi" to the line that you currently boot with in the
> > /boot/grub/grub.conf (I believe that is the file). Leave off the
"append",
> > you'll see that you can just add to the end of the line in GRUB, ve=
rsus
> > having to "append" with lilo.
> >
> > And I, for one, don't mind many questions being asked :-)
>
> Thanks Richard, Wolfgang and Mike.
>
> The boot file is where Richard said it would be, well done.
>
> To clarify what I should be doing here is my grub.conf file:
>
> ---------------------------------------------------------------------=
-
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to thi=
s
file
> # NOTICE:  You have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /boot/, eg.
> #          root (hd0,0)
> #          kernel /vmlinuz-version ro root=3D/dev/hda2
> #          initrd /initrd-version.img
> #boot=3D/dev/hda
> default=3D0
> timeout=3D10
> splashimage=3D(hd0,0)/grub/splash.xpm.gz
> password --md5 $1$=A6+++-HdV$aGxlQba7xWWCEahc3kUwB.
> title Red Hat Linux (2.4.7-10)
> root (hd0,0)
> kernel /vmlinuz-2.4.7-10 ro root=3D/dev/hda2
> initrd /initrd-2.4.7-10.img
> title DOS
> rootnoverify (hd1,3)
> chainloader +1
> ---------------------------------------------------------------------=
-
>
> I should add the line "hdd=3Dide-scsi" after the line "initrd
> /initrd-2.4.7-10.img" and before the line "title DOS". Is that correc=
t?
>
>
> > > and then to add this line (modprobe ide-scsi) to the file
> > > /etc/rc.d/rc.local --this file I do have.
> >
> > Which will load the ide-scsi driver as a module.  If it's
> > compiled into your kernel, this will generate a harmless warning.
> > If you have compiled your kernel yourself, you have to make sure
> > that the ide-scsi driver is available.
>
> Ok, so I should try seeing if my tape works without adding this line,
> having rebooted first, cos it may already be in my Kernel. If it does=
n't
> work then it should do so after adding this line. Is that correct?
>
> Also thanks guys for the linking info (using 'ln') I am learning a lo=
t
> today!
>
> Anything to stop me making two links like this:
>
> ln -s /dev/nst0 /dev/tape-rewind
> ln -s /dev/st0 /dev/tape-no-rewind
>
> depending on whether I want to rewind or not?
>
> Finally many thanks for all your emails, what a helpfull place this l=
ist
> is.
>
> Regards and best wishes,
>
> ..matthew
> -
> To unsubscribe from this list: send the line "unsubscribe linux-tape"=
 in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

-
To unsubscribe from this list: send the line "unsubscribe linux-tape" i=
n
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html