LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 05-03-2009, 04:47 PM   #1
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
Unable to boot Puppy from HD


I wiped the HD with Deban and booted to the puppy live cd, and ran the universal installer. Becasue I thought I had to have a swap file, i created a 256MB swap drive on dev\sda1 and installed Puppy on sda2. I used grup to install on the sda2 drive.

This is my 3 or 4 try. Each time I end up with a blinking cursor and can't boot from the hard drive. What am I doing wrong? Do I have to start over again.

Also, I have a Dlink DWL-650+ PCMCIA card? Is there any way to make this work? (wireless for my notebook)

I have used Linux in the past, but it was years ago.

Celmo
 
Old 05-03-2009, 06:11 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
Quote:
I used grup to install on the sda2 drive.
Do you mean to say that you installed the Grub bootloader to sda2, the partition where you installed Puppy? If you wiped your drive and have no other Operating System, you won't be able to boot. You need the stage1 file of Grub in the master boot record. You have that option during the installation. If you didn't choose it, you won't be able to boot unless you have another OS with a bootloader.

Assuming you now only have Puppy on the machine, re-install Grub by putting your Puppy CD in the drive, let it load and open a terminal and as root user type:

grub (this gets you to grub prompt: grub>)type:

root (hd0,1)
setup (hd0)
quit

This should install Grub to the mbr. If you have other OS's on the machine , post the output of fdisk -l command to get assistance.
 
Old 05-04-2009, 08:19 PM   #3
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
That worked

Thank you so much! It installed, but I had to use sd0. However, when I boot the laptop, I get a Linux screen, but it asks me if I want to boot from SD1 or SD2 and other options like install Grub, etc. Neither actually boots up though. It just goes to a black screen. How do I actually get it to boot up completely, and especially without those options?

Thank you,
celmo
 
Old 05-04-2009, 10:31 PM   #4
bobbio
LQ Newbie
 
Registered: Nov 2007
Posts: 16

Rep: Reputation: 1
Maybe this install video can help you out.

http://www.murga-linux.com/puppy/viewtopic.php?p=201565&search_id=1358540782#201565
 
Old 05-05-2009, 06:05 PM   #5
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
That video is very clear, but I have another question before I begin (again.) Is there any need to do any dos partion creation or formating or can I absolutely start with a wiped drive? (no dual boots, etc wanted)

Thanks,
Chris
 
Old 05-05-2009, 07:00 PM   #6
racepres
Member
 
Registered: Feb 2009
Location: central Michigan
Distribution: Puppy/Debian/Mandriva
Posts: 56

Rep: Reputation: 18
The box I am using right now does Not have anything but [swap, hda1]. and [puppy, hda1]. I simply used gparted on the live cd, made hda1 bootable, then the normal install wizard, select grub, put it in the MBR, and viola!! Being a gui type guy, I would boot the live CD [puppy pfix=ram] to re-run the grub boot loader wizard, Done it before, and it works good.. HTH. RP
 
Old 05-05-2009, 07:34 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
I believe you need to create partitions and filesystems before install. I'm not sure you have that option with Puppy?? You can download GParted or Parted Magic and use either to do this.

Quote:
but I had to use sd0.
Where did you use sd0?

Quote:
but it asks me if I want to boot from SD1 or SD2 and other options like install Grub, etc
What? Do you still have your Installation CD in the drive after installing. I don't think you should be gettin a screen like that.
 
Old 05-05-2009, 08:33 PM   #8
racepres
Member
 
Registered: Feb 2009
Location: central Michigan
Distribution: Puppy/Debian/Mandriva
Posts: 56

Rep: Reputation: 18
Shoot me dead!!! After re-reading [thanks yancek] I would guess that you have been running puppy from the cd, and Saving, at the end of your session. That is the only way I have ever got such a message as described "but it asks me if I want to boot from SD1 or SD2 and other options like install Grub, etc"..
Start from scratc.... Boot from the cd. At the "pause" type puppy [space] pfix=ram [enter]
After boot run GParted, [it is under menu/system] wipe the drive, apply, setup partitions, apply, make the partition you want to use bootable. apply, quit. Run Install Wizard, choose grub, put it in MBR. reboot or shutdown... Do Not Save!. Remove cd. Comes up w/ grub screen. Choose your install and all is golden.
Sorry so long.
RP
 
Old 05-06-2009, 03:32 AM   #9
computerophil
Member
 
Registered: Feb 2009
Location: Austria
Distribution: Various: Puppy, Knoppix, Openmamba, Mandriva,......
Posts: 102

Rep: Reputation: 18
In traditional Linux books you read that you need three partition for Linux:
The boot Partition
The Linux Partition
and the Swap Partition

As the boot partition I use either Windows or the Linux Partition itself.
The boot Partition has to be a primary partition with the bootflag set.
The Linux partition can also be in an extended Partition in form of a virtual partition (I format to ext3)
The Swap partition should be a primary partition again with the size of the double of RAM or 1GB.


Another point you have to think over is how did you install grub?
Into the Masterbootrecord or as Puppy suggest to the superbootblock of the linux partition? (when you have also a windoof as bootpartition
If you did it into the superbootblock you will have to open the Console and write:
dd if=/dev/hdaX of=/tmp/bootsec.lin bs=512 count=1

The X is the number of the partition

then coppy
bootsec.lin from Temp-folder to C:/
change C:/boot.ini to : c:\bootsec.lin="Grub > Puppy"
and adapt Menue.1st at the Linuxpartition found in Boot/Grub/..

This is the best way but if this seems too complicated follow
http://www.puppylinux.org/manuals/pu...-install-puppy
step by step


When Windows: defrag
LiveCD
GParted : reduce Windows partition, create Linux partition and swap partition, format, bootflag
run univetrsal installer and grub install
make changings I told you above
be happy becouse it works fine


if no windows
LiveCD
GParted : create Linux partition and swap partition, format, bootflag
run univetrsal installer and grub install to masterbootrecord !
change menue.lst
be happy becouse it works fine

Last edited by computerophil; 05-06-2009 at 03:40 AM.
 
1 members found this post helpful.
Old 12-08-2009, 08:15 AM   #10
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Grub and MBR

Folks -I am so sorry it has taken me so long to get back to this project. Thank you all for your great responses. I have Puppy 4.3.1 install process going and am at the point of running grub, but cannot figure out how to make it install in the MBR. The default is /dev/sda1. I created a Linux and Swap partition and made the Linux partion bootable. Where is the MBR or what is the correct string to insert to install to MBR?

Thanks,
Chris
 
Old 12-08-2009, 08:18 AM   #11
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
dev/sda is the MBR of the drive

if installing grub to partition only it would be /dev/sda1, sda2,etc

didnt read the whole thread
but your gonna dual boot puppy and windows?
 
Old 12-08-2009, 09:07 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
when you run the grub the first thing it will ask is where to install the grub files, which will be sda2 if puppy is on the second partition. give it a few minutes then it will ask you to where to install grub bootloader, that is where you select mbr (master boot record)
 
1 members found this post helpful.
Old 12-08-2009, 11:14 AM   #13
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, that was the step I was missing. It works except one thing so far. As I boot up, I get a blue box on screen that looks like this:

Linux (on/dev/sda1)
Install Grub to floppy
Install Grub on Linux (on /dev/SDA1)
- For help..
- For usage examples..

I tried the install to Linux partition again, but that didn't change anything. Is there anyway to eliminate this halt and boot to SDA1 immediately?

Thanks.

Last edited by celmo; 12-08-2009 at 11:16 AM.
 
Old 12-08-2009, 11:41 AM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
That is your grub boot menu. to boot directly edit your /boot/grub/menu.lst file and there should be a line that looks something like this:
#timeout 30
remove the # sign and change the 30 to 3
 
1 members found this post helpful.
Old 12-08-2009, 12:09 PM   #15
celmo
LQ Newbie
 
Registered: May 2009
Posts: 7

Original Poster
Rep: Reputation: 0
That worked! Thank you so much. It boots great. Now, shouldn't I start a new thread regarding how to get the PCMCI DWL-650+ card to work with WPA/TPK?
 
  


Reply

Tags
drive, hard, hd, puppy



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
Unable to install Puppy on HD (Puppy universal installer) Marcos.K Puppy 2 04-05-2009 02:54 PM
can puppy self boot? ron888 Linux - Newbie 7 03-30-2009 12:06 AM
grub not installing, unable to boot into puppy VidoT Puppy 7 03-18-2009 08:36 PM
Unable to turn on C640 Dell Latitude after Installing Puppy 4 Dingo to HD?? RedFinn Linux - Laptop and Netbook 1 02-06-2009 07:34 PM
Unable to boot puppy 2.13 using scsi cdrom? Jim_B Puppy 3 01-22-2007 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 04:02 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