LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   GRUB chainloading a logical partition installed with SYSLINUX (http://www.linuxquestions.org/questions/linux-software-2/grub-chainloading-a-logical-partition-installed-with-syslinux-739408/)

whho 07-11-2009 11:29 AM

GRUB chainloading a logical partition installed with SYSLINUX
 
Hello,

I am trying to have GRUB chainload syslinux. Here is my grub command

Code:

root            (hd0,4)  <----- logical partition
makeactive
chainloader    +1

Here is my partition table

Code:

Disk /dev/sdb: 1014 cylinders, 64 heads, 62 sectors/track
Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/sdb1          0+    246    247-    490017    6  FAT16
/dev/sdb2        247    247      1      1984  83  Linux
/dev/sdb3        248    1013    766    1519744    5  Extended
/dev/sdb4          0      -      0          0    0  Empty
/dev/sdb5        248+    617    370-    734049    6  FAT16
/dev/sdb6        618+    963    346-    686433    6  FAT16
/dev/sdb7        964+  1013      50-    99169  83  Linux


However, I got a "boot error". I checked the boot record of the partition and found that it contained the string "boot error".

Therefore, does it mean that syslinux was successfully loaded, so the problem was in syslinux? Or, did grub fail to pass certain parameters to syslinux? What are the parameters, and how are the parameters passed? How does all this work?

Any idea is welcome! Thank you very much!

whho

ronlau9 07-11-2009 12:23 PM

root (hd0,4) means normally the five partition on sda
You show us sdb that confused me .

whho 07-11-2009 10:11 PM

Sorry for the confusion! It was sdb because it was plugged into one machine. It became sda while it was plugged into other machine.

You may just treat it as if the following:

Code:

Disk /dev/sda: 1014 cylinders, 64 heads, 62 sectors/track
Units = cylinders of 2031616 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/sda1          0+    246    247-    490017    6  FAT16
/dev/sda2        247    247      1      1984  83  Linux
/dev/sda3        248    1013    766    1519744    5  Extended
/dev/sda4          0      -      0          0    0  Empty
/dev/sda5        248+    617    370-    734049    6  FAT16
/dev/sda6        618+    963    346-    686433    6  FAT16
/dev/sda7        964+  1013      50-    99169  83  Linux

Thanks again! Any ideas is welcome!

whho

colorpurple21859 07-11-2009 10:24 PM

had a partition that I was chainloading that would not boot when I had makeactive. removed makeactive from grub and it worked. maybe it will work maybe not.

whho 07-11-2009 10:29 PM

Hi Colorpurple,

I tried not using makeactive too, but it still didn't work. I tried rootnoverify too, but still not working......

Thanks again! any other idea?

whho

whho 07-11-2009 10:40 PM

By the way, the error was "Starting up ..." and then "Boot error". In addition, it gives "Error 12: Invalid device requested" when I said "makeactive".

Hope this piece of additional information helps to solve the problem.

Thanks again!


All times are GMT -5. The time now is 02:52 PM.