LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-06-2004, 10:02 AM   #1
nadim khemir
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake red-hat
Posts: 10

Rep: Reputation: 0
Unhappy Can't boot anymore "L 9A 9A 9A"


So I was gently working on a perl module when a gaming fever got me. I could get CS to install on one of my windows box so I thought I'd reboot my linux box (I have a dual booot) to try to install it there. Fatal mistake!

Some details:
A rather moder P4 box with Mandrake10.0 and WinXP.
Never had much problems before.
Thought I had installled GRUB!

The problem:
I can't boot no more.

What I've done so far:
Search the net for hours.
Tryed the rescue mode, reinstalled the boot loader in 10 different ways
mounted the drives, chrooted, ran lilo -v -C /etc/lilo.conf
Tried again and again in different ways.

I simple words, I'm stuck. I first can't understand how this can happend! Second I don't know how to fix it.

Someone knowladgable please help or point at something I can read and do.

Cheers, Nadim.
 
Old 08-06-2004, 11:54 AM   #2
rossAINTfakin
Member
 
Registered: May 2004
Location: Nashville
Distribution: suse personal 9.0, mdk 10
Posts: 30

Rep: Reputation: 15
somethoing similar happened to me when i removed my linux drive, and just tried to boot my windows drive, i have it installed on two sepearte hdd's, it was fixed when i reconnected the linux drive. i dont think you removed a drive, but my general attitude, when in doubt with linux, and to get it to a working state, reinstall...
 
Old 08-06-2004, 12:00 PM   #3
nadim khemir
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake red-hat
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by rossAINTfakin
my general attitude, when in doubt with linux, and to get it to a working state, reinstall...
That might work if you have 3 hours to waist for reinstalling the system but I also need another 2 or three days more to reinstall all I need. I've installed the system a week ago. That makes for a very bad Installation-time/usage ratio.

Cheers, Nadim.
 
Old 08-06-2004, 12:49 PM   #4
rossAINTfakin
Member
 
Registered: May 2004
Location: Nashville
Distribution: suse personal 9.0, mdk 10
Posts: 30

Rep: Reputation: 15
true, i do hope this gets fixed for you, best of luck.
 
Old 08-06-2004, 07:50 PM   #5
arvind_sv
Member
 
Registered: Oct 2002
Location: Bangalore
Distribution: Gentoo Linux
Posts: 96

Rep: Reputation: 16
Did you actually search at Google for "L 9A lilo"? I doubt it. Because, the first link would have interested you.

Also, NEVER reinstall a Linux system. It's not needed, except in the worst circumstances. Try using grub. You're using lilo.

If that does not work, post your lilo.conf here, alongwith your /etc/fstab.

Arvind

Last edited by arvind_sv; 08-06-2004 at 07:56 PM.
 
Old 08-07-2004, 02:46 AM   #6
nadim khemir
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake red-hat
Posts: 10

Original Poster
Rep: Reputation: 0
Post

I did that search but the first link didn't make me more inteligent! My situation differs in those point:

I haven't modified anything! I didn't try to add a splashscreen or whatever.

