Solved

Machine won't boot after upgrade to Suse 10.1

Posted on 2006-11-30
10
805 Views
Last Modified: 2011-09-20
Hi,

Upgraded machine from Suse 9.1 to Suse 10.1.  Upgrade seemed to go fine, however when I rebooted for the first time it would not boot.  All I get is a flashing cursor nothing else on the screen.  Booted off the Suse 10.1 install CD and from there was able to boot from hard disk into the OS fine so I presume the problem is with Grub.  Tried reinstalling it using /usr/sbin/grub-install /dev/hda said it reinstalled fine but still won't boot.  Not sure what else to try, any ideas?

Cheers
Gareth
0
Comment
Question by:garethcummings
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 34

Expert Comment

by:PsiCop
ID: 18047572
It doesn't go into GRUB at all?
0
 
LVL 8

Expert Comment

by:Autogard
ID: 18048769
Use the boot CD to do the boot from hard disk.  Then when you get into SuSE, open up YaST --> System --> Boot Loader.  There you should be able to both select your boot loader and add/edit boot options.  You should at least see:

Label: SUSE Linux 10.1 (or something similar)
Type: Image
Image/Device: /boot/vmlinuz (/dev/hda2, root=/dev/hda2) ----- (replacing hda2 with whatever your hard drive is.  to find this out, run "df" on a shell and you should see under "Filesystem" which one it is.  I'm not sure exactly which one you want, probably the "/" partition.  It may be the "/boot" partition if you have one)

After making the appropriate changes, take the CD out and reboot to see if it works.

Good luck!
0
 

Author Comment

by:garethcummings
ID: 18052633
Grub actually looks fine from within YAST --> System --> Boot Loader.  I think maybe the problem is with the MBR as when I try and boot it does not go into Grub at all.  Any other ideas?
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 34

Accepted Solution

by:
Duncan Roe earned 420 total points
ID: 18057416
How about LILO? Boot Knoppix, your install CD or whatever, chroot to you HD root, mount /proc, create or edit /etc/lilo.conf, lilo -v -t to check it's OK, then lilo -v. A sample (from my system):

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
root = current
read-only
LBA32
map=/boot/map
# End LILO global section
# Linux bootable partition config begins
image = /boot/v2.6.8.1-1
image = /boot/v2.6.7
image = /boot/v2.6.8.1-1
  root = /dev/hda4
  label=v2.6.8.1-1-ide
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# DOS bootable partition config ends
0
 
LVL 15

Expert Comment

by:DonConsolio
ID: 18060277
What motherboard are you using ?
(had some problems with some intel server boards -> black screen / blinking cursor line 1 column 1 / hang)
Is your BIOS old or did you flash the newest version ?
(10.1 uses ACPI quite heavily - try the "failsafe" options in grub - noacpi, etc)
0
 

Author Comment

by:garethcummings
ID: 18100428
Have tried Lilo but it made no difference, I slaved the drive into a different machine and it made no difference.  The only thing I can think of is the MBR is messed up so it can't even find GRUB\Lilo to load.  Anyone have any tips on fixing the MBR??

Cheers
Gareth
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 18100584
When you say "slaved the drive into a different machine", what do you mean? The drive has to be jumpered as master or BIOS won't boot off it. What boot order have you configured in BIOS? lilo rewrites the MBR so I don't see how it can be messed up.
You could try reconfiguring BIOS boot order to have HD first.
0
 

Author Comment

by:garethcummings
ID: 18103068
Sorry when I said slaved I wasn't thinking, I swapped the hard drive out of a working machine and replaced it will the hard drive which is not booting up for me.  Still had the same problem which ruled out any BIOS issues.  However I tried LILO again this time using YAST to convert my existing GRUB file, I used your LILO -v to write and hey presto it is booting!!

So awarding all the points to duncan_roe thanks very much for the help!!

Gareth
0
 
LVL 4

Expert Comment

by:infleadorix
ID: 18103322
I had a similar symptom one time I tried installing (or upgrading, can't remember exactly) SLES. The cause of the problem I had was that during the install, it defaults to installing GRUB to the partition's boot sector (/dev/sda1) instead of the MBR. So, in that case, you just need to make sure to double-check the installation location of GRUB during the upgrade procedure.
0
 
LVL 15

Expert Comment

by:DonConsolio
ID: 18111504
- find an old dos/win9X boot disk and write a new master boot record with "fdisk /mbr"
- use fdisk to set your desired boot partition to "active"
- boot from CD/DVD and use yast to repair your boot process
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
centos commands 6 90
Why  my code (program) build with old compiler? 11 108
Disabling security updates Ubuntu 3 44
SMTP log file for IMSVA 5 29
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question