The time now is Mon 20 May 2013, 02:01
All times are UTC - 4 |
| Author |
Message |
benali72
Joined: 09 Aug 2006 Posts: 254
|
Posted: Mon 14 Jun 2010, 22:43 Post subject:
How to fix GRUB ERROR: 2 |
|
In case this hasn't been discussed elsewhere --
If you install a new release of Puppy, and use an install of GRUB from an earlier version of Linux installed on that same computer, you might get the error:
GRUB ERROR: 2
when you boot the new release of Puppy.
One common reason for this error is that your new Puppy install has inodes of size 256, whereas the older version of Grub you have installed on that computer expects inodes of size 128.
You can see the size of the inodes for your new Puppy install by running this command, where X is the partition of the new Puppy install:
tune2fs -l /dev/sdaX
If the reported inode size is 256, the solution is to install Grub from your new release of Puppy (overwrite the older Grub install). The new Puppy Grub will handle inodes of either 128 or 256, so all Linuxes on the computer will now boot ok through Grub.
---EXAMPLE---
I have a computer on which I have installed Puppy 412 and Ubuntu 9.10. Grub was installed during the Puppy 412 install.
I installed Puppy 5.01 on that computer, and manually updated the MENU.LST file in the Puppy 412 partition. I got a GRUB ERROR: 2 when trying to boot Puppy 5.01.
The TUNE2FS command on my new Puppy 5.01 partition showed that it had inode size of 256. So I just re-installed Grub from Puppy 5.01 and now all Linuxes on the computer boot fine.
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4350 Location: merriam, kansas
|
Posted: Mon 14 Jun 2010, 22:58 Post subject:
|
|
Yes; beginning with Puppy 4.3x, gparted made partitions with 256
inodes.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
avphani
Joined: 27 Jun 2010 Posts: 2
|
Posted: Sun 27 Jun 2010, 10:46 Post subject:
GRUB-KNOW THIS EASY TO DO Subject description: GRUB |
|
STEPS
1. BOOT WITH LIVE PUUPY CD
2. UMOUNT ALL DRIVES EXCEPT THE HOME DRIVE
3. PUPPY UIVERSAL INSTALLER FROM MAIN MENU/START MENU
4.CHOOSE IDE/SATA HARD DRIVE
5. MAKE TO COPY PUPPY FILES ALL INTO A FOLDER IN C:\
i.e, hdb1 in /mnt/hdb1
6.NOW YOU CAN CHECK THAT FROM WINDOWS PLATFORM AS C:\PUPPY400
WITH SFS AND KERNEL AND INITRD FILES
7. GET A FILE CALLED GRUB.MBR FROM LINUX FOR WINDOWS PLATFORMS
IT ADDS ENTRY IN BOOT.INI
AS
C:\g2ldr.mbr="Pubby Linux", SAVE THE BOOT.INI file and restart
- IN LAST LINE
- THE FILES USED ARE : g2ldr, g2ldr.mbr
9. Now computer restarts ,
choose the "Puppy Linux"
now at grub> command line type as
grub> root (hd0,0)
grub> kernel /puppy400/vmlinuz
grub>initrd /puppy400/initrd.gz
grub>boot
or
grub> root (hd0,0)
grub> linux (hd0,1)/puppy400/vmlinuz
grub>initrd (hd0,1)/puppy400/initrd.gz
grub>boot
****************
any further ideas i need
|
|
Back to top
|
|
 |
|
|
|
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
|