LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2002, 10:43 AM   #1
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Rep: Reputation: 15
Redhat boot problem


After upgrade from 7.1 to 7.3 unable to boot from hard, only from floppy. I have grub installed in /dev/hda - first disk
Also i have /dev/sda(1,5,7) 1-root and /dev/sdb
When booting it says "Error loading operation system"
Now (from floppy) I am running normal kernel, not smp but i have a smp machine.
How can I make grub (or lilo) to boot without problems
Please, help it is a very important server
 
Old 06-03-2002, 01:50 PM   #2
cannonfodder
LQ Newbie
 
Registered: Mar 2002
Location: Rochester, NY, USA
Distribution: Mandrake 8.2
Posts: 3

Rep: Reputation: 0
Why don't you boot off the floppy and reinstall lilo or grub.

E.g.

/sbin/lilo

Should install lilo

Don't know how to do it in grub

/sbin/grub maybe?
 
Old 06-03-2002, 08:01 PM   #3
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Boot into linux with the floppy and check your /boot/grub/menu.lst or /boot/grub/grub.conf file to make sure that it contains the correct information about your system. Then run as root grub-install /dev/hda.
 
Old 06-03-2002, 11:43 PM   #4
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
Already done it, but doesn't works
 
Old 06-04-2002, 03:15 AM   #5
5amYan
Member
 
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
What does grub.conf look like now?

what kernel is running when you boot from floppy?

what kernel were you running before?

is it still in /boot?

Is smp compiled into the new kernel?

Last edited by 5amYan; 06-04-2002 at 03:22 AM.
 
Old 06-04-2002, 09:13 AM   #6
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
grub.conf
default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-3smp)
root (hd1,0)
kernel /boot/vmlinuz-2.4.18-3smp ro root=/dev/sda1
initrd /boot/initrd-2.4.18-3smp.img
title Red Hat Linux-up (2.4.18-3)
root (hd1,0)
kernel /boot/vmlinuz-2.4.18-3 ro root=/dev/sda1
initrd /boot/initrd-2.4.18-3.img

From floppy 2.4.18-3
Previuos was 2.4.4-2 - it's not important(it also wont boot without floppy)
yes it is in /boot
Redhat has a compiled kernel with smp
 
Old 06-04-2002, 09:14 AM   #7
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
I think it is not a boot loader problem, maybe it is a bios one, but not sure
 
Old 06-14-2002, 09:30 PM   #8
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try booting into linux with your boot disk and then run the command grub as root. Then run:

root (hd1,0)
setup (hd0)
quit

Then try rebooting.
 
Old 06-20-2002, 04:16 AM   #9
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
the same thing. I just don't know what to do. It also unpleasant, that it is a production server, so I can't experiment with booting for a long time. I already tried a lot of different ways. When I install lilo to /dev/sda it prints only "LI".

Last edited by NetScripter; 06-20-2002 at 04:18 AM.
 
Old 06-20-2002, 10:28 PM   #10
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Before the upgrade, were you able to boot into red hat 7.1 with grub?

After upgrading to red hat 7.3 and reinstalling grub, were you able to get the grub splashimage?

Do you have a separate /boot partition?

Did you add any hard drives?
 
Old 06-21-2002, 12:14 AM   #11
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
1. RedHat 7.1 had no grub, lilo was my boot manager
2. yes
3. no
4. I just add a news scsi drive /dev/sdb as hot pluggable
 
Old 06-21-2002, 04:32 AM   #12
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Since you had lilo working before, let's see if we can get it going.

When you upgraded to 7.3, a new System.map file may have been placed in the /boot folder. See if you can find it. It might look like this: System-2.4.18-3.map. The old map file is probably named map. You can check the map= line in the /etc/lilo.conf file to find out the name. It's also possible that map is a symbolic link to the real map file.

If there is a map file, you can rename it. Then create a symbolic link to the new System.map file and name the symbolic link map.

Then make sure all the entries in lilo.conf are correct and run /sbin/lilo. Reboot.
 
Old 06-25-2002, 03:00 AM   #13
NetScripter
Member
 
Registered: Feb 2002
Location: Russia
Distribution: Gentoo 2005.1, Ubuntu 5.10, Debian 3.1
Posts: 66

Original Poster
Rep: Reputation: 15
I solved a problem! Just made my IDE drive first, then install lilo there with map=/boot/map. Anyway, thanks everyone
 
Old 06-25-2002, 03:47 AM   #14
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.
Glad you got it working!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
redhat boot problem rahimzai Red Hat 2 10-17-2005 12:10 AM
problem, dual boot, xp/redhat, cdtray kept ejecting, del redhat part. wont boot a OS mraym84 Linux - General 2 08-22-2004 01:46 PM
RedHat 8.0 Boot Problem VirtLink Red Hat 0 02-08-2004 09:39 AM
Redhat 8.0 Boot Problem Apollo77 Linux - General 2 02-21-2003 09:22 PM
redhat boot problem gamenutt Linux - Newbie 4 03-11-2002 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:33 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