LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-02-2002, 06:06 PM   #1
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Rep: Reputation: 15
Lost O/S Update part 1


Firstly thanx to those that replied with help.

Yes i can only assume the lilo boot parttition was on my master hdd & now after reformat & reinstall of new o/s's i have lost it. Yes i can boot into it from a boot disk but how can i add this boot sector again.
When starting machine it used to go to lilo where i could then press enter to go to Linux or type dos to go to boot loader. This is how i idearly want it

Can i do something now that i am into Linux??. This is the information i can give about current setup

Please see next posting for shell details on lilo..

Regards

Andrew
 
Old 05-02-2002, 06:08 PM   #2
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
Lost O/S update part 2

[root@echelon /root]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdb5 6073056 2685720 3140580 46% /
/dev/hdb1 27987 4977 21406 19% /boot

[root@echelon /root]# /sbin/lilo -v -v -t
LILO version 21, Copyright 1992-1998 Werner Almesberger

Reading boot sector from /dev/hdb5
Warning: /dev/hdb5 is not on the first disk
Merging with /boot/boot.b
Secondary loader: 8 sectors.
Syntax error near line 12 in file /etc/lilo.conf
Removed temporary file /boot/map~

This is my lilo.conf file


boot=/dev/hdb5
read-only
prompt
timeout=50
vga=normal

image=/boot/vmlinuz-2.2.19-6.2.12
root=/dev/hdb5
label=linux
append=

other=/dev/hdb1
label=dos
table=


Thankyou once again for any help..
 
Old 05-02-2002, 10:15 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Wow, hold on a sec, in your lilo.conf the entry for dos is pointing to /boot partition (no good), run as root
/sbin/fdisk -l
to list all the partitions, locate one which is FAT32 or NTFS. BTW what is the second OS, Win9x/Me or NT/2000/XP?
then you will have to substitute
other=/dev/hdb1 to /dev/hdXN learned from fdisk, it might be /dev/hda1, and rerun lilo to write it to MBR.
 
Old 05-02-2002, 11:00 PM   #4
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
Unhappy O/S issue

Hi Neo

master is a 20 gig IDE 12gig win98 & 8gig Win2000 slave is 6 gig Linux..

jester
 
Old 05-03-2002, 05:37 AM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
As neo77777 said, as root run /sbin/fdisk -l to get a list of your partitions.

To get lilo to work again, you'll have to change the boot= line to boot=/dev/hda and run /sbin/lilo. This will put lilo into your mbr.

The error you're getting around line 12 is the fact that the table= line is incomplete. It would probably look like this table=/dev/hda.

So your lilo.conf would look something like this:

boot=/dev/hda
read-only
prompt
timeout=50
vga=normal

image=/boot/vmlinuz-2.2.19-6.2.12
root=/dev/hdb5
label=linux
append=

other=/dev/hda1
label=dos
table=/dev/hda
 
Old 05-03-2002, 09:25 AM   #6
jester_69
Member
 
Registered: May 2002
Location: Sydney Australia
Distribution: Redhat 6.1 & 7.2
Posts: 91

Original Poster
Rep: Reputation: 15
Thanx for your help

Thanx everyone. I am back up & running

regards

Jester
 
Old 05-03-2002, 09:40 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
You're welcome.

How did you get it working?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
internet sharing lost after update Suse 9.2 newtuxuser Linux - Networking 6 03-14-2005 05:46 AM
FC3 kernel update lost sound rdmenotte Linux - Software 1 01-26-2005 01:16 AM
Home Alone with PHP, part 2: Lost in links! Mega Man X Programming 13 09-11-2004 06:52 AM
i have lost redhat 8.0 update icon Nuks Linux - Distributions 7 03-22-2003 12:00 AM
Lost part of my Panel cli_man Linux - Newbie 2 05-02-2002 09:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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