MSFN Forum: ISOLINUX and Backtrack5, GDATA - MSFN Forum

Jump to content


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

ISOLINUX and Backtrack5, GDATA Rate Topic: -----

#1 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 17 May 2011 - 07:41 PM

I am expanding on ISOLINUX multiboot CD to DVD and am having some trouble. This post explains my setup thus far and I will explain which apps I am adding and how.

Here is a list is live cds I am attempting to add to my ISO
  • Backtrack 5
  • GDATA
  • BitDefender
  • AVG Rescue CD
  • Panda-Safe-CD
  • Kaspersky-Rescue-Disk-2010
  • Avira

Basically I am trying to take the freeware virus removal tools from DLC Super Multi Boot 2011 DVD and add them to my current CD (now to be DVD). I am thinking it is a problem with my mkisofs command since I am basically copying the .cfg and directory structure verbatim from the DLC disk. Below is my mkisofs command (being run from Windows with cygwin).
mkisofs -o GEAR-DVD.iso -iso-level 4 -N -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table DVD_root


Just for reference here are some of my cfg file entries for Backtrack & GDATA

Backtrack5:
label DEFAULT
  menu label BackTrack Text - Default Boot Text Mode
  kernel /BT5/casper/vmlinuz
  append  file=/cdrom/BT5/preseed/custom.seed boot=casper initrd=/BT5/casper/initrd.gz text splash vga=791--


GDATA:
label GDATA
menu label ^1. GDATA
kernel /GDATA/linux26
append ramdisk_size=100000 init=/linuxrc apm=power-off vga=791 initrd=/GDATA/minirt26.gz nomce lang=en_GB.UTF-8


I am also having trouble with a few of the other AVs which is why it leads me to think that it is a mkisofs problem rather that an ISOLINUX problem as well as the fact that both sources where i got these files were also ISOLINUX based. I will attach two screenshots of the errors I get. What do you all think mkisofs misconfiguration, incorrect entries in ISOLINUX.CFG, or something completely different?

Attached File(s)


This post has been edited by mille535: 17 May 2011 - 07:48 PM



#2 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 17 May 2011 - 08:21 PM

Update:

tried this mkisofs command with better results but still no love
mkisofs -o GEAR-DVD.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -l -allow-leading-dots -relaxed-filenames -joliet-long -max-iso9660-filenames -D -R -J -T -v DVD_root

Attached File(s)



#3 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 17 May 2011 - 10:24 PM

Remember *nix is case sensitive.
And there are file systems and extensions. *nix uses Rock Ridge often.
Extract file names from Rock Ridge. ISOBuster free version does read Rock Ridge.
And add Rock Ridge extension to ISO image: -r

#4 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 18 May 2011 - 07:37 AM

Thanks cdob I'll give that a try today and post results.

#5 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 18 May 2011 - 09:08 AM

In addition keep default names.

Quote

DVD_root\live\dbase.dir\
DVD_root\live\GDATA.squashfs
DVD_root\live\modules.squashfs


mkisofs -v -iso-level 4 -r -D -o GEAR-DVD.iso -b isolinux/isolinux.bin -hide boot.catalog -no-emul-boot -boot-load-size 4 -boot-info-table DVD_root


Bootmgr is case sensitive at ISO 9660 too. Upper case relating files at hard disk first.

This post has been edited by cdob: 18 May 2011 - 09:09 AM


#6 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 18 May 2011 - 05:45 PM

Ok I extracted the files from the rock ridge portion of the both disks (DLC2011 and Backtrack5) and used the mkisofs command you suggested and looks like I have the same error in backtrack and gdata. Any other ideas?

#7 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 18 May 2011 - 08:51 PM

I got backtrack working by moving all the files in the original ISO to the root with the exception of the isolinux folder so I am guessing there may be something hard coded into it that looks to the root. Also I am maybe wondering if some of these virus scanners aren't vmware compatible (testing in a blank VM on ESXi so I am going to burn a disk and see which ones work on a real PC and which do not. I don't think it could be something so simple but wishful thinking I guess.

#8 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 18 May 2011 - 10:03 PM

View Postmille535, on 18 May 2011 - 08:51 PM, said:

I got backtrack working by moving all the files in the original ISO to the root with the exception of the isolinux folder so I am guessing there may be something hard coded into it that looks to the root.

Yes, some file names are hard coded: /live/GDATA.squashfs Hence the "keep default names"
This directory and file names are searched at boot. If this files are missing, booting fails.
Avoid changing directory and file names. Yes, you may change kernel and initrd, if you adjust isolinux.cfg accordingly.

There are some cheatcodes to set a directory name or image name, example Knoppix
http://www.msfn.org/...post__p__634132

Quote

knoppix_dir=dsl BOOT_IMAGE=knoppix


G Data BootCD 2012 works in VMware Player. Backtrack5 offers a VMware image to download.

This post has been edited by cdob: 19 May 2011 - 11:43 AM


#9 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 18 May 2011 - 11:36 PM

View Postcdob, on 18 May 2011 - 10:03 PM, said:

View Postmille535, on 18 May 2011 - 08:51 PM, said:

I got backtrack working by moving all the files in the original ISO to the root with the exception of the isolinux folder so I am guessing there may be something hard coded into it that looks to the root.

Yes, some file names are hard coded: /live/GDATA.squashfs Hence the "keep default names"
This directory and file names are searched at boot. If this files are missing, booting fails.
Avoid changing directory and file names. Yes, you may change kernel and initrd, if you adjust isolinux.cfg accordingly.

There are some cheatcodes to set a directory name or image name, example Knoppix
http://www.msfn.org/...post__p__634132

Quote

knoppix_dir=dsl BOOT_IMAGE=knoppix


I will definitely check out the cheatcodes, I was hoping that if I copied the already existing file structure and the boot entries in DLC's cfg files that it should just work--apparently not my case but I am still digging. From where I stand I am still thinking that my mkisofs command is off BUT I certainly do not claim to be an expert so very good possibility that I could be wrong. At this point I'm not sure if I'd be better off downloading all these disks separately and trying everything myself or stick it out with the already established DLC source.

View Postcdob, on 18 May 2011 - 10:03 PM, said:

DLC2011 works in VMware Player. Backtrack5 offers a VMware image to download.

I went though and tested everything from the source (DLC cd) and all of the virus scans do work I was just having problems since there wasn't anything on my virtual hard disk, basically I have just been using VMware to test my ISOs.

This post has been edited by mille535: 18 May 2011 - 11:40 PM


#10 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 19 May 2011 - 12:01 PM

View Postmille535, on 18 May 2011 - 11:36 PM, said:

I will definitely check out the cheatcodes

All cheatcodes relates to distribution and version. Different distribution may use different settings.

BackTrack seem to relate to Ubuntu
http://tazbuntu.blog...boot-links.html

Cheatcode live-media-path does work.
http://forum.hackfro...c.php?f=4&t=185
http://grml.org/onli...ramfs.en.7.html

Extract BackTrack 5 to directory DVD_root\BT5\

Use isolinux.cfg
label BackTrack 5 Text Mode
  menu label BackTrack Text - Default Boot Text Mode
  kernel /BT5/casper/vmlinuz
  append  file=/cdrom/BT5/preseed/custom.seed boot=casper initrd=/BT5/casper/initrd.gz live-media-path=BT5/casper text splash vga=791--


Quote

At this point I'm not sure if I'd be better off downloading all these disks separately

Acutally I assumed this already. Don't use security software from third party releases.

This post has been edited by cdob: 19 May 2011 - 12:23 PM


#11 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 19 May 2011 - 08:31 PM

View Postcdob, on 19 May 2011 - 12:01 PM, said:

View Postmille535, on 18 May 2011 - 11:36 PM, said:

I will definitely check out the cheatcodes

All cheatcodes relates to distribution and version. Different distribution may use different settings.

BackTrack seem to relate to Ubuntu
http://tazbuntu.blog...boot-links.html

Cheatcode live-media-path does work.
http://forum.hackfro...c.php?f=4&t=185
http://grml.org/onli...ramfs.en.7.html

Extract BackTrack 5 to directory DVD_root\BT5\

Use isolinux.cfg
label BackTrack 5 Text Mode
  menu label BackTrack Text - Default Boot Text Mode
  kernel /BT5/casper/vmlinuz
  append  file=/cdrom/BT5/preseed/custom.seed boot=casper initrd=/BT5/casper/initrd.gz live-media-path=BT5/casper text splash vga=791--

Very good info and worked like a charm!

View Postcdob, on 19 May 2011 - 12:01 PM, said:

Quote

At this point I'm not sure if I'd be better off downloading all these disks separately

Acutally I assumed this already. Don't use security software from third party releases.
Yea I realize my mistakes in doing that now. I downloaded all the ISOs from their respective providers and have gotten most of them to work. In working with GDATA it looks like it actually wants a registration code so I am dropping that since we dont own a license to it. I have all but the Kaspersky disk working. I found this post but it related to GRUB4DOS and ideally I would like this to be only and ISOLINUX disk. Digging deeper it looks like this may be an ubuntu gentoo distro similar to backtrack I am going to see what I can find for "cheat codes" for that as well.

This post has been edited by mille535: 19 May 2011 - 08:37 PM


#12 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 19 May 2011 - 10:31 PM

View Postmille535, on 19 May 2011 - 08:31 PM, said:

I have all but the Kaspersky disk working.

Extract Kaspersky Rescue Disk to DVD_root\KDR10\
Move file DVD_root\KDR10\livecd to DVD_root\livecd
and move directory DVD_root\KDR10\rescue\ to DVD_root\rescue\

label Kaspersky Rescue Disk
  menu Kaspersky Rescue Disk.
  KERNEL /KRD10/boot/rescue 
  INITRD /KRD10/boot/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi



Added:
There is a cheat code subdir= to define a subdir
http://reboot.pro/11...dpost__p__97650

