Installation finished no error reported

Почему Grub2 не ставится более, чем на одно устройство? Два диска в raid0 Btrfs cо следующей таблицей GPT: 1-й раздел — 2МБ, флаг bios_grub 2-й раздел — linux swap 3-й раздел — btrfs raid0 Почему не ставится на второй диск? о_О Хорошо, а как насчёт: device node not founddevice node not founddevice node not […]

Содержание

  1. Почему Grub2 не ставится более, чем на одно устройство?
  2. Arch Linux
  3. #1 2016-09-17 23:40:50
  4. [SOLVED] Problem with GRUB
  5. #2 2016-09-18 00:34:47
  6. Re: [SOLVED] Problem with GRUB
  7. Не устанавливается Grub во время установки elementary OS. Что делать?
  8. unixforum.org
  9. не ставится GRUB
  10. не ставится GRUB
  11. Re: не ставится GRUB
  12. Re: не ставится GRUB
  13. Re: не ставится GRUB
  14. Re: не ставится GRUB
  15. Re: не ставится GRUB
  16. Re: не ставится GRUB
  17. Re: не ставится GRUB
  18. Re: не ставится GRUB
  19. Re: не ставится GRUB
  20. Re: не ставится GRUB
  21. Debian User Forums
  22. no grub menu after fresh install of debian testing (GPT/BIOS)
  23. no grub menu after fresh install of debian testing (GPT/BIOS)
  24. Re: no grub menu after fresh install of debian testing (GPT/BIOS)

Почему Grub2 не ставится более, чем на одно устройство?

Два диска в raid0 Btrfs cо следующей таблицей GPT:
1-й раздел — 2МБ, флаг bios_grub
2-й раздел — linux swap
3-й раздел — btrfs raid0

Почему не ставится на второй диск? о_О

Хорошо, а как насчёт:

device node not found
device node not found
device node not found
device node not found

Use of uninitialized value in string eq at /usr/share/perl5/Debconf/Element/Multiselect.pm line 38, line 22.
Use of uninitialized value in string eq at /usr/share/perl5/Debconf/Element/Multiselect.pm line 38, line 22.

grub-install: error: cannot find a GRUB drive for /dev/disk/by-id/ata-SAMSUNG_HD080HJ_S08EJ1KL907609,. Check your device.map.

Не используйте dpkg-reconfigure grub-pc.

Ну и зачем вам grub на двух дисках, если у вас там RAID0, а не RAID1.

почему, он кривой?

А что делать со вторым разделом на втором диске, оставить пустым? Я просто не в курсе как оптимально нужно разбивать в случае рейда через btrfs.

Ну и зачем вам grub на двух дисках, если у вас там RAID0

Ну, к примеру, повредится на одном диске, можно будет использовать grub, который на другом.

Ну, к примеру, повредится на одном диске, можно будет использовать grub, который на другом.

Источник

Arch Linux

You are not logged in.

#1 2016-09-17 23:40:50

[SOLVED] Problem with GRUB

Good morning.
I was installing Arch on an 250gb SSD. So i created 4 partitions: 512M EFI (vfat) (/dev/sda1), 150G linux filesystem (ext4) (/dev/sda2), 16G swap partition (/dev/sda4) and the, remaining (

70G) linux filesystem (ext4). I mounted the /dev/sda2 to /mnt, the /dev/sda1 to /mnt/boot, the /dev/sda3 to /mnt/home and simply turnet the swap on. After the first downloads, i entered Arch (always from USB). So i installed grub and efibootmgr, but when i tryed «grub-install —efi-directory=/boot», it returned «Installing for i386-pc platform. grub-install: error: install device isn’t specified.». So I (scared), rebooted the PC, and (as expected, it didn’t boot). So i run the USB again, mounted the partitions (swap included), and tryed «grub-install —target=x86_64-efi —efi-directory=/boot» (target because I’m running on a 64 bit machine), but this time, it returned «Could not prepare Boot variable: No such file or directory. Installation finished. No error reported». So i rebooted to test, and it didn’t work again.
What can i do? Thanks

