LinuxQuestions.org
Review your favorite Linux distribution.
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 09-25-2020, 12:40 PM   #31
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by colorpurple21859 View Post
post
Code:
ls /boot/efi
Code:
EFI  grub initramfs-linux-fallback.img  initramfs-linux.img  intel-ucode.img  vmlinuz-linux
 
Old 09-25-2020, 12:46 PM   #32
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
found your vmlinuz, do this
Code:
umount /boot/efi
mount /dev/sda1 /boot
grub-install --target=x86_64-efi --efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg

Last edited by colorpurple21859; 09-25-2020 at 12:53 PM.
 
Old 09-25-2020, 12:49 PM   #33
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
found your vmlinuz, do this
Code:
umount /boot/efi
mount /dev/sda1 /boot
grub-mkconfig -o /boot/grub/grub.cfg
Code:
umount /boot/efi
mount /dev/sda1 /boot
worked so far so good.

give me 30 min (downloading a game atm) and i have only 1 Ethernet cable + no Wifi.
 
Old 09-25-2020, 01:37 PM   #34
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859;6169595
[CODE
umount /boot/efi
mount /dev/sda1 /boot
grub-install --target=x86_64-efi --efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg[/CODE]
it worked https://ibb.co/sgTkVP6

whats next, boss?

Last edited by Arch4GoodieLike; 09-25-2020 at 02:02 PM.
 
Old 09-25-2020, 02:47 PM   #35
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
exit out of chroot and reboot
 
Old 09-25-2020, 03:09 PM   #36
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
exit out of chroot and reboot
it works but after entering my pw in Login-DE it says starting "version Arch..."etc in GRUB like a normal boot in any other Arch bootup and then 1 second later it throws me back to the Login-DE
not sure if it has to do with the meanwhile useless GRUB install (Pic1) since its on the same disk or not since boot priority is on the functional bootloader (Pic2)

Pic1 BIOS boot-Menu https://ibb.co/nkB1wyZ

Pic2 BIOS boot-Priority https://ibb.co/pyyDQC6
 
Old 09-25-2020, 03:20 PM   #37
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
I don't think it has anything to do with the nonworking grub.
Quote:
then 1 second later it throws me back to the Login-DE
Are you saying it goes back to the arch grub login menu? Maybe something wrong with the menu entry. post the /boot/grub/grub.cfg
 
Old 09-25-2020, 03:33 PM   #38
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
I don't think it has anything to do with the nonworking grub.
Are you saying it goes back to the arch grub login menu? Maybe something wrong with the menu entry. post the /boot/grub/grub.cfg
Via Arch-Chroot ? please guide me trough. (i'm totally braindead after all the Arch fixing stuff today sorry) i apprechieve your time and efford for me.
 
Old 09-25-2020, 04:03 PM   #39
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
mount /dev/sda3 to /mnt
mount /dev/sda1 /mnt/boot
cat /boot/grub/grub.cfg

Last edited by colorpurple21859; 09-25-2020 at 04:13 PM.
 
Old 09-25-2020, 04:16 PM   #40
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
mount /dev/sda3 to /mnt
mount /dev/sda1 /mnt/boot
cat /boot/grub/grub.cfg
its a huge content. i cant view it all, even by scrolling up with shift+Page Up
 
Old 09-25-2020, 04:19 PM   #41
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Then
Code:
less /boot/grub/grub.cfg
 
Old 09-25-2020, 04:23 PM   #42
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
cat /mnt/boot/grub/grub.cfg | less
Need the First line that starts with menuentry plus the next several lines that follows to this }
 
Old 09-25-2020, 04:29 PM   #43
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
cat /mnt/boot/grub/grub.cfg | less
Need the First line that starts with menuentry plus the next several lines that follows to this }
https://ibb.co/zhkQfqr
 
Old 09-25-2020, 04:57 PM   #44
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
It is further down, will look like this
menuentry “arch”...{
set root=...
......
..,.....
linux /vmlinuz ...,
Initrd /initramfs ...
}

Last edited by colorpurple21859; 09-25-2020 at 05:10 PM.
 
Old 09-25-2020, 05:08 PM   #45
Arch4GoodieLike
Member
 
Registered: Sep 2020
Location: Cave
Distribution: Arch Linux
Posts: 143

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
It is further down, will look like this
menuentry “arch”...{
set root=...
......
..,.....
linux /vmlinuz
Initrd /initfsram
}
part1 of "arch" containing lines
https://ibb.co/HrPkzvt

part2 of "arch" containing lines
https://ibb.co/8Bn9CBy
 
  


Reply



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
Remote Backup script needed | backup every 1-2 seconds (Online/Hot backup) reda Linux - Newbie 4 04-20-2019 05:02 PM
Replacing BIOS jmh72 Linux - Laptop and Netbook 10 04-07-2018 05:59 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 05:03 AM

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

All times are GMT -5. The time now is 01:11 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