Hard Disk Install - Success and Failures

Booting, installing, newbie
Post Reply
Message
Author
linbie
Posts: 64
Joined: Sat 09 Jan 2010, 05:03

Hard Disk Install - Success and Failures

#1 Post by linbie »

Long post but hopefully helpful.

This is a step by step run down of my attempts to install puppy on my hard disk. It takes in instructions from many sources (mostly these
forums) and describes my failures with various methods and some reasons for those failures. In addition it may answer some questions
being posed on various threads.

Yes there is a happy ending (sort of).

THE STORY BEGINS


Complete Linux newbie - never tried Linux before apart from using an eeePC once.

Task at hand - try Linux on an old tired laptop.

System:

Dell Inspiron 2500
CPU: Intel Celeron 900Mhz
Ram: 128 MB
HDD: 20Gb (12Gb free)
Operating System: Windows XP (Home) - No updates or patches
CD/DVD: Internal (player only - no recording)
Modem: Internal dial up
Wireless: None
USB: 2 ports (USB 1, not USB 2)

No previous tinkering with laptop etc - essentially as it came from Dell (1999) with some basic applications loaded.

Trials:

Found old Ubantu 9.0 live disc on an old computer magazine

Set laptop to boot from CD

Screen says loading Ubantu - system freezes (forgot to read the minimum system requirements before trying!)

Google for answers - find Puppy Linux

Download and burn Pupply Linux Live CD

Try again - Success!!

Main applications work and load quickly, interface nice and clean.

Insert old USB wireless adapter and run connect wizard. After some fiddling and a couple of reboots I did connect to the wireless LAN
although the collention was unstable.

At this point I should have noticed something on the desktop but was not looking and did not pay attention. Thinking about it I would not have understood it even if I did notice - see below.

Switch off - did not create personal save file.


Time to load Linux to hard drive! (keeping Win XP)


Read lots of information on these forums and decide to use single application detailed here.

Download application and run in Windows XP - loads smoothly.

Reboot - Two choices appear. Select puppy linux

ERROR 15 - No file found

Read some more and rename all files in puppy431 folder (created by the installer) to non capital letters and change PUPPY_431.SFS to puppy-431.sfs

Try Again!

ERROR 15 - No file found.

Uninstall and reinstall using download from mirror site (assuming the primary download was somehow corrupted). Followed the two steps
above i.e booting before and after file name changes still error 15 - no file found.

Uninstall.

Try manual frugal install using the files on liveCD and instructions from lin'N'win.

Carefully followed all instructions (step by step). (I changed puppy421 to puppy431 as this was a new version and I stored the files in the folder named puppy431)

I changed the file names to non capital and PUPPY_431.SFS to puppy-431.sfs as there appear to be concensus on these forums that this was the right thing to do.

Downloaded "grldr" and "menu.lst"

Added the following to the menu.lst using notepad

title puppy Linux 4.3.1
kernel (hd0,0)/puppy431/vmlinuz PMEDIA=idehd PDEV=sdal psubdir=puppy431 psubOK=TRUE
initrd (hd0,0)/puppy431/initrd.gz
boot

Accessed boot.ini and added c:\grldr="Puppy Linux" to the last line (This was actually already there I assume from my initial attempts using the one click application)



Reboot

Two choices - select puppy linux

Screen reads:


kernel (hd0,0)/puppy431/vmlinuz PMEDIA=idehd PDEV=sdal psubdir=puppy431 psubOK=TRUE

ERROR 21 - no file found

Review (and re-review) entire process - no mistakes. Even tried without changing file names to lower case.

Continued ERROR 21.

Than noticed the following:

lil'N'win gives an example of what the boot.ini file should look like (reporoduced below)

[bootloader]
timeout=30
default=multi(0) disk(0) rdisk(0) partition(1)\WINDOWS
[operating systems]
default=multi(0) disk(0) rdisk(0) partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
c:\grldr="Puppy Linux"

This is what my boot.ini file looked like

[bootloader]
timeout=30
default=multi(0) disk(0) rdisk(0) partition(2)\WINDOWS
[operating systems]
default=multi(0) disk(0) rdisk(0) partition(2)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect
c:\grldr="Puppy Linux"

Notice the partition(2).

As stated before the laptop had not been tinkered with in any way. At the time I had no idea about partitions or how to work with them.

I changed my boot.ini to partition(1) as stated in the lin'N'win instructions.

As you can guess - NOTHING LOADED

Boot using liveCD and change boot.ini back to partition(2) - Windows XP back and loads

At this point I figured out that for what ever reason I have two partitions on my disk and that windows and puppy are loaded partition 2 and the instructions for booting are pointing to partition 1 and hence it can't find the files.

After some more googling and reading I changed my menu.lst to read as follows - (as a rush of blood I did try (hd0,2) before fully reading about partitions and correct syntax.)

title puppy Linux 4.3.1
kernel (hd0,1)/puppy431/vmlinuz PMEDIA=idehd PDEV=sdal psubdir=puppy431 psubOK=TRUE
initrd (hd0,1)/puppy431/initrd.gz
boot

Reboot:

Gets a little a further but now shows:

