LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   chainload extended partition with grub legacy (https://www.linuxquestions.org/questions/linux-software-2/chainload-extended-partition-with-grub-legacy-773248/)

mk27 12-03-2009 12:32 PM

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 :mad:.

Larry Webb 12-03-2009 12:47 PM

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

mk27 12-03-2009 02:31 PM

Quote:

Originally Posted by Larry Webb (Post 3778679)
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?

syg00 12-03-2009 04:52 PM

That would be reportable as a bug were it true. Go get the bootinfoscript from sourceforge and run it. Post the RESULTS.txt.

Larry Webb 12-03-2009 07:30 PM

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


All times are GMT -5. The time now is 06:19 AM.