|
|
发表于 2006-10-19 09:46:57
|
显示全部楼层
为什么不研究一下内核配置,把问题解决掉呢?感觉gentoo要自己编译内核的情况还比较多。。
LiveCD的内核对硬件支持得好,但相应的也有臃肿的问题,因为其原理就是把大部分硬件支持都编进去了。
想知道LiveCD的内核怎么配置的,可以看这里,不过不确保和2006的一样。
http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch
另外运行的内核如果编译了相应的功能的话,好象也可以通过/proc文件系统读取配置文件。
Linux Kernel Configuration: kernel configuration
- File systems --->
- <*> Ext3 journalling file system support
- <*> Reiserfs support
- <*> JFS filesystem support
- <*> XFS filesystem support
- Miscellaneous filesystems --->
- <*> SquashFS 2.0 - Squashed file system support
- CD-ROM/DVD Filesystems --->
- <*> ISO 9660 CDROM file system support
- Pseudo filesystems --->
- [*] Virtual memory file system support (former shm fs)
- Device Drivers --->
- Block devices --->
- <*> Loopback device support
- <*> RAM disk support
- (16) Default number of RAM disks
- (9000) Default RAM disk size (kbytes)
- [*] Initial RAM disk (initrd) support
- ATA/ATAPI/MFM/RLL support --->
- <*> Include IDE/ATAPI CDROM support
复制代码
Note: ext2 filesystem support (which we use for our initrd image), (it is a good idea if it is an rescue cd of some sort to include support for most systems, may come in handy)
(Comment by moz667 (thank you Edna for help me in translation)) If your planning boot through usb you´ll need to compile the kernel with the USB Mass Storage support. It works when I use my usb stick with this configuration.
Linux Kernel Configuration: kernel configuration
- Device Drivers --->
- USB support --->
- <*> USB Mass Storage support
- [ ] USB Mass Storage verbose debug
- [*] Datafab Compact Flash Reader support (EXPERIMENTAL)
- [*] Freecom USB/ATAPI Bridge support
- [*] ISD-200 USB/ATA Bridge support
- [*] Microtech/ZiO! CompactFlash/SmartMedia support
- [ ] USBAT/USBAT02-based storage support (EXPERIMENTAL)
- [*] SanDisk SDDR-09 (and other SmartMedia) support (EXPERIMENTAL)
- [*] SanDisk SDDR-55 SmartMedia support (EXPERIMENTAL)
- [*] Lexar Jumpshot Compact Flash Reader (EXPERIMENTAL)
- [ ] Olympus MAUSB-10/Fuji DPC-R1 support (EXPERIMENTAL)
复制代码
IEEE 1394 ethenet support may disturb your system : sometimes an ethernet interface is recognized first, that is to say before "Classic" ethernet interfaace. If you don't need IEEE ethernet support, dont activate it :
Linux Kernel Configuration: kernel configuration2
- Device Drivers --->
- IEEE 1394 (FireWire) support --->
- < > Ethernet over 1394
复制代码
Note: If you want to let make mkxf86config.sh an usable xorg.conf at startup, you have to build usbmouse ps2mouse etc as modules (and not compiled in!) since the script is searching for them.
Optionnaly, you can add any convenient option you use. For example I use Magic SysRq Keys, which allows rebooting instantly when no file system is mounted (or you might get corrupted filesystems).
Linux Kernel Configuration: kernel configuration3
- kernel hacking -> Magic SysRq Key [*]
复制代码
另外这里有一篇比较简单的文档,看看有没有参考价值。
http://linux.chinaunix.net/docs/2006-08-03/2372.shtml |
|