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 Mon 21 Oct 2019, 15:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to boot multiple frugal installs?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
mark2


Joined: 20 Aug 2006
Posts: 104
Location: Bristol, UK

PostPosted: Mon 24 Dec 2007, 05:09    Post subject:  How to boot multiple frugal installs?  

I want to be able to boot several versions of puppy, currently I have 3.01 in a folder on my windows C drive as a frugal install

I'd like to be able to trial 2.15CE and future puppies from frugal installs.

Can it be as simple as creating and filling the necessary folder with the files then editing my menu.lst ?

Current menu.lst

Code:
title Default Boot on HD 0
   rootnoverify (hd0,0)
   chainloader +1
   boot
title Puppy Linux 3.01
kernel (hd0,0)/vmlinuz PMEDIA=idehd PDEV1=hda1 psubdir=puppy301
initrd (hd0,0)/initrd.gz
boot

Would I then change this to say
Code:
title Default Boot on HD 0
   rootnoverify (hd0,0)
   chainloader +1
   boot
title Puppy Linux 3.01
kernel (hd0,0)/vmlinuz PMEDIA=idehd PDEV1=hda1 psubdir=puppy301
initrd (hd0,0)/initrd.gz
title Puppy Linux 2.15
kernel (hd0,0)/vmlinuz PMEDIA=idehd PDEV1=hda1
psubdir=puppy215
initrd (hd0,0)/initrd.gz
boot


Or am I barking up the wrong tree ?

Would I have to change the chainloader to +2 ?

_________________

www.crowncarcare.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
rcrsn51


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

PostPosted: Mon 24 Dec 2007, 13:09    Post subject:  

There are several issues here:

1. The chainloader command is typically used to boot a non-Linux OS like Windows. Changing its argument to +2 would do nothing for your Puppy installs.

2. Your proposed menu.lst shows the two initial Puppy files, vmlinuz and initrd.gz at the root of the partition. Since each release of Puppy has its own versions of these files, they must also go into subfolders.

3. Earlier versions of Puppy required the sfs files to be at the root of the partition along with the savefile. You will have to experiment with your 3.01 and 2.15 setups to find the appropriate locations for these files. Or someone more experienced than me may be able to tell you the exact structure.

4. The kernel line for 2.15 will also need the argument "root=/dev/ram0"

5. You don't need the boot command in a menu.lst. GRUB will do it for you.
Back to top
View user's profile Send private message 
mark2


Joined: 20 Aug 2006
Posts: 104
Location: Bristol, UK

PostPosted: Mon 24 Dec 2007, 15:24    Post subject:  

Some success have succesfully installed 2.15CE to my E partition and succesfully booted it however on shutdown puppy does not offer me an option to create a save file, i just get a blank screen with a cursor, no matter how long I wait it just seems to hang there.
_________________

www.crowncarcare.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Pizzasgood


Joined: 04 May 2005
Posts: 6266
Location: Knoxville, TN, USA

PostPosted: Mon 24 Dec 2007, 16:52    Post subject:  

That sounds like the same problem I've been investigating today. As a workaround, try this: Instead of going to "reboot", pres [ctrl]-[alt]-[backspace]. That will kill X. Then type reboot and press enter.
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

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

Joined: 13 Apr 2006
Posts: 357
Location: Montreal, Canada

PostPosted: Mon 24 Dec 2007, 17:05    Post subject:  

I am using grub to frugally dual-boot pup2.02 and pup3.01
My menu.lst is
----------------------------
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sun Nov 18 11:03:18 2007
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.8382'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.8382 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
timeout 10
default 1
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Puppy Linux 301 frugal (on /dev/hda2)
rootnoverify (hd0,1)
kernel /puppy301/vmlinuz pmedia=idehd psubdir=puppy301
initrd /puppy301/initrd.gz
#
title Puppy Linux 202 frugal (on /dev/hda2)
rootnoverify (hd0,1)
kernel /puppy202/vmlinuz root=/dev/ram0 pmedia=idehd
initrd /puppy202/initrd.gz
# Linux bootable partition config ends
# Other bootable partition config begins
# title Windows (on /dev/hda4)
# map (hd0,0) (hd0,3)
# map (hd0,3) (hd0,0)
# rootnoverify (hd0,3)
# makeactive
# chainloader +1
# Other bootable partition config ends
# title Install GRUB to floppy disk (on /dev/fd0)
# pause Insert a formatted floppy disk and press enter.
# root (hd0,1)
# setup (fd0)
# pause Press enter to continue.
# title Install GRUB to Linux partition (on /dev/hda2)
# root (hd0,1)
# setup (hd0,1)
# pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
-------------------------------------------
The picture shows the pup301 and pup202 folders in my /mnt/home directory - hope this helps
screen2.jpg
 Description   
 Filesize   43.21 KB
 Viewed   317 Time(s)

screen2.jpg


_________________
--- quad booting Slacko57NPAE, Slacko56NPAE, Slacko55PAE (with OO4, devx, Gimp) & WXP on DELL Dimension 2400 PC & DELL Latitude 630 Laptop using grub.
---USB-Flash booting same on Samsung N110 WXP Netbook and Lenovo q100 WXP netPC.
Back to top
View user's profile Send private message 
mark2


Joined: 20 Aug 2006
Posts: 104
Location: Bristol, UK

PostPosted: Mon 24 Dec 2007, 18:46    Post subject: success  

Thank you for that hint with ctrl-alt-backspace pizzasgood, I now have 2.15CE booting and saving to my E partition, 3.01 from my c drive.

And thanks to rcrsn51 for pointing me in the right direction to begin

For any one else trying similar my menu.lst

Quote:
title Default Boot on HD 0

rootnoverify (hd0,0)

chainloader +1

boot

title Puppy Linux 3.01

kernel (hd0,0)/vmlinuz PMEDIA=idehd PDEV1=hda1 psubdir=puppy301

initrd (hd0,0)/initrd.gz

title Puppy Linux 2.15CE

kernel (hd0,4)/vmlinuz root=/dev/ram0 PMEDIA=idehd PDEV1=hda5 psubdir=boot/puppy215

initrd (hd0,4)/initrd.gz

boot

To anyone not familiar with grub and Linux drive numbering
The red 4 and 5 signify that it's an extended partition to Grub (4) and Linux (5)

_________________

www.crowncarcare.co.uk
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0968s ][ Queries: 13 (0.0272s) ][ GZIP on ]