- 论坛徽章:
- 0
|
现象:
TCP:Hash table configured(established 8192 bind 8192)
NET4:Unix domain socket 1.0/SMP for linux NET4.0
ds:no socket drivers loaded!
kmod: failed to exec /sbin/modprobe –s –k block-Major-8, errno = 2
VFS: Cannot open root device “sda1” or 08:01
please append a correct “root=” boot option
Kernel panic: VFS: unable to mount root fs on 08:01
[root@localhost root]# fdisk -l
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 1240 9855877+ 83 Linux
/dev/sda3 1241 1305 522112+ 82 Linux swap
[root@localhost linux-2.4.20-8]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.3G 3.1G 5.7G 36% /
/dev/sda1 99M 14M 81M 15% /boot
none 62M 0 62M 0% /dev/shm
确认已经配置了
SCSI support ---> SCSI disk support (*)
SCSI support --->SCSI low-level drivers ---> BusLogic SCSI support(*)
SCSI support --->SCSI low-level drivers-〉Serial ATA(SATA)-〉
<*> ATA device support
<*> Intel PIIX/ICH SATA support
Network Device support --->Ethernet (10 or 100Mbit) ---> AMD PCnet32 PCI support
grub配置
default=2
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux_custom (2.4.20-
root (hd0,0)
kernel /bzImage.090217.2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8custom.img
title Red Hat Linux (2.4.32)
root (hd0,0)
kernel /bzImage.0303.2.4.32 ro root=/dev/sda1
initrd /initrd0303.2.4.32.img |
|