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 Thu 23 Oct 2014, 14:05
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Step by Step: Installing Puppy Linux to Your Hard Drive
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 5 [63 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Author Message
Mechsus
Guest


PostPosted: Fri 05 Aug 2005, 10:38    Post subject:  Step by Step: Installing Puppy Linux to Your Hard Drive  

Step by Step: Installing Puppy Linux to Your Hard Drive
A Linux Newbie Guide
©hRH/Mechsus 2005

This tutorial shows you how to install Puppy Linux to a DOS formatted HD. To install Puppy
onto a HD with a pre-existing OS present (i.e. Windows) to achieve a dual boot setup, is
not covered in this how-to. If you follow this sequence, you'll end up with a HD with only
Puppy Linux and MS-DOS installed.

Software You Need:
1. A bootable copy of Puppy Linux 1.0.4 on a CD.
2. Darik's Boot and Nuke(DBN) on a Floppy.
3. MS-DOS 6.22 - usually on 3 floppy discs.

To format your Hard Drive, you could install MS-DOS onto your HD, then run 'format c:'
I prefer totally wiping out the HD using DBN, then installing MS-DOS.

Let's begin.


1. DBN How:
1. Put the DBN floppy in the drive and restart the computer (the BIOS might have to be
adjusted to boot from floppy).

2. DBN will load. At the first prompt ("boot:") type quick then press Enter. DBN will now
start to erase the HD. This will take between 15 and 60 minutes - or longer - depending
on the capacity of your HD. Remove the DBN floppy as soon as the wipe sequence starts.

DBN will go through 100 wipe cycles. You can see the numbers in the far left cell. If you
get bored, you can abort the wipe at any stage and still have a wiped HD - although not
fully wiped. When finished, partition HD & install MS DOS.


2. Partition HD using fdisk, then install MS-DOS:
Boot with MS-DOS Start Up disk. At A:\> prompt, type fdisk. you will now create
a Primary Dos Partition of at least 256 Mb (to install pup001 at Puppy boot).

1. Enter choice 1 > 1 > N ("Do you wish to use maximum...") > type 256 (partition size)
> 2 (set active partition) > 1 (number of partition).

2. Restart, and at A:\> insert MS-DOS Disk 1 > setup > choose Format this drive.
This will format the 256 Mb partition you've just created - not the entire HD.
3. Follow standard, 3 disk, Dos install.


3. Puppy Linux Install:
1. Boot from Puppy CD. At Doggie prompt "boot:" press 3.
2. At Red Text, type hda1 then Enter (for pup001 default).
3. Choose br-latin1-us keyboard, select mouse, etc.
In Puppy desktop, choose a resolution (800 X 600 is good).
4. In Puppy desktop, rvxt > type cfdisk.
5. In cfdisk > Pri/Log > New > Primary > Size = at least 500 Mb >
Beginning > Write > Yes > Quit.

Now in cfdisk, you should see something like this:

hda1----Boot----Primary-----FAT16-----[MS-DOS 6]-----271.44
hda2-------------Primary-----Linux-------------------------501.75
-------------------Pri/Log------Free Space------------------3536.88

6. Now, quit rxvt, and -- REBOOT (with Puppy CD still inside).

7. At Doggie prompt boot: press 3 > press Enter (for pup001).
You should now go directly to Puppy desktop.
8. Start > Setup > Install Puppy hard drive.
9. "Make your choice": type 2.
10. STEP 1: press Enter.
11. STEP 2: type /dev/hda2 then press y.
12. STEP 3: press Enter (to get "vmlinuz" off live-CD). CD will then eject.
13. Remove CD-ROM.
14. STEP 4: press m (or any key) then Enter (for no boot floppy).
15. STEP 5: Computer will now write tables (inode etc.) and copy files and directories.
16. STEP 7: GRUB install; press m then Enter (to install GRUB).

GRUBCONFIG V 1.24
Choose the following:
1. simple - (Try to install GRUB automatically) = OK.
2. standard - (Use the standard Linux console - the safe choice) = OK.
3. SELECT GRUB PARTITION - /dev/hda2 = OK.
4. SELECT GRUB DESTINATION - select MBR = OK.
5. Continue clicking on OK boxes until - GRUB INSTALL SUCCESS.

Final Steps:
1. Now, Reboot, and at GNU GRUB 0.96, choose INSTALL GRUB TO LINUX PARTITION.

2. Post Installation Tweak to Grub Boot File:
When you reboot your computer, you'll be presented with a GRUB boot option
of either booting into MS DOS or Linux. If you want to configure the start
sequence to automatically boot into Linux, you must edit the menu.1st file:

3. How to edit the menu.1st file:

A. In Puppy Desktop > rox > parent directory > boot > grub > menu.1st.
B. Open the menu.1st file.
C. Cut these 3 lines...

title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal


and paste them below this line...

# Other bootable partition config begins


D. Now, you can set the timeout value:

In the line

#timeout 30

CHANGE the 30 into 10, and REMOVE the # at the beginning
of the line. Save & exit.

Now, when you start computer, it will auto-boot into
Puppy in 10 seconds.

Ends.

(Linux/Puppy experts: Improvements and suggestions welcome).

As for the Road Warrior - that was the last we ever saw of him. He lives now, only in our memories...








Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Fri 05 Aug 2005, 21:15    Post subject:  

Mechsus,
I read through your howto, very clear, can't see anything that needs changing in it, concise. Summary: great!

Though, I suppose if someone doesn't want a msdos partition, they don't have to do that, maybe if the hd is on the small size.
Because, booting from a live-CD, puppy will create the pup001 file in whatever is there, ext2, ext3, reiserfs, or vfat. A pup001 file in an installed puppy partition is no problem.

I know, installation to hd is a problem if the partition is "in use" with a pup001 in it, but you could boot the live-cd without a pupxxx, just running in ramdisk.
But, yeah, simpler to have the msdos/vfat partition -- and more flexible, to keep the pup001 file out of the way when you want to mess around with the hd installation, like wipe and reinstall.
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: Sat 06 Aug 2005, 00:41    Post subject: Now I'm curious - a question for Barry  

Thanks!

My first experience with Puppy drove me nuts, until I figured out Puppy's personality.

All I wanted was for it to install the pup001 file on C: and it would not do it.

It would however install on other DOS drives. Just not the C drive.

Eventually, I figured out that it didn't install on the C: because it was FAT16. I converted it to FAT32 and it installed on the C: drive.

The version was 0.9.x - after that, I got rid of my FAT16 partitions in place of FAT32 and I've been getting along fine with Puppy and the FAT32 DOS partitions, thinking Puppy won't use the FAT16 the same as it will the FAT32.

Now I'm wondering, so I'll come right out and ask.

Barry, will Puppy use FAT16 as it does FAT32. If the answer is no, would you mind briefly explaining the difference?
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4779
Location: Manila

PostPosted: Sat 06 Aug 2005, 01:03    Post subject: If there were 2 FAT32  

And if there were 2 FAT32 partitions, will Puppy behave such that the priority partition for pup001 will be the second partition?
_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: Sat 06 Aug 2005, 01:04    Post subject: using swap partitions  

Barry - as long as I've got your attention (hopefully). I'd appreciate knowing your opnion about recommending swap files for Puppy.

I make a swap partition for any Linux installation by policy. I have 384 MB RAM, and I still notice that free often reports swap usage after some hours uptime.

My conclusion is more or less: that Puppy uses the swap file even though I have 3x the min RAM requirements, and I'm not running heavy apps as a rule.

I'd be very interested in knowing your opinions on recommending making swap files or partitions for Puppy. I think many Puppy users don't have them.
Back to top
View user's profile Send private message 
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Sat 06 Aug 2005, 01:05    Post subject:  

This may not be c e r t a i n for sure, but in my experience it seems to want to install pup001 on the first available fat32 drive.

At least that's the way that it does it on my machine Very Happy
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 06 Aug 2005, 01:09    Post subject:  

Have placed the info here (but it needs cleaning up and formatting)
volunteers welcome

http://puppylinux.org/wikka/HardDiskInstall

also check
http://puppylinux.org/wikka/HardDriveInstallBruce

_________________
Puppy WIKI

Last edited by Lobster on Sat 18 Mar 2006, 10:52; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: Sat 06 Aug 2005, 01:40    Post subject:  

MS-DOS version 6.22 FDISK has a hard drive limit of approximately 8.2 GB.

Maybe back in 1994 they thought that's all they would need it to do. I've never tried using it on a larger drive, so I can't say by experience what results a person would have or how it would perform on big drives.

I like having a bootable MS-DOS partition and some DOS software. I use MS-DOS version 7.10 and the downloadable MS FDISK with extra capacity.

If I'm setting up a drive from scratch, usually I'll install DOS. I try to anticipate my partitioning scheme in advance, and often use MS FDISK for entire partitioning process. I use it to make the primary partition, the extended partition and logical drives, which are going to be used by Linux later.

Suppose I was going to set up a big Linux distro on a 20 GB drive and only intended to have one Linux distro, I might partition it with FDISK roughly as follows:

---------------

primary 1 gb
extended the balance of drive
logical drive 526 MB
logical drive the balance of free space

----------------

Linux will see the drive like this:

hda1 1 gb (which I probably formatted as FAT prior to installing Linux)
hda5 (extended partition)
hda6 526 mb unformatted partition
hda7 approximately 18 gb unformatted partition

Many Linux setup programs set the partition types and format them during the installation process. Typically, a distro setup (they vary so much) would want to default install on hda7 and make a swap file on hda6.

You just tell it OKAY or if it doesn't see it your way, define the / and swap partitions.

The point of this post is: to explain how one can use MS-DOS FDISK to successfully create the entire partitioning scheme for Linux if you want.
Back to top
View user's profile Send private message 
Walt H


Joined: 01 Jun 2005
Posts: 216
Location: citizen of the world

PostPosted: Sat 06 Aug 2005, 01:58    Post subject:  

In his message signature, Raffy has the following:
raffy wrote:
Puppy to Hard Disk = http://ph-islands.net/pupinstall/


In visiting that site, I was a bit confused by step 6, which reads as follows:



Edit how? Why? I don't think I've ever had to edit the first file, and I've only had to edit fstab to add a Zip drive. Would this be the same if Puppy was to be the only OS on the hard drive and was installed into hda1?

_________________
Walt

Now that you point it out to me, the answer seems painfully obvious.
Back to top
View user's profile Send private message 
ICQ Number 
Bruce B


Joined: 18 May 2005
Posts: 11130
Location: The Peoples Republic of California

PostPosted: Sat 06 Aug 2005, 02:58    Post subject:  

Bancobusto wrote:
This may not be c e r t a i n for sure, but in my experience it seems to want to install pup001 on the first available fat32 drive.

At least that's the way that it does it on my machine Very Happy


There are a whole set of calculations Puppy makes. I don't know what they all are, but one of the factors seems to be checking free space. For example, I think it works such that if there is not enough free space on the first partition Puppy would normally want to use, it would look for another partition.

I do all option 1 installations manually, so I'm not too up on the default behavior, but it would be interesting to learn.

One thing, I've noted is, I can tell it with grub to install for example, a 256 mb pupxxx file on a given partition, which has less than 256 mb free space, Puppy will make a smaller pupxxx file leaving a few mb extra on the partition.
Back to top
View user's profile Send private message 
Mechsus
Guest


PostPosted: Sat 06 Aug 2005, 07:56    Post subject:  

BarryK wrote:
Though, I suppose if someone doesn't want a msdos partition, they don't have to do that, maybe if the hd is on the small size.


I attempted to install Puppy with only an MS-DOS partition and without installing MS-DOS 6.22 - but couldn't crack it - although there must be a method (?).

Bruce B wrote:
My first experience with Puppy drove me nuts, until I figured out Puppy's personality.


Tell me about it... 2 weeks messing with Puppy, hours on end looking at white text flashing up the screen, multiple screwed up installs - - I don't know what it is, but once the bug bites... You've got to master it. Woof, woof. Down boy!
Back to top
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sat 06 Aug 2005, 20:24    Post subject:  

regarding a pup001 on fat16 partition, i don't see any reason why not.
it is a limitation of the rc.sysinit boot script.
i think the probepart program identifies a fat16 partition as "msdos" and a fat32 as "vfat" ...i think. and the script ignores any msdos partitions.
I can't recall any reason for that limitation, maybe i just assumed all hard drives not yet taken to the rubbish tip would be fat32.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Sat 06 Aug 2005, 20:57    Post subject:  

Based on the mature and stable freedos
http://www.freedos.org/

would it be possible to have a PuppyDOS boot disk for HD installation using this method?

Wink

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
danleff


Joined: 08 May 2005
Posts: 294
Location: Albany, NY

PostPosted: Mon 08 Aug 2005, 06:31    Post subject:  

Lobster wrote:
Have placed the info here (but it needs cleaning up and formatting)
volunteers welcome

http://www.goosee.com/puppy/wikka/HardDiskInstall


If not already done, I'll try to get to this in the next week. Let me know.

_________________
I love it when a plan comes together

--Hannibal Smith
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 08 Aug 2005, 07:36    Post subject:  

Not done yet Danleff

A lot of editing always available on the wiki - it is quite a relaxing and satisfying task - but we have quite a lot of pages now Smile

The two most useful buttons are the bold and indent and outdent

- it helps to be able to spot spelling mistakes Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 5 [63 Posts]   Goto page: 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.1109s ][ Queries: 12 (0.0089s) ][ GZIP on ]