From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 16CA713877A for ; Fri, 5 Sep 2014 00:36:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB436E0A53; Fri, 5 Sep 2014 00:36:14 +0000 (UTC) Received: from mail146c7.megamailservers.com (mail768.megamailservers.com [69.49.98.78]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F55BE09C2 for ; Fri, 5 Sep 2014 00:36:13 +0000 (UTC) X-POP-User: admin@sys-concept.com X-VIP: 69.49.109.100 Received: from syscon7.localdomain (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) by mail146c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id s850aBuD027345 for ; Thu, 4 Sep 2014 20:36:12 -0400 Received: by syscon7.localdomain (Postfix, from userid 1000) id 6AD81200279; Thu, 4 Sep 2014 18:36:21 -0600 (MDT) Date: Thu, 4 Sep 2014 18:36:21 -0600 From: Joseph To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] installed Gentoo on SSD - no bootable device Message-ID: <20140905003621.GJ7483@syscon7> References: <20140905001746.GI7483@syscon7> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline In-Reply-To: <20140905001746.GI7483@syscon7> User-Agent: Mutt/1.5.22 (2013-10-16) X-CTCH-RefID: str=0001.0A020202.5409057C.011E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=Tqzf2lnh c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=Unq3plm5DvEA:10 a=M1kyBYkWWGkA:10 a=t13s2OSXYqYA:10 a=ROiWby8cJu4A:10 a=nDghuxUhq_wA:10 a=8nJEP1OIZ-IA:10 a=pGLkceISAAAA:8 a=bUFvOEdgs1F4ByQ76JwA:9 a=wPNLvfGTeEIA:10 X-Archives-Salt: b28dbca4-1cc7-4884-9141-6f6a3e6e763a X-Archives-Hash: e870f38e71f8041b7a2e7f5d616472be On 09/04/14 18:17, Joseph wrote: >I just installed gentoo on my new SSD (intel 480GB drive SSDSC2BF-480H501) > >I mostly was installing everything over ssh (easier) and using grub2 but upon rebooting I get: > >"No bootable device - Insert boot disk and press any key" > >I boot strap to my system: > ># swapon /dev/sda3 ># mount -t ext4 /dev/sda4 /mnt/gentoo ># mount /dev/sda2 /mnt/gentoo/boot ># cd /mnt/gentoo ># mount -t proc none /mnt/gentoo/proc ># mount --rbind /dev /mnt/gentoo/dev ># chroot /mnt/gentoo /bin/bash ># env-update ># source /etc/profile > >If boot strap and try to start ssh I and get a warning (and can not login) > >"You attempting to run an openrc service on a system which openrc did not boot >..." >I can ssh to the system before I boot I bootstrap > >My partition: >fdisk -l /dev/sda > >Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors >Units: sectors of 1 * 512 = 512 bytes >Sector size (logical/physical): 512 bytes / 512 bytes >I/O size (minimum/optimal): 512 bytes / 512 bytes >Disklabel type: gpt >Disk identifier: 37C37937-6310-4B04-93A6-05CD7792EF16 > >Device Start End Size Type >/dev/sda1 2048 6143 2M BIOS boot partition >/dev/sda2 6144 268287 128M Linux filesystem >/dev/sda3 268288 4462591 2G Linux swap >/dev/sda4 4462592 937703054 445G Linux filesystem > >sda2 - boot >sda4 - root When I installed grub2 I got no errors: grub2-install /dev/sda Installation finished. No error reported. but looking at grub2 configuration, it is looking for kernel on sda4 (shouldn't it be sda2?). linux /vmlinuz-3.14.14-gentoo root=/dev/sda4 ro single ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_gpt insmod ext2 set root='hd0,gpt4' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 00e8b950-21c6-4558-918f-855042b42d36 else search --no-floppy --fs-uuid --set=root 00e8b950-21c6-4558-918f-855042b42d36 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if sleep --interruptible 0 ; then set timeout=10 fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-00e8b950-21c6-4558-918f-855042b42d36' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4fac7293-6a58-43a4-857b-6e3095a8e50d else search --no-floppy --fs-uuid --set=root 4fac7293-6a58-43a4-857b-6e3095a8e50d fi echo 'Loading Linux 3.14.14-gentoo ...' linux /vmlinuz-3.14.14-gentoo root=/dev/sda4 ro } submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-00e8b950-21c6-4558-918f-855042b42d36' { menuentry 'Gentoo GNU/Linux, with Linux 3.14.14-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.14-gentoo-advanced-00e8b950-21c6-4558-918f-855042b42d36' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4fac7293-6a58-43a4-857b-6e3095a8e50d else search --no-floppy --fs-uuid --set=root 4fac7293-6a58-43a4-857b-6e3095a8e50d fi echo 'Loading Linux 3.14.14-gentoo ...' linux /vmlinuz-3.14.14-gentoo root=/dev/sda4 ro } menuentry 'Gentoo GNU/Linux, with Linux 3.14.14-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.14.14-gentoo-recovery-00e8b950-21c6-4558-918f-855042b42d36' { load_video insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt2' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 4fac7293-6a58-43a4-857b-6e3095a8e50d else search --no-floppy --fs-uuid --set=root 4fac7293-6a58-43a4-857b-6e3095a8e50d fi echo 'Loading Linux 3.14.14-gentoo ...' linux /vmlinuz-3.14.14-gentoo root=/dev/sda4 ro single } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### -- Joseph