Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

ISOLINUX and Backtrack5, GDATA

- - - - -

  • Please log in to reply
17 replies to this topic

#1
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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 Files


Edited by mille535, 17 May 2011 - 07:48 PM.



How to remove advertisement from MSFN

#2
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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 Files



#3
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
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
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
Thanks cdob I'll give that a try today and post results.

#5
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts
In addition keep default names.

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.

Edited by cdob, 18 May 2011 - 09:09 AM.


#6
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

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

knoppix_dir=dsl BOOT_IMAGE=knoppix


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

Edited by cdob, 19 May 2011 - 11:43 AM.


#9
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag

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

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.

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.

Edited by mille535, 18 May 2011 - 11:40 PM.


#10
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

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--

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.

Edited by cdob, 19 May 2011 - 12:23 PM.


#11
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag

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!

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.

Edited by mille535, 19 May 2011 - 08:37 PM.


#12
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

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

Edited by cdob, 20 May 2011 - 12:31 AM.


#13
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag

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
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

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
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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 Files

  • Attached File  dirs.JPG   64.79KB   9 downloads

Edited by mille535, 20 May 2011 - 11:48 AM.


#16
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
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
mille535

mille535

    Newbie

  • Member
  • 11 posts
  • OS:Server 2008 x64
  • Country: Country Flag
cdob you are my hero! it did work just got the folder names incorrect--here's there solution.

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!!

Edited by mille535, 20 May 2011 - 12:06 PM.


#18
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN