LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices



Reply
 
Search this Thread
Old 07-03-2007, 03:19 AM   #1
jagdishpandey
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Rep: Reputation: 0
help to edit Edit my bootloader's config file from kernel prompt


how do i edit my boot config file from kernel prompt
 
Old 07-03-2007, 03:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
assuming you're using grub, edit /boot/grub/grub.conf the changes take effect without having to do anything else. if you're not familiar with editing files on console, try using nano or pico, as they are very simple and friendly. of course, you *should* learn vi...
 
Old 07-03-2007, 05:24 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,497

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
Define what you mean by "kernel prompt".
 
Old 07-03-2007, 05:54 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you are using Suse it's better to go through YaST. It's a bit more difficult to edit through an editor.
 
Old 07-03-2007, 07:53 AM   #5
jagdishpandey
LQ Newbie
 
Registered: Jul 2007
Posts: 16

Original Poster
Rep: Reputation: 0
i use the linux rescue mode but when i try to use the command

: vi /grub/grub.conf

it show vi command not fount(not recognized)
 
Old 07-03-2007, 07:59 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
that's because that's the wrong command. no one at all gave you that command to run...
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel .config edit? lonecrow Linux - Newbie 8 04-06-2006 08:47 PM
How to edit a config file in FC4? heffo_j Fedora 7 12-12-2005 10:20 PM
Edit which config file to allow for dif resolutions Glas Slackware 9 09-24-2004 02:26 AM
Simple question - how to edit config file in Suse 9.1? rollo Linux - Distributions 3 07-18-2004 09:47 AM
Really dumb question but how do I edit a config file ? gavinc Linux - Newbie 2 08-19-2003 02:14 PM


All times are GMT -5. The time now is 08:01 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration