linux 2.6引导问题

来源:百度知道 编辑:UC知道 时间:2024/05/25 22:19:27
Disk /dev/hda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 948 7166848+ 7 HPFS/NTFS
/dev/hda2 949 2168 9223200 7 HPFS/NTFS
/dev/hda3 2169 10337 61757640 f Win95 Ext'd (LBA)
/dev/hda5 2169 4878 20487568+ 7 HPFS/NTFS
/dev/hda6 4879 7588 20487568+ 7 HPFS/NTFS
/dev/hda7 7589 7602 96358+ 83 Linux
/dev/hda8 7602 7671 522081 82 Linux swap
/dev/hda9 7671 10336 20153511 83 Linux
----------------------------------------------------------------
以前2.4的 grub :
title Red Hat Linux (2.4.20-8)
root (hd0,6)
kernel (hd0,6)/vmlinuz-2.4.20-8 ro root=LABEL=/
initrd (hd0,6)/initrd-2.4.20-8.img

title Red

title Linux Kernel 2.6
root (hd0,6)
kernel /vmlinuz-2.6.xxx ro root=LABEL=/
initrd /initrd-2.6.xxx
boot

vmlinuz-2.6.xxx和initrd-2.6.xxx可以在/boot里找到的
自己看看啦

参考http://linuxgate.cn/IT-ZiXun/AnZhuangQiDong/2008/3-14/90I2CE17H9.html

没区别,只不过新的软件不需要把 IDE 的刻录机模拟成 SCSI 才能刻录了。
把对应内核的文件名换一下就行了。
-----
update:
如果root=LABEL=/进不去,那就需要 root=/dev/hdxx 的方式了。
这个东西需要你用 2.4 内核进入,查看 /etc/fstab 。看看里面 / 所对应的 /dev/hdxx 是什么,用来替换。

如果两种都不行,那就是你的 2.6 内核配置有问题。
直接找个最新版的系统重新装吧……

kernel /vmlinuz-2.6.xxx ro root=LABEL=/1