Simple compilation and Kernel upgrade to activate the USB hard drive on FC1

Source: Internet
Author: User
Article title: simply compile and upgrade the kernel to activate the USB hard drive on FC1. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Download the latest kernel at www.kernel.org. the download is the linux-2.6.6.tar.bz2 file.
1. # cp linux-2.6.6.tar.bz2/usr/src/
2. # cd/usr/src
# Tar xvfj linux-2.6.6.tar.bz2
4. # cd linux-2.6.6
5. # make menuconfig
Note: Select
   Ohci hcd support
   Uhci hcd (most Intel and VIA) support
Do not change anything else. after modification, exit and save
6. # make
7. # make modules_install
8. # make install
9. # vi/etc/rc. d/rc. local
Add two rows
Modprobe usb-storage
Modprobe uhci-hcd
10. restart the machine and select 2.6.6 kernel in grub.
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
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.