[opensuse] GRUB Too!
I'm still at it. :-) This is still giving me problems. It has also made me question the whole thing. Part of the error statement is as follows: setup = stage2=/boot/grub/stage2 (hd0) (/dev/sda7) I remember ealier I had read that GRUB has trouble recognizing HD0, which i stated in my earlier post. The question that begs to be asked is, if it doesn't recognize HD0, why not? It is 2007 and SATA drives has been out awhile now. Also, if I choose to bypass the bootloader installation, I can finish the install, boot from the DVD and then boot 10.2 (have to let it go through the install process a little though, unless someone can tell me an easier way) Which the Swap partition, the root partition and the home partition is on HD0. I'm a little confused here. I know some guru out there has to have the answer to this problem. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat January 27 2007 17:38, Charles R. Buchanan wrote:
I know some guru out there has to have the answer to this problem.
I'm no "guru" but this is a known problem, particularly in cases where you're using YaST to install/configure grub on a system with many partitions and multiple operating systems. The bottom line is you have to double check the configuration it writes before accepting and allowing it to be installed. **Watch out for simple partition mapping errors** like calling /dev/hdb7 'hd1,7' in "grub speak" (should be 'hd1,6'). Really... it's as simple as that. You let it calculate/suggest the configuration and, before committing it to disk, find and fix these little problems. hth & regards, Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat January 27 2007 18:08, Carl Hartung wrote:
I'm no "guru" but this is a known problem, particularly in cases where <snip>
Addendum: I forgot to add that the directories/paths it writes are always correct. The biggest problem is it gets "confused" about which partition is actually supposed to be root when there are too many choices. Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 18:18:36 -0500, Carl Hartung
On Sat, 27 Jan 2007 18:08:16 -0500, Carl Hartung
# Modified by YaST2. Last modification on Sat Jan 27 22:50:52 UTC 2007 default 0 timeout 8 gfxmenu (/dev/sda,7)/boot/message ###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,0) chainloader (hd0,0)+1 ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (/dev/sda,7) kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=0x317 resume=/dev/sda7 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 10.2 root (/dev/sda,7) kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3 initrd /boot/initrd-2.6.18.2-34-default -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2007-01-27 at 16:36 -0800, charles@daphatbell.com wrote:
# Modified by YaST2. Last modification on Sat Jan 27 22:50:52 UTC 2007 default 0 timeout 8 gfxmenu (/dev/sda,7)/boot/message
###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,0) chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (/dev/sda,7) here^^^ kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=0x317 end of this line----------> resume=/dev/sda7 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default
###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 10.2 root (/dev/sda,7) here ^^^^^^ kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=normal end of this line-----------> showopts ide=nodma apm=off acpi=off noresume edd=off 3 initrd /boot/initrd-2.6.18.2-34-default
In each of these last two sections you have a root spec for /dev/sda7 and /dev/sda8, is that supposed to be like that? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 19:43:58 -0500, Mike McMullin
# Modified by YaST2. Last modification on Sat Jan 27 22:50:52 UTC 2007 default 0 timeout 8 gfxmenu (/dev/sda,7)/boot/message The /dev/sda7 is wrong here. It should be in grub speak, which if this
charles@daphatbell.com wrote: partition is correct, would be hdx,6, depending on how your system sees the sata controller. If it sees it as the first controller, hd0,6, if not, then depends on your IDE controller, perhaps hd2,6
###Don't change this comment - YaST2 identifier: Original name: windows 1### title windows 1 rootnoverify (hd0,0) chainloader (hd0,0)+1 ###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (/dev/sda,7) wrong root designation. See above. kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=0x317 resume=/dev/sda7 Which is the root partition? it assigned sda7 for resume, so that should be a swap partition. splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- openSUSE 10.2 root (/dev/sda,7) Again wrong kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=normal showopts ide=nodma apm=off acpi=off noresume edd=off 3 initrd /boot/initrd-2.6.18.2-34-default
What does your /boot/grub/device.map look like, to know how grub sees your controllers? -- Joe Morris Registered Linux user 231871 running openSUSE 10.2 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 28 Jan 2007 08:53:02 +0800, "Joe Morris (NTM)"
On Saturday 27 January 2007 18:36, charles@daphatbell.com wrote:
###Don't change this comment - YaST2 identifier: Original name: linux### title openSUSE 10.2 root (/dev/sda,7) <<============= THIS IS WRONG kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=0x317 resume=/dev/sda7 splash=silent showopts initrd /boot/initrd-2.6.18.2-34-default Your root specification is not correct. Should be:
root (hd0,6) ... and that is assuming that the /boot partition is on /dev/sda7. (they number from zero) -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 19:10:33 -0600, M Harris
On Saturday 27 January 2007 19:13, Charles R. Buchanan wrote:
So instead of sda7, sda8, and sda9, it should be hd0,6, hd0,7 and hd0,8? hd0,6 would still be the swap partition, correct? It works like this...
The first number is the disk number ... from zero... so hd0 is your first physical drive... hd1 would be the second and so on. The second number is the partition number ... from zero... so (hd0,6) is the seventh partition on the first hard drive. see? You *must* know your partition table. You can manually adjust the menu.lst file with vi (vim) or emacs or whatever. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 January 2007 19:22, M Harris wrote:
It works like this... Here is a sample from my menu.lst......
###Don't change this comment - YaST2 identifier: Original name: linux### title SUSE LINUX 10.0 root (hd0,4) kernel /vmlinuz root=/dev/sda6 vga=0x317 selinux=0 resume=/dev/sda3 splash=silent showopts initrd /initrd You'll notice the kernel root is on /dev/sda6 (that's the actual device) and you'll notice that my root (hd0,4) is where my /boot partition is located. I place my / and my /boot on different partitions. Anyway, my /boot is on (hd0,4) on my first drive partition number 5 (the actual device is /dev/sda5). Hope this helps -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 19:37:08 -0600, M Harris
On Saturday 27 January 2007 21:33, Charles R. Buchanan wrote:
I'll probably have to wipe the mbr and start over again. :-( Will keep you informed. Well, yeah. You'll need to install grub.
One of the cool things about grub is that only the very small 1st stage is loaded into the mbr. The second stage is loaded from /boot and the whole process is controlled by the menu.lst profile at bootup... its dynamic too... so that it can be changed on the fly (grub commands) at bootup and it can be changed with an editor while the machine is running.... no need to reload the mbr every time a change is made (as in lilo). Well, we missunderstood your situation. I thought you were booting with grub and experiencing difficulty.... I did not realize that you were booting from lilo. <sorry> Good night... I've had enough for one day. -- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 23:40:57 -0600, M Harris
On Sat, 2007-01-27 at 17:13 -0800, Charles R. Buchanan wrote:
On Sat, 27 Jan 2007 19:10:33 -0600, M Harris
took time to say the following: (^_^)On Saturday 27 January 2007 18:36, charles@daphatbell.com wrote: (^_^)> ###Don't change this comment - YaST2 identifier: Original name: linux### (^_^)> title openSUSE 10.2 (^_^) root (/dev/sda,7) <<============= THIS IS WRONG (^_^)> kernel /boot/vmlinuz-2.6.18.2-34-default root=/dev/sda8 vga=0x317 (^_^)> resume=/dev/sda7 splash=silent showopts (^_^)> initrd /boot/initrd-2.6.18.2-34-default (^_^) Your root specification is not correct. Should be: (^_^) (^_^) root (hd0,6) (^_^) (^_^) ... and that is assuming that the /boot partition is on /dev/sda7. (they (^_^)number from zero) (^_^) (^_^) (^_^)-- (^_^)Kind regards, (^_^) (^_^)M Harris <
So instead of sda7, sda8, and sda9, it should be hd0,6, hd0,7 and hd0,8? hd0,6 would still be the swap partition, correct?
No it should still be sda?, if sda7 is your swap, and sda8 is your / then your grub menu list ought to point to /dev/sda8 and not /dev/sda7 for your root partition. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 20:23:24 -0500, Mike McMullin
On Sat January 27 2007 18:50, Charles R. Buchanan wrote:
Hmm? So I should manually change these settings? I was almost confident about the partitions because sda7 (swap), sda8 (root), and sda9 (home) was correct as far as where they were on the drive itself.
My point is this: The YaST bootloader configuration module is just scripting designed to inspect and *hopefully* correctly identify the purpose and location for each drive and partition that it "sees". When it inspects a simple environment, as in 0 or a single already installed operating system, it generally seems to deduce and write things correctly. However, when it inspects more complex arrangements (like the time I had 9.3, 10.0, 10.1, Win98SE and XP installed) it seems to be more vulnerable to mapping some of the partitions incorrectly. I've never seen it write incorrect directories or paths, just propose to write incorrect drive and/or partition numbers. I've learned it is a good idea to **always** double-check it's work before committing a proposed configuration to disk. Keep in mind that YaST modules are excellent and very helpful GUI "front-end" tools, but they aren't 'deeply sophisticated' or omnipotent. Sometimes the human must intervene! ;-) regards, Carl Carl -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 January 2007 16:38, Charles R. Buchanan wrote:
I'm still at it. :-) This is still giving me problems. It has also made me question the whole thing. Part of the error statement is as follows:
setup = stage2=/boot/grub/stage2 (hd0) (/dev/sda7) Would you be willing to post your menu.lst?
-- Kind regards, M Harris <>< -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 27 Jan 2007 17:29:50 -0600, M Harris
participants (6)
-
Carl Hartung
-
Charles R. Buchanan
-
charles@daphatbell.com
-
Joe Morris (NTM)
-
M Harris
-
Mike McMullin