How to Make a Bootable Flash Drive using ISObooter
How-to-install Puppy has yet been solved
ISObooter is really an efficient tool. About mikeslr opinion i fully agree. people should think that the answer to How-to-install Puppy has yet been solved. Just search in the forum in the right place. No need to build new systems which loose newbies in hazardous expermental boot systems.
Don't ignore Grub4Dos, Don't ignore Isobooter Or loose yourself in Grub2... or img2key, or Porteus, or casper..
People don't read how-to, they transfer research to helpers. So well don't ask them to use Linux booter for Ubuntu or Porteus, listen to Puppy Linux tools
Failing to dual-boot puppy and windows 7 is unbelievable.. Just consider that sda1 not to be touched..
Some VIPs still think that a Puppy cannot be boot without having burn a CD... And don't want to admit different ways.
TO be positive This topic has been translated to french by esmourguit Utiliser ISObooter traduction en français
Don't ignore Grub4Dos, Don't ignore Isobooter Or loose yourself in Grub2... or img2key, or Porteus, or casper..
People don't read how-to, they transfer research to helpers. So well don't ask them to use Linux booter for Ubuntu or Porteus, listen to Puppy Linux tools
Failing to dual-boot puppy and windows 7 is unbelievable.. Just consider that sda1 not to be touched..
Some VIPs still think that a Puppy cannot be boot without having burn a CD... And don't want to admit different ways.
TO be positive This topic has been translated to french by esmourguit Utiliser ISObooter traduction en français
- Attachments
-
- isobooter.jpg
- 2 Puppies Fr Slaxen and Stretch by expert Puppy Dev Josejp2424 (latino) and 2 dogs
- (59.03 KiB) Downloaded 1470 times
Hi rcrsn51,
I still think ISOBooter is one of the best things you've ever done, and that's saying something since I use so many other of your created things.
Currently, I have ~24 ISOs I use on ISOBooter, from pups to ddogs to many Linux distros, and they all work/boot great (except sometimes Fedora-based ones get picky).
But I have only one question: I know Fat32 has a max file limit size of 4GB (if I recall correctly). Well, I forgot this, and I went and downloaded the latest CentOS-7 64-bit (size 4,7GB) and then tried to transfer it into ISOBooter. Then I remembered the limitations of FAT32. Knowing this, I was wondering, is there any chance in the future that a re-vamped ISOBooter (using different partitioning) could/would work with the bigger ISOs from the mainline Linux distros like the 4.7GB CentOS-7 iso?
I still think ISOBooter is one of the best things you've ever done, and that's saying something since I use so many other of your created things.
Currently, I have ~24 ISOs I use on ISOBooter, from pups to ddogs to many Linux distros, and they all work/boot great (except sometimes Fedora-based ones get picky).
But I have only one question: I know Fat32 has a max file limit size of 4GB (if I recall correctly). Well, I forgot this, and I went and downloaded the latest CentOS-7 64-bit (size 4,7GB) and then tried to transfer it into ISOBooter. Then I remembered the limitations of FAT32. Knowing this, I was wondering, is there any chance in the future that a re-vamped ISOBooter (using different partitioning) could/would work with the bigger ISOs from the mainline Linux distros like the 4.7GB CentOS-7 iso?
Not to my knowledge. ISObooter uses a Grub4Dos technique that only works with FAT32.But I have only one question: I know Fat32 has a max file limit size of 4GB (if I recall correctly). Well, I forgot this, and I went and downloaded the latest CentOS-7 64-bit (size 4,7GB) and then tried to transfer it into ISOBooter. Then I remembered the limitations of FAT32. Knowing this, I was wondering, is there any chance in the future that a re-vamped ISOBooter (using different partitioning) could/would work with the bigger ISOs from the mainline Linux distros like the 4.7GB CentOS-7 iso?
Although, I don't know anything about exFAT.
[Edit] It looks to me like Grub4Dos does NOT recognize exfat partitions.
You could always "burn" the CentOS ISO onto a flash drive with dd.
Hi Belham,
Then add entry in menu.lst that chainloads GRUB2 and have entries in grub.cfg to boot ISO's that are on the second (ext3/4 formatted) partition.
If you are interested, just tell me and I'll try to explain the steps.
The advantage of using GRUB2 for ISO booting is that fragmenting is not a problem (in contrary to using grub4dos (problem can be that the ISO is "not contiguous")).
Disadvantage is that booting ISO "from splash screen" (displaying isolinux screen with the entries) like grub4dos can do) is not possible with GRUB2 AFAIK (but anyone correct me if I'm wrong).
Best Wishes
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
It can be done with GRUB2, but it's a bit complicated "manual way", i.e. install GRUB2 to a partition (not write MBR) e.g. sdb2.Then I remembered the limitations of FAT32. Knowing this, I was wondering, is there any chance in the future that a re-vamped ISOBooter (using different partitioning) could/would work with the bigger ISOs from the mainline Linux distros like the 4.7GB CentOS-7 iso?
Then add entry in menu.lst that chainloads GRUB2 and have entries in grub.cfg to boot ISO's that are on the second (ext3/4 formatted) partition.
If you are interested, just tell me and I'll try to explain the steps.
The advantage of using GRUB2 for ISO booting is that fragmenting is not a problem (in contrary to using grub4dos (problem can be that the ISO is "not contiguous")).
Disadvantage is that booting ISO "from splash screen" (displaying isolinux screen with the entries) like grub4dos can do) is not possible with GRUB2 AFAIK (but anyone correct me if I'm wrong).
Best Wishes
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
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
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
}