Tiny Core Base > Corepure64

faild logon desktop if boot tinycore iso by syslinux

<< < (3/4) > >>

polikuo:
If you're looking for an embedded TC installation.
You can try a different approach.
Extract the cde directory to your USB.

Your USB wiil look like this:
  USB_ROOT/path/to/syslinux.cfg
  USB_ROOT/path/to/memdisk
  USB_ROOT/path/to/TinyCorePure64-current.iso
  USB_ROOT/cde

However, I recommend doing a manual installation to suit your needs.  ;)

andysendo:
kernel /syslinux/memdisk
append iso=/mnt/sda1/livecd/TinyCorePure64-current.iso loglevel=3 cde waitusb=5 vga=791 initrd=/livecd/TinyCorePure64-current.iso

boot failed load desktop.

-----------------------

KERNEL /tinycore/vmlinuz64
INITRD /tinycore/corepure64.gz
APPEND loglevel=3 cde vga=791 waitusb=5

extract & copy cde directory to USB root (and must be root folder), boot success load desktop.

------------------------

I suggest imprve the loading extensions script that auto search cde directly from iso image, then just need:
kernel /syslinux/memdisk
append iso initrd=/livecd/TinyCorePure64-current.iso

that is simpler, does it?

curaga:

--- Quote ---I suggest imprve the loading extensions script that auto search cde directly from iso image, then just need:
--- End quote ---
From where? From what iso?

Maybe you have 10 4TB drives attached. Searching them for isos might take hours. It might even find several Core isos.

andysendo:
There is something useful:
http://www.syslinux.org/wiki/index.php?title=MEMDISK#ISOHYBRID_images

---------------------------------------
Linux distributions that only require kernel and initrd files will fully function via ISO emulation, as no other data needs access from the virtual CD/DVD drive once they have been loaded; the boot loader has read all necessary files to memory by using INT 13h, before booting the kernel.


Examples of Potential Solutions: There are ways to get around the problem of not finding the required files:

    #Kernel_parameters
    #memdiskfind_and_kernel_modules phram and mtdblock


Kernel parameters

Some distributions allow you to pass/append an extra parameter to the kernel (append) line, which tells the init scripts to look for an ISO file on a disk. Some distros require for the drive and partition number (where the ISO is stored) to be explicitly specified, while others will search each partition for the specified filename.

Such parameter is distro-specific, so look at the docs of your distro. Some popular ones:

    findiso=
    iso-scan/filename=


memdiskfind and kernel modules

There is also another solution, which requires the phram and mtdblock kernel modules and the memdiskfind utility of the Syslinux package ([bios/]utils/memdiskfind). memdiskfind will detect the MEMDISK-mapped image and will print the start and length of it in a format phram understands:

 modprobe phram phram=memdisk,$(memdiskfind)
 modprobe mtdblock

--------------------------------------

curaga:
Yes, that's what our iso= option does. I guess when you tried it, you gave the wrong device.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version