Help please for a newbie - can't boot openSuse

Thanks in advance…
I installed openSUSE 11.0 KDE4 this morning no probs, have been running fine getting to know stuff. Was just fiddling with firefox cause it stopped working, downloaded a few updates (some KDE stuff and some firefox stuff). I rebooted as per instructions and when computer restarts GRUB only gives one option to boot = windows.

What can I do?
Apologies if this problem is in another thread, i had a little look but couldn’t find any help.

So the openSUSE boot menu (grub) now only has one selection, for Windows? Or only the Windows selection actually works?

Which do you have, DVD or Live-CD?

Only one selection to choose from, that of windows (xp)
I have live-cd

I also just ran the live-cd
yast > bootloader
it chugged away for a bit then told me that due to the partitioning it couldn’t install the bootloader


fdisk -l -u

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x97389738

then table of drives which i'll get when i can get it on the email.

cat /boot/grub/menu.lst

cat: /boot/grub/menu.lst: No such file or directory

cat /boot/grub/device.map

cat: /boot/grub/device.map No such file or directory

cat /etc/grub.conf

cat: /etc/grub.conf No such file or directory

When i get to GRUB on the boot up I find only windows available. I edit windows to find

rootnoverify (hd0,5)
chainloader (hd0,0)+1

which is confusing as shouldn’t rootnoverify be (hd0,0)?

You tried to use the commands I provided in another similar thread. There can be a number of causes, so to avoid posting back and forth getting one piece of data at a time, it’s better to get all relevant data at once. But what you did won’t work (except the fdisk command; we need that exactly as output).

Boot from the Live-CD. Open a terminal window. Switch to root (the “su” command). Then do this (assuming you formatted with the ext3 file system):

mount -t ext3 /dev/<partition> /mnt

where is the openSUSE root (/) partition. So for example, /dev/sda2 or /dev/sda3 or . . . Now do this


chroot /mnt

You are now root under your installed OS rather than the Live-CD OS in RAM. Now you can do the following

cat /boot/grub/menu.lst

cat /boot/grub/device.map

cat /etc/grub.conf

ls /boot

uname -r

exit

The “exit” will take you out of the chroot environment. Again, be sure to post back the output of the fdisk command, too.

As far as the grub boot stanza for windows, the rootnoverify is alright. In most cases, it’s not needed anyway with the chainloader command written as yours is. What you’re missing is the openSUSE stanza, maybe more. The above will tell us. (This has happened with some kernel updates, which re-write the grub control file.)

ok, cheers, i’m working through it…


linux@linux:~> su
linux:/home/linux # cd /
linux:/ # fdisk -l -u

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x97389738

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    83891492    41945715    7  HPFS/NTFS
/dev/sda2        83891493   234436544    75272526    f  W95 Ext'd (LBA)
/dev/sda5        83891556    85995944     1052194+  82  Linux swap / Solaris
/dev/sda6        85996008   127941659    20972826   83  Linux
/dev/sda7       127941723   234436544    53247411   83  Linux

Disk /dev/sdb: 1026 MB, 1026555904 bytes
16 heads, 32 sectors/track, 3916 cylinders, total 2004992 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x14871486

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          32     2004991     1002480    b  W95 FAT32
linux:/ # mount -t ext3 /dev/sda6 /mnt
linux:/ # chroot /mnt
linux:/> cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Thu Oct  9 19:41:25 BST 2008
default 0
timeout 8
gfxmenu (hd0,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
    rootnoverify (hd0,5)
    chainloader (hd0,0)+1
linux:/> cat /boot/grub/device.map

(hd0)   /dev/sda
linux:/>
linux:/> cat /etc/grub.conf
setup --stage2=/boot/grub/stage2 (hd0) (hd0,5)
quit
linux:/> ls /boot
backup_mbr                    symsets-2.6.25.16-0.1-default.tar.gz
boot                          symtypes-2.6.25.16-0.1-default.gz
config-2.6.25.16-0.1-default  symvers-2.6.25.16-0.1-default.gz
grub                          System.map-2.6.25.16-0.1-default
initrd                        vmlinux-2.6.25.16-0.1-default.gz
memtest.bin                   vmlinuz
message                       vmlinuz-2.6.25.16-0.1-default
linux:/> uname -r
2.6.25.5-1.1-default
linux:/>

Thanks for your time mingus725, but the problem degenerated and i couldn’t even get to windows. So I am attempting i reinstall now and it seems to be working ok.
If it all goes wrong i’ll come back to this thread.