Extract the main sfs from the iso to the same partition where it is and boot again. This worked for me in several cases.fredx181 wrote: EDIT: Tried earlier GRUB2 booting with Debian and Ubuntu ISO's, now tried a Puppy, and it didn't boot to the desktop.
Error is: main .sfs not found. Maybe needs some special parameter that I don't know of.
Fred
How to Make a Bootable Flash Drive using ISObooter
Update: Some BIOSes won't boot an ISObooter flash drive because they mistake it for a ZIP drive. Your flash drive may appear in the BIOS incorrectly under Removable Devices. Here is a work-around.
1. Run Gparted and make two partitions:
a. Make a SMALL ext2 partition and flag it bootable.
b. Make the rest of the drive into a FAT32 partition.
2a. Copy the ISObooter script onto the first partition. Do NOT put any ISOs there.
2b. Run ISObooter. Make the drive bootable.
2c. Add the following menu.lst file:
3a. Copy the ISObooter script onto the second partition. Add an ISO file.
3b. Run ISObooter. Do NOT make the drive bootable. Create the menu entry for your ISO.
4. Boot the flash drive.
1. Run Gparted and make two partitions:
a. Make a SMALL ext2 partition and flag it bootable.
b. Make the rest of the drive into a FAT32 partition.
2a. Copy the ISObooter script onto the first partition. Do NOT put any ISOs there.
2b. Run ISObooter. Make the drive bootable.
2c. Add the following menu.lst file:
Code: Select all
timeout 10
default 0
title More ISOs (see the instructions)
configfile (hd0,1)/menu.lst
commandline
3b. Run ISObooter. Do NOT make the drive bootable. Create the menu entry for your ISO.
4. Boot the flash drive.
Bill,
Do you know how I may need to setup the latest 64b Slax ISO in order to gain persistence?
My 2g stick is partitioned with a 262mb FAT primary with the remainder as an ext4 primary.
Thoughts or suggestions?
Do you know how I may need to setup the latest 64b Slax ISO in order to gain persistence?
My 2g stick is partitioned with a 262mb FAT primary with the remainder as an ext4 primary.
Thoughts or suggestions?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Sorry, off-topic reply because it hasn't got to do with Isobooter, anyway:Semme wrote:Bill,
Do you know how I may need to setup the latest 64b Slax ISO in order to gain persistence?
My 2g stick is partitioned with a 262mb FAT primary with the remainder as an ext4 primary.
Thoughts or suggestions?
Don't know how to do with Isobooter, but for a frugal install I've created 'slax' directory on sdb1 (ext4 filesystem), copied the contents of the Slax ISO to it and have as grub4dos menu.lst entry:
Code: Select all
title Run Slax (Persistent changes)
root (hd0,0)
kernel /slax/boot/vmlinuz from=/slax/ vga=normal load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 slax.flags=perch,automount
initrd /slax/boot/initrfs.img
Fred
Fred,
While I don't fully understand the menu.lst layout when defining a bootable partition on thumb drives, I believe the answer lies within this post.
I suppose there's no harm in a little trial-n-error to navigate the waters..
While I don't fully understand the menu.lst layout when defining a bootable partition on thumb drives, I believe the answer lies within this post.
I suppose there's no harm in a little trial-n-error to navigate the waters..
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
- Sky Aisling
- Posts: 1368
- Joined: Sat 27 Jun 2009, 23:02
- Location: Port Townsend, WA. USA
How to Make a Bootable Flash Drive using ISObooter
rcrsn51 Your ISOboot is brilliant. Thank you so much for all the professional quality work you do for Puppy. You have given so much help over the years in such a clear, concise manner.
Do you have another name other than 'rcrsn51' that's easier to remember? I'd like to break my habit of calling you that 'distinquished bronze head' contributor.
Sky
Do you have another name other than 'rcrsn51' that's easier to remember? I'd like to break my habit of calling you that 'distinquished bronze head' contributor.
Sky
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Re: How to Make a Bootable Flash Drive using ISObooter
@ Sky Aisling:-Sky Aisling wrote:rcrsn51 Your ISOboot is brilliant. Thank you so much for all the professional quality work you do for Puppy. You have given so much help over the years in such a clear, concise manner.
Do you have another name other than 'rcrsn51' that's easier to remember? I'd like to break my habit of calling you that 'distinquished bronze head' contributor.
Sky
Well, if you do a bit of detective work:-
Lives in Stratford, Ontario. --> Stratford, UK?
The avatar is that of a bust of the playwright William Shakespeare, who was born in Stratford, here in England....
So, some of us refer to, and address rcrsn51, as..... "Bill". I doubt it's his real name, but it's a bit easier to remember!
Mike.
ISObooter
A surprise experience.
I have used ISObooter many times, running it from USB flashdrive.
I got a surprise today, when I used it to test an iso which I had produced after a remaster.
The OS booted ok, but the loaded base sfs was not the one in the iso. What’s more, a fdrv got loaded that was not included in the iso .
Both these ‘foreign’ sfs were shown in /initrd/mnt/tmpfs/
After scratching my head, I realized that on booting, init first checks the (unmounted) computer partitions before it checks the USB to find the base sfs.
First found, best served .... the two sfs that got loaded were in / of one of the computer’s partitions.
It does not matter which partition they are on, as long as they are in /, init does not check sub directories.
The lesson: When tinkering with Puppy, place files in a subdirectory, ISObooter will then do what you expect from it.
cheers
proebler
I have used ISObooter many times, running it from USB flashdrive.
I got a surprise today, when I used it to test an iso which I had produced after a remaster.
The OS booted ok, but the loaded base sfs was not the one in the iso. What’s more, a fdrv got loaded that was not included in the iso .
Both these ‘foreign’ sfs were shown in /initrd/mnt/tmpfs/
After scratching my head, I realized that on booting, init first checks the (unmounted) computer partitions before it checks the USB to find the base sfs.
First found, best served .... the two sfs that got loaded were in / of one of the computer’s partitions.
It does not matter which partition they are on, as long as they are in /, init does not check sub directories.
The lesson: When tinkering with Puppy, place files in a subdirectory, ISObooter will then do what you expect from it.
cheers
proebler
Just to be clear, your situation is not the "fault" of ISObooter. Its ONLY job is to build a menu.lst file that Grub4Dos will use when the USB boots.
What happens after that is the responsibility of Grub4DOS and the stuff inside the ISO.
It's the same situation as booting off a CD. Some Puppies will give higher priority to SFS files found on the hard drive over those on the CD.
If your ISObooter menu contains "pmedia=cd", try changing it to "pmedia=usbflash".
What happens after that is the responsibility of Grub4DOS and the stuff inside the ISO.
It's the same situation as booting off a CD. Some Puppies will give higher priority to SFS files found on the hard drive over those on the CD.
If your ISObooter menu contains "pmedia=cd", try changing it to "pmedia=usbflash".
Morning Bill,
A little help if you would please.. I'm trying to set up the latest Peppermint with persistence.
The section here is the standard ISObooter method and goes off without a hitch:
This, one of which I've tried doesn't quite fly (code block wrapped beginning with the "noeject" bit so as not to explode our page):
It hangs on:
Advice? Or is there something I could dig out with ISOMaster?
Because I'm unsure as to how big "casper-rw" should be, here's how I've got the stick partitioned...
A little help if you would please.. I'm trying to set up the latest Peppermint with persistence.
The section here is the standard ISObooter method and goes off without a hitch:
Code: Select all
title Peppermint-10-20191210-amd64
partnew (hd0,3) 0x00 (hd0,0)/Peppermint-10-20191210-amd64.iso
map --heads=0 --sectors-per-track=0 (hd0,0)/Peppermint-10-20191210-amd64.iso (0xff)
map --hook
root (0xff)
chainloader (0xff)
Code: Select all
title Peppermint-10-20191210-amd64
find --set-root /Peppermint-10-20191210-amd64.iso
map --heads=255 --sectors-per-track=63 /Peppermint-10-20191210-amd64.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz boot=casper iso-scan/filename=(hd0,0)/Peppermint-10-20191210-amd64.iso
noeject noprompt splash persistent --
initrd /casper/initrd.lz
Code: Select all
(initramfs) /scripts/casper-premount/20iso_scan:
line 46: Can't open /dev/sr0: No medium found
Because I'm unsure as to how big "casper-rw" should be, here's how I've got the stick partitioned...
- Attachments
-
- isoboo_pep-1.jpg
- (79.21 KiB) Downloaded 159 times
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
A lot has changed since the early days of ISObooter. It's been years since I even attempted to set up a big-boy Linux with persistence.
Your best bet now is GRUB2 with a boot entry like this:
I recently wrote a how-to for putting GRUB2 on a flash drive. It may still be posted somewhere in the Starter Kit threads.
Your best bet now is GRUB2 with a boot entry like this:
Code: Select all
menuentry "linuxmint-19.1-xfce-64bit" {
set isopath="/linuxmint-19.1-xfce-64bit.iso"
set uuid="7a177726-a6b6-4ef6-a717-98e2e8142080"
search --no-floppy --fs-uuid --set=root $uuid
loopback loop $isopath
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isopath noeject noprompt splash --
initrd (loop)/casper/initrd.lz
}
Hi Semme, this should work (it does for me)
Not sure if it's the change findiso= or the addition "cdrom-detect/try-usb=true" that does it, I think the last.
Fred
Code: Select all
title Peppermint-10-20191210-amd64
find --set-root /Peppermint-10-20191210-amd64.iso
map --heads=255 --sectors-per-track=63 /Peppermint-10-20191210-amd64.iso (0xff)
map --hook
root (0xff)
kernel /casper/vmlinuz boot=casper findiso=/Peppermint-10-20191210-amd64.iso --ignore-floppies cdrom-detect/try-usb=true noeject noprompt persistent --
initrd /casper/initrd.lz
Fred
Thank you, Bill.
Because I was already set with a grldr, I went with Fred's suggestion. Your post I'll keep neatly tucked away for the time being.
Yes, Fred - thank you. I tried your stanza. First without your "cdrom-detect/try-usb=true" line, then with. With it seemed a bit faster though I didn't have either on the clock.
Both dumped oodles of code as well, preferred over Peps progress bar. All good.
This was nothing more than a POC exercise. I'll add, persistence flies!
Now (hand-rubbing-smiley), onto the Buster Starter Kit!
Because I was already set with a grldr, I went with Fred's suggestion. Your post I'll keep neatly tucked away for the time being.
Yes, Fred - thank you. I tried your stanza. First without your "cdrom-detect/try-usb=true" line, then with. With it seemed a bit faster though I didn't have either on the clock.
Both dumped oodles of code as well, preferred over Peps progress bar. All good.
This was nothing more than a POC exercise. I'll add, persistence flies!
Now (hand-rubbing-smiley), onto the Buster Starter Kit!
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<