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 10-18-2004, 05:24 AM   #1
dodgecharger
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
LILO L 99 99 99... again. Physical relocation of file?


So, it all began, when I decided to move over to 2.6. I did the usual stuff, compile, modules_install etc, ran lilo, reboot, and then got L 99 99...

I've tried a couple of rescue discs, reran lilo about 50 times, tried lilo -M to reinstall boot loader, did install-mbr, too (i don't even know what that does), al this in different orders, but I always get the L 99 treatment when trying to boot. After running lilo under Knoppix, somehow the system would start to boot again.

According to the man, code 99 means LILO could not load the stage2 boot loader. So my guess is this:
I got a 160G drive, about 150 of which was used(all one 160G reiser). When I compiled the new kernel, the newly created bzImage file got positioned too far towards the end of the drive, and the boot loader could not access it.
I was thinking of a reinstall, and for that, I tried to backup my data to a 80G hard drive, and burning the rest to DVDs, and in the process, I deleted a LOT of files. After I finished deleting unnecessery stuff, and copying the rest to the 80G drive under Knoppix, I gave it another go, just for the heck of it. I copied the bzImage from the source dir to /boot, ran lilo, and tried rebooted. This was the point, where the sysem could boot and run again perfect. I guess with the massive deletions, lots of sectors were freed up closer to the beginning of the drive, so the newly copied /boot/bzImage was accessible again by the bootloader.

Since then, I downloaded/stored a lot of stuff, and the drive started filling up again, but I needed to go back to 2.4, so copied bzImage, ran lilo, reboot... L 99 since then.

I had a free 10G drive for test, copied all stuff needed to boot to it from the 10G, ran lilo on it, and the system works perfect.

So it seems lilo can't access sectors too far into the drive.

This is just a theory, I don't know, how lilo works. And since 8G< drives need to be accessed by LBA, a 20G drive should be able to be accessed the same way, as a 2 Terabyte one, and it shouldn't matter, where that particular file is located physically, once the drive, and the loader know LBA.

So to the actual questions:
- Does this sound sane? if yes,
- Is there a way to manipulate the physical location of a file? if no,
- Is there a safe way to move a 160G reiserfs partition, say, 5 Gigabytes higher, so that I can create a boot partitition in front of it? if no,
- Does anyone have any ideas about how to solve this, or what might be happening here?

Any ideas appreciated, also if someone could explain in detail, how 22. lilo works, step by step.

Thanks!
 
Old 10-18-2004, 07:51 PM   #2
SlipAway172
Member
 
Registered: Jun 2004
Location: GA
Distribution: Latest ubuntu
Posts: 172

Rep: Reputation: 30
i didnt read what u wrote BUT i had the same problem so i just formatted the disk after backing up
 
  


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
Ext3 File-system down after adding LVM physical device JZL240I-U Linux - Software 2 11-21-2005 06:46 AM
relocation error - glibc - file ld-linux.so.2? gjhicks Linux - Software 1 07-04-2004 10:06 AM
where is lilo config file? versaulis Linux - Software 4 12-04-2003 02:57 PM
Can lilo work without the lilo.conf file? TheOneAndOnlySM Linux - Newbie 2 10-01-2003 11:19 PM
lilo signature file celtic32 Linux - General 0 08-28-2002 06:52 AM

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

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