This post has been edited by cdob: 20 May 2011 - 12:31 AM


#13 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 20 May 2011 - 11:06 AM

View Postcdob, on 19 May 2011 - 10:31 PM, said:

View Postmille535, on 19 May 2011 - 08:31 PM, said:

I have all but the Kaspersky disk working.

Extract Kaspersky Rescue Disk to DVD_root\KDR10\
Move file DVD_root\KDR10\livecd to DVD_root\livecd
and move directory DVD_root\KDR10\rescue\ to DVD_root\rescue\

label Kaspersky Rescue Disk
  menu Kaspersky Rescue Disk.
  KERNEL /KRD10/boot/rescue 
  INITRD /KRD10/boot/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi



Added:
There is a cheat code subdir= to define a subdir
http://reboot.pro/11...dpost__p__97650

Thanks cdob. That didnt work when I press enter on the menu item it just reloads the menu like it cant find something. I'll read more into that reboot.pro link you send me and see what I can find.

#14 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 20 May 2011 - 11:30 AM

View Postmille535, on 20 May 2011 - 11:06 AM, said:

That didnt work when I press enter on the menu item it just reloads the menu like it cant find something.

Which isolinux.cfg do you use? Which files and directories does exist?

#15 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 20 May 2011 - 11:45 AM

I attached a screenshot of my directory structure in windows explorer, let me know if you need more. This is the entry that you gave me that's in my cfg file.

label Kaspersky Rescue Disk
  menu Kaspersky Rescue Disk.
  KERNEL /KRD10/boot/rescue 
  INITRD /KRD10/boot/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi

I am also going to try it this way right now.
label Kaspersky Rescue Disk
menu Kaspersky Rescue Disk.
KERNEL /KRD10/boot/rescue
APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot initrd=/KRD10/boot/rescue.igz kav_lang=en udev aufs quiet noresume doscsi


here's basically my whole menu for the antivurs section of my disk stored as antvirus.cfg
LABEL topmenu
MENU LABEL ^Return to main menu
KERNEL /isolinux/vesamenu.c32
APPEND /isolinux/isolinux.cfg

LABEL sysrescue
MENU LABEL ESET SysRescue
COM32 /kernel/chain.c32
APPEND fs ntldr=/BOOTMGR

label AVG
menu label AVG Rescue CD
kernel /isolinux/vesamenu.c32
APPEND /isolinux/avg.cfg

label Avira
menu label Avira AntiVir Rescue System
kernel /isolinux/vesamenu.c32
APPEND /isolinux/avira.cfg

label Boot from BitDefender
menu label Boot from BitDefender
kernel /BitDefender/casper/vmlinuz
append  file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/BitDefender/casper/initrd.gz splash vga=791 live-media-path=/BitDefender/casper lang=en

label Kaspersky Rescue Disk
  menu Kaspersky Rescue Disk.
  KERNEL /KRD10/boot/rescue 
  INITRD /KRD10/boot/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi

label safecd
menu label Panda SafeDisk 2010
kernel /isolinux/vesamenu.c32
APPEND /isolinux/panda.cfg

Attached File(s)

  • Attached File  dirs.JPG (64.79K)
    Number of downloads: 8

This post has been edited by mille535: 20 May 2011 - 11:48 AM


#16 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 20 May 2011 - 11:57 AM

WOW I think I found my problem. I was copying/pasting from your post and the directory names are shown as KDR10 but should be KRD10 my mistake it was late-I am going to rename the directory and give it a try quickly.

thanks for all your help!

#17 User is offline   mille535 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 11-May 11
  • OS:Server 2008 x64
  • Country: Country Flag

Posted 20 May 2011 - 12:05 PM

cdob you are my hero! it did work just got the folder names incorrect--here's there solution.

View Postcdob, on 19 May 2011 - 10:31 PM, said:

Extract Kaspersky Rescue Disk to DVD_root\KRD10\
Move file DVD_root\KRD10\livecd to DVD_root\livecd
and move directory DVD_root\KRD10\rescue\ to DVD_root\rescue\

label Kaspersky Rescue Disk
  menu Kaspersky Rescue Disk.
  KERNEL /KRD10/boot/rescue 
  INITRD /KRD10/boot/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KRD10/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi



Added:
There is a cheat code subdir= to define a subdir
http://reboot.pro/11...dpost__p__97650

Thanks for all your help!!

This post has been edited by mille535: 20 May 2011 - 12:06 PM


#18 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 20 May 2011 - 01:13 PM

View Postmille535, on 20 May 2011 - 11:57 AM, said:

from your post and the directory names are shown as KDR10 but should be KRD10

Sorry for that. Yes, use the same name.

Or adjust this to one directory /rescue/ only.
label Kaspersky Rescue Disk 10
  menu Kaspersky Rescue Disk 10
  KERNEL /rescue/rescue 
  INITRD /rescue/rescue.igz
  APPEND root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/rescue/image.squashfs nodevfs cdroot kav_lang=en udev aufs quiet noresume doscsi


Share this topic:


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

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



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