LinuxQuestions.org
Visit Jeremy's Blog.
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, 10:29 AM   #16
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648

is this a gpt or msdos drive? add either
insmod part_gpt or
insmod part_msdos
 
Old 05-31-2019, 06:19 PM   #17
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

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

Original Poster
Rep: Reputation: Disabled
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, 06:46 PM   #19
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: Disabled
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, 07:27 PM   #20
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

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

Original Poster
Rep: Reputation: Disabled
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, 08:19 AM   #22
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
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, 10:14 AM   #23
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: Disabled
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, 10:39 AM   #24
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
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, 10:43 AM   #25
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: Disabled
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, 12:14 PM   #26
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
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 12:36 PM.
 
Old 06-01-2019, 02:38 PM   #27
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: Disabled
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 04:03 PM.
 
Old 06-01-2019, 04:47 PM   #28
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
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 04:48 PM.
 
Old 06-01-2019, 06:24 PM   #29
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora, ubuntu, others
Posts: 3,809

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
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, 06:33 PM   #30
nekrosynthesis
LQ Newbie
 
Registered: May 2019
Distribution: Parabola
Posts: 18

Original Poster
Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:02 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 11:56 PM
Resizable encrypted LVM requiring just one password on boot (encrypted volume group)? Nyyr Linux - Software 9 01-24-2013 06: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 07:23 AM
[SOLVED] Redhat volume group,logical volume group dhairysheel Red Hat 3 08-02-2011 06:07 AM

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

All times are GMT -5. The time now is 05:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration