LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-11-2009, 11:29 AM   #1
whho
Member
 
Registered: Feb 2009
Posts: 38

Rep: Reputation: 16
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
 
Old 07-11-2009, 12:23 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
root (hd0,4) means normally the five partition on sda
You show us sdb that confused me .
 
Old 07-11-2009, 10:11 PM   #3
whho
Member
 
Registered: Feb 2009
Posts: 38

Original Poster
Rep: Reputation: 16
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
 
Old 07-11-2009, 10:24 PM   #4
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,348

Rep: Reputation: 184Reputation: 184
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.
 
Old 07-11-2009, 10:29 PM   #5
whho
Member
 
Registered: Feb 2009
Posts: 38

Original Poster
Rep: Reputation: 16
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
 
Old 07-11-2009, 10:40 PM   #6
whho
Member
 
Registered: Feb 2009
Posts: 38

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


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
Making Syslinux boot a different partition also with Syslinux. tokico Linux - Software 6 03-04-2009 09:37 AM
Can Ubuntu be installed and be booted from a logical partition? dizzi Ubuntu 3 09-17-2008 07:45 PM
grub: windows on logical partition festhead Linux - Software 5 12-17-2007 04:17 PM
can any of the BSDs be installed on a logical partition? microsoft/linux *BSD 12 04-19-2006 12:13 PM
Can Grub /LILO be installed on the logical partition? canaan Linux - Newbie 13 12-19-2005 09:18 PM


All times are GMT -5. The time now is 01:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration