Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old January 14th, 2003, 04:12 AM
hardseeker hardseeker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 64 hardseeker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
reinstalling linux boot loader - lilo / grub ?

hello, i can't reinstall the boot loader as i have a windows me on the 1st partition and RH8.0 on another partition.

i tried to rerun lilo or grub


after i boot using a diskette, lilo replied.

can't install on partition 0 * 388

or when i was in grub

grub> root (hd0,1)
grub> setup (hd0)

it also replied - cant install ?


how can i do it ?

i dont want to reinstall RH from the cd and overwrite my data files
__________________
perl / cgi newbie

Reply With Quote
  #2  
Old January 14th, 2003, 05:28 AM
tank80's Avatar
tank80 tank80 is offline
php-oriented object
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: 0x9832053
Posts: 173 tank80 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 49 sec
Reputation Power: 7
Send a message via ICQ to tank80
if you can login in RH8 the do this:

- from a dos prompt do "fdisk /mbr" to clean the boot record
- login in rh8 and from shell type "grub-install 'hd(0,1)'"

this will reinstall grub on the first partition

Reply With Quote
  #3  
Old January 17th, 2003, 03:08 PM
hardseeker hardseeker is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 64 hardseeker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
yes, i can do a grub-install

but after the grub menu comes up, and when i choose RH8

it says

kernel /boot/vmlinuz-2.44.18-14 root=LABEL=/

Error 15 : File not found

but when i go there,

the file is there ???

very strange

also, when i try to install LILO, it says

Boot sector of /dev/hda doesn't have a LILO signature

Reply With Quote
  #4  
Old January 17th, 2003, 03:25 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
Observation:

By any chance, is your kernel name supposed to be:

/boot/vmlinuz-2.4.18-14

Not:

/boot/vmlinuz-2.44.18-14

?

Also, which did you install first, and which system is on which partition/disk?

Reply With Quote
  #5  
Old January 17th, 2003, 03:26 PM
tank80's Avatar
tank80 tank80 is offline
php-oriented object
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: 0x9832053
Posts: 173 tank80 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 49 sec
Reputation Power: 7
Send a message via ICQ to tank80
mmmh...i think it's time to MANUAL EDIT...tadaaaaa!!!
here is a sample config for grub.conf file:
Code:
#boot=/dev/hda
default=0
timeout=10
#splashimage=(hd0,0)/grub/splash.xpm.gz
title Redhat Linux 8
	root (hd0,0)
	kernel /vmlinuz ro root=/dev/hda2
	initrd /initrd-2.4.18-3.img

modify it as you need...don't forget to install grub as the bootloader

Reply With Quote
  #6  
Old January 21st, 2003, 10:04 AM
tank80's Avatar
tank80 tank80 is offline
php-oriented object
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: 0x9832053
Posts: 173 tank80 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 49 sec
Reputation Power: 7
Send a message via ICQ to tank80
found this link on IBM
click

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > reinstalling linux boot loader - lilo / grub ?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway