LinuxQuestions.org
Help answer threads with 0 replies.
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 04-23-2010, 12:52 PM   #1
Jyde
Member
 
Registered: May 2007
Posts: 72

Rep: Reputation: 16
[SOLVED] Install fine, GRUB in MBR throws error 2.


(I hope this is the acceptable place to post this, despite using the latest MeanPUP.
Also note that I got the exact same result with the latest two Puppy proper versions.)

Trying to bring some life into an old laptop (Fujitsu Lifebook C, 64Mb RAM) I have now reinstalled MeanPUP from CD countless times, always ending up with GRUB not working, throwing an error 2 (after stage 1.5).

I boot from CD, all is fine. I run the Universal installer, full install to HDD. The GRUB install also runs fine, installed to MBR.

On reboot, the said error occurs.

I noticed that initrd was not copied over, so I did that manually and added it to menu.lst. Still the same.

Latest, I tried manually copying over the pup_202.sfs session file from the CD, still same error... on top of that, even when booting from live CD, it now mounts the HDD and run thats .sfs file. In order to have a live CD run again, I must manually delete this file.

I actually managed to get all this going just once, with Puppy proper, but I reqally do not remember any difference to what I am doing now... just that it was a lot of work! The installer should really be able to handle this automatically.

I have searched, googled and re-tried and I am getting somewhat cross-eyed by now, and - to be honest - real tired of this, so if someone has and extra hand and a few suggestions, please chip in!

Cheers!
CJ

Last edited by Jyde; 06-09-2010 at 07:25 AM.
 
Old 04-23-2010, 02:36 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I am not sure about MeanPUP but I installed a version of pup on a computer last week and set it up to chainload and had no problems. You might try chainloading by making a separate partition (2 meg) for grub. If MeanPUP has grub2 disregard above advise.

Last edited by Larry Webb; 04-23-2010 at 02:37 PM.
 
Old 04-24-2010, 11:55 AM   #3
Wu2wei
Member
 
Registered: Jan 2010
Posts: 60

Rep: Reputation: 26
Puppy works much better in a frugal install.

So, instead of a full installation, try a frugal installation variant following these directions.

http://www.puppylinux.org/main/index...-English05.txt

If you still get the same error, please post the content of your /boot/grub/menu.lst
 
Old 04-24-2010, 12:34 PM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
anything special about the hard drive

boot options?
 
Old 04-26-2010, 06:00 AM   #5
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Angry

Quote:
Originally Posted by Larry Webb View Post
I am not sure about MeanPUP but I installed a version of pup on a computer last week and set it up to chainload and had no problems. You might try chainloading by making a separate partition (2 meg) for grub. If MeanPUP has grub2 disregard above advise.
No, it's still on Grup '1'. I think I did try this, though not sure. I will give it a try.

Quote:
Originally Posted by Wu2wei View Post
Puppy works much better in a frugal install.
So, instead of a full installation, try a frugal installation variant following these directions.
If you still get the same error, please post the content of your /boot/grub/menu.lst
Thanks for replying. Sorry, but I am not interested in frugal, as I want to be able to access my files from other on the file system in case something goes south and I need to use another live CD to access the laptop.
Also, this is not a question about Puppy working better, as it works fine... it's the irritating grub error that ends the joy.


Quote:
Originally Posted by amani View Post
anything special about the hard drive
boot options?
To the best of my knowledge, no.


With the danger of repeating myself, I did get this to work once. I had to copy vmlinuz and initrd over manually, but this is not enough in itself.
Another indicator that the fault is not with the OS or the PC as such is that e.g. DSL can run and install fine.
Hm, would there be a way I could boot into DSL and get that to set up grub for Puppy? I will give it a go.

So, at the risk of sounding ungrateful, I'd prefer not to have workarounds on a fresh install but rather see if I could get the problem solved. After all, it's just the boot-up that's at fault, or...

Thanks for your suggestions and help, much appreciated.

Cheers!
CJ

Last edited by Jyde; 04-26-2010 at 06:35 AM.
 
Old 04-26-2010, 06:34 AM   #6
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
For completeness, here is my menu.lst:

Code:
timeout 4
color light-gray/blue black/light-gray

   titel MeanPUP (on /dev/hda1)
   root (hd0,0)
   kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
   initrd /boot/initrd.gz
 
Old 04-27-2010, 10:23 AM   #7
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
try root=/dev/sda1

or use labels

(do it from a live cd)
 
Old 04-28-2010, 06:39 AM   #8
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by amani View Post
try root=/dev/sda1
Code:
Error 11: Unrecognized device string
I also tried with hda1 as fdisk reports.


I have attempted to run the manual grub commands from another live CD (DSL-N) and it too give me errors.

For instance, trying to use Grub>setup (or grub-install) says it cannot find the stage1 file.

I then did a chroot to mounted system, this time it could fine stage1 but gave me an error about stage1 not being in the right format (sorry, I do not remember the exact error).
Googling, I got as many - conflicting - answers as results as to what the error meant. The most authoritative I could find was that the error was misleading and it normally indicated a mismatch between the file systems (I assume from the run CD and the HDD). I have tried installing on both ext2, ext3 and ext4, no difference.

When opening stage1 in a text editor, it just says 'kH_' (the underscore is actually an 'upperscore' in as much as it is a line from the top of the H).

So, is the stage-files corrupt? If yes, can they be copied from another, functioning setup?

Cheers!
CJ
 
Old 04-28-2010, 06:59 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
From an install/live CD do a "file" command against the (hard-disk) /boot/vmlinuz (initrd too - why not).
 
Old 04-28-2010, 07:25 AM   #10
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by syg00 View Post
From an install/live CD do a "file" command against the (hard-disk) /boot/vmlinuz (initrd too - why not).
Code:
vmlinuz: x86 boot sector
initrd.gz: gzip compressed data, was "initrd-tmp", from Unix, max compression
Cheers!
CJ
 
Old 04-28-2010, 07:36 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
Hmmm - that don't look right. Hence the "error 2" maybe. This is my (obviously) Fedora12
Code:
/boot/vmlinuz-2.6.32.11-99.fc12.x86_64: Linux kernel x86 boot executable bzImage, version 2.6.32.11-99.fc12.x86_64 (mockb, RO-rootFS, root_dev 0x902, swap_dev 0x3, Normal VGA
Been a while since I looked at puppy - might be time again.
Last time I ran it everything (except wifi IIRC) worked out of the box.
 
Old 04-28-2010, 08:44 AM   #12
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by syg00 View Post
Hmmm - that don't look right. Hence the "error 2" maybe. This is my (obviously) Fedora12
Code:
/boot/vmlinuz-2.6.32.11-99.fc12.x86_64: Linux kernel x86 boot executable bzImage, version 2.6.32.11-99.fc12.x86_64 (mockb, RO-rootFS, root_dev 0x902, swap_dev 0x3, Normal VGA
Been a while since I looked at puppy - might be time again.
Last time I ran it everything (except wifi IIRC) worked out of the box.
Mine, from another PC running PCLOS gives similar different answer:
Code:
vmlinuz-2.6.33.2-pclos1.bfs: Linux kernel x86 boot executable bzImage, version 2.6.33.2-pclos1.bfs (root@local, RO-rootFS, root_dev 0x805, swap_dev 0x1, Normal VGA
I must confess this is beyond me by now...

Cheers!
CJ
 
Old 04-29-2010, 06:34 PM   #13
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Hm, just had a thought: Could the fact that I had to copy initrd.gz manually from the live CD have anything to do with this? I have checked the permissions (root), but could there be anything else that might be affecting this?
I copied the file from the CD to /boot by simply dragging it from one instance of Rox to another, selecting copy.

Cheers!
CJ
 
Old 05-02-2010, 08:00 PM   #14
bobbio
LQ Newbie
 
Registered: Nov 2007
Posts: 16

Rep: Reputation: 1
Quote:
Originally Posted by Jyde View Post
Hm, just had a thought: Could the fact that I had to copy initrd.gz manually from the live CD have anything to do with this? I have checked the permissions (root), but could there be anything else that might be affecting this?
I copied the file from the CD to /boot by simply dragging it from one instance of Rox to another, selecting copy.

Cheers!
CJ
A "full" install of puppy does not have initrd.gz line in menu.lst
Go to the puppy forum, click the search box, type: full install....
type: catdude for author.

http://www.murga-linux.com/puppy/vie...8540782#201565

2.02 is quite old and may not have enough hardware support for you.
 
Old 05-03-2010, 06:55 AM   #15
Jyde
Member
 
Registered: May 2007
Posts: 72

Original Poster
Rep: Reputation: 16
Bobbio, thanks for you reply.

Quote:
Originally Posted by bobbio View Post
A "full" install of puppy does not have initrd.gz line in menu.lst
I found a load of posts to the opposite effect, i.e. that it should be inserted. Never mind, as I have tried without too.

Quote:
Originally Posted by bobbio View Post
I did already come across the post, but that is if things works out of the box, which they do not for me. There really is nothing to installing it as such and those are the steps I have followed, but grub still throws the said error.

Quote:
Originally Posted by bobbio View Post
2.02 is quite old and may not have enough hardware support for you.
As for version, I have tried with the latest two Puppy proper as well... not to mention that the laptop I am trying it on is very old too.

And once again I mention that other distroes (e.g. DSL, DSL-N) install grub fine and working.

Cheers!
CJ
 
  


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
Suse 10.2 install failure, GRUB error 23, MBR gone frtu SUSE / openSUSE 6 05-17-2007 09:00 PM
Grub won't install in MBR PB0711 Linux - Software 4 05-02-2007 01:12 AM
How to install Grub other than MBR? terryxela Ubuntu 1 04-08-2007 04:31 PM
how do i install grub in the mbr? spyghost Linux - Newbie 2 11-07-2003 09:52 AM
GRUB Install on MBR JakeFarley Linux - Newbie 3 10-22-2002 07:16 AM

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

All times are GMT -5. The time now is 09:44 PM.

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