LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot problems after installing SUSE 9.1 PRO (https://www.linuxquestions.org/questions/linux-newbie-8/boot-problems-after-installing-suse-9-1-pro-223881/)

markyb74 08-29-2004 09:43 AM

Boot problems after installing SUSE 9.1 PRO
 
I have installed SUSE 9.1 PRO on my HP PC which was running Windows XP and now I am unable to boot my pc. I get a black screen with the text GRUB and a cursor. I can't type anything.
If I leave the installation DVD in the drive then I get the option to install. YaST detects that Linux has already been installed and gives me the option to boot into the installed version and this works and brings up KDE :) However when YaST is running my monitor complains that the video resolution is out of range :confused:

According to YaST:
I have the following partitions
Device Size Type Mount Start End
/dev/hda 111.7GB WD1200BB-22DWAO 0 14592
/dev/hda1 4.0GB Win95 FAT32 0 526
/dev/hda2 55.5GB HPFS/NTFS 528 7781
/dev/hda3 52.1GB Extended 7782 14590
/dev/hda5 996.1MB Linux swap swap 7782 7908
/dev/hda6 51.1GB Linux native / 7909 14590

/etc/grub.conf is
root (hd0,5)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,5)/boot/grub/menu.lst
quit

/boot/grub/device.map is
(hd0) /dev/hda
(fd0) /dev/fd0

/boot/grub/menu.lst contains

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

title Linux
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x31a splash=silent console=tty0 desktop resume=/dev/hda5 showopts
initrd (hd0,5)/boot/initrd

title Floppy
root (fd0)
chainloader +1

title Failsafe
kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=normal noresume iommu=noforce maxcpus 0 3
initrd (hd0,5)/boot/initrd

Can anyone tell me what the problem is please?

Cheers,

Mark

murho 08-29-2004 10:54 AM

Hi,
I am pasting some lines of my menu.lst :

title Linux
kernel (hd0,3)/boot/vmlinuz root=/dev/hda4 vga=0x317 splash=silent desktop resume= showopts
initrd (hd0,3)/boot/initrd

In my case the swap memory is located at hda3 and the root partition is in hda4.

Hope it helps .. i am a newbie myself :-S

markyb74 08-29-2004 11:03 AM

Thanks for the reply murho, your menu.lst entry for linux looks very similar to mine. Does your menu.lst also have an entry for Windows in because I am sure it should be there and I would lke to rescue my mp3 collection :)

Mark

murho 08-29-2004 06:35 PM

Hi ... nicht zu danken (don't thank me) ...

Well, my menu.lst does contain an entry for windows and one more for Failsafe --> cos these are the three loading options for the 3 OSes that I want to run.

The good news is that u can still back up ur mp3 collection :cool: ... but regarding the video resolution problem, I have no clue :( (sorry ... mybe u can try searching some other threads).

markyb74 08-30-2004 01:46 AM

I tried adding an entry into menu.lst for Windows but I still get a black screen with the word GRUB and don't get the chance to select any OS :(
I think that there might be some problem with my partitons that means GRUB doesn't work. I would be grateful if anyone who has got a dual boot system with SUSE vould have a look at their partitons and grub.conf file and see what is wrong with mine.

Mark

Joe Nayares 08-30-2004 02:22 AM

If you boot up with the suse install dvd > choose install then after it goes through the detsction process again
choose repair installed filesystem, choose your installation and follow the repair instructions, they vary from
completely automatic to a detailed options menu. the procedure may vary but I've used it before when i fouled
something up.
Joe

markyb74 08-30-2004 02:33 AM

THanks for the suggestion Joe, however I have already tried doing that as there is very little that my pc can currently do. It did say that a couple of packages needed repairing but even after they were repaired I still got the same problems. :(
I think that whatever went wrong happened when I initally tried to install SUSE and it partitioned my hard drive. If anyone with more experience could have a look at the files I posted earlier I would be most grateful :D

Mark

markyb74 09-04-2004 07:47 AM

As so far the only suggestion SUSE's support have come up with is to use a windows recovery CD (which I don't have) I have been trying things out. Going into the linux system and as root typing grub gave me the grub command prompt. I then added the commands
root (hd0,5)
setup (hd0)
quit
Now when I try to boot my pc I get the message GRUB Loading stage 1.5
GRUB loading, please wait
Howr it doesn't do anything and stays on that screen

Mark :confused:

Calum 09-06-2004 01:03 PM

Here is my /boot/grub/menu.lst file modified to reflect the correct values for the partitions you have given. Try backing up your existing menu.lst file (to menu.old or something) and use this one instead and see how it works.

By the way, the below assumes that windows is on the first partition (the vfat one), if it is actually on the second (ntfs) one, then the line saying root (hd0,0) should actually say root (hd0,1)

edit:
http://portal.suse.com/sdb/en/2002/1...blackinst.html
that page might explain what's going on. If the file below still doesn't work, try replacing "vga=0x317" with "vga=normal" like it suggests and see how you go.

Code:

# Modified by YaST2. Last modification on Wed Sep  1 22:44:14 2004

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE-Linux
    kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 vga=0x317 splash=silent desktop resume=/dev/hda5 showopts
    initrd (hd0,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: MS-Winsux###
title MS-Winsux
    root (hd0,0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: floppy###
title Floppy
    root (fd0)
    chainloader +1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe
    kernel (hd0,5)/boot/vmlinuz root=/dev/hda6 showopts ide=nodma apm=off acpi=off vga=normal noresume nosmp noapic maxcpus=0  3
    initrd (hd0,5)/boot/initrd

###Don't change this comment - YaST2 identifier: Original name: Memory Test###
title Memory Test
    kernel (hd0,5)/boot/memtest.bin


leessusan 09-14-2004 10:21 PM

I may have same problem after install SUSE 9.1 pro. on my IBM Thinkpad A31p.

According to SUSE

http://portal.suse.com/sdb/en/2004/0...booting91.html

One can follows the procedure to fix the problem, but it does NOT fixes my, so good luck.

markyb74 09-18-2004 09:45 AM

I also found the page on SUSE's website (http://portal.suse.com/sdb/en/2004/0...booting91.html) about Windows not booting but it didn't seem to make any difference to my pc.
I have now got a second hard drive installed that as the master drive on my pc. I put Windows 2000 on it and created a partition using Partition Magic for linux to go on. The install went fairly smoothly and I am getting the grub menu when I boot and can boot into linux ok. However when I try to boot into the windows partition the screen just has
rootnoverify (hd0,0)
makeactive
chainloader +1

This is exactly what the window entry in my grub.conf file is. Help :scratch:

Mark


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