Grub problems after installing second hard disk and SuSE11.0
Suse/NovellThis Forum is for the discussion of Suse Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Yes I agree I have always used a terminal to install grub to get the success messages but I am not sure our original
poster is happy with grub at the moment so I hope he can shed some light on his sdb setup.
I want HellesAngel to continue to use the sda bootloader or dice grub and go for lilo.
However, I can not help with lilo...but maybe opensuse scripts will stuff up lilo as well?
I can hang around here for half an hour and see if OP has any more info he can share.
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /boot/
Error 2: Bad file or directory type
It does seem odd, I mean it's not such a weird disk combination or stone age equipment I found in the cupboard. The MSI865PE mainboard has the usual 2+2 PATA channels (all filled with CDROMs) and 2 SATA channels with the hard disks on them.
Will mount sdb1 and post the contents of /etc/fstab. Half a minute...
No problem, I'm trying to make progress while the wife's out! Since earlier posts I rebuilt sdb and it now contains the correct stuff:
sdb1 - full install of openSUSE 11.0.
sdb2 - empty space for all my /home stuff
I made the fdisk steps you suggested above - how would I see if that has made the difference? The disk is now bootable:
Command (m for help): p
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2611 20972826 83 Linux
/dev/sdb2 2612 60801 467411175 83 Linux
The swap space from fstab is on the other disk, it's confusing from the disk-by-id form.
Last edited by HellesAngel; 07-29-2008 at 09:33 AM.
ok did not realise that...but you should create a swap on sdb as I thought you might eventually get rid of sda linux.
500G might be better off with a few more partitions tho.
since you were so quick to do a clean install....can I talk you into at least 4 primary partitions or an extended system.
The trouble with lots of logical partitions is that info on each part is logically held in that part....which is why some
companies have tried to avoid the IBM limit of 4 primaries.
Leaping ahead....I would have
part 1 for MS
part 2 for linux 1
part 3 for linux 2
part 4 swap
and each linux is nice and large and install virtualbox on it so you can play around with downloaded distros.
if you are as naughty as me....I installed and ran vbox....then copies the dot folder to a spare partition and symbolically
linked it back to my old system....because I use partimage to save images but there is no need to image something that is
available to d/l and is already an image....well I am a cheap skate as well.
Thanks for the help - I think I just have to conclude that Grub cannot load openSUSE on a second disk sdb when configured by YaST and booted from sda and make another partition on sda for the openSUSE 11.0 installation. I feel defeated, but didn't switch to LILO...
Noticed that in your first post of the opensuse 10 menu.lst the 10 stanzas had root (hd0,2) while you had no such entries for the 11.0 partitions. Did you choose the default Grub installation when installing 11.0, i.e. installing Grub to mbr of sda1?
Have you tried editing your menu.lst file in opensuse 10 to show root (hd1,0), in the line after title, before kernel? Might be worth a try? One of your more recent posts shows your vmlinuz and initrd files in the opensuse 11 on sdb1 so the necessary files are there to boot.
I generally don't have new installations put Grub in the mbr because something might go wrong. I think it is easier to just modify a current menu.lst I know is working rather than hope the new install detects all OS's on the system and makes entries. I know that doesn't always happen. Installing to the /boot directory of an installation of a new OS doesn't and modifying my current menu.lst seems easier, although some would disagree. The default in most installs is to install Grub to the mbr of disk 1.
No sure if the suggestion above will help, does get frustrating but we learn from all our efforts. Good Luck!
I spotted there was no sdb entry in the menu for sda.
but me thinks the saikee style might be the safest
bios boots to sda and uses grub for sda and menu from sda
sda menu is amended with root powers to have an extra line to boot sdb1
title opensuse on sdb
redo grub commands from within suse on sda to ensure its right
su (or sudo or whatever)
....response should have a number of lines including the word succeeded....so grub recognises sda grub in mbr and menu
....response should be similar to other attempt but it puts grub into the root partition for sdb1
quit (to exit)
.......of course I am hoping Toby has successfully re-installed opensuse and the installer has put grub files into