Re: [opensuse] LILO/Grub Problem
- From: "Joe Morris (NTM)" <Joe_Morris@xxxxxxx>
- Date: Sun, 04 Feb 2007 08:31:54 +0800
Bob S wrote:
On Saturday 03 February 2007 02:27, Joe Morris (NTM) wrote:Sorry, watch the wrapping. Perhaps some explanation of the above will
Add this to this file.
### Added 10.0 Boot ###
title openSUSE 10.0
kernel (hd1,0)/vmlinuz root=/dev/hdb3 vga=0x31a resume=/dev/hdb2 splash=silent showopts
help. [Note, i changed a few items above from original try]. root is
for grub to find the root of the OS (I originally thought it needed to
be the boot partition). I forgot since I have not had a separate boot
for some years. Kernel like is to load the kernel image. Here I added
the grub notation to find vmlinuz on the boot partition in the root of
that partition. My root line above appears to be wrong from a few pages
I have seen searching online, but I have no way of determining what it
would be for your system. Check out
it appears from these it may be something like
(hd1,2)/dev/VolGroup00/LogVol00 or something like it. BTW, according to
the release notes, Yasts partition tool can handle LVMs and might at
least allow you to get to your data while we get this working. It might
also help figure out what the root= line should be.
OK, did as instructed. Sadly it did not work. Does it matter where it isYes, I assumed you would add it after the last entry, but it would only
placed in the file?
change the number for which is the default choice if you do not choose.
Sorry, like I said, not that familiar with lvm. Is it called /dev/hdb3
fdisk -l /dev/hdb gives me 3 partitions. A 1G boot partition, a 1G swapIs that one hdb3? or did you have any extended partitions?
partition, and a 28G LVM (which I have my home and all other partions on
Yes that LVM is hdb3
like normal, or what is it called? For example, I run a raid 1, so mine
Yes. Are you thinking that the boot parameters are inside the LVM?No, your root partition is in there.
That's whyNo, that is because that is where your root partition is (i.e. /).
you called root=/dev/hdb3 in the script?
When that didn't work I went aheadThat is your boot partition. You need a separate boot (I checked the
and changed it to root=/dev/hdb1. That didn't work either.
release notes) if you use a lvm. Inside your boot partition (hdb1) is
your kernel and most importantly your initrd, which I would assume is
fine since you haven't messed with hdb. Your initrd will have the
necessary modules to recognize your lvm volume.
Registered Linux user 231871 running openSUSE 10.2 x86_64
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx