johanl Posted February 25, 2004 Share Posted February 25, 2004 Hello, I compiled kernel 2.6.3 but when I try to adjust the lilo.conf, the system won't let me save it even though I am logged in as root! The permissions are ok (rw, but no x) so I don't see why I can't save the file. Help? Link to comment Share on other sites More sharing options...
Cannonfodder Posted February 25, 2004 Share Posted February 25, 2004 Just guessing but try using chown to change the owner to root. You can also post your /etc/fstab file to see if the volume is being mounted incorrectly.. Link to comment Share on other sites More sharing options...
johanl Posted February 25, 2004 Author Share Posted February 25, 2004 The owner is root allready. The directory where lilo.conf is in is /etc, and since I can change other files in there, I don't think the volume isn't mounted incorrectly. Link to comment Share on other sites More sharing options...
Cannonfodder Posted February 25, 2004 Share Posted February 25, 2004 What else have you tried? Try changing the permission sto 777 anyways? Different editor? Obvious stuff that shouldn't matter but does anyways. Boot off of CD1 and see if it lets you change it there? If so, recreate the file (make copy, delete original, rename copy)... let us know how you make out.. Link to comment Share on other sites More sharing options...
aru Posted February 25, 2004 Share Posted February 25, 2004 It could be also a filesystem problem (worst case), a fs check is not a bad idea. you still be able to run lilo using another file instead of /etc/lilo.conf, (ie: /sbin/lilo -C myOtherLilo.conf) Link to comment Share on other sites More sharing options...
johanl Posted February 27, 2004 Author Share Posted February 27, 2004 Ah, the file had the immutable bit...so that explains why..pity ls -l doesn't show you that info.... chattr -i lilo.conf Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now