On Apr 9, 2009, at 12:13 AM, 김무성 <ki...@infosec.co.kr> wrote:
Root is /dev/sda3
Grub set real_root=/dev/sda3
So when I changed grub options to old kernel, system booted.
But new kernel is not booted.
New kernel Could not find the root block device in.
-----Original Message-----
From: Saphirus Sage [mailto:saphirus...@gmail.com]
Sent: Thursday, April 09, 2009 11:58 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel upgrade error. help me
±è¹«¼º wrote:
Hello list.
For installing vmware
My kernel version is 2.6.24-gentoo-r5. But I have no source files.
So I downloaded source files. But that¡¯s version 2.6.27-gentoo-r8.
When I installed vmware, it told me kernel version and kernel source
files¡¯ version no match.
I have to kernel upgrade.
I entered ¡°genkernel all¡±
And vi /boot/grub/grub.conf
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-x86-2.6.27-gentoo-r8 root=/dev/ram0
init=/linuxrc ramdisk=8192 real_root=/dev/sda3
initrd /initramfs-genkernel-x86-2.6.27-gentoo-r8
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
And reboot.
But can¡¯t boot.
There is an error.
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
Determining root device...
!! Could not find the root block device in .
Please specify another value or: press Enter for the same,
type "shell" for a shell, or "q" to skip...
root block device() ::
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---------------------------------------------------------------------
T_T help me.
KIM
You keep your kernel and initrd on the root partition; not even in /
boot
or a separate partition?
I saw that, I just found it very odd that you don't keep the initramrd
and kernel image in /boot. Therefore, I was wondering if your issue
was having not properly configured genkernel. I've never seen anyone
run a system without /boot, so, is there a chance that's where the
missing kernel image and initrd are?