📄 00000019.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: linuxrat (竹剑居士*打回原形), 信区: Linux <BR>标 题: 在Linux下安装IDE CD-R刻录机[FWD] <BR>发信站: BBS 水木清华站 (Wed Jan 19 10:20:58 2000) <BR> <BR> 英文的啦, 谁有空给翻译一下. 有能力的就实践一下. 我负责转文章的说. 呵呵 <BR> URL: www.thelinuxgurus.org <BR>=======Begin========= <BR> <BR> Installing an IDE CD-R Under Linux <BR> <BR> So, you have a brand new IDE CDR for your Linux box and your just <BR> itching to burn Linux CDs to give out to all your friends, buddies, <BR> pals, and anyone who will listen. Getting that IDE CDR to actually <BR> work under Linux is the problem. No, it is not difficult, and chances <BR> are your IDE CDR will work fine, plus there is tons of software for <BR> it. Here is the problem, there are no native IDE CDR drivers in Linux <BR> and all the CDR software is designed to work with a SCSI CDR. Follow <BR> the simple instructions below and you will soon be burning CDs like a <BR> madman (or woman). <BR> <BR> A word of warning, you MUST recompile your kernel in order to get <BR> support for your IDE CDR. If you are uncomfortable with this then you <BR> may want to skip this tutorial and have someone else do it for you <BR> (buy me plane tickets, Ill come do it for you!). <BR> <BR> The process is actually fairly straight forward. There is no KERNEL <BR> option called IDE CR-R Support, if there were then this would be easy. <BR> No, what we must do is use a little known feature of the kernel to <BR> make you IDE CD-ROMS look like scsi CD-ROMS and CD-Rs. <BR> <BR> Let us start. Log into your Linux machine as root and navigate to the <BR> /usr/src/linux directory and issue this command: make xconfig <BR> <BR> Your machine will be busy for a few seconds to a few minutes depending <BR> on what speed your machine is. Once finished you will be left with a <BR> menu that looks something like this (depending on your kernel <BR> version). <BR> <BR> [kernelconfig.jpg] <BR> <BR> We are only concerned with a few options, I will not go through each <BR> and every option of kernel configuration, only the ones we are <BR> concerned with. Press the option labeled Block Devices and you will <BR> get a new menu. The first thing we have to do is turn OFF IDE CD-ROM <BR> support. The option for IDE CD-ROM support is 6 or 7 lines down, <BR> simply choose n to not include it in your new kernel . One more option <BR> has to be turned on, scroll down until you see the SCSI emulation <BR> support and turn it on and then go back to the main menu. <BR> <BR> Now we have to turn on SCSI support (yes, I know you have an IDE <BR> drive, bear with me). You should be back at the main menu now, press <BR> the SCSI support button and a new menu pops up. Say yes to the very <BR> first menu option which will compile in SCSI support. Now,three or <BR> four lines down you will see the option to include SCSI CD-ROM <BR> drivers, say yes to that option. Also say yes to SCSI generic support <BR> and press the Main Menu button at the bottom of the screen. <BR> <BR> Ok, now that you are at the main menu choose Save and exit to return <BR> to your shell prompt. Now you must compile the kernel. Issue the <BR> following command: <BR> <BR> make dep;make clean;make bzImage;make modules;make modules_install <BR> <BR> Depending on your machine this could take quite awhile, so take a <BR> break and go get a snack. When it is finished it is time to install <BR> the new kernel and reboot the machine. <BR> <BR> Welcome back! Your kernel should be done compiling, so now you must <BR> install it. The new kernel will be residing in the following <BR> directory: /usr/src/linux/arch/i386/boot. Go there now, you will see a <BR> file named bzImage. Copy this file to your /boot directory with some <BR> sort of descriptive name. I will call mine scsi and use the following <BR> command: cp ./bzImage /boot/scsi. <BR> <BR> The kernel is compiled and copied to the /boot directory, now it is <BR> time to tell LILO about it. I assume you use LILO to boot your <BR> machine, fire up your favorite text editor and load up the LILO <BR> configuration file which resides in /etc/lilo.conf. Mine looks like <BR> this: <BR>boot=/dev/hda <BR>read-only <BR>prompt <BR>timeout=100 <BR>vga=no <BR> <BR>image=/boot/vmlinuz <BR>root=/dev/hda3 <BR>label=LinuxSMP <BR> <BR> This file tells LILO where your kernels are located and a bit more <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -