LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-20-2007, 02:59 AM   #1
Slowbey
Member
 
Registered: Jul 2006
Location: Reading, UK
Distribution: Ubuntu 12.04, Mint 16
Posts: 32

Rep: Reputation: 0
Puppy Linux hard disk install (replacing Ubuntu 6.10)


Problem:
I am trying to install Puppy Linux 2.16 to the hard disk of an old laptop to create a "rapid startup" environment for impromptu notetaking and other light tasks. The ISO disk of the system I have burnt works well as a live CD, but I have hit a problem when trying to install the system to the hard disk. When I log on now, a GRUB text screen gives me a choice of installing to a floppy or the hard disk, but none of the options seems to work. I would like the finished system to boot straight into the operating system with no options and no password. I am a novice with GRUB and the Shell, but would appreciate any advice on getting the setup to as near "instant on" as possible.

Hardware/software:
I am trying to replace an existing, working, Ubuntu 6.10 installation with the Puppy Linux. Compaq Armada E300 notebook, PIII 500MHz, 384Mb memory, 60 Gb hard drive.

Many thanks

David
 
Old 05-20-2007, 12:04 PM   #2
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
As far as I know, with Puppy everyone logs in as root and there is no password, so you should get exactly what you want once you get things installed correctly.

I cannot tell from your post, but are you running the live CD and installing via the live desktop? You are less likely to run into problems that way.
 
Old 05-20-2007, 12:55 PM   #3
Slowbey
Member
 
Registered: Jul 2006
Location: Reading, UK
Distribution: Ubuntu 12.04, Mint 16
Posts: 32

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Yes, I am trying to install on the hard drive via the live Puppy desktop and I suspect that there is a conflict with the Ubuntu 6.10 which was on there previously.

Would it be a good idea to format the hard drive first and then try again, do you think? Or is there an easier way to do this?

David
 
Old 05-20-2007, 09:35 PM   #4
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
I am making a bit of a guess here, but you may need a new partition. Let me explain. If your Ubuntu install took up the entire hard drive, and you told the Puppy installer that you wanted to use the hard drive, Puppy probably thought you wanted to only leave some setup and other configuration information on the hard drive to make startup easier the next time. (Puppy is primarily a live distribution, so overwriting another operating system would be considered bad.) This will result in Puppy saving a file to the hard drive with a name like "pup_save.3fs" (it varies, depending on your setup).

However, you are trying to install Puppy as the only OS. In this situation, Puppy would then be looking for an unused partition (as I recall). If you do not have any unallocated space on your hard drive, you need to resize or delete a partition and create a new one for Puppy. (Be sure you back up anything you might need before starting the process.) Then, when you start the installation (Menu --> Setup --> Puppy universal installer), point it to this unused partition.
 
Old 05-21-2007, 03:46 PM   #5
Slowbey
Member
 
Registered: Jul 2006
Location: Reading, UK
Distribution: Ubuntu 12.04, Mint 16
Posts: 32

Original Poster
Rep: Reputation: 0
Brilliant, thanks for the advice about partitioning. I managed that with the tool inside the live CD.
I set up a 2GB root partition, a similar swap partition and three other partitions, two of which are logical inside an extended. The puppy now boots from the hard drive and will even let me get on the internet!

When I boot from the hard drive, however, I am still presented with a text menu asking me from which partition I wish to run Linux. Is there any way of making /dev/hda1 the default, so that the whole boot process is automatic?

Thanks again for the help.

David
 
Old 05-21-2007, 03:51 PM   #6
Slowbey
Member
 
Registered: Jul 2006
Location: Reading, UK
Distribution: Ubuntu 12.04, Mint 16
Posts: 32

Original Poster
Rep: Reputation: 0
Brilliant, thanks for the advice about partitioning. I managed that with the tool inside the live CD.
I set up a 2GB root partition, a similar swap partition and three other partitions, two of which are logical inside an extended. The puppy now boots from the hard drive and will even let me get on the internet!

When I boot from the hard drive, however, I am still presented with a text menu asking me from which partition I wish to run Linux. Is there any way of making /dev/hda1 the default, so that the whole boot process is automatic?

Thanks again for the help.

David
 
Old 05-21-2007, 11:35 PM   #7
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
You are welcome. The list that you are presented with is probably the GRUB menu. Whatever is highlighted is the default. If you wish to change it, you can navigate to /boot/grub and edit the default boot choice in the menu.lst file. For example if it normally booted the third option and you wanted to have it default to the first, you would change it to read something like this:

Code:
default 1
Note: you will have to do this as root. I would also recommending making a backup copy beforehand just in case something gets messed up. For the record, this command is an easy way to make a quick backup copy of menu.lst named menu.lst-bak:

Code:
cp menu.lst menu.lst-bak
Regarding the time, GRUB can be set up to boot the default system in a fixed time period or wait until it gets a keystroke command from you. I think the standard Puppy setup uses the latter. Therefore a way around that is to default the time to 0 seconds. This is done by navigating to /boot/grub and editing the timeout line in the menu.lst file to read something like this:

Code:
timeout 0
 
Old 05-22-2007, 11:02 AM   #8
Slowbey
Member
 
Registered: Jul 2006
Location: Reading, UK
Distribution: Ubuntu 12.04, Mint 16
Posts: 32

Original Poster
Rep: Reputation: 0
Success again, thank you. I removed the "comment out" from the timeout command and changed the value to zero and "bingo", problem solved.

You can go on tweaking these things for ages, can't you.....

David
 
Old 05-22-2007, 12:31 PM   #9
Cogar
Senior Member
 
Registered: Oct 2005
Location: It varies, but usually within 100 feet of a keyboard.
Distribution: Fedora 10, Kubuntu 8.04, Puppy 4.1.2, openSUSE 11.2
Posts: 1,126

Rep: Reputation: 52
LOL. It can get a little addictive.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Puppy from a hard disk pofadda Puppy 2 04-11-2007 09:27 AM
Replacing hard disk Pisapiag Linux - Newbie 6 10-13-2006 02:55 PM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
How do I install Linux on one hard disk and XP on other? andyri Linux - Newbie 1 07-28-2004 05:36 PM
install 2 linux on the same hard disk? tb-guru Linux - Software 3 04-10-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration