LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-07-2016, 09:59 PM   #1
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
Chainload in libreboot?


I must admit I am no expert with grub2. I would like to chainload to a partition which has grub(1) (aka "grub-legacy"). Yes, I know I could just boot it up with grub2 but it seems like something is amiss. The partition is a primary partition, number 4.


So far I am trying

Code:
insmod ahci
insmod ext2
insmod part_msdos
insmod chain

chainloader (ahci0,4)+1
and get "error: unrecognised payload type". I have seen another tutorial that calls for a command called "drivemap" but libreboot does not apparently have this. Any suggestions?
 
Old 02-08-2016, 03:58 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,399

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
at the grub prompt what is the output of ls?
 
Old 02-08-2016, 04:48 PM   #3
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Original Poster
Rep: Reputation: 89
grub> ls
(memdisk) (proc) (cbfsdisk) (ahci0) (ahci0,msdos4) (ahci1)

where ahci0 is the internal hard drive and ahci1 is the dvd drive (currently holding a live cd). Writing chainloader (ahci0,msdos4)+1 doesn't do anything different.
 
Old 02-09-2016, 11:47 AM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,399

Rep: Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595Reputation: 1595
when the disk was first partitioned it was set up as a msdos partition table and not a guid partition table?
 
  


Reply

Tags
chainloading, grub, grub2



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
LXer: Libreboot on an x60, Part II: the Installation LXer Syndicated Linux News 0 10-28-2015 09:03 PM
LXer: Libreboot on an X60, Part I: the Setup LXer Syndicated Linux News 0 09-28-2015 02:21 PM
grub1 floppy chainload grub2 pavel989 Linux - General 3 02-02-2010 10:58 AM
So I want to chainload? betula Linux - Desktop 16 08-04-2009 04:46 AM
Chainload an OS Ashrack Linux - Software 9 01-23-2007 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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