WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mbd, boot live from USB  (Read 15785 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: mbd, boot live from USB
« Reply #15 on: March 11, 2012, 11:03:24 AM »
Hi bernhard
sbd1 != sdb1

Offline bernhard

  • Wiki Author
  • Jr. Member
  • *****
  • Posts: 81
Re: mbd, boot live from USB
« Reply #16 on: March 11, 2012, 11:07:31 AM »
sbd1 != sdb1
oops, yes, as far as I remember there was a perception test for exactly this one :-)

And apparently Roberts hint was completely correct. If there is anywhere another iso
image anywhere on the drive, it is necessary to specify the full path explicitely. For
ease of typing I had renamed CorePlus-4.4tc3.iso to CorePlus.iso and moved it to the
root. But there was another image named A2.iso in the root. I moved that to a
subdirectory without renaming it to a different extension. This did not work.

With
    iso=sdb1
no extensions are found and it boots to the command prompt, when there is yet
another iso image in another directory, but if that iso image is also renamed to
a different extension, it is found and the extension are loaded.

Almost identical to specifying the full path, i.e.  the following additional options
    iso=sdb1/CorePlus.iso waitusb=5 kmap=qwertz/de-latin1

regards
    Bernhard
« Last Edit: March 11, 2012, 01:43:06 PM by bernhard »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: mbd, boot live from USB
« Reply #17 on: March 13, 2012, 03:59:02 PM »
If one is trying to run directly from a single iso image file then the following would be required to extract any iso included extensions:

Example for YUMI on sda1 and assuming that you have a tce directory setup on a writable drive. Use
tce-setdrive for easy setup

1. Make dir to mount the iso,
    mkdir /mnt/image
2. mount /mnt/sda1
3. mount -t iso9660 -o ro /mnt/sda1/multiboot/ISOS/TinyCore-4.4.iso /mnt/image
4. cp -a /mnt/image/cde/* /etc/sysconfig/tcedir

reboot
Note may need to add waitusb=5 for slow devices, or if forget that then after boot use
tce-setup

If there is enough interest I can add this procedure as an option to tce-setdrive.

You bet there is interest :)

On one of my remaster's of tinycore, I use a script which mounts everything, searches for necessary tools and loads them without prompting, then cleans up by unmounting all devices.  By the time TinyCore finishes booting, we have a desktop with all the tools we could need ready for use. 

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: mbd, boot live from USB
« Reply #18 on: July 07, 2012, 03:58:44 PM »
Quote
I have made this into a boot time option and will be 4.4rc3.
Can be as simple as iso=sdb1 and a search will be performed or complete path such as:
iso=/mnt/sda1/multiboot/ISOS/TinyCore-4.4.iso


With my latset appreciation for Labels,  is this supported also? eg

iso=LABEL=<MyLabel>
or
iso=LABEL=<MyLabel>/mnt/sda1/multiboot/ISOS/TinyCore-4.5.6.iso