LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-03-2005, 10:46 AM   #1
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
lilo help? cdrecorder isn't working with 2.4


want to burn a cd... but don't know how - using a very fresh install of slackware (2 weeks old) with about nothing else installed - i want to go to debian... and have the minicd iso downloaded, but... how do i go about doing it? im just mainly looking for something simple... not neccisarily the whys and wherefors and hows behind it - not for now i doubt much'l sink in...

this is just random thoughts on what ive done so far and what im working with: (sorry they aren't in any order)

i have 2 drives, a dvd drive and a cd burner, which is not a scsi drive - just yer regular ide

i believe i have a 2.4x kernel... although i dont know the command to check...

nor do i know the command to check to see if my drives are even working
(i know how to mount cds, but thats about it)

i read something about xcdroaster that was supposed to be included with slack but i can't find it installed

when i run cdrecord -scanbus it doesn't show anything, it errors out (i understand im supposed to get 3 numbers from that and i can use that for my burner..
this is what it says:
drecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

dmesg | grep ATAPI shows nothing that i can see of use, i can for example put a music cd into my dvd drive (not the burning drive) and play it in kde using whatever cd player program...:
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected
pg: No ATAPI device detected


dmesg | grep CD just gives me another bash prompt - doesn't print anything

i couldn't really find anything on google (i couldn't think of any search terms that didn't pull up 1000 useless docs) and slacks "help" is a complete joke, i looked around on the forum for a bit but i didn't see anything that could help me, because im not exactly sure what i need... is it a driver issue or a cdrecorder issue or a pibkac/id10t error?

am i doing something completely stupidly wrong/missing something? im totally new so im sorry....

thanks in advance for your help

Last edited by xk00zx; 03-03-2005 at 08:29 PM.
 
Old 03-03-2005, 10:51 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
is it a scsi drive?
if it's an atapi (ide) device then you'd use /dev/cdrom (or /dev/cdrom1) as your cdrecord device.
 
Old 03-03-2005, 10:58 AM   #3
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
er... no its not a scsi - just ide - and am i missing something painfully obvious? because

cdrecord -scanbus dev=/dev/cdrom
cdrecord -scanbus dev=/dev/cdrom1

both give me (almost) the same errors.
 
Old 03-03-2005, 11:56 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
perhaps you might have to recompile a kernel for ide-scsi emulation... but forget the -scanbus, it's scanning the scsi bus, also... get gcombust, it provides enough of a frontend that can make it convenient to override the scanbus settings
 
Old 03-03-2005, 12:44 PM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You can use k3b or do,
#cdrecord -v dev=/dev/hdc filename.iso (change hdc to your cd writing device).
 
Old 03-03-2005, 01:51 PM   #6
wpn146
Member
 
Registered: Jan 2005
Distribution: Solaris, Linux Fedora Core 6
Posts: 170

Rep: Reputation: 30
The advice posted above about using "/dev/hdc" may work ... it's worth a try.

Using the "/dev/hdc" as the device name instead of the three numbers was added in the 2.6 kernel. Some distros backpatched it into their 2.4 release, each distro doing it their own way, etc...

The command "uname -r" will print your kernel version, also it would be useful if you mentioned your slackware version. ("uname -a" will print out a lot more information.)

If you have a pure 2.4 kernel, you will probably have to add "hdc=ide-scsi" to your kernel boot options in your grub.conf file. (or "hdc=ide-scsi hdd=ide-scsi" if you have two cdrom drives.) Back when I was running 2.4, this caused the system to create a link for "/dev/cdrom" pointing to "/dev/scd0" . What the above does is emulate scsi for your cdrom drives, which is what the unpatched "cdrecord" was intended to use. Then, when you do "cdrecord -scanbus", the three numbers will appear.

Obviously, at least part of what I am suggesting is totally wrong because I don't know what is in your kernel. Also, I am not a slackware user so knowing your slackware version is really to help other people help you, but I hope this at least gives you something more to try.

Edit:
I am adding an excerpt from my Redhat 9 grub.conf file to show where the "hdc=ide-scsi" goes. Your line will be different, but it is the "kernel" line and the "hdc=ide-scsi" is added to the end.
Code:
title Red Hat Linux (2.4.20-30.9smp)
        root (hd0,0)
        kernel /boot/vmlinuz-2.4.20-30.9smp ro root=LABEL=/ hdc=ide-scsi
        initrd /boot/initrd-2.4.20-30.9smp.img

Last edited by wpn146; 03-03-2005 at 02:06 PM.
 
Old 03-03-2005, 03:58 PM   #7
JBB
LQ Newbie
 
Registered: Mar 2005
Location: Brainerd, MN USA
Distribution: Debian jessie
Posts: 14

Rep: Reputation: 0
If you have a fast connection, or not, and a floppy drive you can do what I did. Worked pretty darn slick too.

Go to: http://www.debian.org/distrib/netinst and follow the instructions for making bootable floppies for a netinstall. I didn't have to do any configuring, just booted from the floppies answered a few questions and read a book while my computer was churnin' away. Hope you have the same experience.

JBB

Last edited by JBB; 03-03-2005 at 05:13 PM.
 
Old 03-03-2005, 07:53 PM   #8
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
sorry about the missing info - kernel version is 2.4.29... and its the latest slackware distribution(how do i check) - 10.1 i believe? a knowledgeable (and unavailable) friend told me to install a program that keeps slack updated right after i installed, i installed and used it but dont remember the name for it and forgot to provide links for it.

so um, i want to try adding the hdc and hdd line (right after eachother) to my lilo (it installed that not grub with this distro), then reboot since its a 2.4 (im praying that its what you considered a "true" 2.4) but... lilo doesn't have a kernel line... where should i put it in this mess:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot="/dev/hda"
message = /boot/boot_message.txt
prompt
timeout="20"
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins

image="/boot/vmlinuz"
root="/dev/hda1"
label="Linux"
read-only
# Linux bootable partition config ends

Thats what it looks like right now... thanks again for all your guys's help.

about the floppy drive - i dont have one, i never though i'd ever be going through all of this just to burn a cd...
 
Old 03-03-2005, 07:58 PM   #9
jaz
LQ Newbie
 
Registered: Apr 2004
Location: midwest
Distribution: fedora core 1
Posts: 12

Rep: Reputation: 6
I had the same trouble, gave up and burned the ISO using NERO on my Windows partition. Worked like a charm but I hated that I chumped out and got frustrated on my Linux partition
 
Old 03-03-2005, 08:03 PM   #10
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
i devoted my entire harddrive to slackware... there are other computers in this house (how i managed to get this thing online) but... its becoming more of a learning experience than anything to get this burned - so far, i dont want to chump out and waste the bandwidth by re-downloading it... (or by setting up... is it samba to network with windows machines?) so yea. i'd really love to learn... but... *eep!* this is like learning everything again.... i can fix almost anything on a windows machine, but.. blah...

but. yea - where do i add in the scsi stuff to my lilo?

Last edited by xk00zx; 03-03-2005 at 09:31 PM.
 
Old 03-03-2005, 10:13 PM   #11
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
*bump* anyone?
 
Old 03-04-2005, 04:43 AM   #12
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
image="/boot/vmlinuz"
...
append = "hdc=ide-scsi hdd=ide-scsi"

is the line you need in /etc/lilo.conf, then after the file is saved, type /sbin/lilo and reboot.

After reboot, try cdrecord --scanbus and it should have both the dvd and burner drives listed. This ide-scsi is a kernel module and Slackware's default kernel setup installs modules for almost everything the Linux kernel has, it just needs to be loaded. To check, at this point you should be able to type lsmod and see the ide-scsi module in the list.


To burn a cd use:

cdrecord dev=x,y,z padsize=63s -pad -v -data /path_to/image.iso

...where x,y,z is the burner from scanbus and /path_to/image.iso is the ISO you downloaded ie /home/darin/debian1.iso or wherever you placed it.

Last edited by Darin; 03-04-2005 at 04:47 AM.
 
Old 03-04-2005, 06:02 PM   #13
xk00zx
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware
Posts: 6

Original Poster
Rep: Reputation: 0
Alright. That worked in its entirety! I burned the cd. Thank you SO much, that was awesome advice.
 
Old 03-04-2005, 07:55 PM   #14
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You do not need to use scsi emulation with the new cdrecord even if you are using the 2.4.x kernel version. You can specify the IDE device of your CD-RW drive. Sorry I do not remember the syntax.

If you want a GUI program to help you write CD and DVD, use K3B.
 
Old 03-06-2005, 12:50 PM   #15
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally posted by Electro
You do not need to use scsi emulation with the new cdrecord even if you are using the 2.4.x kernel version. You can specify the IDE device of your CD-RW drive. Sorry I do not remember the syntax.

If you want a GUI program to help you write CD and DVD, use K3B.
user@slack10.1:/# cdrecord --version
Cdrecord-Clone 2.01 (i686-pc-linux-gun) Copyright (c) 1995-2004 Jorg Schilling

That's what is in my fresh install of Slackware 10.1 with 2.4.x kernel and I either had the syntax wrong or this version of cdrecord doesn't work on IDE, without SCSI emulation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to burn an .iso Smokey Slackware 9 06-10-2005 02:58 AM
iso burn? ndog42 Linux - Software 20 06-13-2004 11:09 PM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 09:05 AM
I downloaded the gentoo iso in mandrake, what program do i burn the iso with backflippin General 4 04-05-2004 11:20 AM
Do I burn the ISO, or burn what's contained in it? Borg Swarm Linux - General 1 02-06-2004 06:30 PM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration