LinuxQuestions.org
Help answer threads with 0 replies.
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 12-03-2009, 12:32 PM   #1
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
chainload extended partition with grub legacy


I've never used extended partitions before. I installed ubuntu 9.10 yesterday, and found out about grub2. I don't have a problem with grub "legacy" and would prefer to stick with it for a while. However, it won't load an ext4 partition, so I had to chain load ubuntu's grub2 with it as per this thread:

http://www.linuxquestions.org/questi...tition-773069/

Today, before I get to into "kosmic koala" too far, I decided I wanted to leave one more partition on the drive, and since ubuntu doesn't seem to mind being installed on an extended partition, that's what I did (reinstall it there).

Now, the chainloading don't work. According to the grub docs, it will boot an extended partition. However, I get "Invalid device" (yes, I tried a few different numbers). Perhaps this does not apply to "rootnoverify", which is needed to chainload?

Hopefully someone out there has done this before -- otherwise I may have to get used to grub2...GRRR .
 
Old 12-03-2009, 12:47 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
First I hope you have ubuntu installed in a logical partition. An extended partition will hold many logical partitions. You can chainload logical partitions.

To chainload you need to make sure when you installed ubuntu that you installed its grub to the / of ubuntu.


Larry
 
Old 12-03-2009, 02:31 PM   #3
mk27
Member
 
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by Larry Webb View Post
First I hope you have ubuntu installed in a logical partition. An extended partition will hold many logical partitions. You can chainload logical partitions.
Yes, correct. That is what I meant, sorry. Looks like someone else had this problem before and could not solve it:

http://www.linuxquestions.org/questi...ical+partition

Quote:
To chainload you need to make sure when you installed ubuntu that you installed its grub to the / of ubuntu.
As mentioned, I already have that part right. I am thinking that because of this, I will have to give grub 1 a blocklist for the grub 2 "boot sector" on the logical partition. Any idea of how I can determine what those numbers should be?
 
Old 12-03-2009, 04:52 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
That would be reportable as a bug were it true. Go get the bootinfoscript from sourceforge and run it. Post the RESULTS.txt.
 
Old 12-03-2009, 07:30 PM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Here is a thread similar to your situation.

grub 2

Read all of the thread and you will see where it (ubuntu) was booted indirectly with grub legacy.


Larry

Last edited by Larry Webb; 12-03-2009 at 07:33 PM.
 
  


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
[SOLVED] how can a boot sector be repaired to then allow grub to install for chainload booting james2b Linux - Newbie 20 10-08-2009 09:07 PM
Grub chainloader boots from primary, but NOT from extended, partition PaulFXH Linux - General 3 11-27-2008 09:32 AM
Messed up my MBR, now GRUB and Extended Partition Info lost Q-Continuum SUSE / openSUSE 16 05-07-2007 02:29 AM
Can I uninstall grub from extended partition? yonatan1 General 7 03-13-2005 03:17 AM
Booting from an extended partition - need a partition table editor Ouch_Taser Linux - General 2 02-10-2004 06:22 PM

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

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