[問題] grub 開機沒辦法啟動

看板Linux作者 (路人)時間17年前 (2009/03/23 21:07), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
我剛剛用VM裝了gentoo 但是開機進不去系統... VFS: Cannot Open root device "sda1" or unknown-block(2,0) Kernel panic: VFS: Unable to mount root fs on /dev/sda1 (2,0) 然後我編玩核心後 都會跑出 sh /usr/src/linux-2.6.27-gentoo-r8/arch/x86/boot/install.sh 2.6.27-gentoo-r8 arch/x86/boot/bzImage System.map "/boot" Cannot find LILO. (我是用grub阿...) livecd gentoo # fdisk -l Device Boot Start End Blocks Id System /dev/sda1 1 912 7325608+ 83 Linux /dev/sda2 913 1044 1060290 5 Extended /dev/sda5 913 1044 1060258+ 82 Linux swap / Solaris livecd gentoo # lspci 00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 01) 00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 01) 00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 08) 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) 00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB 00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08) 00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter 00:10.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI (rev 01) 00:11.0 PCI bridge: VMware Inc Unknown device 0790 (rev 01) 02:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 10) 02:01.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 02) 02:02.0 USB Controller: VMware Inc Abstract USB2 EHCI Controller livecd gentoo # vi /etc/fstab /dev/sda1 / ext3 noatime 0 0 /dev/sda5 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 livecd gentoo # vi /boot/grub/grub.conf title Gentoo Linux 2.6.27-r8 root (hd0,0) kernel /boot/linux-2.6.27-gentoo-r8 root=/dev/sda1 < > RAID Transport Class -*- SCSI device support < > SCSI target support [*] legacy /proc/scsi/ support *** SCSI support type (disk, tape, CD-ROM) *** <*> SCSI disk support < > SCSI tape support < > SCSI OnStream SC-x0 tape support <*> SCSI CDROM support [ ] Enable vendor-specific extensions (for SCSI CDROM) <*> SCSI generic support < > SCSI media changer support *** Some SCSI devices (e.g. CD jukebox) support multiple LUNs *** [ ] Probe all LUNs on each SCSI device [*] Verbose SCSI error reporting (kernel size +=12K) [ ] SCSI logging facility [ ] Asynchronous SCSI scanning SCSI Transports ---> [ ] SCSI low-level drivers ---> [ ] PCMCIA SCSI adapter support ---> < > SCSI Device Handlers ---> <*> Ext3 journalling file system support [*] Ext3 extended attributes [*] Ext3 POSIX Access Control Lists [*] Ext3 Security Labels -- 別說誰欠誰太多 別說誰要誰自由 別故意的保持沉默 你不適合 別習慣掩飾犯的錯 別討厭安撫傷口 別企圖輕言帶過 你的不快樂 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.111.76.71

03/23 22:30, , 1F
ext3有沒有編入kernel中?(非M)
03/23 22:30, 1F

03/23 22:44, , 2F
03/23 22:44, 2F
※ 編輯: frsnic 來自: 140.111.76.71 (03/23 22:50)
文章代碼(AID): #19nucVzp (Linux)