SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem with my Linux-Machine.
After I installed a "fresh" Linux (Suse 9.2), I can't boot it anymore.
When I try to boot from harddisk, on my screen is printed "GRUB" and after that my system freezes.
I also tried to change the bootloader into LILO, but it made the result, that the half of my screen was printed up withs "9"'s and after that it also froze.
I don't know why this happens. The same settings work on a virtual machine erfectly, so my CDs must be ok.
I'd guess that grub is not able to find the stage2 files in the /boot partition. This may be due to a wrong assignment of this partition by the BIOS. But you should be able to boot into your system by using the boot CD. Do you have a mixed system with both S-ATA and IDE controller? I've heard may reports the the drive order gets mixed up. Maybe there are some BIOS settings that you could play with (LBA mode, RAID settings...), but I don't know more about this...sorry.
I tried to reinstall the GRUB for at least 6 times.
Because I recognized that this didn't work, I tried it with LILO, but it didn't help.
The only way to boot up my Linux is to run YAST from the CD and start the installation-mode.
After that I can select "launch installed system" and then I can boot it, but just when I inserted the CD...
As I expected: /boot is in your case hd0,0 (hda1), but grub assumes it is on hd0,2 which is your root partition.
Now I am not sure at all: is 'root' for grub the same as for Linux? Or is it the place where the kernel lies (which is /boot). So maybe it is enough to change the path to menu.lst to hd0,0 or you need to change both (root (hd0,0)). Have a try
I think it is all about showing grub the correct /boot partition. As you seem to get into grub command line, you could try the suggestions from SUSE for a command-line boot: http://portal.suse.com/sdb/en/2002/0..._overview.html
Code:
...In order to boot a system with the Grub Shell, commands such as the following can
be entered manually (in this example for booting a Linux system with the boot partition
/dev/hda5 and the root partition /dev/hda7):
grub> kernel (hd0,4)/vmlinuz root=/dev/hda7 vga=791
[Linux-bzImage, setup=0x1400, size=0xe9a45]
grub> initrd (hd0,4)/initrd
[Linux-initrd @ 0x369000, 0x863c9 bytes]
grub> boot
The syntax can be seen in the file /boot/grub/menu.lst on your system. More information is
provided in the section "The Menu File" further below. Important: When you are finished, do
not forget to enter "boot" to start the system.
A practical hint: Since Grub can directly access the Linux file system when booting the system,
the TAB key can be used to autocomplete file names (as in the bash). This is quite useful
e.g. if you do not know the exact file name. Another useful feature: If you do not know in
which partition the Linux kernel is located, you can search for the kernel with the following
commands:
find /boot/vmlinuz
or
find /vmlinuz
In our example, these commands would produce the following output:
(hd0,4)
Of course you can also use the command find to search for any other file (such as the
initrd)....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.