Author |
Message |
gabbman

Joined: 26 Jul 2005 Posts: 1 Location: Burlington, Ontario
|
Posted: Wed 27 Jul 2005, 07:27 Post subject:
How do I use existing LILO for dual-booting Puppy? |
|
I have installed Chubby-Puppy to my HD. My hard drive is partitioned as:
hda1 - 12500mb - PCLinuxOS - Lilo bootloader to MBR
hda5 - 1152mb - Swap
hda6 - 5000mb - Chubby-Puppy (looks like overkill on hard drive space)
During the install to hda6 I choose not to allow grub to be my bootloader, and made a floppy.
I would like to keep Puppy on my hda6 and have lilo remain the bootloader, so my question is, what files off the floppy do I copy to hda6, and where?
What edits are required in initd, or anywhere else?
Once they are in place I will be able to edit lilo to dual boot.
Thanks in advance.
_________________ cheers - gabbman
Linux, The Desktop of Choice
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4839 Location: Manila
|
Posted: Thu 28 Jul 2005, 10:08 Post subject:
Floppy may not be needed |
|
You can edit lilo.conf to add booting to the Puppy partition. Command lilo afterwards to save the changes. [Edit for Flash: Do this in the Linux OS that installed lilo. If I remember right, lilo.conf is in /etc and lilo is in /usr/sbin. Try the commands "which" or "whereis".]
Or reinstall Puppy with grub to MBR - it detects partitions and provides a pointer to each. [Edit for Flash: This is based on my experience - am not too familiar yet with grub though.]
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Last edited by raffy on Thu 28 Jul 2005, 20:39; edited 1 time in total
|
Back to top
|
|
 |
Flash
Official Dog Handler

Joined: 04 May 2005 Posts: 12825 Location: Arizona USA
|
Posted: Thu 28 Jul 2005, 10:56 Post subject:
|
|
Raffy, do you mean that all gabbman needs to do is find lilo.conf (presumably somewhere in PClinuxOS) and edit it? No files need to be moved from the floppy to the hard drive, and nothing else needs to be changed in Puppy?
If he reinstalls Puppy, this time allowing GRUB to overwrite LILO in the MBR, will GRUB automatically recognize all the bootable partitions it can find in the computer and incorporate them into its (reconfigurable) boot menu? Is there a GUI in Puppy for configuring GRUB?
Last edited by Flash on Fri 29 Jul 2005, 01:17; edited 1 time in total
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Thu 28 Jul 2005, 13:07 Post subject:
Example LILO configuration |
|
This is what i have listed:
boot=/dev/hda
map=/boot/map
default="puppy"
keytable=/boot/livecd.ktl
prompt
nowarn
timeout=60
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/wmlinuz-2.6.11-oci12.mdk-i586-up-1gb
label="pclinuxos"
root=/dev/had4
initrd=/boot/initrd-2.6.11-oci12.mdk-i586-up-1gb.img
append=devfs=mount acpi=ht nomce splash=silentpsmouse.proto=imps"
vga-788
rad-only
image=/puppy/wmlinux
label="puppy"
root=/dev/hda2
read-only
other=/dev/hda1
label="win-xp"
I also have put a new directory called puppy and i put image vmlinuz in the new folder called puppy,you might have to change what dev/hda number is in your partition.thanks duke
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4839 Location: Manila
|
Posted: Thu 28 Jul 2005, 21:11 Post subject:
Lilo or Grub? |
|
Thanks, duke. I guess that's quite an advanced version of lilo. Anyway, gabbman, using your Linux in partition 1, find and open lilo.conf and you will have an idea what's in there. Then browse over to the Puppy partition and locate the vmlinuz and image.gz files - you will need these locations for lilo. [Note that duke uses a wmlinuz/wmlinux names for the boot file, while Puppy uses vmlinuz.]
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
Back to top
|
|
 |
Guest
Guest
|
Posted: Fri 29 Jul 2005, 11:33 Post subject:
|
|
Sorry about the typos, I'am just learning how to copy and paste. Below is the correct way with out typos,this is from PCLINUX 9.1 on a computer that is working fine. You don't need the image.gz works fine with out it.When you change your lilo config you will have to go to a terminal it will ask you for root password and then you type lilo then you exit. good luck
boot=/dev/hda
map=/boot/map
default="puppy"
keytable=/boot/livecd.klt
prompt
nowarn
timeout=60
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz-2.6.11-oci12.mdk-i586-up-1GB
label="pclinuxos"
root=/dev/hda4
initrd=/boot/initrd-2.6.11-oci12.mdk-i586-up-1GB.img
append="devfs=nomount acpi=ht nomce splash=silent psmouse.proto=imps"
vga=788
read-only
image=/puppy/vmlinuz
label="puppy"
root=/dev/hda2
read-only
other=/dev/hda1
label="win_xp"
|
Back to top
|
|
 |
duke93535

Joined: 05 May 2005 Posts: 194 Location: California , High Desert
|
Posted: Fri 29 Jul 2005, 11:37 Post subject:
|
|
Above guest is duke93535
|
Back to top
|
|
 |
|