MSFN Forum: Super-Disc: Multi-Boot Project CD/DVD Using ISOLINUX - MSFN Forum

Jump to content



  • 15 Pages +
  • « First
  • 12
  • 13
  • 14
  • 15
  • You cannot start a new topic
  • You cannot reply to this topic

Super-Disc: Multi-Boot Project CD/DVD Using ISOLINUX A HOWTO and Conversation Rate Topic: -----

#261 User is offline   JackCarver 

  • Group: Members
  • Posts: 5
  • Joined: 16-March 09

Posted 19 March 2009 - 04:39 AM

Hehe ist works too :thumbup

in isolinux.cfg:

kernel /BOOT/grub/grub.exe --config-file="kernel (cd)/platform/i86pc/kernel/unix;module=(cd)/BOOT/x86.microroot;boot"

and solaris boots like a charm.


Jack


#262 User is offline   kof94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 28-November 05

Posted 22 March 2009 - 04:20 PM

@Phylum

Just in case it's your mkisofs commands this is my simple mkisofs script.

This script is located in boot/isolinux along with mkisofs. If your using Windows just grab the commands lower down the script.

#!/bin/bash

# Script to create a bootable ISO image

cd -- "$(dirname "$0")"

SOURCE=$(cd ../; pwd)
APPID="Bootdisk"
VOLID="Bootdisk"
BOOT=boot/isolinux/isolinux.bin
CATALOG=boot/isolinux/boot.cat
OUTPUT=$HOME/Bootdisk.iso

help() {
  echo "
--------------------------------------------------------------------------
  This script creates a bootable ISO image using mkisofs.
  
  Usage: $(basename "$0") [options]
  
  Example: $(basename "$0") -o $OUTPUT --md5
	
  -o, --output <file>			 Set output file name
  -m, --md5					   Create MD5 check file
  -h, --help					  Help
--------------------------------------------------------------------------
  "
}

waiting() {
  chars=( "|" "/" "-" "\\" )
  array=${#chars[*]}
  count=0
  echo -n "  "
  while [ -e "$1" ]; do
	count=$(( count + 1 ))
	echo -ne "\b${chars[$(( count % array ))]}"; sleep 0.2
  done
}

while [ "$1" != "" ]; do
  case $1 in
	-h | --help )
	  help
	  exit
	 ;;
	-o | --output )
	  OUTPUT="$2"
	  shift 2
	 ;;
	-m | --md5 )
	  MD5="1"
	  shift
	 ;;
	* ) 
	  shift
  esac
done

if [ -f "$OUTPUT" ]; then
  echo "$(basename $0): \`$OUTPUT' already exists"
  echo -n "Remove this file and continue? [Y/n]: "
  read retval
  case $retval in
	Y|y|[Yy][Ee][Ss])
	  rm -f $OUTPUT || exit 1
	 ;;
	*)	
	  help
	  exit 1
  esac
fi

rm -f $SOURCE/contents.md5
if [ "$MD5" = "1" ]; then
  
  if [ -x `type -path mktemp` ]; then										  
	md5tmp="`mktemp`"
  else
	md5tmp="/tmp/md5.$RANDOM"
	touch $md5tmp || exit 1
	chmod 600 $md5tmp
  fi
  
  echo -n "Creating MD5 check file. Please wait..."
  waiting $md5tmp &
  
  ( cd $SOURCE
	find . -type f -exec md5sum {} \; | sort -k 2,2 > $md5tmp
	mv $md5tmp contents.md5
  )
  
  echo -e "\bDone"
fi

if [ ! -x "`type -path mkisofs`" ]; then
  echo "$(basename $0): \`mkisofs' command not found"
  exit 1
fi

mkisofs \
-iso-level 4 \
-full-iso9660-filenames \
-disable-deep-relocation \
-rock \
-joliet \
-joliet-long \
-no-emul-boot \
-boot-info-table \
-boot-load-size 4 \
-appid "$APPID" \
-volid "$VOLID" \
-eltorito-boot $BOOT \
-eltorito-catalog $CATALOG \
-output $OUTPUT \
$SOURCE || exit 1

echo "$(basename $0): \`$OUTPUT' succesfully created"

exit 0


One more thing...

You can use the file util in Linux to query a file type, I'm not sure but you might find a Windows port as part of cygwin.
First decompress the image (gzip -d initrd.gz) then test the file.

$ file initrd
initrd: ASCII cpio archive (SVR4 with no CRC)

This post has been edited by kof94: 16 November 2009 - 04:27 PM


#263 User is offline   SXiPRATEEK 

  • Group: Members
  • Posts: 6
  • Joined: 27-March 09

Posted 28 March 2009 - 05:42 AM

i use

g:\cd

as my root folder

& my file structure is

for boot files

g:\cd\boot\isolinux
g:\cd\boot\bartpe
g:\cd\boot\xpsp3

for respective cd content

g:\cd\bartpe
g:\cd\xpsp3

i use isolinux.cfg as

 
DEFAULT /boot/isolinux/vesamenu.c32
PROMPT 0
TIMEOUT 300
TOTALTIMEOUT 450
####
MENU BACKGROUND /boot/isolinux/splash.png
MENU TITLE  XPSP3 + BARTPE
####
####  The 1st byte of the fgnd color is brightness.
####                                    blue
MENU COLOR title        1;36;44    #ff0000ff   #00000000   std
####                                    blue
MENU COLOR unsel        37;44      #ff0000ff   #00000000   std
####                                   white 
MENU COLOR sel          7;37;40    #c0ffffff   #ff000000   std
####                                     red
MENU COLOR hotkey       1;37;44    #ffff0000   #00000000   std
####                                   green
MENU COLOR hotsel       1;7;37;40  #ff00ff00   #ff000000   all
####



LABEL bootc
MENU LABEL ^boot from C:
MENU DEFAULT
KERNEL /boot/isolinux/chain.c32
APPEND hd0

LABEL bartpe
MENU LABEL ^BartPE/WinPE
KERNEL /boot/bartpe/bSETUPLDR.BIN

LABEL xpsp3
MENU LABEL ^Unattended XP SP# Pro Installation
KERNEL /boot/xpsp3/xSETUPLDR.BIN
 


& edited SETUPLDR.BIN using hexedit & replace i386 to bartpe/i386 in case of bartpe
& replace i386 to xpsp3/i386 in case of xpsp3

& rename as bSETUPLDR.BIN &xSETUPLDR.BIN
& place in
g:\cd\boot\bartpe
g:\cd\boot\xpsp3
resp

now to make cd i have used mkisofs.exe of pebuilder
& created bat to automate process
 
@ECHO OFF
ECHO Starting @ (%TIME%) ....
SET _VNBR_=01
SET _ROOT_=G:\cd
SET CDTITLE="cd-%_VNBR_%"
SET CDFILENAME="%_ROOT_%%CDTITLE%.ISO"
C:\pebuilder3110a\mkisofs.exe -N -V %CDTITLE% -b isolinux.bin -d -iso-level 4 -no-emul-boot -boot-load-size 4 -boot-info-table -o "G:\ISO.iso" "G:\cd\boot\isolinux" 



but all this creat bootable iso of 1.44mb

then i use magiciso to add other files from the cd folder & save it
the image is bootable

:wacko: but when i try to chk it with vmware it just do nothing no error no message & no progress just processing

** please help me figureout where i have done mistake :o

thanks in adv :P

if u can tell me simply what to do instead of redirecting then i will really appriciate

#264 User is offline   killr 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 16-October 04

Posted 07 April 2009 - 08:12 AM

I have some problem i'm using programs ultra ISO for Add my multi-boot size 5 GB and chose Optimize

look pic

Posted Image

now size 2,80

test on VM working not problem and burn to DVD speed burn 12X test one my computer not problem

test on another computer PC not working why where mistake

#265 User is offline   jetman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 05-April 04

Posted 16 April 2009 - 06:20 AM

View Postkillr, on Apr 7 2009, 09:12 AM, said:

I have some problem i'm using programs ultra ISO for Add my multi-boot size 5 GB and chose Optimize

look pic
<snip>

now size 2,80

test on VM working not problem and burn to DVD speed burn 12X test one my computer not problem

test on another computer PC not working why where mistake


Can't help as I've made virtually all of my discs using UltraISO and have occasionally used the Optimization feature successfully. If it [Optimization] doesn't work, sometimes you have to re-organize the contents of a disc, to move some content from one disc to another or use a bigger (DL) disc and turn off Optimzation....Jet

This post has been edited by jetman: 16 April 2009 - 06:35 AM


#266 User is offline   Jotnar 

  • Member
  • PipPip
  • Group: Members
  • Posts: 186
  • Joined: 09-January 04

Posted 16 June 2009 - 05:59 PM

