LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 04-07-2002, 01:17 PM   #1
streamalot
LQ Newbie
 
Registered: Feb 2002
Posts: 13

Rep: Reputation: 0
Lilo - Writing to MBR - Curious Problem


Laptop - Windows2k and Red Hat 7.2 - 1 drive install
fdisk /mbr after install of 7.2 b/c of screw up
I now have to use a boot disk to start linux - not all bad
Updated to Lilo version 21.4.4

I am now trying to repair the lilo.conf file. When I run # /sbin/lilo, it appears to write to the mbr, but upon restart, nothing is changed?

Any ideas would be greatly appreciated!(Am i not writing to the MBR, if so why not?

Thanks
 
Old 04-07-2002, 01:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
what does the output of lilo -v -v say? what does your lilo.conf say?
 
Old 04-07-2002, 01:46 PM   #3
streamalot
LQ Newbie
 
Registered: Feb 2002
Posts: 13

Original Poster
Rep: Reputation: 0
/sbin/lilo -v -v output

/sbin/lilo -v -v output :::::

Lilo version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman
Reading boot sector from /dev/hdq
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Mapping message file /boot/message
Message: 46 sectors.
Boot image: /boot/vmlinuz-2.4.7-10
Setup length is 10 sectors.
Mapped 1569 sectors.
Mapping RAM disk /boot/initrd-2.4.7-10.img
RAM disk: 646 sectors.
Added 2.4.7-10
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Mapped 6 (4+1+1) sectors.
Added dos
Fatal: No images have been defined.
Removed temporary file /boot/map~
 
Old 04-07-2002, 01:53 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
/dev/hdq??? presumably that should be hda...
 
Old 04-07-2002, 01:59 PM   #5
streamalot
LQ Newbie
 
Registered: Feb 2002
Posts: 13

Original Poster
Rep: Reputation: 0
It is hda...see below

Lilo version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Mapping message file /boot/message
Message: 46 sectors.
Boot image: /boot/vmlinuz-2.4.7-10
Setup length is 10 sectors.
Mapped 1569 sectors.
Mapping RAM disk /boot/initrd-2.4.7-10.img
RAM disk: 646 sectors.
Added 2.4.7-10
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Mapped 6 (4+1+1) sectors.
Added dos
Fatal: No images have been defined.
Removed temporary file /boot/map~
 
Old 04-07-2002, 03:08 PM   #6
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
are you sure you've got the kernel images spelled correctly in lilo.conf?
 
Old 04-07-2002, 05:57 PM   #7
streamalot
LQ Newbie
 
Registered: Feb 2002
Posts: 13

Original Poster
Rep: Reputation: 0
I think so...

I think so. The problem is that when I run /sbin/lilo it is not writing to the MBR, at all. I am stumped. There is a good chance that I am not writing it to the correct place, but it seems correct.
 
Old 04-07-2002, 06:11 PM   #8
streamalot
LQ Newbie
 
Registered: Feb 2002
Posts: 13

Original Poster
Rep: Reputation: 0
Here it is again

/sbin/lilo -v -v:::::::
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Secondary loader: 11 sectors.
Mapping message file /boot/message
Message: 46 sectors.
Boot image: /boot/vmlinuz-2.4.7-10
Setup length is 10 sectors.
Mapped 1569 sectors.
Mapping RAM disk /boot/initrd-2.4.7-10.img
RAM disk: 646 sectors.
Added 2.4.7-10
Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
Mapped 6 (4+1+1) sectors.
Added dos
Fatal: No images have been defined.
Removed temporary file /boot/map~
 
Old 04-07-2002, 09:43 PM   #9
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Post the contents of /etc/lilo.conf.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with lilo and mbr ajk48n Slackware 11 07-13-2005 10:11 PM
cd writing and curious Pedroski Linux - Hardware 6 01-30-2005 03:41 AM
Problem with LILO and MBR pirgos_madden Slackware 4 11-03-2004 12:02 PM
lilo mbr problem heathpitts Linux - Newbie 3 06-10-2003 11:29 AM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 02:55 PM


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