LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Puppy (https://www.linuxquestions.org/questions/puppy-71/)
-   -   The Puppy ate my Fedora! (https://www.linuxquestions.org/questions/puppy-71/the-puppy-ate-my-fedora-793643/)

DavidMcCann 03-06-2010 12:01 PM

The Puppy ate my Fedora!
 
I'm planning to get a cheap laptop to supplement my desktop, and I've been looking at suitable distros. Puppy (4.3) was the best of those I tried, so to familiarise myself with it I decided to create a new partition and install it. The installation seemed to go well, so I went back to Fedora and altered grub.conf.

When I re-booted and selected Puppy from the grub menu, I was given a screen (why?) which offered
Linux on sda1
Linux on sda4
Install grub
The second should have been Puppy, but it didn't work. When I examined /boot on the Puppy partition, I found there was no initrd or config, and /boot/grub had no grub.conf.

I went back to the live cd and re-installed. This time, instead of the option of installing grub on sda4, I chose MBR. I don't know what I was thinking about, because that trashed the Fedora grub! And I still couldn't boot Puppy — or Fedora either, now. Luckily I had my Fedora disk and was able to re-install grub from there.

So what did I do wrong? How do I install Puppy alongside Fedora?

mdlinuxwolf 03-06-2010 12:28 PM

GRUB
 
That's a tough one. There is a file called menu.lst (or something similar) in the /boot directory which has all the information needed to boot a kernel of linux. If you are using GRUB for more then one Linux, you need both menu.lst files and you need to do some cutting and pasting so that all the information is there. The location is /boot/grub/menu.lst A text editor should open it. Be sure to edit the text file, not the binary just like it.

That stands a 50/50 chance of working.

DavidMcCann 03-06-2010 02:34 PM

This reply tells me nothing; my post indicated that I know what ought to be in /boot (grub.conf is just Fedora-speak for menu.lst), and that Puppy was not producing a viable /boot. I would be surprised if it could start without an initrd file.

colorpurple21859 03-06-2010 02:57 PM

Did you do a frugal or full install of puppy, and if a frugal install where are the puppy files located.

8-bit 03-06-2010 09:08 PM

Make a directory on the partition you want to install Puppy to.
I called mine pup431.
copy vmlinuz, pup-431.sfs, and initrd.gz to it.
Then add this to your version of menu.lst.

# Linux bootable partition config begins
title Puppy Linux 431 frugal
root (hd1,2)
kernel /pup431/vmlinuz pmedia=atahd psubdir=pup431 nosmp
initrd /pup431/initrd.gz
# Linux bootable partition config ends

My installation was on the second hard drive on the third partition.
So adjust according to the drive and partition you put it on.
For example, if it is installed to the first partition of the first hard drive the root line would be root (hd0,0).

Wu2wei 03-07-2010 05:06 AM

grub ate fedora
 
David,
it is quite possible that you have two versions of Grub involved here.
Since you are talking of a file grub.conf and others of menu.lst.

It seems to me that Fedora installs Grub2 and Puppy Grub 1. Booting both Systems would work with either version of Grub, but you must make the proper adjustments in grub.conf or in menu.lst.

Here are some links that might help you further
http://dailypackage.fedorabook.com/i...ling-Grub.html
http://grub.enbug.org/grub.cfg
http://www.fedoraforum.org/forum/sho...=&threadid=996

DavidMcCann 03-07-2010 10:55 AM

Dual booting Fedora and Puppy
 
I finally sorted this out, with some help from the Puppy forum.

Puppy apparently does not need initrd, but it must have puppy-431.sfs, which the installer had failed to copy to /boot.

I'm using the Fedora grub, with the addition

title Puppy (4.3.1)
root (hd0,3)
kernel /boot/vmlinuz ro root=/dev/sda4

and that works fine.


All times are GMT -5. The time now is 09:52 AM.