Step by Step: Installing Puppy Linux to Your Hard Drive

How to do things, solutions, recipes, tutorials
Message
Author
tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#46 Post by tempestuous »

Change the Boot Sequence in your bios.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

hd boot

#47 Post by smog »

tempestuous, you must be sick of me!!

I should have been more detailed in my description.

I have got hd boot first in my bios. What happens is, if I boot the machine with no dvd in I get the grub menu list, select puppy and it boots off the hard drive and uses the .3fs file on the hd, BUT;

if the dvd is in the drive, I boot the machine, it loads grub off the hard drive, I select the same puppy option from grub and it seems to start booting off the hard drive initially but when it starts looking for the setup files and the .3fs file it ignores what's on the hard drive and finds the files on the dvd and switches over to the dvd version!

Any ideas? Cheers

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#48 Post by tempestuous »

OK, so the compressed image and/or pupfile are being loaded from the DVD.
First, let's make sure we're all on the same page:
Do you have Puppy1x or Puppy2 installed to hda5?
"image.gz" is the Puppy1x initial ramdisk, and "PFILE" and "PHOME" are Puppy1x boot parameters.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

hd install

#49 Post by smog »

OK I might be in for another round of embarrassment!!!

I had 1.9 installed but now have 2.01 on hda5.

I just tweaked the grub conf to:
title Puppy2
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram0 acpi=off PFILE=/dev/hda5/pup_201.sfs-none-524288 PHOME=hda5
initrd /initrd.gz

and this boots from the hd when the dvd is not in the drive, but not with the dvd in.

I get from your question that I have probably goofed with this....?

Thanks for your help yet again.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#50 Post by Sit Heel Speak »

Pardon me for kibbitzing here, but, try this:

timeout 5
default 0

title Puppy2 when DVD is not in drive
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram0 acpi=off PFILE=/dev/hda5/pup_201.sfs-none-524288 PHOME=hda5
initrd /initrd.gz

title Puppy2 when DVD is in drive - first guess
rootnoverify (hd0,5)
kernel /vmlinuz root=/dev/ram0 acpi=off PFILE=/dev/hda6/pup_201.sfs-none-524288 PHOME=hda6
initrd /initrd.gz

title Puppy2 when DVD is in drive - second guess
rootnoverify (hd0,3)
kernel /vmlinuz root=/dev/ram0 acpi=off PFILE=/dev/hda4/pup_201.sfs-none-524288 PHOME=hda4
initrd /initrd.gz

title Puppy2 when DVD is in drive - third guess
rootnoverify (hd1,4)
kernel /vmlinuz root=/dev/ram0 acpi=off PFILE=/dev/hdb5/pup_201.sfs-none-524288 PHOME=hdb5
initrd /initrd.gz

We know the first one works. The question in my mind is, if one of the next three works, then why is your DVD being seen as a hard drive?

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#51 Post by tempestuous »

You have an unhappy mix of Puppy1 & 2 settings ... and possibly files.
Forget about "PFILE" and "PHOME". These are only recognised in Puppy1x. In Puppy2 you need "PMEDIA"
Based on your existing grub.conf, it should be -

title Puppy2
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /initrd.gz

But this is only correct if the Puppy2 installer put vmlinuz and initrd.gz at the top directory of hda5.
I would have guessed that these 2 files would have been put in /boot
If so (?) grub.conf would be -

title Puppy2
rootnoverify (hd0,4)
kernel /boot/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /boot/initrd.gz

pup_201.sfs (the compressed filesystem) MUST be at the top directory.

And be careful about what version of "vmlinuz" (the kernel) you have. The name is identical with both Puppy1 and 2, but Puppy1's will be 1.023MB and Puppy2's will be 1.59MB.

Only disable acpi if you have a pre-2000 computer, or it's causing some form of hardware/irq problem.

User avatar
Sit Heel Speak
Posts: 2595
Joined: Fri 31 Mar 2006, 03:22
Location: downwind

#52 Post by Sit Heel Speak »

Ah--of course. It is me who was in for the round of embarrassment. PMEDIA=idehd and put a dummy marker file PUPXIDE in the top directory. :oops: :roll:

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

grub

#53 Post by smog »

Yes that's done the trick, thanks again for the help, what would I do without you?!?!

Thanks to all those who have made suggestions.

I had a problem with Windows XP (at work!) last week so I e-mailed Bill Gates to ask for help, oddly enough, I am still waiting for a reply. During that time I have benefitted from instant responses and successful outcomes with Puppy, why do people insist on using Microsoft products???

As an aside, if I remove the PMEDIA=idehd, it still boots from grub using the setup files from the dvd. I do need to use acpi=off to prevent a lockup during boot so booting the dvd from grub with the acpi=off command is actually quite useful, is it safe to do that or should I really be booting straight from the dvd using the bios boot options?

Cheers

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#54 Post by tempestuous »

OK, you need "acpi=off" ... although I would check that your bios has "PnP OS = NO" - this is important for all Linux installations.

Generally if your computer supports ACPI, the operating system should have its ACPI features enabled, otherwise you can get hardware problems like sound not working, USB not working etc. But it's quite safe to disable it.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

hd install

#55 Post by smog »

my laptop bios has no reference to PnP OS, might it be called something else or should I just put up with no acpi?

Thanks

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#56 Post by tempestuous »

The equivalent bios setting for IBM laptops was called "Quickboot". Or perhaps Samsung assumes you will only ever use Windows, so this bios setting has been removed.

There is a boot option you could try which achieves a similar thing - "pci=biosirq". This may work for you instead of "acpi=off" and it won't disable your entire ACPI subsystem.

smog
Posts: 134
Joined: Tue 13 Jun 2006, 12:52

hd install

#57 Post by smog »

Thanks yet again....!!

The pci=biosirq boot option does work and does give more functionality than acpi=off. You have now resolved a problem that I didn't even ask about.

All that's left now is for you to solve a problem I don't yet know I've got !!!!! There's a challenge........

Cheers

bandoba
Posts: 8
Joined: Thu 12 Oct 2006, 21:21

#58 Post by bandoba »

tempestuous wrote:You have an unhappy mix of Puppy1 & 2 settings ... and possibly files.
Forget about "PFILE" and "PHOME". These are only recognised in Puppy1x. In Puppy2 you need "PMEDIA"
Based on your existing grub.conf, it should be -

title Puppy2
rootnoverify (hd0,4)
kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd /initrd.gz
I have one question on this same topic. I am using Toshiba TECRA 8100 which already has 3 partitions.
hda1 - 1GB - partition which has GRUB and puppy system files
hda2 - 6 GB - empty for now
hda3 - 3 GB - ext3 data partition that I want to use as home

my grub.conf has these lines

title Puppy2
rootnoverify (hd0,0)
kernel /vmlinuz root=/dev/ram0 PMEDIA=idehd PHOME=hda3
initrd /initrd.gz

With this Puppy2 boots and works fine. But it doesn't use hda3 as my home. Here are my questions...

1. Does Puppy2 understand and use PHOME variable? On their wiki, it says this is Puppy 1.x specific setting. If not, how do I make it use hda3?
2. What does PMEDIA=idehd tell puppy to do?

More info - Eventually, I am planning to use hda2 for Ubuntu or some other OS and would like to share hda3 among all these different OSes. Can I do this?

TIA.

kalleanka
Posts: 31
Joined: Sun 21 May 2006, 15:51

#59 Post by kalleanka »

"And be careful about what version of "vmlinuz" (the kernel) you have. The name is identical with both Puppy1 and 2, but Puppy1's will be 1.023MB and Puppy2's will be 1.59MB. "

I always rename wmlinuz to wmlinuzpup in grub and ofcourse the file itself. So now I will use wmlinuzpup2. It works.

budden
Posts: 26
Joined: Thu 25 Aug 2005, 04:46

Install 2.12 to hd w/o working CD

#60 Post by budden »

I'd like to upgrade a Sony Vaio Picturebook (PCG-C1X) from Puppy 1.07 to 2.12. I'm stuck.

- This box has a CDROM with a PCMCI interface. 1.07 will boot from that, but later 1. won't without hiccups and none of the v2 versions do.

- box has a USB port, but won't boot from it.

I have three partitions now:
- /hda2 has 1.07 (its actually SimplePup with XFCE but that's not relevant here).
- /hda3 which is where I want to put 2.12
- /hda4 is a swap cylinder


I've tried these:
- booting 2.12 from CD.
- using 1.07 to install 2.12
- copying /usr/sbin/puppyinstaller into the 1.07 partition and using it to install 2.12

If any of these worked, I'd not be making this post....;-)

Any ideas?
Rex Buddenberg

bmerkin
Posts: 6
Joined: Mon 14 Jul 2008, 14:49

TEENpup 2008 install to HDD

#61 Post by bmerkin »

Hi Barry,

Would this installation work exactly the same for TEENpup 2008 too?

What about associating the partitions with / /usr and/home?

User avatar
Blesphemy206
Posts: 5
Joined: Fri 18 Feb 2011, 15:01

#62 Post by Blesphemy206 »

doubt you still care, but it did work with TEENpup 08. I still run the older version on a few of my systems so I encountered this a couple months back. If you still exist and still wonder, there is your answer :)
[url=http://puppylinux.org/wikka/PuppySites]http://puppylinux.org/wikka/[/url][url=http://www.iaqsource.com/aprilaire.php]aprilaire[/url][url=http://puppylinux.org/wikka/PuppySites]/puppysites[/url]

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#63 Post by rjbrewer »

Blesphemy206 wrote:doubt you still care, but it did work with TEENpup 08. I still run the older version on a few of my systems so I encountered this a couple months back. If you still exist and still wonder, there is your answer :)
Whoa!!

That's so ancient it doesn't even differentiate between "frugal"
and "full" installs.

More up to date full:

http://www.murga-linux.com/puppy/viewto ... 782#201565

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

Post Reply