LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2012, 05:33 PM   #1
RiderG7
LQ Newbie
 
Registered: Mar 2012
Distribution: ubuntu
Posts: 9

Rep: Reputation: Disabled
LILO fix failure


Recently I tried to fix a 15-years-old pc by installing on it DSL.It's first OS was windows98 and i deleted it in order to take full advantage of the disk space(2.5 Gb!).For the installation I followed this:http://www.damnsmalllinux.org/wiki/i...hard_disk.html.
I created a swap partition(hdc1:500MB)and the bootable partition(hdc2:2GB).Everything was fine and i choosed to have LILO as boot loader.
But when I restarted i got the "L 99.." error.After a little google search I tried editing lilo.conf and run lilo install again,through dsl live cd.
Now I have to deal with this error:
Code:
Fatal:creat  /boot/map~:Read-only filesystem
I tried chroot but when I type:
Code:
chroot /mnt/hdc/bin/bash
I get error:
Code:
/bin/bash:not a directory
When I delete "bin/bash" chroot is succesfull but lilo still can't run.
When run "chroot /mnt/hdc2" and I'm typing from "root@box" I get the error:
Code:
Fatal:cannot open /dev/hdc:permission denied
If then I try "su lilo" it says "invalid id:lilo"
I found a thread with the same error here:http://www.linuxquestions.org/questi...ooting-359458/But it gives no certain answer to the problem.
So how can I reconfigure lilo when I'm root but still have "access denied errors"????
EDITartially resolved.It was because of nodev that i couldn't edit lilo.
The solution was:
Code:
mount -o dev /dev/hdc2
I finally updated lilo with lilo -M /dev/hdc.
But when I reboted I get "No boot signature in partition".
???

EDIT2: I tried re-editing lilo.conf and use lilo -A to activate hdc2 but got:"no changes to partition table..." and the problem remains.

Last edited by RiderG7; 07-16-2012 at 06:15 PM.
 
  


Reply

Tags
dsl, lilo, liloconf, root


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
Failure to mount? how can I fix this in cdemu dirtynerf Linux - Software 1 01-19-2007 12:55 PM
how to fix my root filesystem failure shield0092005 SUSE / openSUSE 3 08-28-2005 09:09 AM
Fix idea for KMenu and Kmenuedit failure equinoxe5 Linux - Software 2 11-09-2004 12:39 PM
How to fix LILO? 2dope Linux - Software 3 05-15-2004 08:13 PM
White Screen Install Failure Fix for nvidia Video refields Linux - Hardware 0 03-23-2004 09:42 PM

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

All times are GMT -5. The time now is 08:26 AM.

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