Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Sep 2014, 10:08
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How can I boot an iso with grub4dos?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Wed 06 Feb 2013, 12:21    Post_subject:  

How did it go for der-schutzhund( what does it mean anyway? shit-dog?)
rcrsn51 wrote:

The system booted off Grub4Dos in sda1.

Partition sda2 contained a number of Puppy ISOs.

The menu.lst entries for Puppy were


And if you are a Lazy-dog like me you use the Easy2boot automatic version.
No editing of menu.lst file. Just copy an ISO file to a specific folder and it will show up on next boot.

try Easy2Boot by steve at

rmprepusb.com

or

HOWTO create easy multi-boot USB Puppy from Linux
HOWTO create easy multi-boot USB Puppy from Windows

Does this work well?
Code:

kernel /vmlinuz psavemark=2


maybe I try to incorporate it somehow in Easy2Boot automatic version?
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9121
Location: Stratford, Ontario

PostPosted: Wed 06 Feb 2013, 14:43    Post_subject:  

@Scooby:

Thank you for providing the key line to make ISO booting work.
Code:
partnew (hd0,3) 0x00 (hd0,1)/precise-372.iso

Does Easy2Boot always start by chainloading?
Code:
chainloader (0xff)

The advantage of a manual approach is that you get to customize the kernel arguments.
Code:
kernel /vmlinuz pmedia=usbflash psavemark=2
initrd /initrd.gz
Back to top
View user's profile Send_private_message 
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Thu 07 Feb 2013, 07:36    Post_subject:  

rcrsn51 wrote:
@Scooby:
Thank you for providing the key line to make ISO booting work.

you're welcome

rcrsn51 wrote:

Does Easy2Boot always start by chainloading?
Code:
chainloader (0xff)

The advantage of a manual approach is that you get to customize the kernel arguments.
Code:
kernel /vmlinuz pmedia=usbflash psavemark=2
initrd /initrd.gz



Yes it does but it can be altered.

What is the difference?

What will happen with config file onboard iso? Will it be ignored?

What will happen with other ISO's I mean like Ubuntu or Mint Linux live cd's.
will they start this way too?

if that is a problem I guess you could have a folder "puppy" from which
puppy linux isos boots automatically with pmedia=usbflash psavemark=2

Or it could be a menu item to somehow acttivate/deactivate and set psavemark to desired number.

For an Experienced user like you it is of course easier to just edit menu.lst but I want to
make a solution that is very easy for novice users maybe windows ones that are not
used to editing config files
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9121
Location: Stratford, Ontario

PostPosted: Thu 07 Feb 2013, 09:46    Post_subject:  

Scooby wrote:
rcrsn51 wrote:
Does Easy2Boot always start by chainloading?

Yes it does but it can be altered.What is the difference?


It's the difference between booting off a Puppy Live CD versus doing a hard drive install. In the first case, you always have to go through the splash screen with its five-second pause.

Quote:
What will happen with config file onboard iso? Will it be ignored?

Yes.

How do you envision Easy2Boot? As a way to test out Linux distros without having to burn a CD? Or as a way to run them on a day-to-day basis without having to do any kind of install? My manual instructions above show how to set up the latter. But you may not want to incorporate them into Easy2Boot. They were just a "proof of concept".


Quote:
What will happen with other ISO's I mean like Ubuntu or Mint Linux live cd's. will they start this way too?


The most reliable way to boot a Linux ISO will be through chainloading because it simulates using the physical CD.


Quote:
if that is a problem I guess you could have a folder "puppy" from which puppy linux isos boots automatically with pmedia=usbflash psavemark=2

There isn't a problem. Lots of people routinely boot Puppy off the CD and type in any extra options.

BTW, on a USB drive, it's probably going to be "psavemark=1"

Quote:
Or it could be a menu item to somehow acttivate/deactivate and set psavemark to desired number.


When I was testing this, I found that trying to keep save files in the same partition as the ISOs made it more likely to create a "non-contiguousness" problem.
Back to top
View user's profile Send_private_message 
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Thu 07 Feb 2013, 12:49    Post_subject:  

rcrsn51 wrote:

How do you envision Easy2Boot? As a way to test out Linux distros without having to burn a CD? Or as a way to run them on a day-to-day basis without having to do any kind of install? My manual instructions above show how to set up the latter. But you may not want to incorporate them into Easy2Boot. They were just a "proof of concept".

I already use Easy2boot on a day to day basis(and have done so for quite some time now) with archpup which work without psavemark.
I like to be able to quickly test new Linuxes and work in another puppy also.

With help from steve who created Easy2boot I conjured up a way to boot one Linux iso by default after 5 seconds.
Before countdown is finished you can choose another Linux iso.
Thats how I prefer it since 90% of the time I work with archpup

For my version of Easy2Boot I will only do USB support.
I will not install to internal drive so I cannot test or develop.

I want it very novice user friendly. Easy to set up on both puppy and windows.

rcrsn51 wrote:

The most reliable way to boot a Linux ISO will be through chainloading because it simulates using the physical CD.

So I will give the user the option to choose then!

rcrsn51 wrote:
There isn't a problem. Lots of people routinely boot Puppy off the CD and type in any extra options.

OK, me myself wouldnt be happy with this. I would want it automated

rcrsn51 wrote:

BTW, on a USB drive, it's probably going to be "psavemark=1" savefile resides


yeah, I know about psavemark and how it works, I've used it plenty.
So perhaps a folder called puppy for puppy linux ISO's with psavemark=1 and another folder for chainloading?

I will test around with ither menu options or folder approach
rcrsn51 wrote:

When I was testing this, I found that trying to keep save files in the same partition as the ISOs made it more likely to create a "non-contiguousness" problem.


So defrag em!?
Back to top
View user's profile Send_private_message 
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Thu 07 Feb 2013, 15:31    Post_subject:  

rcrsn51 wrote:

Code:
title Lupu 528 ISO
partnew (hd0,3) 0x00 (hd0,0)/lupu-528.iso
map  (hd0,0)/lupu-528.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz psavemark=2
initrd /initrd.gz



I just wanted to add that if you put this in a .mnu file and together with lupu-528.iso
put the two files in folder _ISO/Linux on a USB stick set up with Easy2Boot
it would show up on menu and be bootable.

the two files needed
_ISO/Linux/lupu-528.iso
_ISO/Linux/lupu-528.mnu


I forgot since I dont use it so much myself but steve already implemented a scalable way of adding menu.lst items.

This way the .mnu files can be made by an "Expert" and just copied by a "Novice" to a folder to work.
Steve offers some .mnu files on his site Easy2Boot at the bottom.

Observe the lupu-528.mnu at Easy2Boot is a version were you have to extract main sfs and not the same as above
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5030
Location: Arizona, U.S.A.

PostPosted: Thu 07 Feb 2013, 16:44    Post_subject:  

Each type of boot device ( HD, CD, USB ) requires different boot parameters. Put this inside the ISO file.

So make Easy2Boot look inside the selected ISO file for the .mnu file that`s for the device that`s booting.

Using an ISO file as a "universal" O.S. container is a great idea. The idea just needs to be completed.

This not only simplifies booting, but also unifies it into a "one method does all".
Back to top
View user's profile Send_private_message 
rcrsn51


Joined: 05 Sep 2006
Posts: 9121
Location: Stratford, Ontario

PostPosted: Thu 07 Feb 2013, 18:36    Post_subject:  

sunburnt wrote:
Each type of boot device ( HD, CD, USB ) requires different boot parameters. Put this inside the ISO file.


????

So if I wanted to try out Ubuntu, I would have to download its ISO, then remaster it?
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5030
Location: Arizona, U.S.A.

PostPosted: Thu 07 Feb 2013, 21:01    Post_subject:  

You misunderstand, did you master it originally? No... Of course not.

But those that you do could be self-contained without the need of external files specific to it.
The menu.lst and other such generic boot files must be on a partition.
Back to top
View user's profile Send_private_message 
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Fri 08 Feb 2013, 14:53    Post_subject:  

sunburnt wrote:
Each type of boot device ( HD, CD, USB ) requires different boot parameters. Put this inside the ISO file.

So make Easy2Boot look inside the selected ISO file for the .mnu file that`s for the device that`s booting.

Using an ISO file as a "universal" O.S. container is a great idea. The idea just needs to be completed.

This not only simplifies booting, but also unifies it into a "one method does all".


I created a script for editing ISO's configfiles

it worked for me and can set whatever boot parameters you like for example
pmedia=cd

There is no sense to put the .mnu file in ISO since there is already a config file for boot
in Puppy ISO's. For most puppies its isolinux.cfg.

However Easy2Boot/Grub4dos can override this config file should you not want to edit the ISO.
Code:

title Lupu 528 ISO
partnew (hd0,3) 0x00 (hd0,0)/lupu-528.iso
map  (hd0,0)/lupu-528.iso (0xff)
map --hook
root (0xff)
kernel /vmlinuz psavemark=2
initrd /initrd.gz



the line
Code:
kernel /vmlinuz psavemark=2


can be changed to whatever you want in the .mnu file to suit your needs.

for example

Code:
kernel /vmlinuz pmedia=cd psavemark=1 fix=fsck  psubdir=precise


In Easy2Boot the AUTO feature will serve general needs and the .mnu file is a way of customize and specialize booting,
Back to top
View user's profile Send_private_message 
trueriver

Joined: 07 Feb 2013
Posts: 30
Location: Manchester, England

PostPosted: Fri 08 Feb 2013, 15:29    Post_subject:  

Scooby wrote:

... Easy2boot is essentially Grub4dos ...


That is not quite how I would describe it. I'd prefer to say that easy2boot is a set of powerful extensions to grub4dos; or that it is a friendly front end for it: e2b does everything g4d does, but handles many things in a much more user friendly way.

grub4dos as downloaded from sourceforge relies on static menu files (*.lst). You have to know what the isos will be when you write the .lst file.

What easy2boot adds is the user-friendly facility to build those menus dynamically. The *.mnu files facility comes from easy2boot, and so does the awesome facility to dynamically build a *.lst file from the .../AUTO subdirectory.

Think of Newton and his comment about standing on the shoulders of giants - e2b stands on the shoulders of g4d.

River~~
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 08 Feb 2013, 15:46    Post_subject: Re: How can I boot an iso with grub4dos?  

der-schutzhund wrote:
Hi,

can anyone tell how the menu.lst should look for grub4dos to boot an ISO from the hard drive?

Several Isos are on the HD in the / ISOS /

Greetings

Wolfgang


Guys I do love this thread. But as you may guess
I barely get what you guys write about.

The title of the thread and the first post
is a bit misleading how the thread gets into
Easy2boot that allow iso boot on USB
but not on HD if it is ntfs?

The OP is about booting from HD
Very good taht E2B boot iso from USB
mimicking how DVD drive can boot a live iso.

So could the OP maybe add to the title USB
and easy2boot so the search works better Smile

No criticism this is a very important thread and
I love that you guys sort all the possibilities so
a lot of people can use it later. Excitign indeed
but AFAIK Barry have told us there is not in the
script a possibility for Puppy to boot from HD
without first sifting out linuz and initrd so the script
find it. E2B can do it on USB then? But not on NTFS HD?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5030
Location: Arizona, U.S.A.

PostPosted: Fri 08 Feb 2013, 16:35    Post_subject:  

Scooby, nooby, and trueriver; I think the end purpose will be to post a menu.mnu.

HD PATA, SATA, or USB is the same, Flash media cards and USB are different, and CD.

A boot profile for Puppy on a HD, one for flash, and one CD-DVD.
In addition to this, 3 more profiles for booting to ram for the above.
And 3 more rescue profiles to boot without a Save file.

So 9 basic profile templates, only the drive paths need be changed.


# I realized I said for a boot handler to look for a .mnu file when it should be external.
I ment a profile file for a boot manager to find and use.
Kinda like FreeDesktop`s .desktop menu files, a boot menu would be made from them.
Back to top
View user's profile Send_private_message 
Scooby

Joined: 03 Mar 2012
Posts: 307

PostPosted: Fri 08 Feb 2013, 17:48    Post_subject: Re: How can I boot an iso with grub4dos?  

nooby wrote:

Excitign indeed
but AFAIK Barry have told us there is not in the
script a possibility for Puppy to boot from HD
without first sifting out linuz and initrd so the script
find it. E2B can do it on USB then? But not on NTFS HD?


Les Kerf wrote:

I tried the Easy2Boot Grub4Dos method with a hard drive and it worked for me. I mentioned it in the other Easy2Boot thread.
Les


Easy2Boot apparently works on HD as well!

I tried it partly and can verify it.

If you have Grub4Dos installed on your HD then if you add Easy2Boot to root it will
boot to grldr and then menu.lst. For auto feature just copy a puppy linux ISO to
_ISO/Linux/AUTO
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 09 Feb 2013, 04:19    Post_subject:  

Scooby much appreciated. I need to read up on what it is
and download that program then. Are you sure you tested
on NTFS and not a ext2 or ext3 partition? Would be cool if the OP
could confirm it worked for him too Smile


Scooby wrote:
How did it go for der-schutzhund( what does it mean anyway? shit-dog?)


Meine Deutch? ist nicht da Smile My German does not exist Is not there anymore.

i tried to learn German at school for three semesters double speed so
it is 6 such terminen But it was gone in a few years due to me knew
none to practice it with and me did not travel abroad and too lazy
to practice at home .

Let me guess der-schutzhund = The Watch Dog.

So I ask Google translate it for me. the protection dog
So maybe it is a special version of such dogs trained
to be good at knowing whom are aggressive and whom
are not aggressive? I just guess.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 5 Posts_count   Goto page: Previous 1, 2, 3, 4, 5 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1157s ][ Queries: 12 (0.0084s) ][ GZIP on ]