try several puppy version

Booting, installing, newbie
Post Reply
Message
Author
User avatar
jani
Posts: 30
Joined: Sat 05 Jan 2008, 23:01
Location: Hungary

try several puppy version

#1 Post by jani »

Hi,

my current configuration is 700Mhz P3 256RAM 15 GbHD. HD contains 4 partitions: dev/hda1 ext2 - empty; dev/hda2 swap; dev/hda3 ext2 with full HD install puppy 4.00; dev/hda4 ext2 with full install DSL.

I'd like to try several other puppy versions and derivatives. My plan was copy the full content from an ISO of another puppy version to the empty hda1. After it i modify the grub menu (on hda3).

When i boot the new version i always got kernel panic. (the 4.00 botts well)

My question is: is it possible to use this idea, or not?
If it is not a bad idea what i have to do?

the part of menu.lst:
title Linux onebone (on /dev/hda1)
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 pfix=ram initrd=initrd.gz
title Linux 400 (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal
title Puppy Linux 400 full install (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 pmedia=idehd
title DSL (on /dev/hda4)
root (hd0,3)
kernel /boot/linux24 root=/dev/hda4 quiet vga=normal noacpi noapm nodma noscsi

welcome any idea
thank you
jani

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

you should just put all of the files for each version in its own separate folder and use the phome= or psubdir= boot parameter- this works with 3.x and 4.x series & I think some of the later 2.x series and you can even put them all in the same partition

for example for Puppy 4.1

title Puppy Linux 410 frugal
rootnoverify (hd0,0)
kernel /puppy410/vmlinuz pmedia=idehd psubdir=puppy410 nosmp
initrd /puppy410/initrd.gz

This will boot from /puppy410 in your first partition in your first ide.

pfix=ram is not typically required nor desired in a frugal install since Puppy will do this automatically if you have sufficient ram

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Why not test each Puppy from a CD -R or -RW? 256 MB is enough memory to do that. I use a DVD+RW because burniso2cd will burn it with the new .iso without needing to blank it first, but the end result is the same if all you're doing is trying out Puppy versions.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

Bruce B

#4 Post by Bruce B »

title Puppy Linux 410 frugal
rootnoverify (hd0,0)
kernel /puppy410/vmlinuz pmedia=idehd psubdir=puppy410 nosmp
initrd /puppy410/initrd.gz

This will boot from /puppy410 in your first partition in your first ide.
The syntax and grammar is good. The summary is incorrect.

There is no relationship, unless by common coincidence, between the grub commands and first ide. Grub doesn't identify the boot devices the way Linux drives. Confusing? I think what leads to confusion is thinking it does, when it doesn't. No way to troubleshoot, if working on a mistaken belief about grub's behavior.

title Linux onebone (on /dev/hda1)
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 pfix=ram initrd=initrd.gz


would fail, but might work like this:

title Linux onebone (on /dev/hda1)
root (hd0,0)
kernel /vmlinuz root=/dev/ram0 pfix=ram
initrd /initrd.gz

User avatar
Ray MK
Posts: 774
Joined: Tue 05 Feb 2008, 09:10
Location: UK

#5 Post by Ray MK »

Hi

Here is an example of a menu.lst that does what you seem to require.


# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Fri Jul 25 19:27:28 2008
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.23983'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.23983 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
# title Linux (on /dev/hda1)
# root (hd0,0)
# kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Pup215ce full hdd (on /dev/hda2) OO22_215sfs
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title LH215ce full hdd (on /dev/hda5)
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
# title Linux (on /dev/hda6)
# root (hd0,5)
# kernel /boot/vmlinuz root=/dev/hda6 ro vga=normal
# Linux bootable partition config ends

# Linux bootable partition config begins
# title None full hdd (on /dev/hda1) DCL frugal
# root (hd0,0)
# kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends

# Linux bootable partition config begins
title 411rc frugal (on /dev/hda1) k2.6.25.16
root (hd0,0)
kernel /z411rc/vmlinuz pmedia=idehd psubdir=z411rc
initrd /z411rc/initrd.gz
# Linux bootable partition config ends
# Linux bootable partition config begins
title 410mu frugal (on /dev/hda1) k2.6.27.2
root (hd0,0)
kernel /z410/vmlinuz pmedia=idehd psubdir=z410
initrd /z410/initrd.gz
# Linux bootable partition config ends
# Linux bootable partition config begins
title NOP41 frugal (on /dev/hda1)
root (hd0,0)
kernel /zNOP41/vmlinuz pmedia=idehd psubdir=zNOP41
initrd /zNOP41/initrd.gz
# Linux bootable partition config ends


# Linux bootable partition config begins
title 400boxr1 frugal (on /dev/hda1)
root (hd0,0)
kernel /z400boxr1/vmlinuz PMEDIA=idehd psubdir=z400boxr1
initrd /z400boxr1/initrd.gz
# Linux bootable partition config ends
# Linux bootable partition config begins
title NOP4 frugal (on /dev/hda1)
root (hd0,0)
kernel /zNOP4/vmlinuz PMEDIA=idehd psubdir=zNOP4
initrd /zNOP4/initrd.gz
# Linux bootable partition config ends


# Linux bootable partition config begins
title Brzy frugal (on /dev/hda1)
root (hd0,0)
kernel /zBrzy/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /zBrzy/initrd.gz
# Linux bootable partition config ends
# Linux bootable partition config begins
title GrafPup frugal (on /dev/hda1)
root (hd0,0)
kernel /zGrafPup/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /zGrafPup/initrd.gz
# Linux bootable partition config ends


# Linux bootable partition config begins
# title = Pup216ce on hda1
# root (hd0,0)
# kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends


# Linux bootable partition config begins
# title DCL (on /dev/sda1)
# root (hd1,0)
# kernel /dcl/vmlinuz root=/dev/sda1 ro vga=normal pmedia=usbflash pfix=ram
# initrd /dcl/initrd.gz
# Linux bootable partition config ends
# Linux bootable partition config begins
# title DSL (on /dev/sda1)
# root (hd1,0)
# kernel /boot/isolinux/linux24 root=/dev/sda1 quiet vga=normal
# initrd /boot/isolinux/minirt24.gz
# Linux bootable partition config ends

title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda1)
root (hd0,0)
setup (hd0,0)
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)


Hope that helps

best regards - Ray

User avatar
jani
Posts: 30
Joined: Sat 05 Jan 2008, 23:01
Location: Hungary

#6 Post by jani »

Hi,

thank you very much your answers !
I tried the BruceB's advice and it works :)

Flash, I new in the linux and puppy world, but i'd like to learn, and i think puppy is the best way for me. I don't want to throw several cd into the dust-bin because my pc couldn't write cd-rw.

thanks again

by
jani

Post Reply