📄 00000007.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER> <BR>Slackware FAQ, last revised: 5 November 1994 <BR> <BR>These are questions people ask me quite often. Hopefully now that they're <BR>answered here that won't be the case. :^) <BR> <BR>----- <BR> <BR>Q: When I installed Slackware, the system could see my CD-ROM just fine. But, <BR> when I try to boot using LILO or the bootdisk the system doesn't find the <BR> CD-ROM drive anymore! How can I fix this? <BR> <BR>A: The problem is probably that you used a bootkernel disk with support for your <BR> CD-ROM drive, but didn't install a kernel with support. If you have a <BR> non-SCSI CD-ROM drive, or a SCSI CD-ROM drive on a controller with alpha <BR> (experimental) support, then you may need to use a kernel from the Q disk <BR> series that contains the proper support. <BR> <BR> You can use the same bootkernel disk you installed the system with to get <BR> into your machine. Use a command like this on the LILO prompt, but replace <BR> the root device name with the one you used on your machine: <BR> <BR> mount root=/dev/hda <BR> <BR> Once you're logged in, you need to install a new kernel. Use pkgtool or <BR> installpkg to install it: <BR> <BR> cd /cdrom/slakware/q4 (or possibly another directory with kernel packages) <BR> installpkg mitsumi.tgz (this one has Mitsumi CD support) <BR> <BR> You'll need to install LILO, build a bootdisk, or have Loadlin boot the new <BR> kernel before it will work. See the question below about "I just built a <BR> new kernel..." (The kernel packages install the kernel as /vmlinuz, not <BR> zImage, so use /vmlinuz wherever the answer mentions zImage.) <BR> <BR> NOTE: for the best possible results, you need to compile a kernel that only <BR> contains drivers for the hardware you have. If you're ready to tackle that <BR> task, zless /usr/doc/faq/howto/Kernel-HOWTO.gz on your installed system. <BR> <BR>----- <BR> <BR>Q: I got a PROBLEM_WITH_INEWS_DOMAIN_FILE! <BR> <BR>A: Then set your hostname in /etc/NNTP_INEWS_DOMAIN. <BR> <BR>----- <BR> <BR>Q: Why do I get "network unreachable" under Slackware? <BR> <BR>A: There are a couple of possibilities. For most users, things work right out <BR> of the box. However, if you're running into this problem here are two <BR> workarounds you can try: <BR> <BR> 1. Reverse the broadcast and netmask arguments (and their variables) <BR> in the call to ifconfig in /etc/rc.d/rc.inet1. Make sure you are <BR> not trying to route your own IP address - you shouldn't have to. <BR> <BR> 2. Make sure /etc/networks is properly configured. <BR> <BR> 3. You may want to try the 'netconfig' script (in the package netcfg.tgz). <BR> It's not perfect, but does a pretty good job. <BR> <BR> 4. Make sure the kernel you're using supports your hardware. Most of the <BR> kernels provided with Slackware include a /boot/config.in file where you <BR> can look up the compilation options. <BR> <BR>----- <BR> <BR>Q: Why the $%#@! isn't my UltraStor SCSI detected? It works under DOS! <BR> <BR>A: Set the I/O address to 0x340 instead to 0x330. <BR> <BR> For any hardware that doesn't work, a good rule is to try playing around <BR> with the IRQ and I/O settings on it to see what happens. If your system <BR> is up and running and you're having problems with a CD-ROM or tape or <BR> something like this, you can always look around for the driver source in <BR> /usr/src/linux/drivers... really, it won't bite! Often, the source <BR> contains important documentation, such as the default IRQ settings for <BR> that type of device, and the major number for the entry in /dev. Also, <BR> try other bootkernels and see if that helps. <BR> <BR>----- <BR> <BR>Q: My large (> 1/2 gig) IDE drive reports more than 16 heads, and as a <BR> result Linux won't install on it. What can I do? <BR> <BR>A: See the file EIDE.TXT for instructions on how to make it work. (Thanks to <BR> Bob DiMarco for forwarding this to me, and Patrick LoPresti for compiling <BR> the information in the first place) <BR> <BR> Note that newer kernels (> 1.1.40) will do this translation for you <BR> automatically, and thus make the workaround unnecessary. Once these new <BR> kernels make it into the Q series, you should probably use one of them if <BR> you have an EIDE drive and want to avoid the whole problem. <BR> <BR>----- <BR> <BR>Q: How do I make a Slackware bootkernel disk with this new kernel I made? <BR> <BR>A: OK, well you grab an existing one like the "bare.gz", put it on a floppy, <BR> and do this: <BR> <BR> mount /dev/fd0 /mnt (this mounts it) <BR> cat zImage > /mnt/vmlinuz (put the new kernel in place) <BR> rdev -R /mnt/vmlinuz 0 (mount read-write) <BR> rdev /mnt/vmlinuz /dev/fd0H1440 (use that drive, or /dev/fd0h1200) <BR> rdev -r /mnt/vmlinuz 1440 (set the ramdisk size, or use 1200 with 1.2 meg) <BR> lilo -r /mnt (reinstall lilo) <BR> umount /mnt (that's it! you're done! :^) <BR> <BR> If you want it to stop and give the message to switch disks, you'll need the <BR> ramdisk.c patch in /pub/linux/slackware/kernels on ftp.cdrom.com. I have no <BR> idea if this will still patch into the newest kernels. Otherwise, you don't <BR> really need it if you're brave enough to just switch the new disk in as soon <BR> as you see the "Uncompressing Linux..." message. It's always worked for me. <BR> <BR>----- <BR> <BR>Q: I just built a new kernel. Now how to I go about replacing my existing <BR> kernel with this new zImage file? <BR> <BR>A: First, you must prepare the new kernel. If you're using UMSDOS, you'll want <BR> your system to boot read-write. Otherwise, you'll want it to boot read-only <BR> so your filesystems can be safely checked. So, do this: <BR> <BR> For UMSDOS: <BR> rdev -R zImage 0 <BR> For any other filesystem type: <BR> rdev -R zImage 1 <BR> <BR> Then, you'll need to set the root partition. For example, if your root <BR> Linux partition is /dev/hda2, you'd do this: <BR> <BR> rdev zImage /dev/hda2 <BR> <BR> Then, you can set a video mode if you like. As an example, this sets normal <BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -