If you have an existing multiboot setup using HH or previous versions of Kubuntu, and if you install II 8.10 and wish to include 8.10 in your existing multiboot configuration, you may get GRUB error 2 upon reboot.
There are three subcases:
-- Booting your OSs from an existing HH (or previous) Kubuntu installation.
-- Using a separate GRUB partition (that boots all OS's and from which the GRUB is installed to the MBR of the BIOS first boot drive) AND for which this GRUB is from HH or prior.
-- Using a full /boot partition that includes both /grub and the kernel & initrd files AND for which this GRUB is from HH or prior.
My case is the second: separate GRUB partition.
I've given enough references for you to deal with all cases. My solution here will work with all three cases, though ... (I think).
FACT – Here's what appears to be the problem in II:
“... the new Intrepid release defaults to using a 256 byte inode size for its ext3 file system rather than the older 128 bytes used in Hardy and in prior releases. Unfortunately the Grub version in Hardy and before can't handle the larger inode size, so you will typically get a Grub error 2 if you try to boot one of the newer ext3 partitions [using a GRUB from HH or prior] ...”
Caljohnsmith:
http://ge.ubuntuforums.com/showthrea...8b3cc&t=960714
SOLUTION:
See references.
For my case, it was simple; here it is:
sda1 Windows XP
sdb1 Dedicated GRUB partition containing the grub files you find inside /boot/grub.
I used this grub to install GRUB to the MBR of the BIOS boot drive hd0 = sda (root (hd1,0), setup (hd0))
sdb2 HH 8.04
sdb3 II 8.10 – the new installation.
I included an entry for 8.10 in the existing sdb1 menu.lst: configfile (hd1,2)/boot/grub/menu.lst).
Reboot: GRUB Error 2
Solution:
I simply replaced the grub files in sdb1 /boot/grub with the new 8.10 GRUB files in 8.10's /boot/grub.
Then reset (the 8.10 new) GRUB to the booting MBR: root (hd1,0), setup (hd0). (Note: sdb1 = (hd1,0).)
=> That fixed everything.
NOTE:
Various cases/options. See references. For example, you might try to install 8.10 to a 128-byte inode partition, pre-formatted, using the Alternate installer. However, the solution I used is simple and quick and unfettered with technicalities.
- - - - - - - - - -
http://ge.ubuntuforums.com/showthrea...8b3cc&t=960714
http://ubuntuforums.org/showthread.php?t=968592
http://pressf1.co.nz/showthread.php?p=723331
https://bugs.launchpad.net/ubuntu/+s...ty/+bug/260001
http://www.linuxplanet.com/linuxplan...orials/6480/1/
Reference for dedicated GRUB partition:
See my how-to:
How To GRUB Methods - Toolkit
http://kubuntuforums.net/forums/inde...opic=3081671.0
Reply #10: How to make a separate “GRUB boot partition.” (Dedicated to the GRUB files and make your PC boot from those GRUB files.)
**************
Please feel free to add to this thread with new info or your personal experience to help people troubleshoot theirs. Apparently, this and related issues arose shortly before the release. YMMV.
There are three subcases:
-- Booting your OSs from an existing HH (or previous) Kubuntu installation.
-- Using a separate GRUB partition (that boots all OS's and from which the GRUB is installed to the MBR of the BIOS first boot drive) AND for which this GRUB is from HH or prior.
-- Using a full /boot partition that includes both /grub and the kernel & initrd files AND for which this GRUB is from HH or prior.
My case is the second: separate GRUB partition.
I've given enough references for you to deal with all cases. My solution here will work with all three cases, though ... (I think).
FACT – Here's what appears to be the problem in II:
“... the new Intrepid release defaults to using a 256 byte inode size for its ext3 file system rather than the older 128 bytes used in Hardy and in prior releases. Unfortunately the Grub version in Hardy and before can't handle the larger inode size, so you will typically get a Grub error 2 if you try to boot one of the newer ext3 partitions [using a GRUB from HH or prior] ...”
Caljohnsmith:
http://ge.ubuntuforums.com/showthrea...8b3cc&t=960714
SOLUTION:
See references.
For my case, it was simple; here it is:
sda1 Windows XP
sdb1 Dedicated GRUB partition containing the grub files you find inside /boot/grub.
I used this grub to install GRUB to the MBR of the BIOS boot drive hd0 = sda (root (hd1,0), setup (hd0))
sdb2 HH 8.04
sdb3 II 8.10 – the new installation.
I included an entry for 8.10 in the existing sdb1 menu.lst: configfile (hd1,2)/boot/grub/menu.lst).
Reboot: GRUB Error 2
Solution:
I simply replaced the grub files in sdb1 /boot/grub with the new 8.10 GRUB files in 8.10's /boot/grub.
Then reset (the 8.10 new) GRUB to the booting MBR: root (hd1,0), setup (hd0). (Note: sdb1 = (hd1,0).)
=> That fixed everything.
NOTE:
Various cases/options. See references. For example, you might try to install 8.10 to a 128-byte inode partition, pre-formatted, using the Alternate installer. However, the solution I used is simple and quick and unfettered with technicalities.
- - - - - - - - - -
http://ge.ubuntuforums.com/showthrea...8b3cc&t=960714
http://ubuntuforums.org/showthread.php?t=968592
http://pressf1.co.nz/showthread.php?p=723331
https://bugs.launchpad.net/ubuntu/+s...ty/+bug/260001
http://www.linuxplanet.com/linuxplan...orials/6480/1/
Reference for dedicated GRUB partition:
See my how-to:
How To GRUB Methods - Toolkit
http://kubuntuforums.net/forums/inde...opic=3081671.0
Reply #10: How to make a separate “GRUB boot partition.” (Dedicated to the GRUB files and make your PC boot from those GRUB files.)
**************
Please feel free to add to this thread with new info or your personal experience to help people troubleshoot theirs. Apparently, this and related issues arose shortly before the release. YMMV.
Comment