MSFN Forum: Load Grub4Dos from CDShell - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Load Grub4Dos from CDShell Rate Topic: -----

#1 User is offline   mobiusonline 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 23-October 07

Posted 23 April 2009 - 12:05 PM

I have a multibood cd that runs with CDShell. I am adding a few applications that I can not get to work with CDShell, but have been able to get to work with Grub4Dos. I do not have time to convert the whole layout at the moment. However, is it possible to have the CDShell load a Grub4Dos menu setup, and if so, how can I go about adding it to my CDShell script?

Thanks in advance,
M

This post has been edited by mobiusonline: 23 April 2009 - 12:08 PM



#2 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,791
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 23 April 2009 - 01:20 PM

View Postmobiusonline, on Apr 23 2009, 08:05 PM, said:

I have a multibood cd that runs with CDShell. I am adding a few applications that I can not get to work with CDShell, but have been able to get to work with Grub4Dos. I do not have time to convert the whole layout at the moment. However, is it possible to have the CDShell load a Grub4Dos menu setup, and if so, how can I go about adding it to my CDShell script?

Thanks in advance,
M


I am not familiar (anymore ;)) with CDSHELL.

You should be able to add it as you would add SETUPLDR.BIN or NTLDR.

grldr should be chainloadable exactly like them.

Otherwise, try chainloading from CDSHELL NTLDR and add to BOOT.INI a line
C:\grldr="grub4dos"


jaclaz

#3 User is offline   mobiusonline 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 23-October 07

Posted 23 April 2009 - 05:07 PM

Thanks for the help, and once you gave me that, it made perfect sense...

However, when I try to run the command to load grldr from my CDShell, I get this error:

Error: File cannot be larger than 64kb.


The file grldr has an out of the box size of 210kb.

The command I am using is:

chain \grub\grldr


The Grub4Dos files are on the same CD as the CDShell.

What am I missing?

#4 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,791
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 24 April 2009 - 02:37 AM

Do you normally chainload the loader or a 2048 bytes CD bootsector invoking the loader?

I mean, what happens if you follow loosely the flyakite's guide:
http://flyakite.msfn.org/xpprosp1.htm

and change:
SETUPLDR.BIN ->GRUB4DOS.BIN (or any 8+3 name)
I386->GRUB (or any 4 letter name)

And you place a copy of grldr renamed to GRUB4DOS.BIN in directory \GRUB\ ?

Do read also the issues that may happen when renaming grldr:
http://diddy.boot-la...es/grldrmbr.htm

Or try chainloading grldr.mbr instead of grldr directly from CDSHELL. :unsure:

BTW, just for the record, grub4dos is CaSe SeNsItIvE on CDFS.

jaclaz

#5 User is offline   mobiusonline 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 23-October 07

Posted 24 April 2009 - 10:42 AM

Worked like a charm. Thanks for the assistance.

#6 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 8,791
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 24 April 2009 - 11:20 AM

View Postmobiusonline, on Apr 24 2009, 06:42 PM, said:

Worked like a charm. Thanks for the assistance.


Which one?

The hacked bootsector :yes: or the chainloading of grldr.mbr :unsure:?

However, happy it worked. :)

jaclaz

#7 User is offline   mobiusonline 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 23-October 07

Posted 24 April 2009 - 06:20 PM

Sorry, should have been more clear. The hacked boot sector. The .mbr did not work for me, and I tried that one first since it seemed easiest. Once I did it, I realized the other one was the easier.

Thanks again,

M

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy