LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 02-20-2005, 06:37 AM   #1
WebWatcher
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Booting Problem


Hello @ all!

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 hope, you'll quickly help me!

THX!
 
Old 02-20-2005, 09:49 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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.
 
Old 02-20-2005, 09:50 AM   #3
DoubleOTeC
Member
 
Registered: Aug 2003
Location: Dominica
Distribution: RedHat, FC1, FC3, FC4
Posts: 266

Rep: Reputation: 30
Have you tried booting off of the CD's or a boot disk and re-installing the grub or lilo bootloader in the master boot record?

In my case for example, grub-install /dev/hda1

hope this helps...
 
Old 02-20-2005, 10:22 AM   #4
WebWatcher
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
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...

My hard disk is stored in:

/dev/hda1/ --> 100MB (Mountpoint: /boot) --> EXT2
/dev/hda2/ --> 300MB (double of RAM) --> SWAP
/dev/hda3/ --> 14GB (Mountpoint: /) --> Reiser (The Linux-System)


By Launching the OS through the CD Linux seems to know that it has to boot from /dev/hda3/ , but GRUB doesn't want to...
 
Old 02-20-2005, 10:40 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Could you please post your /etc/grub.conf? Maybe it expects stage2 on your root partition instead of /boot (I don't know why, but who knows ).
 
Old 02-20-2005, 10:50 AM   #6
WebWatcher
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
My /etc/grub.conf:

Code:
root (hd0,2)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 0x8000 (hd0,2)/boot/grub/menu.lst
quit
 
Old 02-20-2005, 10:56 AM   #7
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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
 
Old 02-21-2005, 01:37 PM   #8
WebWatcher
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
THX for this answer.
I tried it out, but it didn't help.

Do you have another idea?
 
Old 02-22-2005, 02:33 AM   #9
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
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)....

Last edited by abisko00; 02-22-2005 at 02:34 AM.
 
Old 02-23-2005, 05:27 PM   #10
WebWatcher
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Original Poster
Rep: Reputation: 0
I was able ro solve my problem.
The reason was, I didn't correctly mount my IDE in bios...

Oh dear...

______________________________
Computers help us to solve problems,
which we'ld never have without them.
 
  


Reply


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
booting problem hari78 Linux - Newbie 1 09-22-2005 02:59 PM
booting problem mare Linux - Software 6 09-02-2005 01:06 PM
booting problem einstien Linux - Hardware 1 07-06-2005 06:20 AM
Problem at booting satimis Linux - Hardware 2 04-10-2005 08:36 PM
problem booting up TallAmericano Mandriva 2 10-08-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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

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