How to Make a Bootable Flash Drive using ISObooter

How to do things, solutions, recipes, tutorials
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#271 Post by rcrsn51 »

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".

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#272 Post by proebler »

Understood.
I do not consider it to be a "fault" of ISObooter.
Thanks for the tip about changing the pmedia parameter.

EBored
Posts: 32
Joined: Wed 29 Apr 2020, 00:29

#273 Post by EBored »

where is plik ?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#274 Post by Semme »

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:

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)
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):

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
It hangs on:

Code: Select all

(initramfs) /scripts/casper-premount/20iso_scan:
line 46: Can't open /dev/sr0: No medium found
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...
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 <<<

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#275 Post by rcrsn51 »

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:

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
}
I recently wrote a how-to for putting GRUB2 on a flash drive. It may still be posted somewhere in the Starter Kit threads.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#276 Post by fredx181 »

Hi Semme, this should work (it does for me)

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
Not sure if it's the change findiso= or the addition "cdrom-detect/try-usb=true" that does it, I think the last.

Fred

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#277 Post by Semme »

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! 8)

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 <<<

Post Reply