How to do a FULL install of Puppy, to an empty HDD (2010)

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#121 Post by smokey01 »

I'm not quite sure what you really want.

If you want to be able to boot from a USB drive with various verison of , say, Puppy, then you can use GRUB to do this.

For example: I have GRUB installed on a 4G flash drive. This allows me to have a number of different versions of puppy on the same flash drive.

First you need to format the flash drive to the Linux format, I use ext3.
Now install GRUB to the flash drive. Use the universal installer in Puppy for ease. You could partition the flash drive with Gparted if you wish. I usually do frugal installs so I just place the different versions of Puppy in a different directory.

You need to edit the GRUB menu.lst file which should be in /boot/grub.

This is what my menu.lst file looks like:

# Start GRUB global section
timeout 10
default 0
color light-gray/blue black/light-gray
# End GRUB global section
title Puppy Linux 4.1.2 Retro
root (hd0,0)
kernel /puppy412/vmlinuz root=/dev/ram0 PMEDIA=usbflash
initrd /puppy412/initrd.gz
#
title Puppy Linux 4.1.2 Normal
root (hd0,0)
kernel /puppy412n/vmlinuz root=/dev/ram0 PMEDIA=usbflash
initrd /puppy412n/initrd.gz
#
title Puppy Linux 4.2 Alpha (Normal kernel)
root (hd0,0)
kernel /puppy420/vmlinuz root=/dev/ram0 PMEDIA=usbflash
initrd /puppy420/initrd.gz
#

Now if you have your boot sequence setup as stated in the previous email, it should boot up, give you the GRUB menu to select which version to run.

Regards

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

well done dude

#122 Post by bignono1 »

Thank you CatDude for the excellent topic.
I printed your first post and did the install accordingly,
it worked just fine with
some minor dif. but it payed alot and i said goodby for ever to window$.
Now i get this on the boot screen:
Linux (on /dev/sda1)
LInux (on /dev/sda2)
I missed with the partition part so i got to choose sda2 to boot and that is more than great for me.
No more windowz .
Thanks again mate u r great.
Last edited by bignono1 on Wed 20 May 2009, 10:22, edited 1 time in total.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

Re: well done dude

#123 Post by bignono1 »

sorry for the error and the bad English

Kenny-M

#124 Post by Kenny-M »

I am a bit confused. I am trying to load Puppy on a partition of an external USB hard drive. Not a USB stick.

I gparted partition 1 of the external USB hard drive as ext3 marked it as bootable then used the universal installer. During the universal installer I was never asked for frugal or Full?

Your steps confuse me. You reference "root (HD0,0)". Wouldn't that be my internal sata drive?

Would "root (HD1,0)" be my first external USB hard drive?

Then you go on to say in Grub "kernel /puppy412/......". I get no choice using universal installer to specify that level. Only hdb1?

When booting the USB drive lights for a rew seconds then flashes a few times then posts an error message F1 to retry or F2 for settings. Aparently there is something wrong booting from the USB drive.

Dosen't puppy create directories like /bin /usr /etc on the USB drive?

Please advise.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#125 Post by smokey01 »

From what you have told me your first physical drive holds your Windows operating system. I assume it is on the first partition of that drive if you have more than one partition.

For GRUB purposed this partition is known as (hd0,0). If you had a second partition on the same HDD it would be called (hd0,1). On your second physical HDD, the USB, the first partition is (hd1,0) and the second partition is (hd1,1).

Apparently GRUB can be installed on any drive or partition but I have only been successful in getting it to work from drive (hd0,0) and this is where your windows OS is I believe. To install GRUB in this location you will probably break windows.

I started with a clean HDD so did not have to deal with this problem.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#126 Post by bignono1 »

I edited the boot list timeout 30 to timeout 0 but still i have to hit enter for the machine to start, please help.

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

#127 Post by ICPUG »

bignono1

does your boot list contain a line like

default 0


to tell it what to boot when the timeout runs out?

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#128 Post by CatDude »

Hi

@ smokey01
Thanks for trying to help Kenny-M with his problem,
i could not offer any help myself, as i do not have any experience with USB installs.

@ bignono1
As ICPUG has already suggested, look in your menu.lst file
and look for a line like:

Code: Select all

default 0
If there isn't one, just add it below the timeout 0 line.

default 0 will boot the first entry that is in your menu.lst file
default 1 will boot the second entry that is in your menu.lst file
default 2 will boot the third entry that is in your menu.lst file
etc etc etc


CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#129 Post by bignono1 »

Thank you all.
Keep up the good spirit.

Kenny-M

#130 Post by Kenny-M »

CatDude, smokey01,

Thanks for trying to help me. I have tried everything I know and suggestions you have made to no avail.

I can see what appear to be the same files on the ISO image being put onto the USB drive. I would have expected to see a "tree" structure of some sort like /bin /use /etc or am I simply making the USB Drive a clone of the CD?

I have tried large partitions, small partitions, Grub pointing to /dev/hdb1 and MBR.

The one thing that appears to work is now when booting from the CD puppy is using the 'swap' partition I created on the USB drive. So Puppy can see the drive.

There is just something wrong with the startup process. Booting the P.C. and selecting a USB drive causes the USB drive to light for a few seconds then blink a few times finally returning an error that it couldn't find something or other.

I like Puppy and SeaMonkey and the desktop (Xorg & Vesa options).

Also, Puppy does not seem able to print to my HP PSC-1310 multifunction printer. It's connected via a USB cable. Printer setup sees the printer but apparently there is no driver close enough to work. I have tried several.

So, as of this writing and days and hours spent trying to make it work I am going to have to shelve Puppy and move on and try someone elses distribution.

Thanks.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#131 Post by bignono1 »

Kenny-M : If you want it to work , it must and will work but if you give up,
NOTHING will work.

User avatar
bignono1
Posts: 360
Joined: Sun 17 May 2009, 07:30
Location: Q8

#132 Post by bignono1 »

CatDude

The line :default 0 will not boot the first entry , it will just select it.

daton
Posts: 13
Joined: Sat 23 May 2009, 21:50

Help pleas grub version 0.97

#133 Post by daton »

My Proublem
Grub write

Minimal bash-like line editing is supported. For the firtst word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.

pleas what shell I do ?

thank you Daton

daton
Posts: 13
Joined: Sat 23 May 2009, 21:50

#134 Post by daton »

I forgot throw in. Instalation now full puppy 4.2. I act upon manual but grub reporting error message:

Minimal bash-like line editing is supported. For the firtst word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.

Pleas what shell I do (?)

I am sorry my English is horrible. I am from Czek.

I thank you for your advice :(

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#135 Post by CatDude »

Hi
bignono1 wrote: The line :default 0 will not boot the first entry , it will just select it.
Your menu.lst files global section should look something like this:

Code: Select all

# Start GRUB global section
timeout 5
default 0
color light-gray/blue black/light-gray
# End GRUB global section
Make sure that there is no # in front of either the timeout or default lines.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#136 Post by CatDude »

Hello daton

Please could you give more details
as to what you have done with regard to making your install.

CatDude
.
[img]http://www.smokey01.com/CatDude/.temp/sigs/acer-futile.gif[/img]

daton1
Posts: 3
Joined: Mon 17 Sep 2007, 12:25

#137 Post by daton1 »

I had Ubuntu. I got the same format and entered the full installation of puppy. All as stated in the instructions. I considered menu.lst but it seemed to me a little bit different than the instructions. After restart message written briefly mentioned and I was able to run puppy. The evening include copied menu.lst. I thank you for your help. Daton

daton1
Posts: 3
Joined: Mon 17 Sep 2007, 12:25

#138 Post by daton1 »

:o Sorry I accidentally registered twice daton1 = daton

daton
Posts: 13
Joined: Sat 23 May 2009, 21:50

#139 Post by daton »

Here is menu.lst configuration:

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sat May 23 22:35:34 2009
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.313'. You can restore it like this.
# dd if=/boot/grub/mbr.sda.313 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
timeout 30
default 0
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sda1)
root (hd0,0)
setup (hd0,0)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)


Please check it thanks Daton

coerciblegerm
Posts: 4
Joined: Thu 11 Jun 2009, 20:41
Location: Minnesota, United States

#140 Post by coerciblegerm »

I followed the instructions above, and I get the following when I try to boot into puppy from GRUB;

Code: Select all

root (hd0,0)
 Filesystem type is ext2fs type 0x83
kernel /boot/vmlinuz   root=/dev/sda1 ro vga=normal

Error 13: Invalid or unsupported executable format

Press any key to continue..._
Which then brings me back to GRUB.

Any ideas on what might be going on here?

Post Reply