2010年5月23日 星期日

Howto: Boot Linux with a USB Flash Drive as the RootFS

usb-storage.delay_use=1

reduces the settle time for a usb device from 5 seconds to 1 second. This is a workaround to get the USB devices ready in time for the raid detection.
rootflags=data=writeback
forces the kernel to mount the drive in data writeback mode. Without this option booting will fail when it tries to remount the partition read-write.
rootdelay=5
delay root to allow the usb drivers to pop on



Howto: Boot Linux with a USB Flash Drive Raid as the RootFS
http://analogbit.com/node/13

How can I boot from a USB hard drive without BIOS support and no HDD?
http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-can-i-boot-from-a-usb-hard-drive-without-bios-support-and-no-hdd-774268/

3 則留言:

卡拉王子 提到...

版主您好,
無意間發現您的部落格,有一個ARM上面的linux driver相關的問題想請教您,
請問在linux裡怎麼做non-cache access呢?
也就是說我用kmalloc去配置一塊buffer後, 這塊buffer是跟hardware共用的,
我如何確保CPU存取時是non-cache的呢?

謝謝哦

mkl 提到...

pci_alloc_consistent/pci_free_consistent, dma_alloc_coherent/dma_free_coherent

請參照
[ARM] Buffer allocation for device DMA and DCache coherence
http://mkl-note.blogspot.com/2009/06/arm-buffer-allocation-for-device-dma.html

and Documentation/DMA-mapping.txt in your Linux source

卡拉王子 提到...

感謝您的回覆,
我來研究一下~