Last edited by bobadigo (2016-09-22 11:34:33)

#2 2016-09-18 00:34:47

Re: [SOLVED] Problem with GRUB

It appears you didn’t enter the command correctly. From the wiki:

The commands you tried were:

Your second command was almost correct, but as you can see you’re missing the bootloader ID part.

Last edited by basica (2016-09-18 00:36:03)

Источник

Не устанавливается Grub во время установки elementary OS. Что делать?

Всем доброго времени суток!

Решил попробовать установить elementary OS второй системой. В конце установки выдает ошибку: «Не удалось выполнить команду ‘grub-install /dev/sda’. Это неисправимая ошибка». При запуске компьютера без диска запускается windows.

Как я понял операционка устанавливается, так как при повторной загрузке с установочного диска он предлагает установить ОС уже рядом с elementary. Порылся в интеренте, нашел такие же проблемы, в основном все скидывают ссылки на мануал на сайте ubuntu по восстановлению Grub (восстановление GRUB), по новой установил elementary и сразу после ошибки запустил консоль, сначала воспользовался первым способом восстановления, выдало предупреждение: «Sector 32 is already in use by the program ‘FlexNet’. » и Installation finished. No error reported. Я решил попробовать еще второй способ, чтобы «наверняка» (Восстановление используя chroot), выдало ошибку: «cannot find EFI directory».

Может быть проблема в этом EFI/UEFI? У меня на материнке графический BIOS.

После этого при включении компьютера запускается черный экран с надписью grub>. В той инструкции также были советы как восстановить grub из этого режима, но они тоже не увенчались успехом. В итоге пришлось восстановить загрузчик Windows.

Помогите пожалуйста нубу) Как можно ровно поставить elementaryOS второй системой и чтобы поставился корректно этот Grub?) Спасибо!

  • Вопрос задан более трёх лет назад
  • 18059 просмотров

Решилась проблема, магия в общем 🙂 После того, как восстановил загрузчик windows, на следующий день решил попробовать еще раз поставить grub по первому способу, в конце опять было предупреждение, но после перезагрузки открылся Grub с выбором ОС.

UPD: установил другой образ elementary OS, более старую версию, нашел у себя на компе случайно, встала отлично с grub. Так что если у кого-нибудь будет такая проблема, то или пользуйтесь инструкцией восстановление GRUB или ставьте другой образ ОС.

Источник

unixforum.org

Форум для пользователей UNIX-подобных систем

  • Темы без ответов
  • Активные темы
  • Поиск
  • Статус форума

не ставится GRUB

Модератор: Bizdelnick

не ставится GRUB

Сообщение petabyte » 09.02.2011 19:53

Re: не ставится GRUB

Сообщение Lan4 » 09.02.2011 20:05

Re: не ставится GRUB

Сообщение korisk » 09.02.2011 20:07

Для установки не обязательно раздел монтировать.

grub
>root (hd2,0) #здесь должен быть /boot
>setup (hd2) #установать загрузчик на sdc
>quit

Но если монтировать, то
так
sudo grub-install —recheck —root-directory=/mnt /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
Installing GRUB to /dev/sdb as (hd1).
Installation finished. No error reported.
This is the contents of the device map /mnt/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install’.

(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb

Re: не ставится GRUB

Сообщение petabyte » 09.02.2011 22:12

Re: не ставится GRUB

Сообщение Lan4 » 09.02.2011 22:24

Re: не ставится GRUB

Сообщение Brainsburn » 10.02.2011 00:24

Re: не ставится GRUB

Сообщение petabyte » 10.02.2011 13:04

А если root (hd2,0)(Я так понял что нужны круглые скобки а не квадратные), то выдается такое сообщение

Re: не ставится GRUB

Сообщение mvt » 10.02.2011 13:33

Re: не ставится GRUB

Сообщение lynxx » 10.02.2011 14:50

Re: не ставится GRUB

Сообщение Voral » 10.02.2011 15:10

Re: не ставится GRUB

Сообщение korisk » 10.02.2011 18:48

с квадратными скобками извиняюсь — это я напутал, потом подредактировал.

сейчас специально проверил c флешкой:
$sudo mount /dev/sdb1 /mnt
$sudo mkdir /mnt/boot
$sudo grub-install —recheck —root-directory=/mnt /dev/sdb
Probing devices to guess BIOS drives. This may take a long time.
Installing GRUB to /dev/sdb as (hd1).
Installation finished. No error reported.
This is the contents of the device map /mnt/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install’.

(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb

Источник

Debian User Forums

#1 Post by linux001 » 2022-01-23 02:43

I installed debian testing on a GPT-formatted disk intended to be booted on a non-UEFI machine. A 10 MiB BIOS boot partition (fdisk type 4, GUID 21686148-6449-6E6F-744E-656564454649) was included at the beginning of the partition table; following that, there is a 1 GiB /boot ext2 partition, a 499 GiB LUKS-encrypted ext4 partition, and finally another ext4 partition. The LUKS-encrypted partition contains LVM logical volumes for root (/), home (/home), and swap. Debian testing was installed on root using debootstrap and grub2 (grub-pc package) was installed on /boot. No errors were encountered at any point during installation. The output of grub-install was «Installing for i386-pc platform. Installation finished. No error reported.» The output of `update-initramfs -u -k all` was «update-initramfs: Generating /boot/initrd.img-5.15.0-2-amd64». However, the device is not recognized as bootable media and no grub2 menu appears.

Attempting to boot just drops to the BIOS, requesting selection of a boot device. Selecting the device in question produces a black screen for about a second and then it returns to the BIOS screen, requesting again selection of a boot device. Since there are no error messages of any kind, it’s difficult to troubleshoot. Is there a simple method for confirming that grub installed core.img on /dev/sdb1? Any pointers greatly appreciated.

#2 Post by Victor Brand » 2022-01-23 03:00

after installing the grub package? You need to run this command from inside the chroot environment during bootstrapping.

Also, you need to enable bootable flag to (IIRC) /dev/sdb2 partition.

Also, assure yourself that your BIOS allows booting from the GPT table. If not, you’ll need to repartition your disk into MBR table.

Источник

#1 2016-09-17 23:40:50

bobadigo
Member
Registered: 2016-09-17
Posts: 34

[SOLVED] Problem with GRUB

Good morning.
I was installing Arch on an 250gb SSD. So i created 4 partitions: 512M EFI (vfat) (/dev/sda1), 150G linux filesystem (ext4) (/dev/sda2), 16G swap partition (/dev/sda4) and the, remaining (~70G) linux filesystem (ext4). I mounted the /dev/sda2 to /mnt, the /dev/sda1 to /mnt/boot, the /dev/sda3 to /mnt/home and simply turnet the swap on. After the first downloads, i entered Arch (always from USB). So i installed grub and efibootmgr, but when i tryed «grub-install —efi-directory=/boot», it returned «Installing for i386-pc platform. grub-install: error: install device isn’t specified.». So I (scared), rebooted the PC, and (as expected, it didn’t boot). So i run the USB again, mounted the partitions (swap included), and tryed «grub-install —target=x86_64-efi —efi-directory=/boot» (target because I’m running on a 64 bit machine), but this time, it returned «Could not prepare Boot variable: No such file or directory. Installation finished. No error reported». So i rebooted to test, and it didn’t work again.
What can i do? Thanks

Last edited by bobadigo (2016-09-22 11:34:33)

#2 2016-09-18 00:34:47

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: [SOLVED] Problem with GRUB

It appears you didn’t enter the command correctly. From the wiki:

# grub-install --target=x86_64-efi --efi-directory=esp --bootloader-id=grub

The commands you tried were:

grub-install —efi-directory=/boot
grub-install —target=x86_64-efi —efi-directory=/boot

Your second command was almost correct, but as you can see you’re missing the bootloader ID part.

Last edited by basica (2016-09-18 00:36:03)

#3 2016-09-18 08:15:28

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problem with GRUB

I tryed right now:

# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
Installing for x86_64-efi platform.
Could not prepare Boot variabile: No such file or directory.
Installation finished. No error reported.

Same as yesterday..

P.S. I had installed windows 10 on a 500GB HDD. I tryed to remove it, but the problem persist

Last edited by bobadigo (2016-09-18 09:33:08)

#4 2016-09-18 09:53:13

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 6,877
Website

Re: [SOLVED] Problem with GRUB

bobadigo wrote:

Could not prepare Boot variabile: No such file or directory.

Are you booted in UEFI mode?

Are all of the other requirements for UEFI variable support satisfied?

https://wiki.archlinux.org/index.php/Un … le_support

If your motherboard is not accepting new NVRAM entries then you can try the default .efi loader location instead:

# grub-install --target=x86_64-efi --efi-directory=/boot --removable

http://www.rodsbooks.com/efi-bootloader … ive-naming

Note that «—bootloader-id=» is for convenience only wink

#5 2016-09-18 12:16:36

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problem with GRUB

I checked, and i am not running in EFI mode. I don’t know it is possible, considering that i am using a z170 motherboard..
How can i boot using EFI mode?

#6 2016-09-18 12:27:08

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,472
Website

Re: [SOLVED] Problem with GRUB

Likely an option in your BIOS.  Each one is named differently though… google ‘brand/model boot efi mode’

#7 2016-09-18 12:36:48

bobadigo
Member
Registered: 2016-09-17
Posts: 34

Re: [SOLVED] Problem with GRUB

I disabled «Secure Boot»and «Storage Boot Option» to UEFI. Nothing, always the same.

EDIT

Ok, now I am in EFI mode. To do that, i went to «boot override» and selected «UEFI:USB» (first it was just «USB»).
I try installing again, i will tell you how it goes.

EDIT

Installation succesfully done, that to all for the answers! smile

Last edited by bobadigo (2016-09-18 22:02:22)

При загрузки убунты мигающая черная полоска в левом верхнем углу, раньше чинил загрузчик с помощью проги Boot repair мне дали вот эту ссылку http://paste.ubuntu.com/p/sGrStxMK7c/ примечание модератора: текст по ссылке скопирован в данное сообщение для удобства форумчан, тип если что то пойдет не так как задумано то надо ее отправить на любой форум, можете помочь?

boot-repair-4ppa125                                              [20200704_2351]

============================= Boot Repair Summary ==============================

sda may have broken partition table.
/usr/share/boot-sav/bs-cmd_terminal.sh: строка 177: предупреждение: подстановка команды: во входных данных проигнорирован нулевой байт

Recommended repair: ____________________________________________________________

The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options:        nvme0n1p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s  use-standard-efi-file  restore-efi-backups

/boot/efi added in nvme0n1p2/fstab
rm /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
mv /mnt/boot-sav/nvme0n1p1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/nvme0n1p1/efi/Boot/bootx64.efi
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi

Unhide GRUB boot menu in nvme0n1p2/etc/default/grub

=============== Reinstall the grub-efi-amd64-signed of nvme0n1p2 ===============

grub-install --version
grub-install (GRUB) 2.04-1ubuntu26

efibootmgr -v from chroot before grub install
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0002,0003,0004,0006,0005,0000
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0002* ubuntu HD(1,GPT,5be314e2-f8d0-49e7-a5c8-6acb507399d1,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0003* TOSHIBA HDWD110 BBS(HD,,0x0)..BO
Boot0004* ADATA SX6000LNP BBS(HD,,0x0)..BO
Boot0005* UEFI: KingstonDataTraveler 2.0PMAP, Partition 1 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(7,0)/HD(1,MBR,0x2bf90ea,0x800,0x769800)..BO
Boot0006* KingstonDataTraveler 2.0PMAP BBS(HD,,0x0)..BO

uname -r
5.4.0-26-generic

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi

grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.

efibootmgr -v from chroot after grub install
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0002,0003,0004,0006,0005,0000
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0002* ubuntu HD(1,GPT,5be314e2-f8d0-49e7-a5c8-6acb507399d1,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0003* TOSHIBA HDWD110 BBS(HD,,0x0)..BO
Boot0004* ADATA SX6000LNP BBS(HD,,0x0)..BO
Boot0005* UEFI: KingstonDataTraveler 2.0PMAP, Partition 1 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(7,0)/HD(1,MBR,0x2bf90ea,0x800,0x769800)..BO
Boot0006* KingstonDataTraveler 2.0PMAP BBS(HD,,0x0)..BO

chroot /mnt/boot-sav/nvme0n1p2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-40-generic
Found linux image: /boot/vmlinuz-5.4.0-26-generic
Found initrd image: /boot/initrd.img-5.4.0-26-generic
Adding boot menu entry for UEFI Firmware Settings

Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg

Загрузка успешно восстановлена.

Вы можете перезагрузить компьютер.

Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04 LTS entry (nvme0n1p1/EFI/ubuntu/shimx64.efi file) !

============================ Boot Info After Repair ============================

 => No boot loader is installed in the MBR of /dev/nvme0n1.
 => Windows 7/8/2012 is installed in the MBR of /dev/sda.
 => Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sdb.

nvme0n1p1: _____________________________________________________________________

    File system:       vfat
    Boot sector type:  FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
                       /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
                       /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
                       /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                       /efi/ubuntu/grub.cfg

nvme0n1p2: _____________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 20.04 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub

sdb1: __________________________________________________________________________

    File system:       vfat
    Boot sector type:  SYSLINUX 6.04
    Boot sector info:  Syslinux looks at sector 768 of /dev/sdb1 for its
                       second stage. The integrity check of Syslinux failed.
                       No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /boot/grub/grub.cfg /syslinux.cfg
                       /efi/BOOT/grubx64.efi /efi/BOOT/mmx64.efi /ldlinux.sys

================================ 1 OS detected =================================

OS#1:   Ubuntu 20.04 LTS on nvme0n1p2

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04 LTS, focal, x86_64)

===================================== UEFI =====================================

BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.

efibootmgr -v
BootCurrent: 0005
Timeout: 1 seconds
BootOrder: 0002,0003,0004,0006,0005,0000
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...a................
Boot0002* ubuntu HD(1,GPT,5be314e2-f8d0-49e7-a5c8-6acb507399d1,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0003* TOSHIBA HDWD110 BBS(HD,,0x0)..BO
Boot0004* ADATA SX6000LNP BBS(HD,,0x0)..BO
Boot0005* UEFI: KingstonDataTraveler 2.0PMAP, Partition 1 PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/USB(7,0)/HD(1,MBR,0x2bf90ea,0x800,0x769800)..BO
Boot0006* KingstonDataTraveler 2.0PMAP BBS(HD,,0x0)..BO

f7a57b08bc7c1c85417ae4cea582d1d4   nvme0n1p1/BOOT/bkpbootx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   nvme0n1p1/BOOT/bootx64.efi
bed45d1c9554cea09924d3814cb7c446   nvme0n1p1/BOOT/fbx64.efi
5c14b2158486ded02655f86386b249e2   nvme0n1p1/BOOT/grubx64.efi
4487628005555bfd4a4c0a47211e0700   nvme0n1p1/BOOT/mmx64.efi
5c14b2158486ded02655f86386b249e2   nvme0n1p1/ubuntu/grubx64.efi
4487628005555bfd4a4c0a47211e0700   nvme0n1p1/ubuntu/mmx64.efi
f7a57b08bc7c1c85417ae4cea582d1d4   nvme0n1p1/ubuntu/shimx64.efi

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

Disks info: ____________________________________________________________________

nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios

Partitions info (2/3): _________________________________________________________

nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot

Partitions info (3/3): _________________________________________________________

nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1

fdisk -l (filtered): ___________________________________________________________

Disk nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 8B90E84D-5ECF-4937-AE57-CA06BA008137
            Start       End   Sectors  Size Type
nvme0n1p1    2048   1050623   1048576  512M EFI System
nvme0n1p2 1050624 500117503 499066880  238G Linux filesystem
Disk sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0xc6edbedd
Disk sdb: 3.72 GiB, 3980394496 bytes, 7774208 sectors
Disk identifier: 0x02bf90ea
      Boot Start     End Sectors  Size Id Type
sdb1  *     2048 7774207 7772160  3.7G  e W95 FAT16 (LBA)

parted -lm (filtered): _________________________________________________________

sda:1000GB:scsi:512:4096:msdos:ATA TOSHIBA HDWD110:;
sdb:3980MB:scsi:512:512:msdos:Kingston DataTraveler 2.0:;
1:1049kB:3980MB:3979MB:fat16::boot, lba;
nvme0n1:256GB:nvme:512:512:gpt:ADATA SX6000LNP:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:538MB:256GB:256GB:ext4::;

blkid (filtered): ______________________________________________________________

NAME        FSTYPE   UUID                                 PARTUUID                             LABEL       PARTLABEL
sda                                                                                                       
sdb                                                                                                       
└─sdb1      vfat     2063-AA41                            02bf90ea-01                          UBUNTU 20_0
nvme0n1                                                                                                   
├─nvme0n1p1 vfat     E0E4-1C78                            5be314e2-f8d0-49e7-a5c8-6acb507399d1             EFI System Partition
└─nvme0n1p2 ext4     b9ec1372-2454-4ea7-af62-1219927322ef 84877d22-0dae-4a58-9c34-c92a3b56c4e9             

df (filtered): _________________________________________________________________

           Avail Use% Mounted on
nvme0n1p1 500.4M   2% /mnt/boot-sav/nvme0n1p1
nvme0n1p2   214G   3% /mnt/boot-sav/nvme0n1p2
sdb1        1.1G  69% /cdrom

Mount options: __________________________________________________________________

nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p2 rw,relatime
sdb1      ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro

=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================

search.fs_uuid b9ec1372-2454-4ea7-af62-1219927322ef root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================

Ubuntu   b9ec1372-2454-4ea7-af62-1219927322ef
Ubuntu, with Linux 5.4.0-40-generic   b9ec1372-2454-4ea7-af62-1219927322ef
Ubuntu, with Linux 5.4.0-26-generic   b9ec1372-2454-4ea7-af62-1219927322ef
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings   uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

======================== nvme0n1p2/etc/fstab (filtered) ========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p2 during installation
UUID=b9ec1372-2454-4ea7-af62-1219927322ef /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
/swapfile                                 none            swap    sw              0       0
UUID=E0E4-1C78  /boot/efi       vfat    defaults      0       1

==================== nvme0n1p2/etc/default/grub (filtered) =====================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

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

           GiB - GB             File                                 Fragment(s)
   0,500984192 = 0,537927680    boot/grub/grub.cfg                             1
  89,652462006 = 96,263598080   boot/vmlinuz                                   1
   4,266597748 = 4,581224448    boot/vmlinuz-5.4.0-26-generic                  2
  89,652462006 = 96,263598080   boot/vmlinuz-5.4.0-40-generic                  1
   4,266597748 = 4,581224448    boot/vmlinuz.old                               2
  90,008018494 = 96,645373952   boot/initrd.img-5.4.0-26-generic               3
  90,008018494 = 96,645373952   boot/initrd.img.old                            3

=================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================

итого 132
-rwxr-xr-x 1 root root 17123 апр 15 11:31 10_linux
-rwxr-xr-x 1 root root 42128 апр 15 11:31 10_linux_zfs
-rwxr-xr-x 1 root root 12894 апр 15 11:31 20_linux_xen
-rwxr-xr-x 1 root root 12059 апр 15 11:31 30_os-prober
-rwxr-xr-x 1 root root  1424 апр 15 11:31 30_uefi-firmware
-rwxr-xr-x 1 root root   214 апр 15 11:31 40_custom
-rwxr-xr-x 1 root root   216 апр 15 11:31 41_custom

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Ubuntu
Ubuntu (safe graphics)
OEM install (for manufacturers)
Boot from next volume
UEFI Firmware Settings

========================= sdb1/syslinux.cfg (filtered) =========================

DEFAULT loadconfig

LABEL loadconfig
  CONFIG /isolinux/isolinux.cfg
  APPEND /isolinux/

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

           GiB - GB             File                                 Fragment(s)
            ?? = ??             boot/grub/grub.cfg                             1

================== sdb1: Location of files loaded by Syslinux ==================

           GiB - GB             File                                 Fragment(s)
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             ldlinux.sys                                    1


ТС не появлялся на Форуме более трех месяцев по состоянию на 19/03/2021 (последняя явка: 07/07/2020). Модератором раздела принято решение закрыть тему.
—zg_nico

#
10 лет назад

Темы:

1

Сообщения:

3

Участник с: 18 января 2013

Здравствуйте.
Во время установки GRUB у меня возникает ошибка, после следующей команды:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck

Ошибка выглядит так:

Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI variables.
Try 'modprobe efivars' as root.
Installation finished. No error reported.

Естественно modprobe efivars перед чрутом выполнял, установка идет с флешки. Из гугла ничего вразумительного не понял.
Пытался проигнорировать ошибку и продолжить установку — безрезультатно.

sleepycat

#
10 лет назад

sleepycat avatar

Темы:

98

Сообщения:

3291

Участник с: 19 июля 2011

прок и сис фс перемонтированы ? визуально ? Просто устновка арча , у каждого по своему выглядит. (я так по старинке cp и pacman , т.е. часть работы , что сейчас идет автоматически , я все еще делаю руками и перемонтирование тех фс у меня дело ручное. =] )

Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)

silly

#
10 лет назад

Темы:

1

Сообщения:

3

Участник с: 18 января 2013

sleepycat, пробовал сделать так:

for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done

Совет отсюда http://superuser.com/questions/376470/how-to-reinstall-grub2-efi
Но после этого не чрутилось, пришлось размонтировать /mnt/sys, /mnt/dev. Но результата это никакого не дало, ошибка та же.

sleepycat

#
10 лет назад

sleepycat avatar

Темы:

98

Сообщения:

3291

Участник с: 19 июля 2011

ну сделайте руками, приведенный цикл выше если я правильно страктовал сделает все как надо в случае когда корень новой системы примонтируется в /mnt текущей системы. И лучше —bind а не -B, хотя это синоним.
Просто такая ошибка может быть и при простом отсутвие значений в дереве этих фс , так и при отсутвии последних вовсе. имхо
зы
да и надеюсь что запущен вариант efi, я давно не видивал инсталл диск, но судя по скринам, там есть выбор, я так понимаю раз есть — значит это не просто удобства ради ;)

Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)

Natrio

#
10 лет назад

Темы:

47

Сообщения:

4765

Участник с: 08 января 2011

/dev/pts зачем отдельно?
Вполне хватает

cd $newroot
for i in dev proc sys; do mount --bind /$i $i; done

sleepycat

#
10 лет назад

sleepycat avatar

Темы:

98

Сообщения:

3291

Участник с: 19 июля 2011

очепятка…яб удалил да никак не найду кнопку..сори за оффтоп, я поторопился.

Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)

silly

#
10 лет назад

Темы:

1

Сообщения:

3

Участник с: 18 января 2013

sleepycat, что значит вариант с efi? grub-efi-x86_64?
[офтоп]Кстати, псевдографического установщика больше нет, сейчас есть лишь файл с перечислением этапов установки [офтоп]
Плохо, что в официальной вики об этом ни слова Installation_Guide, Beginners_Guide, UEFI_Bootloaders.
Всем большое спасибо за помощь, сейчас попробуй.

sleepycat

#
10 лет назад

sleepycat avatar

Темы:

98

Сообщения:

3291

Участник с: 19 июля 2011

не обращайте внимание, идите пока по точным советам, я возможно попутал вариант efi с выбором меж 32 и 64 битной версией ос.

Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)

lampslave

#
10 лет назад

Темы:

