Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #157598

Re: How to Boot with LVM

From ray <ray@aarden.us>
Newsgroups linux.debian.user
Subject Re: How to Boot with LVM
Date 2015-09-09 04:00 +0200
Message-ID <q6CQ1-5nG-3@gated-at.bofh.it> (permalink)
References (4 earlier) <q6g38-6ln-7@gated-at.bofh.it> <q6g38-6ln-5@gated-at.bofh.it> <q6pSN-3LC-9@gated-at.bofh.it> <q6qOU-57i-37@gated-at.bofh.it> <q6CQ2-5nG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tuesday, September 8, 2015 at 8:10:08 AM UTC-5, Pascal Hambourg wrote:

> After booting the HDD system with rEFInd, running 'grub-install' should
> reinstall the bootloader properly. See also useful options in my
> previous message.

Yes, it is now booting.  This is with the rEFInd stick:
root@mc:/boot/efi/EFI# mount /dev/sdf1 /boot/efi
mount: /dev/sdf1 is already mounted or /boot/efi busy
       /dev/sdf1 is already mounted on /boot/efi
root@mc:/boot/efi/EFI# apt-get install --reinstall grub-efi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  grub-efi
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 2,512 B of archives.
After this operation, 13.3 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ stretch/main grub-efi amd64 2.02~beta2-26 [2,512 B]
Fetched 2,512 B in 0s (10.8 kB/s)  
Selecting previously unselected package grub-efi.
(Reading database ... 150704 files and directories currently installed.)
Preparing to unpack .../grub-efi_2.02~beta2-26_amd64.deb ...
Unpacking grub-efi (2.02~beta2-26) ...
Setting up grub-efi (2.02~beta2-26) ...
root@mc:/boot/efi/EFI#
root@mc:/boot/efi/EFI# grub-install /dev/sdf
Installing for x86_64-efi platform.
Installation finished. No error reported.
root@mc:/boot/efi/EFI# file /boot/efi/EFI/debian/grubx64.efi
/boot/efi/EFI/debian/grubx64.efi: PE32+ executable (EFI application) x86-64 (stripped to external PDB), for MS Windows
root@mc:/boot/efi/EFI# efibootmgr --verbose | grep debian
Boot0000* debian    HD(1,GPT,87471e98-b814-4aa9-b2bc-ea4669c75565,0x800,0x100000)/File(\EFI\debian\grubx64.efi)


A baffling point:  In rEFInd the path is /boot/efi/EFI/debian/grubx64.efi

After booting up into the HDD instance, I get:

root@RoxTor:/boot# ls -a
.   config-4.0.0-2-amd64  grub                System.map-4.0.0-2-amd64
..  efi              initrd.img-4.0.0-2-amd64  vmlinuz-4.0.0-2-amd64
root@RoxTor:/boot# cd grub
root@RoxTor:/boot/grub# ls -a
.  ..  fonts  grub.cfg    grubenv  locale  unicode.pf2  x86_64-efi
root@RoxTor:~# cd /boot
root@RoxTor:/boot# cd efi
root@RoxTor:/boot/efi# ls -a
.  ..

This is nothing past /boot/efi

Any idea what is going on?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to Boot with LVM ray <ray@aarden.us> - 2015-09-06 04:50 +0200
  Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-06 22:40 +0200
    Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-07 02:30 +0200
      Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-07 10:40 +0200
        Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-08 01:50 +0200
          Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-08 12:40 +0200
            Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-08 14:00 +0200
              Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-08 15:00 +0200
  Re: How to Boot with LVM Rick Thomas <rbthomas@pobox.com> - 2015-09-07 13:20 +0200
    Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-07 14:40 +0200
    Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-08 02:00 +0200
      Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-08 03:40 +0200
        Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-08 14:10 +0200
          Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-08 15:10 +0200
            Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-09 04:00 +0200
              Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-09 21:10 +0200
                Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-10 02:40 +0200
                Re: How to Boot with LVM Pascal Hambourg <pascal@plouf.fr.eu.org> - 2015-09-10 17:00 +0200
                Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-12 04:30 +0200
                Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-12 05:10 +0200
                Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-14 02:40 +0200
                Re: How to Boot with LVM David Wright <deblis@lionunicorn.co.uk> - 2015-09-10 18:10 +0200
                Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-12 05:10 +0200
      Re: How to Boot with LVM Rick Thomas <rbthomas@pobox.com> - 2015-09-08 10:50 +0200
        Re: How to Boot with LVM ray <ray@aarden.us> - 2015-09-09 04:10 +0200

csiph-web