LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2021, 03:41 PM   #61
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled

[root@parabolaiso /]# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
squash 4.0
sda
|-sda1
| vfat FAT32 06ED-BE24 510.8M 0% /boot/efi
|-sda2
| ext4 1.0 a3921e22-b5e9-41ef-97f5-88f83c2b6060
|-sda3
| ntfs 01D72C9A269D2EA0
|-sda4
| ext4 1.0 2fb80b3d-b578-41d0-ab27-9cab85fd5b78
|-sda5
| ext4 1.0 522c8b3d-2472-441b-8961-2809edab6ff1 17.4G 7% /
`-sda6
swap 1 2cf43d12-e431-4695-acbe-84f5b4bf9909
sdb iso966 PARA_202008
| 2020-08-03-05-19-50-00
|-sdb1
| iso966 PARA_202008
| 2020-08-03-05-19-50-00
`-sdb2
vfat FAT16 PARABOLAISO
81F6-FC7E
sr0










Note: this command didn't work in grub prompt (command unknown)
 
Old 05-27-2021, 04:34 PM   #62
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
Post the output of
Code:
lsblk -f
[root@parabolaiso /]# lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0
squash 4.0
sda
|-sda1
| vfat FAT32 06ED-BE24 510.8M 0% /boot/efi
|-sda2
| ext4 1.0 a3921e22-b5e9-41ef-97f5-88f83c2b6060
|-sda3
| ntfs 01D72C9A269D2EA0
|-sda4
| ext4 1.0 2fb80b3d-b578-41d0-ab27-9cab85fd5b78
|-sda5
| ext4 1.0 522c8b3d-2472-441b-8961-2809edab6ff1 17.4G 7% /
`-sda6
swap 1 2cf43d12-e431-4695-acbe-84f5b4bf9909
sdb iso966 PARA_202008
| 2020-08-03-05-19-50-00
|-sdb1
| iso966 PARA_202008
| 2020-08-03-05-19-50-00
`-sdb2
vfat FAT16 PARABOLAISO
81F6-FC7E
sr0










Note: this command didn't work in grub prompt (command unknown)
 
Old 05-27-2021, 09:10 PM   #63
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
change /etc/grub.d/40_custom window entry to this
Code:
menuentry 'windows' --class=windows{
search --no-floppy --fs-uuid --set=root 06ED-BE24
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
and rerun grub-mkconfig
 
Old 05-28-2021, 04:05 AM   #64
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
It gave me /EFI/Microsoft/Boot/bootmgfw.efi was missing

note that when I performed this as chroot

ls /boot/efi/EFI

Only the parabola folder was present, no windows folder
 
Old 05-28-2021, 05:58 AM   #65
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
You are mounting the efi partition to either /mnt/boot/efi out of chroot or /boot/efi within chroot? With /etc/default/grub file missing you may need to re-install the grub package, then rerun grub-install and grub-mkconfig
 
Old 05-28-2021, 08:14 AM   #66
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Uninstalled by pacman as chroot and reinstalled everything as root by parabolaiso ~ # pacstrap /mnt grub efibootmgr dosfstools os-prober mtools

and got these errors

==> Building image from preset: /etc/mkinitcpio.d/linux-libre-lts.preset: 'default'
-> -k /boot/vmlinuz-linux-libre-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-lts.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux-libre-lts'
==> Building image from preset: /etc/mkinitcpio.d/linux-libre-lts.preset: 'fallback'
-> -k /boot/vmlinuz-linux-libre-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-libre-lts-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux-libre-lts'
error: command failed to execute correctly
root@parabolaiso ~ #
 
Old 05-28-2021, 08:33 AM   #67
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Good news!

Turns out I had to reinstall the kernel since I was wiping out the boot/efi directory everytime to reinstall grub and efi stuff; there are some files there related to the kernel!

I should try the same with windows when I get my hands on an installation disk and try to copy the missing file!
 
Old 05-28-2021, 01:32 PM   #68
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
I still have an issue with the windows partition,

I got the bootmgr file running but now I have a BCD issue

http://rajandmk.blogspot.com/2012/09...le-to-fix.html

My windows 7 cd installer claimed it was incompatible with my windows hdd for some reason so I'm using the command prompt

I tried the second command

bootrec.exe /fixmbr
X:\boot\bootsect.exe /nt60 all /force

It oddly didn't work unless I used bootsect.exe /nt60 all /force

However, when I tried the rest

del C:\boot\bcd

bcdedit /createstore c:\boot\bcd.tmp
.................

It said it couldn't delete boot because it didn't exist
Nor I can use bcdedit since it also doesn't exist

So I tried mkdir c:\boot
And it told me it can't create the boot directory since it already exists as a file or folder

I used DIR un c: and found no boot.

How should I continue?
 
Old 05-28-2021, 03:19 PM   #69
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Windows 7 doesn't do uefi mode, you will need a windows10 installer to reinstall windows bootloader in uefi mode.
 
Old 05-29-2021, 07:18 AM   #70
MUSTDOS
Member
 
Registered: Mar 2020
Distribution: antix
Posts: 100

Original Poster
Rep: Reputation: Disabled
Thanks all for your help, forgot to lock this thread

Now, I just have to deal with my slow internet.

https://www.youtube.com/watch?v=sAXZbfLzJUg
 
Old 05-29-2021, 07:55 AM   #71
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,395

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
your welcome
 
  


Reply

Tags
grub, instal, installation



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Configuring Grub (Libreboot) to Load LUKS Encrypted Parabola Logical Volume Group nekrosynthesis Linux - Newbie 35 11-12-2019 01:04 AM
Parabola GNU / Linux - Problem with ATI driver (Radeon HD 4250) when starting x Roondmoond Linux - Newbie 12 10-08-2014 03:31 PM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Parabola GBU/Linux 2012 laptop dualboot ilovepenquins Linux - Laptop and Netbook 4 07-18-2013 06:31 AM
"isolinux.bin missing or corrupt" for Arch, Parabola and Fedora zwitterion-241920 Linux - General 5 12-30-2011 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:37 AM.

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