Cannot install Puppy to shared hard disk

Booting, installing, newbie
Post Reply
Message
Author
User avatar
Getnikar
Posts: 143
Joined: Sat 17 Jun 2006, 02:34
Location: Gold Coast, Australia

Cannot install Puppy to shared hard disk

#1 Post by Getnikar »

The following setup used to work up to 2.12. It failed with 2.14, and I see that it is still broken with 2.16.

The setup: Ubuntu linux installed on the disk with grub installed as part of the ubuntu install to handle booting. (Optionally, ie on another machine, I had Windoze XP installed first, then Ubuntu and grub to dual boot into either. This all worked fine)

I then added in a Puppy installation, simply by copying from the puppy .iso:

Code: Select all

/pup_212.sfs
/boot/puppy/initrd.gz
/boot/puppy/vmlinuz
and boot sucessfully via grub by adding the following to /boot/grub/menu.lst

Code: Select all

title Puppy Linux - Boot into a New Setup
rootnoverify (hd0,0)
kernel /boot/puppy/vmlinuz root=/dev/ram init=/initrd/boot/puppy/initrd.gz ro pfix=ram xres=1024x768 xdrvr=xorg
initrd /boot/puppy/initrd.gz
Note that I use /boot/puppy not / for initrd.gz and vmlinuz, because Ubuntu puts a link to its initrd.img and vmlinuz into /.

Under 2.14and 2.16 I thought the setup should be essentially the same, ie for 2.16 I have:

Code: Select all

/pup_216.sfs  
/zdrv_216.sfs
/boot/puppy/initrd.gz
/boot/puppy/vmlinuz
and

Code: Select all

title Puppy 2.16 Linux - Test Boot into a New Setup
rootnoverify (hd0,0)
kernel /boot/puppy/vmlinuz ro root=/dev/ram0 ramdisk_size=93952 initrd=/initrd/boot/puppy/initrd.gz PDEV1=hda1 pfix=ram xres=1024x768 xdrvr=xorg
initrd /boot/puppy/initrd.gz
The bootup is not finding Puppy. The kernel boot error I get is:
Now executing 'init' script in initial-ramdisk
[snip a couple of lines]
Looking for Puppy in hda1...hda3...hda5...hda6...hda7...hda8
Loading swap partition in /dev/hda2
ERROR, cannot find Puppy on 'idehd' boot media.
PUPMODE=1 PDEV1=
In case it is any help, some contents of /tmp/bootinit.log, apart from lines regarding usb, is
PDEV1=
FSTYPE=
PUPSFS=
DEV1PUP=
PUPSAVE=
ZDRV=
Note that I tried adding PDEV1=hda1, but this seems to be ignored. Puppy boot still looks through all of hda as shown above.
Any ideas? Are my grub menu.lst lines coded wrong?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#2 Post by HairyWill »

2.16 only looks for the kernel in / or /boot, if you have it anywhere else then you have to include the kernel parameter psubdir=xxxxxxxx, in your case

Code: Select all

psubdir=/boot/puppy
http://murga-linux.com/puppy/viewtopic. ... 560#115560
This doesn't explain the problem in 2.14 though.
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Getnikar
Posts: 143
Joined: Sat 17 Jun 2006, 02:34
Location: Gold Coast, Australia

#3 Post by Getnikar »

Thanks Will. Your suggestion did the trick. Puppy is booting again.

Post Reply