I have installed Mandrake in a very "standard" fashion and I am pretty sure Grub was installed. I usualy get a flashy graphical boot screen. I took me a while to find out it was lilo. This is one of the most bothering parts. How could I go from Grub (if it 's what I had before) to a lilo error? I'm pretty sure the mandrake installation says "installing Grub". Obviously I"m wrong and the data in the lilo.conf seem pretty much those right. This is making me crazy!

I agree with you, re-installing a system that I can obviously boot, mount partitions and access data would be a waist of time specially after taking in to account all the time spend installing other stuff by hand.

Here is a listing of the files you named:

# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda5
map=/boot/map
default="linux-smp"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda6 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda5
initrd=/boot/initrd.img
append="devfs=mount acpi=ht resume=/dev/hda6"
read-only
image=/boot/vmlinuz-2.6.3-7mdk
label="263-7"
root=/dev/hda5
initrd=/boot/initrd-2.6.3-7mdk.img
append="devfs=mount acpi=ht resume=/dev/hda6 splash=silent"
read-only
image=/boot/vmlinuz-smp
label="linux-smp"
root=/dev/hda5
initrd=/boot/initrd-smp.img
append="devfs=mount acpi=ht resume=/dev/hda6 splash=silent"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda5
initrd=/boot/initrd.img
append="failsafe acpi=ht resume=/dev/hda6 devfs=nomount"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe


/dev/hda5 / ext3 defaults 1 1
/dev/hda3 /data vfat users,owner,umask=0,rw 0 0
/dev/hda4 /data2 vfat users,owner,umask=0,rw 0 0
none /dev/pts devpts mode=0620 0 0
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda6 swap swap defaults 0 0
 
Old 08-07-2004, 03:39 AM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
from you first post: if you've ever done "lilo -v" - and it ran - then you have lilo indeed - not grub.

The /etc/lilo.conf looks o.k. - except for the fact, that the first entry says:

boot=/dev/hda5

that would need to be changed to read:

boot=/dev/hda

so lilo gets installed to the mbr of this disk and not to the beginning of /dev/hda5 - where it is now and probably is not found by the looks of it...

How did you do the chroot to reinstall lilo - any errors or warnings?
Was the /dev/hda5 mounted r/w so you could really write to it?

I'd do:

chroot /mnt/mountpoint_of_dev_/hda5

/usr/bin/env -i HOME=/root PATH=/bin:/usr/bin:/sbin:/usr/sbin
--> to chean the environment and set a path

bash --login
--> to read the environment from _your_ system

lilo -v

exit --> log out of bash

exit --> get out of chroot

reboot
 
Old 08-07-2004, 04:04 AM   #8
nadim khemir
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake red-hat
Posts: 10

Original Poster
Rep: Reputation: 0
Hi, I really appreciate your help.

I got "L 9A ...." before I ever run 'lilo -v'; so the Grub/lilo question still stands.

I booted in "rescue" mode and choose the option to mount my partitions. The contents I used to have in '/' are now under 'mnt'. I have /mnt/etc, /mnt/dev ..... I did 'chroot mnt'.

I'll run the commands you proposed and come back with the results ASAP.

Cheers, Nadim.
 
Old 08-07-2004, 04:19 AM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
just to clarify...

I was trying to say about you using lilo or grub:

if you have issued the command: "lilo -v" - and it actually did something - then you have installed lilo _somewhere_ - you have the program and it wrote something to your disk when you where running it - but maybe not the right thing, since you cannot boot...

...english is not my native language - but I try to make it my friend...
 
Old 08-07-2004, 04:21 AM   #10
nadim khemir
LQ Newbie
 
Registered: Aug 2004
Distribution: mandrake red-hat
Posts: 10

Original Poster
Rep: Reputation: 0
It worked like a charm. Thanks a lot. I can now boot in linux and mandrake.

Still. How can this happend? That the installation says grub and I get lilo sucks but not a problem. But how can the boot loader stop loading. I _really_ didn't change a thing. I was programming on my build system.

I have two other small problems with this new installation (I'll start new theads). I doubt it is related but one never knows.


Cheers, Nadim.
 
Old 08-07-2004, 04:39 AM   #11
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
I KNEW it ! ...good !

It _might_ just be that you installed grub to boot and it pointed to lilo, which was installed on /dev/hda5 - this would be really weird, but - who knows?
 
Old 08-07-2004, 04:32 PM   #12
sorcerer01
LQ Newbie
 
Registered: Aug 2004
Location: Milano, MI, Italy
Distribution: Whitebox
Posts: 9

Rep: Reputation: 0
Mod Edit: Advertising Removed

Last edited by XavierP; 09-04-2004 at 04:46 AM.
 
Old 08-07-2004, 04:51 PM   #13
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Hey sorcerer01!

...besides the fact that it's already solved - the link to your site does not work...
 
Old 09-04-2004, 04:46 AM   #14
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The forum rules do not permit advertising. Please visit http://www.linuxquestions.org/advertising/ for more information on advertising. Feel free to contact the forum admin if you have any questions about this policy.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't access DVD Writer anymore - "No medium found" SpruceMoose Linux - Hardware 7 07-01-2005 01:04 AM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
FC3 rescue disc won't mount "Linux LVM" partition anymore. coolingtower Linux - General 0 01-23-2005 03:43 AM
all "start\system settings" wont launch anymore. demmylls Linux - General 0 03-12-2004 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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