20090729

http://blog.csdn.net/leewei8728/archive/2009/01/01/3677327.aspx-----> 使用sbakup备份ubuntu的系统

http://hi.baidu.com/myasy/blog/item/6a86bcfb379aed254e4aea75.html-----> ftp.ubuntu.org.cn人的blog

http://forum.ubuntu.org.cn/viewtopic.php?f=42&t=101252&view=next-----> linux下Nvidia显卡超频工具 nvclock-gtk

/dev/hda6 /wine vfat defaults,codepage=936,iocharset=cp936 0 0/etc/fstab

编译内核:
Bus options (PCI, PCMCIA, EISA, MCA, ISA)
PCI support
PCI Express support 老式机器没有PCI-E设备的可以选N
ISA support 较新的新机器没有ISA设备,可以选N
MCA support 一般选N
NatSemi SCx200 support 一般选N
PCI Hotplug Support
Support for PCI Hotplug (EXPERIMENTAL) 如果没有PCI热插拔设备,选N
这里的选项都要全部编译进内核,而不是以模块形式存在。
Device Drivers
Block devices
Packet writing on CD/DVD media
Enable write caching (EXPERIMENTAL) 如果你有刻录机,想启用写缓存功能,选Y
ATA/ATAPI/MFM/RLL support
Include IDE/ATA-2 DISK support 如果你的/boot是放在IDE硬盘上,那么这里一定要选Y,选M都不行。否则启动时会出现“waiting for root file system”的提示而停滞不前。
SCSI device support 如果有SATA硬盘,就选Y
SCSI disk support 如果你的/boot放在SATA硬盘上,一定要选Y。
Character devices
I2C support 一般可以选Y或者M
Graphics support 不建议把显卡驱动编译进内核。,选M,编译成模块方便日后升级驱动。
File systems
CD-ROM/DVD Filesystems
ISO 9660 CDROM file system support 一般选Y
DOS/FAT/NT Filesystems
VFAT (Windows-95) fs support 有FAT32分区就选Y吧
NTFS file system support 有NTFS分区就选Y吧
NTFS write support 如果想对 NTFS分区进行写操作,选Y
Native Language Support
Simplified Chinese charset (CP936, GB2312) 选Y或者M使读取FAT分区不会遇到中文乱码现象
必须将启动盘的文件系统编译进内核,默认是编译成模块,这样无法启动系统。最好是把硬盘上所有用到的分区文件系统全部编译进内核。
然后再谈几个常见的问题解决方法:
1、编译内核失败,不能进入系统,提示如下:
audit(1129243020.326:0):initialized
kernel panic – not syncing: VFS:Unable to mount root fs on unknown-block(0,0)
或是:
VFS:Cannot open root device “hdxy” or unknow-block(0,0)
Please append a correct “root=” boot option
kernel panic-not syncing: VFS:Unable to mount root fs on unknow-block(0,0)
解决方法:把
08.05.11、<*> RAM disk support
09.27.07、<*> Compressed ROM file system support (cramfs) 这两项都要选上!!!!!!否则,呵呵!
2、不能挂载ISO文件。
解决方法:把
08.05.06、<*> Loopback device support
08.05.07、<*> Cryptoloop Support 这两项都要选上便可!
3、用SATA硬盘,原来内核中硬盘的设备号是/dev/sda,编译新内核后的硬盘设备号由/dev/sda变成/dev/hde,硬盘声音很吵。
解决方法:把
08.07、SCSI device support —>
08.07.01、<*> SCSI device support
# 08.07.02、 legacy /proc/scsi/ support
08.07.03、<*> SCSI disk support 这些选项都选上便可!
4、用上新版本内核后,无法安装显示卡的NVIDIA-Linux-x86-1.0-7676-pkg1.run驱动,系统提示如下:
Unable to load the kernel modules “nvidia.ko ”, This is most likely because the kernel modules was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux system, for example, be sure you have the kernel source “rpm” installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the “–kernel-source-path” commandline option.
解决方法:
重新配置内核,将内核中
08.21、Graphics support —> 这个选项里面与Nvidia相关的选项全部去掉后,竟然能够正确安装显卡驱动!具体情况如系统提示,不能引导内核模块,或是模块冲突,导致这种故障。
设置完,保存即可。

新编译的kernel, GRUBError13: invalid or unsupported executable format
filevmlinux---->ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped

正常的内核:vmlinux---->Linux kernel x86 boot executable RO-rootFS, root_dev 0x806, swap_dev 0x3, Normal VGA

【20090729】重新make bzImagecparch/i386/boot/bzImage/boot/vmlinux正常能启动

    推荐阅读