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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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
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
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.
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...
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
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?
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.