13 Pages V  « < 7 8 9 10 11 > »   
Reply to this topic
 UBCD5.00 (beta7) grub4dos menu
post Feb 5 2009, 09:59 AM
Post #81
Icecube
Silver Member   ****
Group: Advanced user

  Joined: 7-September 08
Posts: 641
Thank(s): 172


Belgium


Yes, it is supposed to be in UBCD50b11. The linux part should be final: the sed script at least unless someone finds a bug of course; , the sh script 'needs' some checks to see that the used programs, are available (which should be the case in every distribution by default).

Note: some entries won't work yet.
- Pmagic (The /pmagic/boot/grub/menu.lst file doesn't exist)
- Gparted (The /pmagic/boot/grub/menu.lst file doesn't exist)
- Partimage (The /pmagic/boot/grub/menu.lst file doesn't exist)
- Testdisk (The /pmagic/boot/grub/menu.lst file doesn't exist)
- PhotoRec (The /pmagic/boot/grub/menu.lst file doesn't exist)
- DBAN (Didn't make the /ubcd/boot/dban/grub4dos.lst file yet)
- Offline registry editor (Didn't make the /ubcd/boot/offline/grub4dos.lst file yet)
- maybe some other programs that point to a non existing lst file for the moment

If you find an entry that doesn't work, let me know.


--------------------
+Quote Post
post Feb 5 2009, 10:05 AM
Post #82
tinybit
Frequent Member   ***
Group: Developer

  Joined: 14-August 07
Posts: 485
Thank(s): 70


China


QUOTE (Icecube @ Feb 4 2009, 11:37 PM) *
@ caze
It is possible to use spaces with the write command, without escaping them.
CODE
write --offset=15 (fd0)/bin/setargs.bat ubcdcmd=0\r\necho Some text with spaces (no escaping needed)\r\n


OK in the latest build the quote for spaces is not required.
1 user(s) said "Thank you!" to tinybit for this fantastic post:
caze
+Quote Post
post Feb 8 2009, 02:13 PM
Post #83
tinybit
Frequent Member   ***
Group: Developer

  Joined: 14-August 07
Posts: 485
Thank(s): 70


China


QUOTE (Icecube @ Feb 3 2009, 01:56 AM) *
CODE
title ISOLINUX menu (Use this when booting from CD or with ISO emulation)
chainloader --force /boot/isolinux/isolinux.bin


Yes, this one should work fine. smile.gif

QUOTE (Icecube @ Feb 3 2009, 01:56 AM) *
CODE
title SYSLINUX menu (Use this when booting from USB)
chainloader --force /boot/syslinux/ldlinux.sys


Unfortunately this one will not work. The ldlinux cannot be chainloaded. Of all kinds of syslinux kernel files, only the isolinux.bin can be chainloaded by grub4dos, and in that case the isolinux.bin must reside in a real cdrom(or a virtual cdrom emulated by grub4dos), that is to say, isolinux.bin on floppy or harddisk partitions cannot be chainloaded by grub4dos. sad.gif
+Quote Post
post Feb 8 2009, 02:44 PM
Post #84
Icecube
Silver Member   ****
Group: Advanced user

  Joined: 7-September 08
Posts: 641
Thank(s): 172


Belgium


I know that the isolinux.bin only works when it is on a iso9660 filesystem (because isolinux.bin only supports iso9660). And as far as I know the iso must be made with isolinux.bin in the bootsector (so grldr as bootloader at the CD or iso, doesn't let the command work (checksum error: if I remember well):
CODE
chainloader --force /boot/isolinux/isolinux.bin

Is there a way to avoid the checksum error when you use grldr as bootloader on the CD and want to chainload isolinux.bin (without disabling the check in the isolinux.bin file itself)?

If you extract the UBCD iso to a fat16 or fat32 partition, does the following command work?
CODE
chainloader --force /boot/syslinux/ldlinux.sys

Or is ldlinux.sys not chain loadable in this way. I know that it won't work from a CD (not iso9660 support).

Any news about grub4dos support for 2 initrds?


--------------------
+Quote Post
post Feb 8 2009, 04:39 PM
Post #85
tinybit
Frequent Member   ***
Group: Developer

  Joined: 14-August 07
Posts: 485
Thank(s): 70


China


QUOTE (jaclaz @ Feb 1 2009, 07:09 PM) *
... besided the double initrd problem ...

jaclaz


Check the recent builds and see if solved unsure.gif
+Quote Post
post Feb 8 2009, 04:57 PM
Post #86
tinybit
Frequent Member   ***
Group: Developer

  Joined: 14-August 07
Posts: 485
Thank(s): 70


China


QUOTE (Icecube @ Feb 8 2009, 03:44 PM) *
I know that the isolinux.bin only works when it is on a iso9660 filesystem (because isolinux.bin only supports iso9660). And as far as I know the iso must be made with isolinux.bin in the bootsector (so grldr as bootloader at the CD or iso, doesn't let the command work (checksum error: if I remember well):
CODE
chainloader --force /boot/isolinux/isolinux.bin

Is there a way to avoid the checksum error when you use grldr as bootloader on the CD and want to chainload isolinux.bin (without disabling the check in the isolinux.bin file itself)?


You must have used an old version of grub4dos. For newish versions the --force is not needed, and isolinux.bin can reside anywhere on the CDROM. If you did encounter problems, try an old isolinux.bin, and tell which is the earliest isolinux version that caused the failure.

QUOTE (Icecube @ Feb 8 2009, 03:44 PM) *
If you extract the UBCD iso to a fat16 or fat32 partition, does the following command work?
CODE
chainloader --force /boot/syslinux/ldlinux.sys

Or is ldlinux.sys not chain loadable in this way. I know that it won't work from a CD (not iso9660 support).


No, it won't work. One of the most difficult things is to add chainloader support for various syslinux kernels(such as ldlinux, etc).

QUOTE (Icecube @ Feb 8 2009, 03:44 PM) *
Any news about grub4dos support for 2 initrds?


The code was done, but I am not sure if it works.

+Quote Post
post Feb 8 2009, 05:01 PM
Post #87
mr_
Frequent Member   ***
Group: Members

  Joined: 19-June 08
Posts: 357
Thank(s): 9


Germany


QUOTE (tinybit @ Feb 8 2009, 05:57 PM) *
No, it won't work. One of the most difficult things is to add chainloader support for various syslinux kernels(such as ldlinux, etc).

I made a topic about this little time before
http://www.boot-land.net/forums/index.php?showtopic=7013

Perhaps we should ask syslinux guys to provide a file for generic chainloading.
+Quote Post
post Feb 8 2009, 05:45 PM
Post #88
tinybit
Frequent Member   ***
Group: Developer

  Joined: 14-August 07
Posts: 485
Thank(s): 70


China


QUOTE (mr_ @ Feb 8 2009, 06:01 PM) *
Perhaps we should ask syslinux guys to provide a file for generic chainloading.


Good idea!

grub.exe, memdisk, plop,<----- all these are generic loadable, since they are simply Linux kernel format.

At least syslinux can follow the memdisk way so that it can be easily loaded by others.

+Quote Post
post Feb 8 2009, 11:35 PM
Post #89
Icecube
Silver Member   ****
Group: Advanced user

  Joined: 7-September 08
Posts: 641
Thank(s): 172


Belgium


I get the following error (grub4dos 08-02-2008 + isolinux 3.72 or 3.73):
CODE
chainloader /boot/isolinux/isolinux.bin

Error 13: Invalid or unsupported executable format

Press any key to continue...

When adding the --force option, isolinux.bin boots.

I looked in the syslinux archive. It contains also a ldlinux.bin, besides the ldlinux.sys file.

I could let it partially work.
QUOTE
chainloader --force /boot/isolinux/ldlinux.bin
boot
Boot error

The 'Boot error' is a text that is available in ldlinux.bin, so it works at least partially. In fact, the bootsector works (512 first bytes = contents of ldlinux.bss, the rest is ldlinux.sys).

Offline password and registry editor seems to work with the last grub4dos version (2 initrds). Thanks go to bean (if he did make this possible, of course cool.gif ).
CODE
kernel /ubcd/boot/offline/vmlinuz rw vga=1 init=/linuxrc
initrd /ubcd/boot/offline/initrd.cgz /ubcd/boot/offline/scsi.cgz



UBCD50b11 is out (no grub4dos support yet).
I have added help text support to the grub4dos menu (sed script).


--------------------
1 user(s) said "Thank you!" to Icecube for this fantastic post:
tinybit
+Quote Post
post Feb 9 2009, 07:25 AM
Post #90
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,230
Thank(s): 564


Italy


QUOTE (Icecube @ Feb 9 2009, 01:35 AM) *
Offline password and registry editor seems to work with the last grub4dos version (2 initrds). Thanks go to bean (if he did make this possible, of course cool.gif ).
CODE
kernel /ubcd/boot/offline/vmlinuz rw vga=1 init=/linuxrc
initrd /ubcd/boot/offline/initrd.cgz /ubcd/boot/offline/scsi.cgz


VERY good news! smile.gif

jaclaz


--------------------
+Quote Post

13 Pages V  « < 7 8 9 10 11 > » 
Reply to this topic
3 User(s) are reading this topic ()



Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts Grub4dos iso Size Limit?
1 sara - pmedia 106 Yesterday, 08:31 AM
Last post by: Wonko the Sane
No new grub4dos booting ubuntu iso
29 mipstien 12,435 27th August 2010 - 10:27 AM
Last post by: Wonko the Sane
No new Topic has attachmentsGRUB4DOS + WinVBlock
47 Sha0 2,744 25th August 2010 - 01:12 PM
Last post by: Wonko the Sane
No New Posts Grub4Dos savedefault does not work
4 davidwolf 1,507 17th August 2010 - 09:13 PM
Last post by: tinybit
No new Pinned: Topic has attachmentsGrub4dos Guide/Tutorial
79 diddy 67,758 15th August 2010 - 08:26 AM
Last post by: Wonko the Sane