Jump to content











Photo
- - - - -

Booting from ISOs, what am I missing


  • Please log in to reply
4 replies to this topic

#1 louiscyphre

louiscyphre
  • Members
  • 2 posts
  •  
    United States

Posted 11 March 2011 - 02:49 AM

I'm trying to create a SARDU 2.0.2c USB flash drive to be able to boot the following in addition to the canned ISOs and such;

  • FreeBSD (install and live)
  • PCBSD; FreeBSD desktop optimized derivative.
  • Ylmf; Ubuntu based Windows clone
Here are the additions I've come up with for the extra.cfg file from much hair pulling and googling;

FreeBSD live (but not the install);


#
label FreeBSD Live 8.2 x86
menu label ^FreeBSD Live 8.2 x86
kernel memdisk
append iso raw initrd=/extra/FreeBSD-8.2-RELEASE-i386-livefs.iso
#
---
Findings;
It boots, but it doesn't see the live CD file system. I suspect the memdisk option isn't optimal for this objective.
---
PCBSD
#
label PCBSD 8.2 x86
menu label ^PCBSD 8.2 x86
find --set-root /extra/PCBSD8.2-x86-DVD.iso
map --set-root /extra/PCBSD8.2-x86-DVD.iso
map --hook
root (0xff)
kernel /boot/loader
#
Findings;
It does nothing.
---
Ylmf 3.0

#
label Ylmf 3.0
menu label ^Ylmf 3.0
find --set-root /extra/Ylmf_OS_3.0.iso
map /extra/Ylmf_OS_3.0.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper integrity-check oso-scan/filename=/extra/Ylmf_OS_3.0.iso floppy.allowed_drive_mask=0 splash
initrd /casper/Ylmf_OS_3.0/initrd.img
---
Findings;
Same thing, does nothing.
---
The goal is;

* Mount the ISO
* SARDU configures the loader to read the necessary files from the mounted ISO to boot the ISO
* Boots ISO image with a minimal ramdisk footprint.

The documentation for grub and ISOLINUX is horrible and I've configured sendmail from scratch with being able to deliver to DECnet machines many many moons ago. That should tell you how horrible the documentation for grub and ISOLINUX is. I'm quite familiar with how the (Free)BSD loader works and the boot process for FreeBSD. So what am I missing here?

#2 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1063 posts
  •  
    Belgium

Posted 11 March 2011 - 03:18 AM

One of the parameters is at least wrong (if it is even suppoted by that distro):

kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper integrity-check iso-scan/filename=/extra/Ylmf_OS_3.0.iso floppy.allowed_drive_mask=0 splash



#3 louiscyphre

louiscyphre
  • Members
  • 2 posts
  •  
    United States

Posted 13 March 2011 - 08:42 PM

Ok what parameters shouldn't be there? My big frustration is the lack of quality documention of grub and ISOLINUX.

#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 14 March 2011 - 07:51 AM

See the grub4dos forum for ISO booting http://reboot.pro/50...dpost__p__38453
Also try http://sites.google.../tutorials/ylmf and also see other tutorials on that site including grub4dos tutorial which has some other examples.

#5 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 15 March 2011 - 04:25 PM

Adiitionally, read this (sticky in the grub4dos forum):
http://reboot.pro/8944/
Some OS/items work, some do with some small tweaks, some simply do not without major changes. :devil:

B)
Wonko




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users