Page 1 of 1

UBCD5 Grub ISO9660 Project snag.

Posted: Sat Apr 03, 2010 11:33 am
by wiebelhaus
What was meant to be an hour long project has turned into something I'm banging my head against and that I need help with.

The Grub boot-able Multi-iso disc structure looks like this:

Image

Now basically what I've done is loop-mount each iso and then cp the contents to the proper folder and then configure menu.lst to mount the contents of each folder and then create the grub iso with the the GNU how to.

Code: Select all

$ mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot \
         -boot-load-size 4 -boot-info-table -o grub.iso iso
Here's what Grub's Menu.lst looks like (Note the bottom entry)

Image

*Left UBCD entry blank , didn't see any point in leaving the wrong info there*

Now the issue is all iso's mount perfectly except UBCD5 , This is a very important additive to this multi-disk.

I just cannot figure it out , I've tried mounting just the UBCD's .iso but I don't think Grub 1 can understand it and I cannot for the life of me figure out how UBCD boots , I've been scouring the Internet and cannot find much info at all. Now there's a lot of info on doing it on a jump drive but I'd like to do a CD for tech use in our shop , This is for internal use only unless someone just wants it then your more then welcome to it.



Here's the Code of Menu.lst:

#Testing grub menu

Code: Select all


title AVG_LIVE_LINUX_DISC
kernel /AVG/isolinux/vmlinuz 
initrd /AVG/isolinux/initrd.lzm 

title MINI_UBUNTU_NET_OR_COMMAND_LINE_INSTALL 
kernel /MINIBUNTU/linux 
initrd /MINIBUNTU/initrd.gz 

title PUPPY_LINUX.4.3.1
kernel /PUPP_LINUX.4.3.1/vmlinuz
initrd /PUPP_LINUX.4.3.1/initrd.gz 

title ULTIMATE_BOOT_CD.5.0
kernel 
initrd






Cheers and thanks for any help.

Posted: Sat Apr 03, 2010 3:53 pm
by StopSpazzing
I apologize, but Hirens Boot CD is an ILLEGAL collection of full version programs/tools that actually cost money to use but is packed ILLEGALLY for free. If you were to have post here without the Hirens boot CD information anywhere, wouldn't have been a problem but since you are trying to get something working with something that which is ILLEGAL to own, would make the Owner of this board liable for allowing help with ILLEGAL Activities.

No one here can help you with your problem as would be helping ILLEGAL activities.


Please delete most of his message and lock the topic. :)

Posted: Sat Apr 03, 2010 5:26 pm
by wiebelhaus
Honestly man , I'd much rather have UBCD5 then Hiren's hands down , I'll recompile and repost if you like.

Posted: Sat Apr 03, 2010 6:45 pm
by StopSpazzing
wiebelhaus wrote:Honestly man , I'd much rather have UBCD5 then Hiren's hands down , I'll recompile and repost if you like.
Im sure if you recompile and REMOVE everything that references anything illegal, people may help you. Please remove the link too if it contains anything mentioning Illegal programs or fix it.

Posted: Sat Apr 03, 2010 6:59 pm
by wiebelhaus
StopSpazzing wrote:
wiebelhaus wrote:Honestly man , I'd much rather have UBCD5 then Hiren's hands down , I'll recompile and repost if you like.
Im sure if you recompile and REMOVE everything that references anything illegal, people may help you. Please remove the link too if it contains anything mentioning Illegal programs or fix it.
Alright , thanks man , I honestly didn't realize that would offend anyone , My bad.

Cheers.

Posted: Sat Apr 03, 2010 9:11 pm
by StopSpazzing
Would rather no one run into any legal issues...so protects both you, the Owner of this website, and everyone else that may help you.


Im not the best expert here, but from what I know you should change to grub4dos, as it gives you more options for booting.

First, read up on grub4dos compared to grub:http://grub4dos.sourceforge.net/wiki/in ... /Main_Page
Also says how to create a CD with grub4dos:http://grub4dos.sourceforge.net/wiki/in ... d_subjects


Second, grub4dos comes already packed with UBCD 5.0rc1, all you would need to do is simple add the command lines need to boot the said builds you have.

Unfortunately, that's where my knowledge ends. Hopefully, Icecube will be able to help you from here, as he is the Boot anything Expert.

Posted: Sun Apr 04, 2010 7:40 am
by Icecube
You can use GRUB4DOS instead of GRUB:

Code: Select all

mkisofs -R -b boot/grub/grldr -no-emul-boot -boot-load-size 4 -o your.iso iso_root
Maybe you need to pass more options to mkisofs, to let every program work correctly on UBCD:

Code: Select all

		# mkisofs manpage: http://linux.die.net/man/8/mkisofs
		#
		# -iso-level 4: Required for Win2K/XP booting to work
		# -l: Allow full 31 character ISO9660 filenames
		# -R: Rock Ridge Interchange Protocol allows Unix long filenames up to 255 bytes
		# -J -joliet-long: Joliet extension allows Windows long filenames up to 103 Unicode chars
		# -D: Disable deep directory relocation
		
		mkisofs -iso-level 4 -l -R -J -joliet-long -D -V "${VOLUME_ID}" -o "${ISO_FILENAME}" -b "boot/grub/grldr" -no-emul-boot -boot-load-size 4 "${ROOT_OF_ISO_PATH}"
You can't put the UBCD iso in a subdir on your CD (it is possible, but then you have to change some programs inside UBCD so they point to the correct path.
The ubcd, pmagic and antivir dir must be in the root dir.
Parted Magic can be easily changed, to let it search in another directory for its squash file:

Code: Select all

directory= directory that contains the /pmagic/ folder (default value: /)
For your menu.lst file, use (you need GRUB4DOS):

Code: Select all

title UBCD50
configfile /ubcd/menus/grub4dos/main.lst

Posted: Sun Apr 04, 2010 8:59 am
by wiebelhaus
Alright! Thanks for the help , I'll continue the testing with GRUB4DOS on Monday , after the holiday and report back , thanks folks.