LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 04-02-2008, 04:12 AM   #1
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Rep: Reputation: 15
Fresh Install - Will Not Boot, OpenSUSE 10.2 on IBM System x3650


I have installed OpenSUSE 10.2 from CD onto an IBM System x3650. The installation seemed to be fine, but upon rebooting, I was presented with a blank screen. All CDs were media checked, and all are correct.

I rebooted from the CD and carried out a system check from the installation menu.

The result was "No valid root partition found". I retried, and got the same message. Yesterday, I did manage to convince the system to boot to Linux from somewhere in the menu options after booting from CD (it dropped to the text menus, and then I found an option to boot to linux, I think from sda2 - Linux ran fine once it was booted).

I simply agreed to the default partition options during installation. The partitioning tool reports my partitions as follows:

/dev/sda 2.2TB ServeRA-Data
/dev/sda1 2.0GB Linux Swap
/dev/sda2 20.0GB EFI boot
/dev/sda3 2.2TB Linux native

The problem does not seem to be with Linux; the system simply won't boot to Linux. Can anyone help?

'Chops

Additional information edit: It's the 64 bit version.
More additional information: Through using the installation CD, I can drop to the text menu and order a boot from sda2, which gets SUSE started, so if I need to do something from within SUSE, I can.

Last edited by MoschopsUK; 04-02-2008 at 05:12 AM. Reason: Additional information
 
Old 04-02-2008, 07:40 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,696

Rep: Reputation: 286Reputation: 286Reputation: 286
I'd guess that the first thing to try is to boot into SuSE, then open a console. Type 'grub' (sans quotes) and press enter to get to the grub prompt. Then run 'grub-install /dev/sda' to be certain that grub stage one is written to the MBR, unless there is reason that you do not want grub in the MBR. In which case, you need an alternate means of booting SuSE.

Note: note that 'grub-install /dev/sda' does not include the partition number. In this format, /dev/sda refers to the first sector of the drive, the MBR.

If that doesn't fix the boot problem, then in a console, su to root and run 'cat /boot/grub/menu.lst > menu.txt'. That will produce a text file which you can copy/paste relevant information here, namely the menu entry for SuSE.

Do the same for /etc/fstab, and paste here the entries for the /dev/sda partitions.

A comparison of menu.lst and fstab may be necessary to find and fix the problem if my first suggestion fails to do so.

Last edited by bigrigdriver; 04-02-2008 at 07:57 AM.
 
Old 04-02-2008, 08:57 AM   #3
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Here are the results:

----------------------

GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> install /dev/sda

Error 12: Invalid device requested

----------------------

menu.txt

# Modified by YaST2. Last modification on Wed Apr 2 10:56:19 BST 2008
default 2
timeout 8
##YaST - generic_mbr
gfxmenu (hd0,1)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.2

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.2

###Don't change this comment - YaST2 identifier: Original name: 2.6.18.2-34-default###
title 2.6.18.2-34-default
initrd (hd0,1)/boot/initrd-2.6.18.2-34-default

--------------------

fstab.txt

/dev/sda2 / ext3 acl,user_xattr 1 1
/dev/sda3 /home ext3 acl,user_xattr 1 2
/dev/sda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0


I hope this is what you need to help me further.

'Chops
 
Old 04-02-2008, 09:05 AM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,696

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
grub> install /dev/sda
Try this instead:
Quote:
grub> grug-install /dev/sda
 
Old 04-02-2008, 09:31 AM   #5
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Here's the result. I am running grub as root.


GNU GRUB version 0.97 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub> grub-install /dev/sda

Error 27: Unrecognized command

grub> grug-install /dev/sda

Error 27: Unrecognized command

grub>
 
Old 04-02-2008, 05:54 PM   #6
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,140

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
If you can boot the opensuse, otherwise use livecd to boot and go to your opensuse and: cd /boot/, then do: ls -l to see if you have your grub directory, vmlinuz and initrd files. Then: cd grub/, do: ls -l and see if your stage1 and stage2 files are there. If they are there, grub is installed and there is no need to try to install again. In your post, you have no kernel entry for opensuse which will be needed. Below is a menu.lst entry for opensuse from my cptr.

title OPENSUSE 10.3
root (hd1,10)
kernel /boot/vmlinuz-2.6.22.13-0.3-default root=/dev/disk/by-id/scsi-SATA_ST3120814A_4LS4WPCN-part11 vga=0x31a resume=/dev/sdb2 splash=silent showopts
initrd /boot/initrd-2.6.22.13-0.3-default

You will need an entry similar to this in your menu.lst.


Here's a quote from the Grub Manual: "If you install GRUB into a partition or a drive other than the first one, you must chain-load GRUB from another boot loader. Refer to the manual for the boot loader to know how to chain-load GRUB."

Install stage1 to mbr from grub prompt: setup (hd0)
You need something in the mbr to boot from your root directory on sda2. Your sda1 is a swap partition so I don't think this will work.

If you try this, post results including any error messages.
 
Old 04-03-2008, 02:42 AM   #7
MoschopsUK
Member
 
Registered: Apr 2008
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks for all your help, chaps. Ultimately, I decided to reinstall from the start again but this time ignore the SUSE suggestions for partitions. I had to spend some time reading up on partitions and so forth, paying particular attention to the root partition, but it was worth it and SUSE now seems very happy with the partitions I chose.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
opensuse 10.2 and 10.3beta install CD/DVD boot problems on K6 system TurboI Suse/Novell 1 09-19-2007 06:44 AM
KDE System Guard problem with fresh install of Mandriva 2006. undeadmechanic Mandriva 6 01-05-2006 09:41 PM
error loading operating system message after fresh install Maverick1182 Mandriva 2 07-29-2005 07:30 AM
New system, fresh install, lovely display errors ;_; R00ts Debian 4 03-09-2005 02:40 AM
Fresh install will not boot boa Linux - Newbie 4 08-21-2003 05:11 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration