LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-16-2015, 05:00 AM   #1
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Rep: Reputation: 0
UEFI boot broke.


My computer is installed Manjaro Linux and Windows 7 each other disk.
They are booted with UEFI.

I installed Manjaro Linux to another disk little while ago.
Then UEFI boot menu lists:

Quote:
Windows boot manager

Windows boot manager
(... disk names...)
manjaro
When I remove new Manjaro's disk,
two Windows boot manager is listed,
blank line is listed,
and old Manjaro is not listed.
So, I cannot boot Manjaro Linux.

I try to use Ubuntu repair-boot,
but it says "Filesystem repair requires to unmount partitions. Please close all your programs. Then close this window."
I guess this problem is same as
http://ubuntuforums.org/showthread.php?t=2201870
But I used Ubuntu 14.10. But not work.

How to fix UEFI boot menu and enable to boot old Manjaro?
 
Old 02-16-2015, 05:40 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
https://wiki.manjaro.org/index.php/R...r_UEFI_Systems
 
Old 02-16-2015, 07:45 AM   #3
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you for your reply.
It's just I was searching.

But wasn't solved.

I boot Manjaro Live, mount filesystems, chroot, and

Quote:
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
efibootmgr: EFI variables are not supported on this system.
efibootmgr: EFI variables are not supported on this system.
Installation finished. No error reported.
This problem is written in Manjaro Wiki.
So I install mtools, os-prober, efibootmgr, dosfstools and grub, but unchanged.
I exited chroot environment and do

Quote:
# modprobe efivars
modprobe: FATAL: Module efivars not found.
But /sys/firmware/efi/efivars exists and efivar command available.

Quote:
# modprobe -r efivars
modprobe: FATAL: Module efivars not found.
I do it in chroot environment too. No error displayed.
But grub-install error unchanged.
I ignore errors and finish and reboot.
But the problem wasn't solved.


Regards.
 
Old 02-16-2015, 07:56 AM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I use Arch rather than Manjaro -- I know my way around Arch very well but Manjaro makes many changes to the Arch base.

Are you using a custom kernel?

Mount your partitions, chroot into your system and post the output of:
Code:
# parted -l
lsblk -f

Last edited by Head_on_a_Stick; 02-16-2015 at 07:59 AM. Reason: removed superfluous question
 
Old 02-16-2015, 09:27 AM   #5
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Thank you.
I use Manjaro standard kernel (mhwd-kernel.)
LiveCD's kernel is 3.12.25-1-MANJARO.

