LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-31-2019, 09:29 AM   #16
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591

is this a gpt or msdos drive? add either
insmod part_gpt or
insmod part_msdos
 
Old 05-31-2019, 05:19 PM   #17
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Your /boot wouldn't happen to be on a separate partition and if so what is the partition formatted as?
 
Old 05-31-2019, 05:45 PM   #18
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
is this a gpt or msdos drive? add either
insmod part_gpt or
insmod part_msdos
Huh... that's weird. Running
Code:
sudo gdisk -l /dev/sda
says
Code:
MBR: not present, BSD: not present, APM: not present, GPT: not present. Creating new GPT entries in memory.
 
Old 05-31-2019, 05:46 PM   #19
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
Your /boot wouldn't happen to be on a separate partition and if so what is the partition formatted as?
Erm... I don't believe so. Still new to this terminology, but I don't remember specifically making a partition for my boot directory. How would I check this?
 
Old 05-31-2019, 06:27 PM   #20
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
What is output of:
sudo fdisk -l
That is a lower case L
 
Old 05-31-2019, 10:01 PM   #21
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
What is output of:
sudo fdisk -l
That is a lower case L
fdisk -l gives the following:
Code:
Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors
Disk model: Patriot Burst   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/root: 447.1 GiB, 480101883904 bytes, 937698992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/matrix-swapvolume: 2 GiB, 2147483648 bytes, 4194304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/matrix-rootvolume: 445.1 GiB, 477949329408 bytes, 933494784 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
 
Old 06-01-2019, 07:19 AM   #22
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
At the grub prompt does this give you a grub menu that works?

Code:
cryptomount -a
set root=(lvm/matrix-rootvolume)
configfile /boot/grub/libreboot_grub.cfg
 
Old 06-01-2019, 09:14 AM   #23
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
At the grub prompt does this give you a grub menu that works?

Code:
cryptomount -a
set root=(lvm/matrix-rootvolume)
configfile /boot/grub/libreboot_grub.cfg
Running that skips past the menu you mentioned, then says
Code:
error: can't find command 'inmod'. Press any key to continue...
but then it loads me into my operating system after prompting me for my password... huh, interesting. So that works! But I'm not sure what to do to have that automatically run when I boot my computer.
 
Old 06-01-2019, 09:39 AM   #24
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
The inmod error is a bad line in your libre_grub.cfg. You should be able to delete that line. Your other problem seems to be with the grub.cfg in you rom, that searches for the libre_grub.cfg file and loads it
 
Old 06-01-2019, 09:43 AM   #25
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
The inmod error is a bad line in your libre_grub.cfg. You should be able to delete that line. Your other problem seems to be with the grub.cfg in you rom, that searches for the libre_grub.cfg file and loads it
Ah, misread that line. Deleted those insmod lines. I thought Libreboot was supposed to automatically load libreboot_grub.cfg? How do I go about changing the ROM's grub.cfg?
 
Old 06-01-2019, 11:14 AM   #26
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
The link in post 10 tells how, but you have a good chance of bricking your system if something goes wrong

Last edited by colorpurple21859; 06-01-2019 at 11:36 AM.
 
Old 06-01-2019, 01:38 PM   #27
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
The link in post 10 tells how, but you have a good chance of bricking your system if something goes wrong
Ok... well how can I do this without bricking my computer?
Like I said, the guide says that there is no modification required if I don't flash the ROM. Libreboot is not loading my libreboot_grub.cfg, which it is supposed to do.

Last edited by nekrosynthesis; 06-01-2019 at 03:03 PM.
 
Old 06-01-2019, 03:47 PM   #28
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
Quote:
Ok... well how can I do this without bricking my computer?
by being extremely careful other than that there isn't much I can do to help you out with that one.

Last edited by colorpurple21859; 06-01-2019 at 03:48 PM.
 
Old 06-01-2019, 05:24 PM   #29
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,361

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
The only other thing might be is there is a /dev/mapper/root and a /dev/mapper/matrix-root for the drive throwing libreboot search function out of whack
 
Old 06-01-2019, 05:33 PM   #30
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by colorpurple21859 View Post
by being extremely careful other than that there isn't much I can do to help you out with that one.
Erm... ok then...
 
  


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Resizable encrypted LVM requiring just one password on boot (encrypted volume group)? Nyyr Linux - Software 9 01-24-2013 05:52 AM
I have spce in volume group but it can not increase the size of logical volume anis123 Linux - Newbie 14 04-16-2012 06:23 AM
[SOLVED] Redhat volume group,logical volume group dhairysheel Red Hat 3 08-02-2011 05:07 AM

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

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