LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kboot not allowing to edit kboot.conf (https://www.linuxquestions.org/questions/linux-newbie-8/kboot-not-allowing-to-edit-kboot-conf-698334/)

colmm 01-19-2009 08:24 AM

Kboot not allowing to edit kboot.conf
 
Hi All,

Thanks for any help 1st of off.

Just getting started with Linux.

Had edited the kboot.conf file within linux.
Which I did incorrectly (know wly I think)
But now not booting, only to kboot prompt.

I type
sudo nano /etc/kboot.conf
type in password
to edit the file but would allow me to save changes.
Says its a write file only.

Am I doing this incorrectly, have also tried in sh but that no better.

Thanks again.
don't want to reinstall just yet..!!

C

Didier Spaier 01-19-2009 08:34 AM

Welcome on this forum.

Please tell us first which distribution and version you did install.

Then hopefully we will be able to help you.

Didier Spaier 01-19-2009 08:35 AM

Sorry, duplicate post (LQ slow theses times...).

eco 01-19-2009 08:38 AM

The easiest way might be to boot of a liveCD, mount the partition holding the file and edit it from there.

say your file is on / (sda1)

do something like:

Code:

# mount /dev/sda1 /mnt
# vi /mnt/etc/kboot.conf
# unmount /mnt
# shutdown -r now


colmm 01-19-2009 08:54 AM

Quote:

Originally Posted by Didier Spaier (Post 3413778)
Welcome on this forum.

Please tell us first which distribution and version you did install.

Then hopefully we will be able to help you.

Thanks (Sorry)

Using XUbuntu+powerpc on PS3 (hopefully thats ok)

Just read reply below (Thank you for reply and all the text)
I don't think I can mount as cd only installs.

When the cd boots in expert options gives a long list of things it can do.
Was hoping (maybe like Windows) could repair the startup process.?

colmm 01-20-2009 03:07 AM

Thanks you guys just played around with it booting now into 1080p, no douth have more questions later,


All times are GMT -5. The time now is 07:22 PM.