Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub efi and leftover manjaro boot [SOLVED]. - idiot move
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 133
Location: Lake Tahoe

PostPosted: Sun Apr 14, 2013 5:12 pm    Post subject: grub efi and leftover manjaro boot [SOLVED]. - idiot move Reply with quote

hi, so i was just trying out a manjaro install, on a new asus c60m and it install some fancy grub with efi or something. So after trying manjaro for about an hour i decided i wanted to go back to gentoo. I reformatted my ssd drive (sda), and installed gentoo with no problems but the grub wont seem to show up on reboot. There still seems to be some leftover efi bios stuff from manjaro that seems to be stopping me from getting to the grub loader screen. I thought reformatting the drive and reinstalling would get me past but it hasnt. Cfdisk ccomplained about gparted being used to set up the disk, so i went into parted and removved all partitions, then used cfdisk again to set partitions. reinstalled gentoo, and same boot,loader issues. what have i done, how do i clear this up. thanks
_________________
elsphinc # kickin_ass &
mysql> create database namesdb;


Last edited by elsphinc on Tue Apr 16, 2013 3:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
srs5694
Guru
Guru


Joined: 08 Mar 2004
Posts: 432
Location: Woonsocket, RI

PostPosted: Sun Apr 14, 2013 5:14 pm    Post subject: Reply with quote

Try running Boot Info Script and posting the RESULTS.txt file that it generates, either between code tags or as a link. This will provide us with partitioning and boot loader information required to diagnose your problem.
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 133
Location: Lake Tahoe

PostPosted: Sun Apr 14, 2013 5:27 pm    Post subject: results.txt Reply with quote

Code:
                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => No boot loader is installed in the MBR of /dev/sda.
 => Grub Legacy (v0.97) is installed in the MBR of /dev/sdb and looks on the
    same drive in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: __________________________________________________________________________

    File system:       ext2
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:        /grub/menu.lst /boot/grub/menu.lst /grub/grub.conf
                       /boot/grub/grub.conf

sda2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:   This is .()
    Boot files:        /etc/fstab

sda3: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sdb2: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

sdb3: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:

sdb4: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System: 
    Boot files:       

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63     1,959,929     1,959,867  83 Linux
/dev/sda2           1,959,930    50,781,464    48,821,535  83 Linux
/dev/sda3          50,781,465   234,441,647   183,660,183  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 80.0 GB, 80032038912 bytes, 156312576 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

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *             63    39,070,079    39,070,017  83 Linux
/dev/sdb2          39,070,080   117,194,174    78,124,095  83 Linux
/dev/sdb3         117,194,175   123,057,899     5,863,725  82 Linux swap / Solaris
/dev/sdb4         123,057,900   156,312,575    33,254,676  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/loop1                                              squashfs   
/dev/loop2                                              squashfs   
/dev/sda1        c24d8141-0460-441a-bffa-242c7f2045db   ext2       
/dev/sda2        612274b2-eb28-4481-83b8-224983a84166   ext4       
/dev/sda3        01176b24-78ea-4cab-926b-8fda147fca71   ext4       
/dev/sdb1        2c0c7ddd-9cce-4c25-b1a9-cab4fbb73af4   ext4       
/dev/sdb2        5a428c57-b53b-4c69-bda0-76349e5c91b2   ext4       
/dev/sdb3        af885793-4b68-440e-b266-4584b45bf711   swap       
/dev/sdb4        20fa8ad6-ef8e-494c-8f92-d9330cade64b   ext4       
/dev/sr0         2013-04-08-18-59-14-00                 iso9660    MJRO_085

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sda2        /mnt                     ext4       (rw,relatime,data=ordered)
/dev/sr0         /bootmnt                 iso9660    (ro,noatime)


============================= sda1/grub/grub.conf: =============================

--------------------------------------------------------------------------------
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux 2.6.24-r5
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:

title Gentoo Linux 3.7.10
ro0t (hd0,0)
kernel /boot/kernel-3.7.10-gentoo root=/dev/sda2 nomodeset
initrd /boot/initramfs-genkernel-x86_64-3.7.10-gentoo
--------------------------------------------------------------------------------

========================== sda1/boot/grub/grub.conf: ===========================

