About porting the kernel to a USB flash drive

Source: Internet
Author: User
Linux general technology-Linux programming and kernel information-about how to port the kernel to a USB flash drive. For more information, see the following. When porting the kernel, compile the grub. conf file in grub. Most of them are written in this way.
Root (hdX, n)
Kernel/boot/vmlinuz-2.6.18-1.2798.fc6 ro root = LABEL =/1 rhgb quiet
Initrd/boot/initrd-2.6.18-1.2798.fc6.img
I want to say that the hard disk recognized on my system is sdaX, and the USB flash disk is sdb1.
It seems that all the above writes are written to the hard disk. I think this code should be written to the USB flash drive if it is enabled.
What should I do if that is the case?
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.