[Leaplist] DVD/CD Emulator

Kevin Korb kmk at sanitarium.net
Fri Sep 4 21:59:22 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It is also possible to put grub on a USB stick.  I have one with Ubuntu,
Kubuntu, Xubuntu, and Knoppix on it.  You dd the iso to a partition on the
stick, setup a small ext2 partition on the stick that is like the /boot
directory on a regular Linux system.  You copy the kernel, initrd, and
isolinux config from the iso onto the /boot and install grub into the
bootsector of the stick.

Here is the grub config from my stick if it helps you:

default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Knoppix 5.3.1
  root (hd0,4)
  kernel (hd0,0)/boot/Knoppix-5.3.1/linux ramdisk_size=100000
init=/etc/init lang=us apm=power-off vga=791 nomce highres=off loglevel=0
libata.atapi_enabled=1 quiet SELINUX_INIT=NO nmi_watchdog=0
BOOT_IMAGE=knoppix initrd (hd0,0)/boot/Knoppix-5.3.1/minirt.gz

title=Ubuntu 8.10
  root (hd0,5)
  kernel (hd0,0)/boot/Ubuntu-8.10/vmlinuz file=/cdrom/preseed/ubuntu.seed
boot=casper quiet splash -- initrd (hd0,0)/boot/Ubuntu-8.10/initrd.gz

title=Kubuntu 8.10
  root (hd0,6)
  kernel (hd0,0)/boot/Kubuntu-8.10/vmlinuz
file=/cdrom/preseed/kubuntu.seed boot=casper quiet splash -- initrd
(hd0,0)/boot/Kubuntu-8.10/initrd.gz

title=Xubuntu 8.10
  root (hd0,7)
  kernel (hd0,0)/boot/Xubuntu-8.10/vmlinuz
file=/cdrom/preseed/xubuntu.seed boot=casper quiet splash -- initrd
(hd0,0)/boot/Xubuntu-8.10/initrd.gz

title=gPXE 0.9.6 Network Boot
  kernel (hd0,0)/boot/gpxe-0.9.6-gpxe.lkrn

title=Boot from first hard drive
  map (hd0) (hd1)
  map (hd1) (hd0)
  rootnoverify (hd0)
  chainloader +1

title=Boot from second hard drive
  map (hd0) (hd2)
  map (hd2) (hd0)
  rootnoverify (hd0)
  chainloader +1


On Fri, 4 Sep 2009 21:52:59 -0400
Tom Parker <tom at fnords.net> wrote:

> On Fri, Sep 4, 2009 at 9:44 PM, Kevin Korb <kmk at sanitarium.net> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > If you are talking about simply mounting a CD/DVD image you can simply
> > mount the file with -o loop.
> >
> 
> Nope, it needs to be a device that emulates a USB CD-ROM from an ISO
> file, not the other way around.
> 
> 
> >
> > Of course you are probably talking about something more complex like a
> > boot disc for an OS install or utility.  That can be done with
> > something like unetbootin which is most commonly used to put
> > downloadable iso images onto a bootable USB stick for OS installs on
> > netbooks that don't have optical drives.
> >
> 
> Unetbootin only works with specific Linux distros.  I need something that
> will work with any ISO.
> 
> 
> >
> > If you don't need to take the bootable media away from your LAN you can
> > also setup a network boot server and boot the image right off of a file
> > server with a nice menu for which one you want.
> >
> >
> I'm sometimes on networks where I cannot setup a boot server.  I can't
> rely on having a network available.
> 




- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			http://www.sanitarium.net/
	PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAkqhxfoACgkQVKC1jlbQAQevsACgrVr/iR+khjuM11IOgSByTsUK
Ra8An0kZ7cxC2mNa+WjzLIohdvDJlL3x
=iB6H
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Leaplist mailing list