32

Сообщения:

4800

Участник с: 05 июля 2011

По всей видимости, об этом ничего не написано потому, что ничего не надо изобретать.
Через pacman -r ставите grub-efi той же архитектуры, что и устанавливаемая система, биндите /dev /proc и /sys, потом делаете chroot и grub-install /dev/sda без всяких параметров, потом grub-mkconfig.

sleepycat

#
10 лет назад

sleepycat avatar

Темы:

98

Сообщения:

3291

Участник с: 19 июля 2011

не обращайте внимание, идите пока по точным советам, я возможно попутал вариант efi с выбором меж 32 и 64 битной версией ос.

Плохо, что в официальной вики об этом ни слова Installation_Guide, Beginners_Guide, UEFI_Bootloaders.

Немного есть(случайно наткнулся только что)

Testing if you are booted into UEFI mode

In case you have a UEFI motherboard and UEFI Boot mode is enabled (and is preferred over BIOS/Legacy mode), the CD/USB will automatically launch Arch Linux kernel (EFISTUB via Gummiboot Boot Manager). To check whether you have booted into UEFI mode, load the efivars kernel module (before chrooting) and then check whether there are files in /sys/firmware/efi/vars/:

# modprobe efivars # before chrooting
# ls -1 /sys/firmware/efi/vars/

