Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 23 Nov 2014, 22:59
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Cannot install Puppy to shared hard disk
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Getnikar


Joined: 16 Jun 2006
Posts: 143
Location: Gold Coast, Australia

PostPosted: Fri 18 May 2007, 04:16    Post subject:  Cannot install Puppy to shared hard disk  

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:
/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:
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:
/pup_216.sfs 
/zdrv_216.sfs
/boot/puppy/initrd.gz
/boot/puppy/vmlinuz

and
Code:
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:
Quote:
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
Quote:
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?
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 18 May 2007, 04:35    Post subject:  

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:
psubdir=/boot/puppy

http://murga-linux.com/puppy/viewtopic.php?p=115560#115560
This doesn't explain the problem in 2.14 though.

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
Getnikar


Joined: 16 Jun 2006
Posts: 143
Location: Gold Coast, Australia

PostPosted: Fri 18 May 2007, 06:34    Post subject:  

Thanks Will. Your suggestion did the trick. Puppy is booting again.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0649s ][ Queries: 12 (0.0139s) ][ GZIP on ]