puppy-431.sfs - file not found (along with a few more bits and pieces). This aspect is discussed here (existing forum thread). The concencus on the forums appear to be a problem with the kernel and that an older kernel maybe the answer.

I was a little disappointed especially given the fact that the liveCD appear to load and function.

Frustrated I uninstalled the lot and decided to give the universal installer on the liveCD (along with lil'N'win instructions) to try a semi-automated install.

Process went smoothly enough and I changed my menu.lst file as follows- as per the instructions on the hard puppy site


title Puppy Linux 4.3.1
rootnoverify (hd0,1)
kernel /puppy431/vmlinuz pmedia=idehd psubdir=puppy431
initrd /puppy431/initrd.gz

Reboot:

Starts to load than

ERROR 24 - Unknown command

Cheaked my menu.lst file

Near the bottom there were three other lines

rootnoverify (hd0,5)
c****** + 1 (***** = can't recall what this was)
boot

Seem to have been added by the universal installer


Following on from lil'N'win I changed menu.lst to:

rootnoverify (hd0,1) (I kept this from the instructions on hard puppy page)
title puppy Linux 4.3.1
kernel (hd0,1)/puppy431/vmlinuz PMEDIA=idehd PDEV=sdal psubdir=puppy431 psubOK=TRUE
initrd (hd0,1)/puppy431/initrd.gz
boot


Reboot:

Two options:

Windows XP
Puppy Linux

Select Puppy

SUCCESS - Puppy boots from the hard drive.

Play around a little bit to personalise and make a personal save file during shut down. The system hangs and does not shutdown fully.

Reboot

Major meltdown - lots of red and orange writing. Last line reads paused for 60 seconds

After 60 seconds - more red and orange writing and the system halts!

Try booting from LiveCD - Same meltdown

Boot into Windows and remove the personal save file using windows explorer

Reboot:

Puppy boots from hard drive but all personal settings lost.



Questions/Lessons learned

Have a look at how the vendor has set up the system! Dell had made two partitions on the hard disk one 30MB and the remainder 19GB. The 30MB partition contains some security message as a text file.

The one touch application will not work unless windows/puppy are in partition 1

The application may not work at all as manual installation of files did not work (? copying files using windows alters some attributes so that it cannot be read/found during the boot process)

Avoid copying files from live CD to hard disk using Windows - instead boot into puppy with liveCD and use puppy to copy files onto the hard drive. Not sure if this is essential as some people have not had a problem according to the forum posts but maybe this is related to wether Windows XP has been updated (mine was not).

Why am I having problems with a personal save file?

User avatar
8-bit
Posts: 3406
Joined: Wed 04 Apr 2007, 03:37
Location: Oregon

#2 Post by 8-bit »

It sounds like the pupsave file was corrupted on making it on shutdown or reboot. You might try adding "acpi=force" to the end of the kernel line in your menu.lst file. That might help in getting Puppy to poweroff.
Try different options.
You can find them by booting the CD and pressing F1 or F2 to see the boot options available to you.

linbie
Posts: 64
Joined: Sat 09 Jan 2010, 05:03

Personal Save File

#3 Post by linbie »

During shutdown saved the personal file onto a USB drive and then used windows to copy it onto the puppy431 folde. Works well now - much faster boot up

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#4 Post by ICPUG »

Hi limbie,

I wrote the Ln'N'Win instructions but I don't frequent here at the weekend so I was not here to help you!

Full marks for getting a working Puppy dual boot. However, there are a couple of points remaining with your menu.lst.

PDEV should be PDEV1

BUT it is a good job you did not get this right as ...

sda1 should be sda2

because PDEV was wrong it was ignored so the other error was not found. In this case two wrongs maker a right!

Finally, I don't think psubOK=TRUE has any effect with Puppy 4.3.1 so it is not really necessary. Doesn't cause a problem if it is there though.

Good luck with using Puppy!

Bruce B

Re: Hard Disk Install - Success and Failures

#5 Post by Bruce B »

linbie wrote: Why am I having problems with a personal save file?
Excellent post!

I do it different than the orthodox way and maybe this will help. I build the
pup_save.2fs file FIRST, not on shutdown. Why? The reason is because I convert
Puppy to use an ext3 format. For this reason it's much easier to make my own
pup_save files. The problem being is Puppy, if it makes the file on shutdown will
make an ext2 format.

Here is how to make pup_save first:

1) delete the existing puppy431/pup_save.2fs file

2) when running Linux do this for a 512 mb file

cd to the puppy431 directory
dd if=/dev/zero of=pup_save.2fs bs=1M count=512
mkfs.ext2 pup_save.2fs
(answer yes to the warning)

-----

When Puppy boots it would (should) locate the file you made and use it. I will
(should) populate the empty file.

Good luck

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#6 Post by trapster »

@ Bruce B

Bruce,

Interesting!
Where in here are you telling it to use .ext3?
cd to the puppy431 directory
dd if=/dev/zero of=pup_save.2fs bs=1M count=512
mkfs.ext2 pup_save.2fs (answer yes to the warning)
I do like the idea of creating the save file before shutdown.

Is there a way to convert existing .ext2 save files to .ext3?
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

Post Reply