Note: The kernel module efivars detects and populates the UEFI Runtime Variables at /sys/firmware/efi/vars. This module is not loaded automatically during the boot process, and until this module is loaded, and the kernel booted in UEFI mode, without noefi parameter, no files will exist in /sys/firmware/efi/vars. These variables are later modified by efibootmgr to add bootloader entry to UEFI boot menu. In BIOS mode, modprobe will not give any error about efivars module. The correct way to detect UEFI boot is to check for files in /sys/firmware/efi/vars .
Troubleshooting boot problems

If you’re using an Intel video chipset and the screen goes blank during the boot process, the problem is likely an issue with Kernel Mode Setting (KMS). A possible workaround may be achieved by rebooting and pressing Tab over the entry that you’re trying to boot (i686 or x86_64). At the end of the string type nomodeset and press Enter. Alternatively, try video=SVIDEO-1:d which, if it works, will not disable kernel mode setting. See the Intel article for more information.

If the screen does not go blank and the boot process gets stuck while trying to load the kernel, press Tab while hovering over the menu entry, type acpi=off at the end of the string and press Enter.

debug:
ой, я вроде раедактировал пост, а он новый сделал…хм может я глючу опять…

Лозунг у них был такой: «Познание бесконечности требует бесконечного времени». С этим я не спорил, но они делали из этого неожиданный вывод: «А потому работай не работай — все едино». И в интересах неувеличения энтропии Вселенной они не работали. (с)

Понравилась статья? Поделить с друзьями:
  • Installation failed with error code 0x800b010b общая ошибка доверия
  • Installation failed with error code 0x800b010a
  • Installation failed with error code 0x800b0109
  • Installation failed with error code 0x80070643 windows 7
  • Installation failed with error code 0x80070643 net framework как исправить