From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NYM12-0004Ox-QV for garchives@archives.gentoo.org; Fri, 22 Jan 2010 16:05:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D983DE08EF; Fri, 22 Jan 2010 16:04:57 +0000 (UTC) Received: from mail-pw0-f47.google.com (mail-pw0-f47.google.com [209.85.160.47]) by pigeon.gentoo.org (Postfix) with ESMTP id ADD89E0933 for ; Fri, 22 Jan 2010 16:04:57 +0000 (UTC) Received: by pwj10 with SMTP id 10so933136pwj.26 for ; Fri, 22 Jan 2010 08:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=7CuxwIkqbWnwKJfAyxZLLDUPFRt14HEFL0JZuIu1IvQ=; b=hMEVuT+tEZ0d6GuOl2BijKcoxa456OwTc5aYXseq44zwcXfgajDSTdlQmCtgveUZ19 s3beL/lgAB2FAFagfLQXa+bayxwUSBFYm8QqYUuuIKDZ4m9ryyuhvMYHz/7s3OIA1e5Y CRL03mmp2Z8xiiqY6HZo1QOt3EQMUi+Z7u0t0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xxx2Dcn3oFMSjfF7uwmt5QEpJ2XS3PfVOgpoJ8D/Xfux/wrzgNa2Zzf27DN+PIXtm4 4WO52jhOpyyoq9Klza70dyVOSYWOa4lf9P1QlbDlomO5abSTuDulkE4FK0cL+W8h/06t dF0MV7nlgoYFNnwuF8Bfxnr/VfQMCFlNqjM0A= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Received: by 10.143.26.13 with SMTP id d13mr1987369wfj.0.1264176297199; Fri, 22 Jan 2010 08:04:57 -0800 (PST) Date: Fri, 22 Jan 2010 08:04:57 -0800 Message-ID: <5bdc1c8b1001220804x1a6e5fe8n23e6654f70189a16@mail.gmail.com> Subject: [gentoo-amd64] If CD boots then why won't the hard drive? From: Mark Knecht To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 86b29fcb-c671-4618-8b23-4cb8a9233c84 X-Archives-Hash: e4993d7663966c30afcfa46180da10c5 Hi again, Same new machine - new thread so as to not confuse the other thread about flags. I made enough headway with grub to get it to find a kernel and try to boot, but fails with the message: VFS: Cannot open root device "sda2" or unknown-block(2,0) Please append a correct "root=" boot option; Here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Note that is lists nothing when it says 'Here are the available partitions:' My strategy for building this kernel - since the machine is very new hardware - was to steal the .config file from the Install CD, so while in the boot environment I did zcat /proc/config.gz >/mnt/gentoo/config_CD and then after the chroot did emerge =gentoo-sources-2.6.29-r5 cd /usr/src ln -s linux-2.6.29-gentoo-r5 linux cd linux mv /config_CD ./.config make menuconfig I checked that ext2 and ext3 were buit-in and not modules, built the kernel and modules, installed the kernel in /boot, edited grub, exited the install and tried booting. Clearly the kernel is found but then the kernel cannot, I guess, find my hard drive /root partition? I used that specific kernel because that's what my install CD used and that kernel had no problems mounting the drive after it booted. What am I doing wrong? Is it incorrect to use a .config file from a CD and hope to get the same results? I do not use initrd which I think is different than the CD so if I need to turn something off please let me know. Thanks, Mark