As an aside, syslinux now includes the Hardware Detection Tool, a module created just for the job of retrieveing hardware information.

http://syslinux.zytor.com/wiki/index.php/H...Detection_Tool)

Posted Image

Cheers

#267 User is offline   LoR_D 

  • Group: Members
  • Posts: 2
  • Joined: 03-July 09

Posted 05 July 2009 - 02:54 AM

Well, hello, world!

I followed this howto and I did my isolinux multiboot with linux, xp and win2000... I thought I would have no problem in booting a winbuilder LiveXP, but I was wrong... I couldnt find any bootsect.bin and i think isolinux cannot boot SETUPLDR.BIN

I knew I had to create an image that boot setupldr.bin & bootfix.bin in the i386 dir, and I did with bbie: I have no problem in booting if i copy the LiveXP "\" in my multiboot "\"...
...but, as you can guess, it means I can integrate just one LiveXP for dvd... Yeah, one LiveXP per dvd is enough :D but I just would like not to have such a messy iso

I think the problem is redirecting the entire process from "\i386" folder to "\Livexp\i386"... I've tried modifying txtsetup, but i think i have to modify setupldr or doing something similar to the xp installer... and it's over my skills...

Anyway, I realize I'm trying like a blind in a open space :blink:
so, please: help! (like the beatles used to say) :whistle:

#268 User is offline   florin91 

  • Group: Members
  • Posts: 5
  • Joined: 16-June 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 July 2009 - 03:27 AM

Hello! I tried to follow the how-to and at step 3 it says "From \syslinux, *COPY* (don't *MOVE*) vesamenu.c32, chain.c32, isolinux.bin, memdisk to boot\isolinux\.". The problem is that I don't see memdisk in the huge source of syslinux. Here is a screenshot.
Posted Image

#269 User is online   jaclaz 

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

Posted 11 July 2009 - 04:26 AM

View Postflorin91, on Jul 11 2009, 11:27 AM, said:

Hello! I tried to follow the how-to and at step 3 it says "From \syslinux, *COPY* (don't *MOVE*) vesamenu.c32, chain.c32, isolinux.bin, memdisk to boot\isolinux\.". The problem is that I don't see memdisk in the huge source of syslinux.


isn't it where it should be? :unsure:
I.e. in this file:
http://www.kernel.org/pub/linux/utils/boot...slinux-3.82.zip
in the "memdisk" directory, as a file 19.584 bytes in size, called "memdisk" (with no extension)

jaclaz

#270 User is offline   florin91 

  • Group: Members
  • Posts: 5
  • Joined: 16-June 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 July 2009 - 10:33 AM

Oh, yes thanks. I wasn't carefull when extracted the archive ... And I thought it was in the root folder ... sorry. But at "4) Open the System Rescue ISO and copy vmlinuz1 and vmlinuz.igz to boot\sysdresccd\. Copy sysrescd.dat to sysresccd\. Copy memtest86 to boot\isolinux\." in my sysrescuecd-x86-1.2.1.iso I have in NTPASSWD folder the files "initrd.cgz"; "vmlinuz." and scsi.cgz" not vmlinuz1 and vmlinuz.igz. The only *.igz file is INITRAM.IGZ .

This post has been edited by florin91: 11 July 2009 - 10:41 AM


#271 User is online   jaclaz 

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

Posted 11 July 2009 - 11:01 AM

View Postflorin91, on Jul 11 2009, 06:33 PM, said:

Oh, yes thanks. I wasn't carefull when extracted the archive ... And I thought it was in the root folder ... sorry. But at "4) Open the System Rescue ISO and copy vmlinuz1 and vmlinuz.igz to boot\sysdresccd\. Copy sysrescd.dat to sysresccd\. Copy memtest86 to boot\isolinux\." in my sysrescuecd-x86-1.2.1.iso I have in NTPASSWD folder the files "initrd.cgz"; "vmlinuz." and scsi.cgz" not vmlinuz1 and vmlinuz.igz. The only *.igz file is INITRAM.IGZ .


Unless jetman's crystal ball (unlike mine ;)) works very, very well, I wonder how he could, in 2007, have foreseen that on May 12th, 2009 :unsure::
http://www.sysresccd.org/news/2009/05/12/s...d-120-released/
a new version would have been released, that it would have been a "major release" and that probably the booting files have been changed names....:whistle:

From here:
http://www.sysresccd.org/Sysresccd-manual-...your_own_kernel

it seems like the new files are vmlinuz and initram.gz
label mykernel
  kernel vmlinuz
  append initrd=initram.igz
label mykernelfr
  kernel vmlinuz
  append initrd=initram.igz setkmap=fr


The files in NTPASSWD, I guess are related to NTPASSWD aka chntpw aka Offline NT Password Editor :rolleyes: :
http://home.eunet.no...rdahl/ntpasswd/

jaclaz

#272 User is offline   florin91 

  • Group: Members
  • Posts: 5
  • Joined: 16-June 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 July 2009 - 11:29 AM

Oh, thanks again. I will try eventually to finish this multiboot dvd. And about jetman's crystall ball, :thumbup , I thought he updated the tutorial since then. And the last question that I need answered to finish this dvd: How I insert other iso's that are not in tutorial , in example Windows XP, Acronis True Image, WinPE, Arch linux, how I make a menu and when I select an option (category) to appear another menu and when I select the "program" to start and boot that kernel.
At windows, it should work with ntdr, at linux it should be simple but how about the others like Acronis ?
Thanks again very much and goodbye! :hello:

#273 User is online   jaclaz 

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

Posted 11 July 2009 - 11:43 AM

View Postflorin91, on Jul 11 2009, 07:29 PM, said:

How I insert other iso's that are not in tutorial , in example Windows XP, Acronis True Image, WinPE, Arch linux, how I make a menu and when I select an option (category) to appear another menu and when I select the "program" to start and boot that kernel.
At windows, it should work with ntdr, at linux it should be simple but how about the others like Acronis ?


Windows and PE 1.x WON'T work unless you use a RAMDISK approach (from .iso) PE 1.x will work with "usual" "\I386" structure, Windows install will work as well from "\I386", so i fyou have both you will need to rename one of the two and hexedit correspondingly files, there is no way if not "Hard disk emulation" to run "Full XP" from CD-ROM (not usable in a mult-boot, AFAIK):
http://www.boot-land...?showtopic=3890

For all the rest you may want to search around, and test the newish Syslinux ISO mapping features.

Start from grub4dos:
http://www.boot-land...hp?showforum=66

and see if what works with it:
http://www.boot-land...?showtopic=5041

also works with Syslinux:
http://www.boot-land...?showtopic=8258

in any case in the forum there are grub4dos examples and "translations" from grub4dos to Syslinux syntax, so that you can use them the other way round.

jaclaz

#274 User is offline   pushingthesky 

  • Group: Members
  • Posts: 2
  • Joined: 16-July 09

Posted 17 July 2009 - 10:39 AM

Hi all
i want to create a multiboot dvd with UBUNTU, KUBUNTU, XUBUNTU and some other distro and so i read all the tutorials and tried to do it by myself.
I decided to start with only ubuntu and see if i can do it, and later add all the other distro.

I create these directories

LINUX
|
|-------boot
| |-----isolinux
| |-----ubuntu (inside initrd.gz e vmlinuz)
|
|--------ubuntu (with all the distro contents)


Here myisolinux.cfg

DEFAULT menu.c32
TIMEOUT 0
PROMPT 0
menu title Welcome to GNU/Linux!
label local
menu label Boot from ^hard drive
kernel chain.c32
append hd0
label ubuntu-live-install
menu label ^Install Ubuntu
kernel /boot/ubuntu/vmlinuz
append file=/cdrom/ubuntu/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/boot/ubuntu/initrd.gz quiet splash --

I also modified casper inside scripts di initrd (and copiet into boot/ubuntu e ubuntu/casper) changing $Path/casper, and $Directory/casper to $Path/ubuntu/casper and so on. can't find $mountpoint and change /.disk/casper to /ubuntu/.disk/casper

When i select ubuntu i got the logo of ubuntu and seems to load but then it says:

/init: /scripts/casper: line 1: #/bin/sh: not found ... itried to change it to #1/ubuntu/bin/sh

Anyone can help me? I really need to create this DVD.

Thank you

#275 User is offline   Xunkaze 

  • Group: Members
  • Posts: 3
  • Joined: 07-August 08

Posted 14 August 2009 - 04:28 PM

Heres a much easier and faster way to boot your Windows XP.


http://www.boot-land.net/forums/index.php?...ost&p=72457



I had trouble following the instructions given in the few pages i read. :(

#276 User is offline   clttv 

  • Group: Members
  • Posts: 2
  • Joined: 11-February 07

Posted 19 December 2009 - 02:36 AM

i did every thing "step by step " reading every lil word in there and just got nothing to work at all , not the rescue disk , small linux or anything ,, i think you need to update your post , but thanks
i think i'll never be able to creat a real nice and professional submenu . :(

#277 User is offline   jetman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 05-April 04

Posted 19 December 2009 - 07:28 PM

View Postclttv, on Dec 19 2009, 03:36 AM, said:

i did every thing "step by step " reading every lil word in there and just got nothing to work at all , not the rescue disk , small linux or anything ,, i think you need to update your post , but thanks
i think i'll never be able to creat a real nice and professional submenu . :(


I am going to revisit this project shortly. Watch this space.... :ph34r:

#278 User is offline   clttv 

  • Group: Members
  • Posts: 2
  • Joined: 11-February 07

  Posted 19 December 2009 - 10:50 PM

View Postjetman, on Dec 20 2009, 04:28 AM, said:

View Postclttv, on Dec 19 2009, 03:36 AM, said:

i did every thing "step by step " reading every lil word in there and just got nothing to work at all , not the rescue disk , small linux or anything ,, i think you need to update your post , but thanks
i think i'll never be able to creat a real nice and professional submenu . :(


I am going to revisit this project shortly. Watch this space.... :ph34r:



plz do , and lemme know whatcha gonna come out with , cuz i do have many questions about this also !

#279 User is offline   kof94 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 433
  • Joined: 28-November 05

Posted 02 January 2010 - 04:02 AM

View Postpushingthesky, on Jul 17 2009, 04:39 PM, said:

Hi all
i want to create a multiboot dvd with UBUNTU, KUBUNTU, XUBUNTU and some other distro and so i read all the tutorials and tried to do it by myself.
I decided to start with only ubuntu and see if i can do it, and later add all the other distro.

I create these directories

LINUX
|
|-------boot
| |-----isolinux
| |-----ubuntu (inside initrd.gz e vmlinuz)
|
|--------ubuntu (with all the distro contents)


Here myisolinux.cfg

DEFAULT menu.c32
TIMEOUT 0
PROMPT 0
menu title Welcome to GNU/Linux!
label local
menu label Boot from ^hard drive
kernel chain.c32
append hd0
label ubuntu-live-install
menu label ^Install Ubuntu
kernel /boot/ubuntu/vmlinuz
append file=/cdrom/ubuntu/preseed/ubuntu.seed boot=casper only-ubiquity initrd=/boot/ubuntu/initrd.gz quiet splash --

I also modified casper inside scripts di initrd (and copiet into boot/ubuntu e ubuntu/casper) changing $Path/casper, and $Directory/casper to $Path/ubuntu/casper and so on. can't find $mountpoint and change /.disk/casper to /ubuntu/.disk/casper

When i select ubuntu i got the logo of ubuntu and seems to load but then it says:

/init: /scripts/casper: line 1: #/bin/sh: not found ... itried to change it to #1/ubuntu/bin/sh

Anyone can help me? I really need to create this DVD.

Thank you


Just a thought...

If you have a fast internet connection why don't you just do a netinstall and download the desktop you want instead of filling your disk with three squashfs images containing similar files.

#280 User is offline   jetman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 164
  • Joined: 05-April 04

Posted 02 January 2010 - 07:48 AM

View Postkof94, on Jan 2 2010, 05:02 AM, said:

<snip>

Just a thought...

If you have a fast internet connection why don't you just do a netinstall and download the desktop you want instead of filling your disk with three squashfs images containing similar files.



Happy holidays ! Long time, no post ! :hello: Unfortunately, people who post messages like the one you commented don't seem to do much in the way of research or experimentation. Frankly, other than for demo purposes, I can't see the reason for having three Ubuntus on the same disc. Actually, Jotnar has a great contribution to the thread, explaining how to customize various (popular) Linux live CDs (incl the Ubuntus) so that they can be part of a SuperDisc.

Having said that, I have a top-to-bottom revision of primary project/initial message underway, to be completed this month. I have formed a much different take on things in the intervening (nearly) three years, since starting this exercise. And part of the revised project will include Kubuntu. The latest is now a truly useful, fully operational live CD, w/ support (AT LAST, HALLELUJAH !!!) for auto-mounting existing hdrive partitions !

Hope this finds you well. TTYL....Jet

Share this topic:


  • 15 Pages +
  • « First
  • 12
  • 13
  • 14
  • 15
  • You cannot start a new topic
  • You cannot reply to this topic

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



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