歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 簡單編譯升級內核激活FC1上的USB硬盤

簡單編譯升級內核激活FC1上的USB硬盤

日期:2017/2/27 9:31:03   编辑:更多Linux
  到www.kernel.org下載最新內核,我下載的是Linux-2.6.6.tar.bz2文件   1. #cp linux-2.6.6.tar.bz2 /usr/src/   2. #cd /usr/src   3. #tar xvfj linux-2.6.6.tar.bz2   4. #cd linux-2.6.6   5. #make menUConfig   注意,請選中   <M> OHCI HCD support   <M> UHCI HCD (most Intel and VIA) support   別的請勿改變,修改完畢後,退出並保存   6. #make   7. #make modules_install   8. #make install   9. #vi /etc/rc.d/rc.local   加入兩行   modprobe usb-storage   modprobe uhci-hcd   10. 重啟機器,在grub中選擇進入2.6.6內核   11. #fdisk -l /dev/sda   Disk /dev/sda: 30.0 GB, 30005821952 bytes   255 heads, 63 sectors/track, 3648 cylinders   Units = cylinders of 16065 * 512 = 8225280 bytes     Device Boot Start End Blocks Id System   /dev/sda1 2 3647 29286495 f Win95 Ext'd (LBA)   /dev/sda5 2 3647 29286463+ c Win95 FAT32 (LBA)   12. #mount -o codepage=936,iocharset=cp936 /dev/sda5 /mnt/cdrom   13. #ls /mnt/cdrom




Copyright © Linux教程網 All Rights Reserved