johanl Posted February 25, 2004 Report 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? Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted February 25, 2004 Report 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.. Quote Link to comment Share on other sites More sharing options...
johanl Posted February 25, 2004 Author Report 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. Quote Link to comment Share on other sites More sharing options...
Cannonfodder Posted February 25, 2004 Report 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.. Quote Link to comment Share on other sites More sharing options...
aru Posted February 25, 2004 Report 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) Quote Link to comment Share on other sites More sharing options...
johanl Posted February 27, 2004 Author Report 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.