Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-09-2005, 08:37 AM   #1
LQ Newbie
Registered: Mar 2005
Location: UK
Posts: 11

Rep: Reputation: 0
Suse Grub map?

I have finally managed to installSuse 9.2 Pro

But... I have to boot using the installation CD... pretending to do a new install without apci, then when it finds the previous install I boot that instead of repairing or installing etc

If I don't do this this boot doesn't get past Grub, I previously install Ubuntu which gave me the grub 21 error, i.e. it can't find the hard drives... I am using Sata Raid...

However with Suse all I see is :

Boot from CD:

So here is the foundation of my question, do I need to configure some kind of grub file in the boot directory (after I have booted using method I mentioned at the beginning)? I have come across a web page that mentioned some code to edit the grub map, but I didn't have exactly the same problem so I didn't want to blindly copy someone else's info


Is this a BIOS problem?

I have seen an alleged fix, whereby one enters the bios and sets the master to user and slave to LBA... but this did nothing for me.

My CD drive is attached to IDE Master 1... I tried using it in master 2 and then applying LBA details is the bios... again this had no effect.

I downloaded the latest bios for my motherboard and installed that, still no difference.

Anyway help greatly appreciated
Old 04-09-2005, 12:51 PM   #2
LQ Newbie
Registered: Mar 2005
Location: UK
Posts: 11

Original Poster
Rep: Reputation: 0
Really could do with some pointers...

I've tried every combo possible in the bios, so I don't think it's that...
Old 04-10-2005, 01:26 AM   #3
LQ Newbie
Registered: Mar 2004
Location: N. Idaho
Distribution: Libranet, SuSE, Knoppix
Posts: 15

Rep: Reputation: 0
A couple of things... The easy way MAY be to again pretend you are installing from scratch and when it sees the linux system it offers a repair option. Try that. I think it has a section on grub.

If that does not work, go ahead and boot in using your disk. Check and see what is in the file. Go to your KDE menu, choose system, file manager, superuser mode. (you'll need your root password!) If you don't have this (superuser mode) go to YAST find it and install it. It will open in Konquerer. Put a / in the address line. Click on boot and look at your device map and menu.lst and see what is in there if anything. You might see the error in there. Since I don't know your HDD setups I can't give you specifics. However in GRUB disks are labeled differently. What would be hda1 in your standard setup is in Grub root (hd0,0)

Login as root in a shell try the following
#cd /mnt/hda1 (This is ASSUMING this is the first partition on your HDD!)
#mkdir boot/grub
#cp /sbin/update-grub ./
#chroot /mnt/hda1 /update-grub

This will prompt you to creat a menu.lst file. Answer yes. It may NOT find the correct root device to use. For example your root linux partition might be /dev/hda3, you have to edit the boot/grub/menu.lst file that was created. For example you will see the line that says
#groot=(hd0,0) you must change it to #groot=(hd0,2).

Rerun update-grub with the correct values
#cd /mnt/hda?(your root linux file)
#chroot /mnt/hda? /update-grub

Then grub-install --root-directory=/mnt/hda? /dev/hda

I have only done this once with a few trieds and got confused on the numbers of devices, but once I figured THAT out it worked.
Old 04-10-2005, 01:52 AM   #4
LQ Newbie
Registered: Mar 2004
Location: N. Idaho
Distribution: Libranet, SuSE, Knoppix
Posts: 15

Rep: Reputation: 0
A couple more things. Remember I've only done this once and it worked. I don't claim to be perfect! Here is a copy of my devicemap
hd0) /dev/hda

and my menu.lst

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,2)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title Linux
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x317 splash=silent desktop resume=/dev/hda2 showopts
initrd (hd0,2)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
root (hd0,0)
chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0 3
initrd (hd0,2)/boot/initrd

I have windoughs on the first part of my HDD (I also have a bad spot on my disk there and I don't use it!)
My swap is dev/hda2
My root is dev/hda3
My home is dev/hda4

For more info go to a command line $ and type in info grub.

I also apologize for any spelling errors.

Hope I've helped.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do you map to the NSS Volume in SuSe? oprogue Linux - Networking 1 12-08-2005 02:44 PM
need to access /boot/grub/menu.lst and /boot/grub/ neouto Linux - Newbie 8 09-04-2005 11:45 AM
grub, sata detection and to boot win xp krazibon3 Linux - General 3 10-29-2004 03:00 PM
Grub and cuco76 Linux - Software 4 06-25-2004 12:58 PM
Grub device map needed for promise raid terrance Linux - Software 0 03-15-2004 05:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration