[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2 v2] second attempt to fix using grub device name as insta
From: |
Andrey Borzenkov |
Subject: |
Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device |
Date: |
Sat, 7 Dec 2013 17:59:01 +0400 |
В Sat, 07 Dec 2013 14:50:09 +0100
Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden> пишет:
> On 07.12.2013 11:19, Andrey Borzenkov wrote:
> > grub-install already resolved passed install device to grub device. So do
> > the
> > same as grub-setup and strip parenthesis if we get legacy (hdX).
> >
> Did you test it with both syntaxes?
Yes.
linux-cor4:~ # /usr/local/grub2/sbin/grub-install '(hd1)'
FATAL: Error inserting efivars
(/lib/modules/3.11.6-4-pae/kernel/drivers/firmware/efi/efivars.ko): No such
device
/usr/local/grub2/sbin/grub-install: warning: cannot open directory
`/usr/local/grub2/share/locale': No such file or directory.
Installation finished. No error reported.
linux-cor4:~ # /usr/local/grub2/sbin/grub-install /dev/sdb
FATAL: Error inserting efivars
(/lib/modules/3.11.6-4-pae/kernel/drivers/firmware/efi/efivars.ko): No such
device
/usr/local/grub2/sbin/grub-install: warning: cannot open directory
`/usr/local/grub2/share/locale': No such file or directory.
Installation finished. No error reported.
linux-cor4:~ # /usr/local/grub2/sbin/grub-install
/dev/disk/by-id/ata-QEMU_HARDDISK_QM00002
FATAL: Error inserting efivars
(/lib/modules/3.11.6-4-pae/kernel/drivers/firmware/efi/efivars.ko): No such
device
/usr/local/grub2/sbin/grub-install: warning: cannot open directory
`/usr/local/grub2/share/locale': No such file or directory.
Installation finished. No error reported.
linux-cor4:~ # cat /boot/grub/device.map
(hd0) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001
(hd1) /dev/disk/by-id/ata-QEMU_HARDDISK_QM00002
linux-cor4:~ # exit
signature.asc
Description: PGP signature
- Re: [PATCH] Fix grub-install with OS device name, (continued)
- Re: [PATCH] Fix grub-install with OS device name, Colin Watson, 2013/12/04
- Re: [PATCH] Fix grub-install with OS device name, arvidjaar, 2013/12/05
- Re: [PATCH] Fix grub-install with OS device name, Andrey Borzenkov, 2013/12/05
- [PATCH 1/2] revert 69ca97c820, it broke using OS device name as install device, Andrey Borzenkov, 2013/12/07
- [PATCH 2/2] second attempt to fix using grub device name as install device, Andrey Borzenkov, 2013/12/07
- Re: [PATCH 2/2] second attempt to fix using grub device name as install device, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/07
- Re: [PATCH 2/2] second attempt to fix using grub device name as install device, Andrey Borzenkov, 2013/12/07
- Re: [PATCH 2/2] second attempt to fix using grub device name as install device, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/07
- [PATCH 2/2 v2] second attempt to fix using grub device name as install device, Andrey Borzenkov, 2013/12/07
- Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/07
- Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device,
Andrey Borzenkov <=
- Re: [PATCH 2/2 v2] second attempt to fix using grub device name as install device, Vladimir 'φ-coder/phcoder' Serbinenko, 2013/12/07