Result of parted -l
Quote:
Model: ATA Corsair Force LS (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB ext3 BIOS_GRUB
2 3146kB 108MB 105MB fat32 UEFI_SYSTEM boot, esp
3 108MB 376MB 268MB ext2 MANJARO_BOOT legacy_boot
4 376MB 120GB 120GB MANJARO_LVM lvm


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB btrfs


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
2 106MB 240MB 134MB Microsoft reserved partition msftres
3 240MB 3001GB 3000GB ntfs Basic data partition msftdata


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdd: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB btrfs


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB btrfs


Model: ATA WDC WD30EZRX-00D (scsi)
Disk /dev/sdf: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 3001GB 3001GB btrfs




Model: BUFFALO Optical Drive (scsi)
Disk /dev/sr0: 1334MB
Sector size (logical/physical): 2048B/2048B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
2 442kB 130MB 130MB primary esp

Result of lsblk -f:

Quote:
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1
|-sda2 /boot/efi
|-sda3 /boot
`-sda4
`-luksdev
|-ManjaroVG-ManjaroRoot /
|-ManjaroVG-ManjaroHome
|-ManjaroVG-ManjaroSwap
|-ManjaroVG-ManjaroBootBK
|-ManjaroVG-ManjaroUEFI
`-ManjaroVG-ManjaroGRUB
sdb
`-sdb1
sdc
|-sdc1
|-sdc2
`-sdc3
sdd
`-sdd1
sde
`-sde1
sdf
`-sdf1
sr0
loop0
loop1
loop2
loop3
1 SSD (Manjaro system exists.)
5 HDD (btrfs volume * 4, Windows * 1)
New Manjaro HDD was removed.

Regards.
 
Old 02-16-2015, 10:45 AM   #6
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
If you are absolutely sure that /sys/firmware/efi exists when you boot up the live Manjaro ISO and the `efivar -l` command returns no variables then I have no idea what is going on.

Your filesystems are mounted correctly and you have an ESP (2 in fact) so it should work.

Just to double check, load up the Manjaro live ISO and post the output of:
Code:
ls /sys/firmware
efivar -l
 
Old 02-17-2015, 03:44 AM   #7
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
Result of ls /sys/firmware/
Quote:
acpi/
efi/
memmap/
Result of efivar -l (Live environment)
Quote:
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeExecUSec
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderEntrySelected
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeMenuUSec
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderEntriesAuto
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderImageIdentifier
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderDeviceIdentifier
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderFirmwareType
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderFirmwareInfo
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderInfo
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderTimeInitUSec
2781600e-9df9-4ef8-a5a4-66501ae55c41-ASR_TIMERSMI
1b838190-4625-4ead-abc9-cd5e6af18fe0-HiiDB
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootCurrent
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AmiGopPolicySetupData
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AMDCPU
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASR_NbSetup
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-DRAM
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AmdCpuType
8be4df61-93ca-11d2-aa0d-00e098032b8c-LangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLangCodes
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOutDev
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOptionSupport
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0604_0_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_VV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_VV
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
c811fa38-42c8-4579-a9bb-60e94eddfb34-USB_POINT
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SB_USB_POINT
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevValid
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbMassDevNum
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndicationsSupported
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-CaseOpenVsSetup
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-AcpiAslPtr
01368881-c4ad-4b1d-b631-d57a8ec8db6b-OA3MSDMvariable
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-GoodNightLed
4bafc2b4-02dc-4104-b236-d6f1b98d9e84-S3SS
8be4df61-93ca-11d2-aa0d-00e098032b8c-SetupMode
8be4df61-93ca-11d2-aa0d-00e098032b8c-SecureBoot
8be4df61-93ca-11d2-aa0d-00e098032b8c-SignatureSupport
01368881-c4ad-4b1d-b631-d57a8ec8db6b-RSCInfoAddresss
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0008
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0005
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0004
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0007
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0001
8be4df61-93ca-11d2-aa0d-00e098032b8c-BootOrder
b1cfc482-4cb2-4cee-9b00-ce2579ec7186-MemoryS3SaveNv
4a67b082-0a4c-41cf-b6c7-440b29bb8c4f-LoaderEntryDefault
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemContextNv
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MonotonicCounter
d8944553-c4dd-41f4-9b30-e1397cfb267b-BC5FF4FB0BB5
8be4df61-93ca-11d2-aa0d-00e098032b8c-Timeout
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot_Dev_name
8be4df61-93ca-11d2-aa0d-00e098032b8c-OsIndications
e20939be-32d4-41be-a150-897f85d49829-MemoryOverwriteRequestControl
a8a2093b-fefa-43c1-8e62-ce526847265e-AMITCGPPIVAR
7d3dceee-cbce-4ea7-8709-6e552f1edbde-TPMPERBIOSFLAGS
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-MacAddrVar
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-HddBootDev
af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e-AcpiGlobalVariable
30b98b95-dfa3-4501-a3ce-e38c186384a0-CpuS3Resume
0a51b41d-de21-43fe-be27-d6dbc9efd104-MemoryS3SaveVolLength
0a51b41d-de21-43fe-be27-d6dbc9efd104-MemoryS3SaveVol
8f132913-6907-4192-a227-6cbcd7a50e6c-NetConfigData
d1405d16-7afc-4695-bb12-41459d3695a2-NetworkStackVar
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASRockTimerSmiData
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-UsbSupport
840f6ac6-6f42-11d4-bce7-0080c73c8881-AmiAgesaSetup
8be4df61-93ca-11d2-aa0d-00e098032b8c-PlatformLang
8be4df61-93ca-11d2-aa0d-00e098032b8c-Lang
393c4833-402f-4bd5-bf5a-1f5cd8681444-SbNvramVar
01368881-c4ad-4b1d-b631-d57a8ec8db6b-ModuleVersion
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreTime
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreConfigId
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreCpuId
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemRestoreSerialLength
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SpdBypassSerial
01368881-c4ad-4b1d-b631-d57a8ec8db6b-SpdBypassData
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0002
45cf35f6-0d6e-4d04-856a-0370a5b16f53-DefaultBootOrder
3c4ead08-45ae-4315-8d15-a60eaa8caf69-DefaultLegacyDevOrder
a56074db-65fe-45f7-bd21-2d2bdd8e9652-OldLegacyDevOrder
a56074db-65fe-45f7-bd21-2d2bdd8e9652-LegacyDevOrder
8be4df61-93ca-11d2-aa0d-00e098032b8c-ErrOut
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0510_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0400_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0604_0_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_1_NV
560bf58a-1e0d-4d7e-953f-2980a261e031-PNP0501_0_NV
01368881-c4ad-4b1d-b631-d57a8ec8db6b-NoVGA.
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemContext
c3a4e49f-485f-4fd6-a2ea-2bc87455ad4b-MemChecksum
01368881-c4ad-4b1d-b631-d57a8ec8db6b-MemCeil.
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASR_USER_DEF_VER
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-ASR_USER_DEF_TSE
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Boot_Last_Device
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Q_ASR_QUICKON
43387991-1223-7645-b5bb-aa7675c5c8ef-AMIMemInfo
490216c0-076a-44d3-a536-ace05c90e386-NBMemoryLength
8be4df61-93ca-11d2-aa0d-00e098032b8c-LoadSetupDefault
f3ed95df-828e-41c7-bca0-16c41965a634-TcgInternalSyncFlag
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-Setup
01368881-c4ad-4b1d-b631-d57a8ec8db6b-FPDT_Variable
ec87d643-eba4-4bb5-a1e5-3f3e36b20da9-SetupCpuFeatures
dde1bc72-d45e-4209-ab85-14462d2f5074-HobRomImage
8f132913-6907-4192-a227-6cbcd7a50e6c-StageChk
4c19049f-4137-4dd3-9c10-8b97a83ffdfa-MemoryTypeInformation
4c19049f-4137-4dd3-9c10-8b97a83ffdfa-PreviousMemoryTypeInformation
4b3082a3-80c6-4d7e-9cd0-583917265df1-WriteOnceStatus
c811fa38-42c8-4579-a9bb-60e94eddfb34-AMITSESetup
4599d26f-1a11-49b8-b91f-858745cff824-StdDefaults

Result of efivar -l (chrooted)
Quote:
# efivar -l > efivar.result
efivar: error listing variables: Function not implemented

Packages (chrooted)
Quote:
# pacman -Q mtools os-prober efibootmgr dosfstools grub
mtools 4.0.18-2
os-prober 1.65-0.1
efibootmgr 0.11.0-1
dosfstools 3.0.27-1
grub 2.02.beta2-9


If there's no way, Is it recovered if I re-install Manjaro to SSD?
 
Old 02-17-2015, 03:47 AM   #8
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
I forgot.
I tried with Manjaro 0.8.12 KDE too.
But I got same result.

Quote:
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manjaro --recheck
Installing for x86_64-efi platform.
efibootmgr: EFI variables are not supported on this system.
efibootmgr: EFI variables are not supported on this system.
Installation finished. No error reported.
Quote:
[root@manjaro /]# exit
exit
[root@manjaro ~]# modprobe efivars
modprobe: FATAL: Module efivars not found.
 
Old 02-17-2015, 04:36 AM   #9
yek
Member
 
Registered: Feb 2015
Location: Yokoahama Kanagawa, Japn.
Distribution: Manjaro Linux, PCLinuxOS, Sabayon Linux, Vine Linux, CentOS
Posts: 41

Original Poster
Rep: Reputation: 0
It's solved.

I choose second Windows boot manager again, boot Manjaro.
And
Code:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=manja
ro --recheck
succeeded.

EFI boot menu lists two Windows boot manager, no blank line and manjaro.
I can boot up Manjaro right.


Thank you.
 
  


Reply

Tags
booting, uefi



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dual boot error (UEFI secure boot restricting installing centos7 over windows8) praduman1417 Linux - Newbie 3 12-24-2015 08:55 AM
BIOS, UEFI & CSM Boot, GRUB and/or LILO and Windows/Linux Dual Boot rm_-rf_windows Linux - General 4 11-10-2014 08:30 AM
UEFI HP250 Cannot boot my new istall without changing Boot Order every time DiBosco Linux - Software 3 07-10-2014 08:09 PM
LXer: Now You Can Boot Any Linux Distro On UEFI Secure Boot PCs LXer Syndicated Linux News 2 12-16-2012 06:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration