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 19 May 2013, 15:31
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
:idea: Iso boot files on multisession usb saving space.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Author Message
HiDeHo

Joined: 16 Mar 2011
Posts: 262

PostPosted: Wed 09 Nov 2011, 03:31    Post subject:  :idea: Iso boot files on multisession usb saving space.  

Ok i have just found out that its possible to Boot directly from an iso file. i am wondering how puppy will run if doing this vrs conventional Frugal setup.

Here is what i usually do
  1. Creat a folder for the puppy
  2. mount iso or open cd
  3. copy the 3 files needed, initrd.gz, vmlinuz adn the (puppy).sfs
  4. point boot loader config to them
Main idea behind this
My main idea would be to set up and boot many puppy os from iso on a usb device saving space setting up each frugal puppy separately. also coudl boot other os this way. I guess this has some valid reasons to do it or not.

The current boot loader you have would need to be able to boot from iso files. and setup to do so.

is there any benefits to iso booting vrs conventional hdd frugal install.

edit After my continuing to use puppy i found it easier to do a frugal setup. so i never really pursued this idea. edit

Last edited by HiDeHo on Sun 01 Apr 2012, 20:21; edited 4 times in total
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2215
Location: near here

PostPosted: Fri 11 Nov 2011, 21:22    Post subject:  

I don't think it matters which way you boot. Obviously booting from ISO on CD might be slightly more inconvenient if you use the CD drive a lot for other things.
Arrow

_________________
Wiki Audacity 2.0.1
Back to top
View user's profile Send private message Visit poster's website 
nooby

Joined: 29 Jun 2008
Posts: 9385
Location: SwedenEurope

PostPosted: Sun 04 Dec 2011, 05:07    Post subject: Re: Iso boot over frugal Hdd setup.  

HiDeHo wrote:
Ok i have just found out that its possible to set up grub4dos, grub, grub2 etc to boot directly from an iso. i am wondering how puppy will run if doing this vrs conventional hdd setup. Here is what i usually do
    Creat a folder for the puppy
    mount iso or open cd
    copy the 3 files needed, initrd.gz, vmlinuz adn the (puppy).sfs
    point boot loader config to them

also i can directly boot from the iso file.
is there any benefits to iso booting vrs conventional hdd frugal install. [/list]
I have found out that the iso might have to be configured to do so. although this is not exactly true in all cases.


It does matter how one boot. Many Linux distros has a built in restriction of permissions in relation to "Live Session User"

I tested Vector STD Gold the other day and did a frugal install
and it does not allow me to even access the drive it booted from.

Similar with Debian distros like Mephis or AntiX or ... LMDE also being Debian none of them allow one to write to the partition them booted from. Them allow read only.

So it does matter for a lot of distros.

_________________

I'm a noob so I use Google Search of Puppy Forum

Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Sun 04 Dec 2011, 15:16    Post subject:  

Well, Puppy is designed to work as a properly burned live CD, frugal or full install. So, only way to know for sure, is try it.
Never have understood why people want to make an operating system work out of the normal designed way.
I ques just to see if you can.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 9385
Location: SwedenEurope

PostPosted: Mon 05 Dec 2011, 04:26    Post subject:  

bigpup wrote:
...
Never have understood why people want to make an operating system work out of the normal designed way.
...


A good reason would be to have fully portable OS on a USB in that
you only need to change the iso and not do any install what so ever.
You just change the menu.lst or grub.conf for the new iso
and it boot and do everything you need.
But maybe I help us derail the thread.

_________________

I'm a noob so I use Google Search of Puppy Forum

Back to top
View user's profile Send private message 
HiDeHo

Joined: 16 Mar 2011
Posts: 262

PostPosted: Sun 01 Apr 2012, 10:36    Post subject:  

nooby wrote:
bigpup wrote:
...
Never have understood why people want to make an operating system work out of the normal designed way.
...


A good reason would be to have fully portable OS on a USB in that
you only need to change the iso and not do any install what so ever.
You just change the menu.lst or grub.conf for the new iso
and it boot and do everything you need.
But maybe I help us derail the thread.


It is a valid reason it woudl save space on teh flashdrive. which was my origional thinking. then again i never really tried it. it was just an idea i put out to see if it got interest.
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 9385
Location: SwedenEurope

PostPosted: Sun 01 Apr 2012, 13:18    Post subject:  

Wow or Voi!
Don't you want to share how you did it.
The menu.lst or .cfg something.

_________________

I'm a noob so I use Google Search of Puppy Forum

Back to top
View user's profile Send private message 
Burn_IT

Joined: 12 Aug 2006
Posts: 646
Location: Tamworth UK

PostPosted: Sun 01 Apr 2012, 17:36    Post subject:  

I do that sort of thing!

Here is a copy of my menu.lst:


Code:

# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default

title Puppy Linux Lucid 528 frugal
find --set-root /lupu5000/VMLINUZ
kernel /lupu5000/VMLINUZ pmedia=idehd psubdir=lupu5000 pfix=copy
initrd /lupu5000/INITRD.GZ

title Puppy Linux 420 Frugal
find --set-root /puppy420/vmlinuz
kernel /puppy420/vmlinuz pmedia=idehd psubdir=puppy420 pfix=copy
initrd /puppy420/initrd.gz

title Puppy Linux 420 Frugal fresh
find --set-root /puppy420/vmlinuz
kernel /puppy420/vmlinuz pmedia=idehd psubdir=puppy420 pfix=ram
initrd /puppy420/initrd.gz


title Puppy Linux Lucid 528 Frugal fresh
find --set-root /lupu5000/VMLINUZ
kernel /lupu5000/VMLINUZ pmedia=idehd psubdir=lupu5000 pfix=ram
initrd /lupu5000/INITRD.GZ
 
title Puppy Linux Slacko
find --set-root /slacko/vmlinuz
kernel /slacko/vmlinuz pmedia=idehd psubdir=slacko
initrd /slacko/initrd.gz

title Puppy Linux Slacko fresh
find --set-root /slacko/vmlinuz
kernel /slacko/vmlinuz pmedia=idehd psubdir=slacko pfix=ram
initrd /slacko/initrd.gz

# write (md)0x220+1 !BAT\necho -n -P:0000 $[0107] Hiren's BootCD 14.1 \0 && initscript (md)0x220+1
title \n
root


title Boot From Hard Drive (Windows Vista/7/2008 or Xp)\n
find --set-root --ignore-floppies --ignore-cd /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr || rootnoverify (hd0) && chainloader +1 && boot
map () (hd0) && map (hd0) () && map --rehook
find --set-root --devices=h /bootmgr || find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /bootmgr || chainloader /ntldr

title \n
root

title Mini Windows Xp\nRun Antivirus and other windows programs
# example password: test
# password --md5 $1$gNe0$KZPOE8wNbTNSKOzrajuoB0
find --set-root /HBCD/XP/XP.BIN
chainloader /HBCD/XP/XP.BIN

title Dos Programs\nRun Dos Programs
find --set-root /HBCD/Dos/dos.gz
map --mem /HBCD/Dos/dos.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1

title Linux based rescue environment (Parted Magic 6.6)\nTo manage partitions, backup and recovery
set pm=/HBCD/Boot/pmagic.lst
find --set-root %pm%
set lang=us
set opt=
configfile %pm%

title \n
root

title Windows Memory Diagnostic\n
find --set-root /HBCD/Boot/wmemtest.gz
kernel /HBCD/Boot/memdisk
initrd /HBCD/Boot/wmemtest.gz

title MemTest86+\n
find --set-root /HBCD/Boot/memtest.gz
map --mem /HBCD/Boot/memtest.gz (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1

title Offline NT/2000/XP/Vista/7 Password Changer\nWindows Password Reset 2011-05-11
find --set-root /HBCD/Boot/chntpw
set opt=vga=1
clear
echo Press ENTER to boot, or give linux kernel boot options first if needed.
echo Some that I have to use once in a while:
echo boot: nousb     - to turn off USB if not used and it causes problems
echo boot: irqpoll   - if some drivers hang with irq problem messages
echo boot: vga=ask   - if you have problems with the videomode
echo boot: nodrivers - skip automatic disk driver loading
echo
set /p opt=boot:
kernel /HBCD/Boot/chntpw %opt%
initrd /HBCD/Boot/chntpw.gz

title Kon-Boot\nWindows (any/blank password) and Linux (kon-usr) Login Without a Password
set kon=konboot.gz
find --set-root /HBCD/Boot/konboot.gz | set iscd=
find --set-root /HBCD/Boot/konbootp.gz && set kon=konbootp.gz
map --mem /HBCD/Boot/%kon% (fd0)
map --hook
chainloader (fd0)+1
if not "%iscd%"=="(cd)" pause --wait=2 HDD SWAP
if not "%iscd%"=="(cd)" map (hd1) (hd0)
map --hook
rootnoverify (fd0)
map --floppies=1

title Seagate DiscWizard (Powered by Acronis Trueimage)\nPress ALT+T+O+K to skip Error
find --set-root /HBCD/Boot/SeagatDW
kernel /HBCD/Boot/SeagatDW vga=788 ramdisk_size=32768 acpi=off quiet noapic mbrcrcs on
initrd /HBCD/Boot/SeagatDW.gz

title PLoP Boot Manager\n
find --set-root /HBCD/Boot/plpbt.bin
kernel /HBCD/Boot/plpbt.bin

title Smart Boot Manager 3.7.1\n
find --set-root /HBCD/Boot/smartbm.gz
kernel /HBCD/Boot/memdisk
initrd /HBCD/Boot/smartbm.gz

title Fix "NTLDR is Missing"\n
find --set-root /HBCD/Boot/ntldr.gz
kernel /HBCD/Boot/memdisk
initrd /HBCD/Boot/ntldr.gz

title Darik's Boot and Nuke (Hard Disk Eraser)\n
find --set-root /HBCD/Boot/dban.gz
kernel /HBCD/Boot/memdisk
initrd /HBCD/Boot/dban.gz

title Custom Menu...  (Use HBCDCustomizer to add your files)\n
find --set-root /HBCD/menu-custom.lst
configfile /HBCD/menu-custom.lst

title More...\n
root

title Dos Programs (Alternative Boot Method)\nUsing Memdisk
find --set-root /HBCD/Dos/dos.gz
kernel /HBCD/Boot/memdisk
initrd /HBCD/Dos/dos.gz


title Boot HDD 1 MBR\n
rootnoverify (hd0)
chainloader +1
title Boot HDD 1 Partition 1\n
rootnoverify (hd0,0)
chainloader +1
title Boot HDD 1 Partition 2\n
rootnoverify (hd0,1)
chainloader +1
title Boot HDD 1 Partition 3\n
rootnoverify (hd0,2)
chainloader +1
title Boot HDD 1 Partition 4\n
rootnoverify (hd0,3)
chainloader +1
title Boot HDD 2 MBR\n
rootnoverify (hd1)
chainloader +1
title Boot HDD 2 Partition 1\n
rootnoverify (hd1,0)
chainloader +1
title Boot HDD 2 Partition 2\n
rootnoverify (hd1,1)
chainloader +1
title Boot HDD 2 Partition 3\n
rootnoverify (hd1,2)
chainloader +1
title Boot HDD 2 Partition 4\n
rootnoverify (hd1,3)
chainloader +1
title Boot HDD 3 MBR\n
rootnoverify (hd2)
chainloader +1
title Boot HDD 3 Partition 1\n
rootnoverify (hd2,0)
chainloader +1
title Boot HDD 3 Partition 2\n
rootnoverify (hd2,1)
chainloader +1
title Boot HDD 3 Partition 3\n
rootnoverify (hd2,2)
chainloader +1
title Boot HDD 3 Partition 4\n
rootnoverify (hd2,3)
chainloader +1

title More...\n
root
title Boot Windows XP (NTLDR) from Hard Drive\n
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault

title Boot Windows Vista/7 (BOOTMGR) from Hard Drive\n
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault

title Chainload isolinux.bin\n
find --set-root /HBCD/isolinux.bin
chainloader /HBCD/isolinux.bin

title Reboot
reboot

title Shutdown
halt

title Custom Menu...  (Use HBCDCustomizer to add your files)\n
find --set-root /HBCD/menu-custom.lst
configfile /HBCD/menu-custom.lst

title ...Back\n
root

 

title Load Symon
find --set-root /io.sys
chainloader /io.sys

title Load Gujin BIOS Emulator
find --set-root --ignore-floppies /rebootDVD.img
map --mem /rebootDVD.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
root

title The rest are just samples
root

title ³ Boot from Hard Drive - Windows XP (NTLDR)        ³\n
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title ³ Boot from Hard Drive - Windows Vista/7 (BOOTMGR) ³\n
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2



title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies --ignore-cd /ntldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
savedefault --wait=2

title find and load BOOTMGR of Windows VISTA
fallback 2
find --set-root --ignore-floppies --ignore-cd /bootmgr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
savedefault --wait=2

title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies --ignore-cd /cmldr
map () (hd0)
map (hd0) ()
map --rehook
find --set-root --ignore-floppies --ignore-cd /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2

title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2

title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title Parted Magic ISO
fallback 7
find --set-root /pmagic.iso
map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title Ultimate Boot CD ISO
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2

title commandline
commandline

title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

title back to dos
quit

title reboot
reboot

title halt
halt

title rebootDVD.img
find --set-root --ignore-floppies /rebootDVD.img
map --mem /rebootDVD.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send private message 
HiDeHo

Joined: 16 Mar 2011
Posts: 262

PostPosted: Sun 01 Apr 2012, 20:29    Post subject:  

Burn_IT wrote:
I do that sort of thing!

Here is a copy of my menu.lst:


I assume you are using grub1 aka grub legacy

you have such a long menu.list. Idea for future posting you could just post the section in the list that relates to the topic.

Nice one thanks for the Info its great.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 9842
Location: Arizona USA

PostPosted: Sun 01 Apr 2012, 22:35    Post subject:  

Since this section is for beginners, it's nicer to post the whole thing rather than just a fragment. Smile
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 9385
Location: SwedenEurope

PostPosted: Mon 02 Apr 2012, 03:36    Post subject:  

Thanks

I wonder about this one.


Quote:


1.) The old install method of booting via the stage-files has been removed.

2.) Please install GRLDR boot strap code to MBR with the bootlace.com
utility under DOS/Win9x or Linux.


Do we boot using the the stage-files now? Is that in legacy or grub4dos or?

So bootlace.com utility has come up with some code that solve it?

Why are some in small letters and some in very big capitals like

vmlinuz and then suddenly VMLINUZ What is the purpose of that?

The whole thing can be of help for somebody to get a hang of what is going on.
So much appreciated

Using google I found this

Grub4dos Guide - Configuration File Entries
diddy.boot-land.net/grub4dos/files/menu.htm

The old install method of booting via the stage-files has been removed. # Please install GRLDR boot strap code to MBR with the bootlace.com # utility under ...

But something with the server or they have movedthings around
because page times out

_________________

I'm a noob so I use Google Search of Puppy Forum

Back to top
View user's profile Send private message 
Burn_IT

Joined: 12 Aug 2006
Posts: 646
Location: Tamworth UK

PostPosted: Mon 02 Apr 2012, 08:04    Post subject:  

Quote:
I assume you are using grub1 aka grub legacy


Grub4DOS

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 2625
Location: Earth

PostPosted: Mon 02 Apr 2012, 15:19    Post subject:  

For those who may have wanted to understand why one would want to do this, consider this scenario.

Let suppose that you have a library of ISO (this generally occurs if you are assisting or testing differing PUPs for distro developers and the community.)

After download, it would be nice if there is a way to simply update the boot manager, pointing to the ISO's location, and boot that ISO without going thru ANY other approaches. The intent is that it would be a time saver and you won't have to burn CDs (assuming you understand and use Live media) Thus, excepting for the normal downloading to a location, almost NOTHING is needed to at least boot and observe the Puppy distro behavior. And, excepting the download space impact, there is NO other impact to the system storage. None.

This is tremendously beneficial...tremendously (if its at all possible, which I understand it is, and reasonable.)

@Flash, several years ago, was looking at this. He also is a premier resource for everything "Live", as in Live media operation with his knowledge of CD/DVD writing issues.

Hope this helps

_________________
Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
Back to top
View user's profile Send private message 
Burn_IT

Joined: 12 Aug 2006
Posts: 646
Location: Tamworth UK

PostPosted: Mon 02 Apr 2012, 15:43    Post subject:  

Quote:
Why are some in small letters and some in very big capitals like

vmlinuz and then suddenly VMLINUZ What is the purpose of that?

That is because the file name is case sensitive and therefore has to be the same as that on the disk.

_________________
I can't remember the last time I forgot something!
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 2625
Location: Earth

PostPosted: Mon 02 Apr 2012, 19:28    Post subject:  

Burn_IT wrote:
Quote:
Why are some in small letters and some in very big capitals like

vmlinuz and then suddenly VMLINUZ What is the purpose of that?

That is because the file name is case sensitive and therefore has to be the same as that on the disk.
I take it you mean within the ISO or do you mean on the Booting media as its referenced from GRUB4DOS?

Thanks in advance

_________________
Get ACTIVE; Create Circles; Do those good things which benefit the people's needs!
We are all related ... Its time to show that we know this!
Google's Puppy Search Engine
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

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
[ Time: 0.1115s ][ Queries: 12 (0.0053s) ][ GZIP on ]