NB: I am an inexperienced Slacker!!
For those of you who are interested, here is how I installed Puppy 5.2.5 on my Slackware 13.37 pc.
Before installing Puppy, I did a complete back up, using Clonezilla, of /dev/sda1 & /dev/sda3 - my Slackware 13.37 installation.
Before Puppy was installed, this was my configuration:
/dev/sda1 = my Slackware 'root' partition
/dev/sda2 = swap
/dev/sda3 = my Slackware 'home' partition
/dev/sda5 = my 'data' partition
My boot loader was lilo as installed by Slackware and was installed to the MBR.
Here is what I did:
- Downloaded the Puppy 5.2.5 iso and burned it to a DVD using K3b.
- Booted my PC from the Puppy DVD.
- clicked OK to Personalized Settings.
- closed the Simple Network Setup window.
- Using the Puppy menu icon (lower left on task bar) went to System --> Gparted.
- Resized /dev/sda5 to free up some space (I freed up 6 Gib - a lot less would do).
- Applied changes.
- Selected the unallocated space and clicked 'New'.
- Set up the new partition as 'Logical Partition' of type 'ext3' with a label of 'PuppyLinux'. This new partition became /dev/sda6.
- Applied changes and exited Gparted.
- On the Puppy Desktop, I clicked 'Install'.
- Selected the 'Universal Installer'.
- Chose Internal (IDE or SATA) hard drive - OK.
- Chose sda drive - OK.
- Chose Install Puppy to sda6 - OK.
- Chose CD - OK.
- Chose FULL - OK, OK.
- Waited and then closed any open windows on the screen.
- Using the Puppy menu, System --> Grub bootloader config.
- Chose Simple - OK.
- Chose Standard - OK.
- Chose /dev/sda1 - OK. (I did not choose /dev/sda6)
- Chose MBR - OK. (I believe that doing this clobbers any lilo stuff)
- Using the Puppy menu Shutdown --> Reboot computer.
- Chose DO NOT SAVE when asked.
- When the reboot was done, I selected Linux on /dev/sda1 - which is my Slackware.
- Logged in as root.
- Using Dolphin I opened the /root/boot/grub/menu.lst file, which looked like this:
Code:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Jul 20 11:56:25 2011
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.4746'. You can restore it like this.
# dd if=/boot/grub/mbr.sda.4746 of=/dev/sda 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/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/sda3 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda5)
root (hd0,4)
kernel /boot/vmlinuz root=/dev/sda5 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/sda6 ro vga=normal
# Linux bootable partition config ends
# Linux bootable initrd config begins
title Linux initrd /tmp/boot/boot/initrd.gz (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ramdisk_size=5848 root=/dev/ram0 rw
initrd /tmp/boot/boot/initrd.gz
# Linux bootable initrd 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/sda1)
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)
and changed it to look like this:
Code:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Jul 20 04:00:09 2011
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.32541'. You can restore it like this.
# dd if=mbr.sda.32541 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
timeout 30
#color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable initrd config begins
title Slackware Linux (Generic) on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-generic-smp-2.6.37.6-smp root=/dev/sda1 ro vga=normal
initrd /boot/initrd.gz
# Linux bootable initrd config ends
# Linux bootable partition config begins
title Puppy Linux on (/dev/sda6)
root (hd0,5)
kernel /boot/vmlinuz root=/dev/sda6 ro vga=normal
# Linux bootable partition config ends
# Linux bootable partition config begins
title Slackware Linux (Huge) on (/dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)
- Rebooted and everything worked.
Anyway, that's my story and I'm sticking with it!