October 12th, 2010, 07:26 AM
Issue with nano editing grub.conf though commandline
I have to edit the grub.conf as there was a issue in running in virtual box, so i went to edit the /boot/grub/grub.conf file ( centos )
though the commandline and edited the bit i needed save it and rebooted and it coming up
so luckly i backed up the grub.conf and reloaded that and it was back to normal . I tried this a few times just in case i did something wrong and everytime i do this the same result happens. So instead of running it though commandline i used
error 11: unrecognized device string
gedit pops up and i edit it and there no error even though it was the same tags i enter though nano
Any ideas what the problem could be? white spaces or something maybe?
Last edited by amd64; October 12th, 2010 at 07:59 AM.
October 12th, 2010, 01:47 PM
October 13th, 2010, 12:03 PM
It'd be worth running a "diff" on the two versions of the file: the one edited with nano and the one edited with gedit. That may shed some light on it.
October 13th, 2010, 05:48 PM
Thanks for that , i'll give it a go
October 14th, 2010, 03:19 PM
Also as a guess, maybe there is some setting that is putting Microsoft-style line breaks in your edited file. But I'm not a nano user.
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton