help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Added SATA drive, now it won't boot


From: Dale R. Worley
Subject: Re: Added SATA drive, now it won't boot
Date: Tue, 08 Nov 2016 15:46:30 -0500

Tracy Reed <address@hidden> writes:
> I'm using 2.02 on CentOS 7. I installed to an NVMe device (SSD).
> Everything works perfectly. Then I stuck a 1T SATA drive in the hot swap
> bay. Grub menu comes up, counts down, tries to boot, dreaded blinking
> cursor screen.

I'm no expert, but two possibilities come to mind:

One is that while Grub is booting, it isn't the Grub installation you
think is booting.  A way to test that is to edit the name of the first
menuentry command in the grub.cfg that should be booting.  Then boot and
see if the first menu entry that is displayed shows the edit you made.
If it doesn't, then you have to adjust how the BIOS boots.

The second is what others have said, that the existence of the new drive
has changed the drive name-number assignments.  As they say, the fix is
to edit the Grub commands to reference the disk partition by UUID rather
than drive name-number.  I don't know exactly how that works, but
comparing your active menuentry with other menuentrys that use UUIDs
will probably give you enough information.  For instance, one of mine
is:

    menuentry 'Fedora 19 (3.14.27-100.fc19.x86_64) (Schroedinger's Cat) (on 
/dev/mapper/Hobgoblin00-RootF19)' --class gnu-linux --class gnu --class os 
$menuentry_id_option 
'osprober-gnulinux-/vmlinuz-3.14.27-100.fc19.x86_64--188c0958-d8f1-41dd-a64c-d7f468c80737'
 {
            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 --hint='hd0,gpt2'  
9c2021d3-d105-41b1-b805-ff88c399c943
            else
              search --no-floppy --fs-uuid --set=root 
9c2021d3-d105-41b1-b805-ff88c399c943
            fi
            linux /vmlinuz-3.14.27-100.fc19.x86_64 
root=/dev/Hobgoblin00/RootF19 ro rd.md=0 rd.dm=0 vconsole.keymap=us 
rd.lvm.lv=Hobgoblin00/Swap rd.luks=0 vconsole.font=latarcyrheb-sun16 
rd.lvm.lv=Hobgoblin00/RootF19 rhgb quiet LANG=en_US.UTF-8
            initrd /initramfs-3.14.27-100.fc19.x86_64.img
    }

Dale



reply via email to

[Prev in Thread] Current Thread [Next in Thread]