--------------------------------------------------------------------------------
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
#splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux 2.6.24-r5
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

# vim:ft=conf:

title Gentoo Linux 3.7.10
ro0t (hd0,0)
kernel /boot/kernel-3.7.10-gentoo root=/dev/sda2 nomodeset
initrd /boot/initramfs-genkernel-x86_64-3.7.10-gentoo
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)


=============================== sda2/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>         <mountpoint>   <type>      <opts>      <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1      /boot      ext2      noauto,noatime,nodiratime,discard   1 2
/dev/sda2      /      ext4      noatime,noauto,nodiratime,discard      0 1
/dev/sdb3      none      swap      sw      0 0
/dev/sda3      /home      ext4      noatime,noauto,nodiratime,discard   0 1
/dev/sdb1      /var      ext4      noatime,noauto     0 1
/dev/sdb4      /tmp      ext4      noatime,noauto          0 1
/dev/sdb2      /storage1   ext4      noatime,noauto       0 1
/dev/cdrom      /mnt/cdrom   auto      noauto,ro,user   0 0
#/dev/fd0      /mnt/floppy   auto      noauto      0 0
--------------------------------------------------------------------------------

=============================== StdErr Messages: ===============================

ERROR: sil: invalid metadata checksum in area 4 on /dev/sdb
ERROR: sil: invalid metadata checksum in area 4 on /dev/sdb
cat: /tmp/BootInfo-f2YNLK63/Tmp_Log: No such file or directory
  No volume groups found
mdadm: No arrays found in config file or automatically

_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 133
Location: Lake Tahoe

PostPosted: Sun Apr 14, 2013 5:35 pm    Post subject: Reply with quote

i saw and just corrected the ro0t to root, same results upon reboot
_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 822
Location: Montréal

PostPosted: Sun Apr 14, 2013 7:39 pm    Post subject: Reply with quote

Are you able to execute in a way the Linux command efibootmgr to see what's the EFI firmware have in his menu? Me, I had to use the EFI Shell with the bcfg command to have a valid entry for Linux in the EFI menu. The efibootmgr command have no effect in on my HP Pavilion g6 Notebook.

Can you access the EFI bootloader by pressing a key just after power on? You can tell the EFI bootloder where to look for the EFI binary you want if it is in the EFI partition.
_________________
Paul
Back to top
View user's profile Send private message
srs5694
Guru
Guru


Joined: 08 Mar 2004
Posts: 432
Location: Woonsocket, RI

PostPosted: Mon Apr 15, 2013 2:59 am    Post subject: Reply with quote

Your Boot Info Script output shows what looks like a straight-up BIOS-mode installation -- you've got MBR partition tables on both of your hard disks, a BIOS-mode GRUB installed in the MBR of /dev/sdb, and no evidence of an EFI System Partition (ESP) or EFI-mode boot loaders. My suspicion is that your problem lies in one of two things:


  • Firmware settings -- Check your firmware settings to disable EFI/UEFI support and/or to enable BIOS/CSM/legacy support. Also, check that your BIOS boot order is set to boot from /dev/sdb (your 80GB disk) first, since that's where GRUB is installed.
  • Boot loader setup -- It's conceivable that your GRUB boot loader installation is damaged, so re-installing it (via "grub-install" or similar commands) may be in order. If your firmware gives you insufficient boot order options, you might also want to try installing to /dev/sda instead of to /dev/sdb.
Back to top
View user's profile Send private message
elsphinc
Tux's lil' helper
Tux's lil' helper


Joined: 24 Oct 2002
Posts: 133
Location: Lake Tahoe

PostPosted: Tue Apr 16, 2013 3:11 pm    Post subject: Reply with quote

so, only fair to report back, i found my error after the third install over a period of 5 days, which you pointed out about grub-install. after years of installin gentoo successfully then taking a haitus i approacched the documentation lightheartedly and apparently glanced right over the grub-install part. i thought that section felt a little empty (in my head). that grub on /dev/sda2 was the left over manjaro. thanks. pays to slow down sometimes, especially after 5 gruelling days of just wanting to get up and rolling, beating off the desire to just bang linuxmint on there for a quick X fix.
_________________
elsphinc # kickin_ass &
mysql> create database namesdb;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum