The time now is Tue 19 Jan 2021, 11:02
All times are UTC - 4 |
Author |
Message |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Thu 23 Apr 2020, 08:19 Post subject:
|
|
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".
|
Back to top
|
|
 |
proebler
Joined: 24 Jan 2012 Posts: 178 Location: TAS
|
Posted: Thu 23 Apr 2020, 08:57 Post subject:
|
|
Understood.
I do not consider it to be a "fault" of ISObooter.
Thanks for the tip about changing the pmedia parameter.
|
Back to top
|
|
 |
EBored
Joined: 28 Apr 2020 Posts: 34
|
Posted: Wed 29 Apr 2020, 21:41 Post subject:
|
|
where is plik ?
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 8427 Location: World_Hub
|
Posted: Fri 19 Jun 2020, 11:53 Post subject:
|
|
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: | 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: | 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: | (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...
Description |
|
Filesize |
79.21 KB |
Viewed |
298 Time(s) |

|
_________________ >>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 13129 Location: Stratford, Ontario
|
Posted: Fri 19 Jun 2020, 13:28 Post subject:
|
|
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: | 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.
|
Back to top
|
|
 |
fredx181

Joined: 11 Dec 2013 Posts: 4481 Location: holland
|
Posted: Fri 19 Jun 2020, 16:26 Post subject:
|
|
Hi Semme, this should work (it does for me)
Code: | 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
_________________ Dog Linux website
Tinylinux blog by wiak
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 8427 Location: World_Hub
|
Posted: Fri 19 Jun 2020, 17:12 Post subject:
|
|
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!
_________________ >>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|