We help IT Professionals succeed at work.

GRUB problems with SUSE 10.3

gsaito
gsaito asked
on
3,156 Views
Last Modified: 2013-12-16
I am having trouble installing GRUB under SUSE 10.3 (final version released this week). I want to install it into my /dev/sdb6 partition, which is where I installed SUSE. I don' t want to install it into the MBR because I already have another boot manager there. This is the first time that I have trouble installing GRUB under SUSE and I suspect it's something related to this new version 10.3. I particularly do not understand why SUSE keeps referring to my sdb6 partition as sdb6,5. Any ideas?

Some data:

1) Output of the command "grub-install /dev/sdb6":
----------------------------------------------------------------------------------------------
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]
grub> setup --stage2=/boot/grub/stage2 (/dev/sdb6,5) (/dev/sdb6,5)

Error 23: Error while parsing number
grub> quit
----------------------------------------------------------------------------------------------

2) Contents of the device.map file
-------------------------------------------
(hd0)   /dev/mapper/nvidia_ifaddacf
(fd0)   /dev/fd0
(hd2)   /dev/sdb0
-------------------------------------------

3) Contents of the /boot/grub directory
---------------------------------------------------------------------------
-rw------- 1 root root     65 Oct  7 12:23 device.map
-rw------- 1 root root     65 Oct  7 11:24 device.map.old
-rw-r--r-- 1 root root   7576 Sep 21 18:59 e2fs_stage1_5
-rw-r--r-- 1 root root   7424 Sep 21 18:59 fat_stage1_5
-rw-r--r-- 1 root root   6664 Sep 21 18:59 ffs_stage1_5
-rw-r--r-- 1 root root   6656 Sep 21 18:59 iso9660_stage1_5
-rw-r--r-- 1 root root   8128 Sep 21 18:59 jfs_stage1_5
-rw------- 1 root root   1511 Oct  7 12:23 menu.lst
-rw------- 1 root root   1511 Oct  7 11:24 menu.lst.old
-rw-r--r-- 1 root root   6844 Sep 21 18:59 minix_stage1_5
-rw-r--r-- 1 root root   9160 Sep 21 18:59 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 Sep 21 18:59 stage1
-rw-r--r-- 1 root root 103162 Oct  7 02:42 stage2
-rw-r--r-- 1 root root   7004 Sep 21 18:59 ufs2_stage1_5
-rw-r--r-- 1 root root   6228 Sep 21 18:59 vstafs_stage1_5
-rw-r--r-- 1 root root   8820 Sep 21 18:59 xfs_stage1_5
---------------------------------------------------------------------------


Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
and if you already have another loader there, you will need to add the other OS to your grub.conf and still install it in the MBR.
IT director
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
wyliecoyoteukIT director
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Thanks for all the feedbacks.

WizRd-Linux:
I don't think I necessarily need to install GRUB to the MBR. As a matter of fact, I never did so in previous installations. For instance, I have Ubuntu 7.04 installed in another partition [(hd2,5) or /dev/sdb6)], and GRUB installed in that same partition. I have another bootloader (BootIt, my favorite) that resides in MBR. When I want to boot Ubuntu, BootIt will initiate boot on (hd2,5), which automatically initiates GRUB in that partition. I end up going through 2 boot loaders before effectively booting the OS, but it works nicely.

wyliecoyoteuk:
I have 4 hard disks, all SATA. Two of them are linked in NVIDIA's nForce RAID1 mode.
I think SUSE 10.3 got the device map plain wrong, I had to redo it by hand as follows:

(hd0) -> /dev/sda
(hd1) -> /dev/sdc
(hd2) -> /dev/sdb
(hd3) -> /dev/sdd

I installed SUSE in the 6th partition on drive 2, therefore (hd2,5) using GRUB nomenclature, or /dev/sdb6 using Linux nomenclature. I still don't understand why SUSE installation routine kept referring to my partition as sdb6,5. This seems like wrong syntax (like mixing GRUB and Linux nomenclatures...).

Conclusion:
I managed to solve it myself by (i) redoing device.map from scratch, (ii) manually editing the menu.lst file so as to have it refer to (hd2,5) as opposed to the crazy sdb6,5 nomenclature, (iii) manually installing GRUB to (hd2,5) using a GRUB boot diskette, (v) running GRUB's setup command from GRUB's boot menu.

That solved the problem. GRUB is installed in my (hd2,5) partition and is activated by my BooIt bootloader that resides in the MBR. I just don't understand why it was so troublesome to get it working. Previous SUSE installations (everyone since 9.3) would accomplish this straightforward from the installation program.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.