General :: Editing Inittab File From Grub?

Jul 27, 2010

During my several experiment on linux I accidentally put the default runlevel to the value 6..thus before starting its going to restart ..currently running mint 9. there is only one way that somehow i can edit that file from grub command line.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Grub2 Editing - Editing Directly To /boot/grub/grub.cfg?

Jun 6, 2010

I have an old laptop that I installed EasyPeasy Lucid on. I have never used Grub2 as my other Ubuntu installs still use Grub Legacy. I have studied all the tutorials which instruct that the grub.cfg file should not be edited directly.This old laptop has one of the dreaded Intel graphics chips for which the kernel automatically loads the i915 module. Of course (like a multitude of others with Intel graphics and Lucid) I booted into a black screen but knew the workaround was to enable mode setting through grubI used the

Code:
i915.modeset=1
and added it to /etc/default/grub line GRUB_CMDLINE_LINUX, just after "quite splash", just

[code]....

View 9 Replies View Related

General :: How To Edit Inittab File

Mar 25, 2010

The default setting of linux is run level 5 (Red Hat 9) I want to use my system in Runlevel 1. For that purpose i 1st check the permission which were

-rw-r--r--

I want to edit the File " vim /etc/inittab " in the terminal . which line should i edit so I may use it in a single mode.

2-The second thing i want to ask that before editing any important file which are /etc like "inittab" can i 1st make it's copy and keep it in my home directoty so,in case of any mistake I can get my original file?

View 2 Replies View Related

Ubuntu :: Finish Editing The Grub Menu.1st File?

Aug 10, 2010

I'm trying to find out which hard drive my vista installation is labeled in ubuntu so I can finish editing the grub menu.1st file.

All it says on the sourceforge page is

Quote:

Root - You likely have something along these lines "(hd0,1)". "hd0" refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.

It doesn't say how I can find out which one my vista is. So I need to know what my hard drive is in linux. Is it hd0,1 or hd0 or what?

View 9 Replies View Related

General :: When Start Computer It Shows The Message OfINIT:No Inittab File Found?

Dec 22, 2010

i am using red hat linux 5.0 when i start my computer it shows me the message ofINIT:No inittab file foundEnter run level:i dont what to enter here if anybody know then

View 7 Replies View Related

Red Hat / Fedora :: Use Inittab At The Inittab To Initiate A Program At Startup?

Jul 5, 2010

1. I am using CentOS 5.4 and I try to use inittab at the etc/inittab to initiate a program at startup

2. Below is my script and saved as heritrix.sh

#!/bin/bash
export HERITRIX_HOME=/root/heritrix-1.14.3
cd $HERITRIX_HOME
chmod u+x $HERITRIX_HOME/bin/heritrix
$HERITRIX_HOME/bin/heritrix --admin=LOGIN:PASSWORD --port=9090

3. I did the chmod +x for the permission already.

4. I not confirmed whether it is running at startup.

5. the script is no problem as I have check it

View 2 Replies View Related

General :: Nano Editing Grub.conf Though Commandline?

Oct 12, 2010

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 )and run

[Code]...

View 4 Replies View Related

General :: Cannot Boot, Stuck In GRUB Line-editing?

Sep 3, 2010

After my last update in my ubuntu, I had a problem. (As almost everytime that I update it)
When I select to boot ubuntu, it doesn't work.It shows something like:"GNU GRUB version 1.97"beta 4[ Minimal BASH-like line editing is supported.For the first word, TAB lists possible command completions.Anywhere else TAB lists possible device/file completions]
sh:grub> "And I don't know how to make it work.I tried to follow this tutorial:[URL]I got an error message saying that the file couldn't be found. And if I skip it, when I type "boot" the system reboots and comes to the same place I was before.
I've also tried to set another partitions like

View 11 Replies View Related

Fedora :: Inittab No Such File Or Directory?

Jul 13, 2010

I tried to go to the inittab folder by typing /etc/inittab.

The following is the error message I get

[root@localhost /]# cd /etc/inittab
-bash: cd: /etc/inittab: Not a directory

View 5 Replies View Related

General :: Editing Grub.conf To Make Windows Default In Dual Boot?

Mar 31, 2010

I installed Windows XP Pro and RedHat Linux Enterprise 5 on my PC for my purpose. The PC is used by other family members too and they need only Windows OS for browsing. It is becoming problem for them to reboot after the PC enters into Linux by default. I am still learning Linux and I want to edit the /boot/grub.conf file to make Windows as default OS to boot. The following is the content of my grub.conf file (FYI):

#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz

[code]....

View 4 Replies View Related

General :: Editing A File Using Awk?

Apr 29, 2010

I have a list of millions of filename in form of say "drau3DDFEA5E01205841DC1B277A".
I need it convert it intousr/local/data/d/dr/dra/drau/drau3DDFEA5E01205841DC1B277AI believe that can be achieved by awk or sed.

View 1 Replies View Related

General :: Editing A Boot File

May 4, 2010

I have samsung laptop and there is a nasty program called samsung recovery solution that changes the active partition to Windows each time you enter it. The trouble is: I have 2 OSes, Opensuse and Windows 7, and Grub that is installed in my Extended partition, so each time I enter this recovery program active flag is changed and Windows is loaded instead of grub. I have noticed some boot files in that program's folder, so the question is how can I edit them in most convenient manner? I have kde 4.5.3 is there some sort of included program that would help?

View 6 Replies View Related

General :: How To Get Color While Editing File Through SSH Session

Nov 25, 2010

I use cygwin on Windows7 to open a ssh session to my linux box. When I edit a file with vim, I don't have color, only kind of gray bold. I have colors when I do a ls into my ssh session. I have also colors when I edit files from a ssh session from my linux box to my linux box. I modified the shortcut on Window7 to run cygwin in 256 colors, no effect. Do I need to set an environment variable on my cygwin session ?
On Cygwin and On Fedora when "sshed" from Gygwin : TERM=cygwin

View 2 Replies View Related

General :: Editing A File As Root In Debian

Mar 16, 2010

But any changes I make cannot be saved unless I'm in root. I might be doing this wrong, but I cannot log into root or figure out how to open this file as the root user. I'm still somewhat new to Linux, so could someone please give me an idiot-friendly step-by-step of what to do to open, edit, and save this file as a root user?

View 3 Replies View Related

General :: Text File Column Editing

Jul 17, 2011

I have 2 large text files , one looks like this:

<contact type="1">blahblah@hotmail.com</contact>
<contact type="1">blahblah2@hotmail.com</contact>
<contact type="1">blahblah3@hotmail.com</contact>

The other is a list of emails in single column format like this:

emailaddy@hotmail.com
emailaddy2@hotmail.com
emailaddy3@hotmail.com , etc

Is there a command to delete all the blahblah emails from text file 1 and replace them with the ones from text file 2?

Or maybe a linux version of 'Csved' which has the ability to add,remove,insert columns?

View 5 Replies View Related

General :: Cannot Find Specific Glibc Tar File For Editing?

Feb 3, 2011

I have the tar file of glibc-2.12.1, but now I want to edit the SPEC file. I can't find it. For those that want a "why", I'm trying to make it smaller. So simply, where is the SPEC file for glibc? (rpmbuild cannot find it in the *.tar.gz file).

View 4 Replies View Related

General :: Boosting Application Performance By Editing Kernel File?

Jun 15, 2010

which file is edited of kernel for boosting the application performance at boot

View 2 Replies View Related

General :: Image Editing (have To Increase A File Size To Just 1 Kb) In Ubuntu

Jul 25, 2011

i have to upload a signature image(in jpeg format) to fill a recruitment form which says file-size must be of between 10-20 kb......i have scanned image which is of 9.5 kb.....tried to edit in shotwell photo manager....tried some random things in Adjust and crop menu but my little changes didn't work, it always shortened the file size......as i don't know anything about Image editing can someone tell me how can i increase the file size (>=10kb) i also tried gnome-screenshot to take the screenshot of the image, but it also saved the new image smaller than 10kb....

View 6 Replies View Related

General :: Can't Find Inittab On My System?

Jul 17, 2010

I'm using Ubuntu 10.04 and i can't find inittab on my system? Where did it go? Has Ubuntu removed this file? How can i find out about runlevels now?

View 4 Replies View Related

General :: Can't Get Mgetty To Start From Inittab / Resolve This?

Feb 8, 2010

I've updated a Fedora Core 3 server to Fedora 11. The old FC3 had an external modem attached for when we felt like dialing in for a ppp connection.
I've replicated login.config, mgetty.config and dialin.config from the old server and had to put a RS232-to-USB adapter on the modem.
I've test connected to the server and everything look fine.
I'm have a difficult time starting the Getty session from inittab.code...

View 1 Replies View Related

General :: Adding An Environment Variable To Inittab?

Jul 22, 2010

im quite new to Unix stuff Im in need to add a script to be executed, in to /etc/inittab for that i need to get the path to my java installation. I have set the JAVA_HOME env variable already, my question is whether we can use JAVA_HOME in inittab? i mean, are those env variables are crated by the time inittab starts? if so, how can i add the entry

currently im having is like this
pse:5:respawn:su - <username> -c "$JAVA_HOME/other-path/pp.sh run"
is there any issue with the syntax?

View 2 Replies View Related

Ubuntu :: Grub 1.97 Beta4 Editing

Jan 26, 2010

I have grub 1.97 on carmic , with too many items in it. Start up manager , great for hardy and jaunty , is not working. What is the best way to remove unneeded items and change wait time for grub ?

View 5 Replies View Related

Ubuntu :: Original GNU Grub 1.97 - Editing Possible?

Aug 15, 2010

I think this is the default view of GRUB2 as installed by some other OS, (I think Chameleon)... But even they must have done this by editing something in the original GNU GRUB 1.97. Is that possible to accomplish. If yes, how?

View 3 Replies View Related

General :: Inittab - Accidentally Changed Runlevel To 0 ( Halt )?

May 10, 2011

How do I recover from accidentally set the runlevel to 0?

View 5 Replies View Related

General :: Messed Up Inittab - It Boots Into Black Screen

Jun 10, 2011

I was following a lesson with my UNIX Academy training and by mistake made a change to inittab. now it boots into black screen. How can I get into shell to fix inittab

View 2 Replies View Related

Ubuntu :: Grub Editing, Menu.lst Not Present?

Jun 16, 2010

Xubuntu: Grub Editing, Menu.lst not present

ver: 10.04 Lucid Lynx
performed update
Grub now features Redundant options upon boot
similar to the following
Ubuntu, kernel 2.6.32-22
Ubuntu, kernel 2.6.32-22 (recovery mode)
Ubuntu, kernel 2.6.32-21

[Code]....

View 2 Replies View Related

Ubuntu :: Editing The Grub Boot Manager

Jul 5, 2010

I've just installed Ubuntu 10.04. In previous versions I could edit the grub menu (menu.lst). Where can I find the menu.lst or it's equivalent in 10.04 ?

View 3 Replies View Related

Ubuntu Installation :: Editing Grub For Vmalloc?

Jul 26, 2010

I want to edit a grub file, but none of the online instructions exactly match my files. I'm trying to follow the instructions to add vmalloc=256M to a grub file, from here:

[Code]...

View 1 Replies View Related

Ubuntu :: Editing Grub So It Does Not Timeout Menu?

Aug 22, 2010

I am trying to edit grub so that it doesn't timeout the menu. I've found a lot of solutions to this where I edit menu.lst. However, this file is blank when I open it. I just upgraded to Lucid and kept a lot of my old grub settings (I had customized it somewhat). Also, I am not sure if I have grub or grub2. How can I figure this out?

View 4 Replies View Related

Ubuntu :: Editing The Grub / Load Into Windows 7?

Sep 12, 2010

I have finally installed ubuntu 10.4 alongside windows 7.However, the grub doesn't show windows 7 so I can't boot into it.

Attached is a screenshot of "gparted". Windows 7 is installed on "sda2" and Ubuntu is on "sda6". How do I edit the grub to be able to load into windows 7?

And I faced another problem after installation. The pc kept freezing, I couldn't enter ubuntu nor use the live version on my usb stick. It kept freezing.

EDIT: I restarted and it froze again. I had to restart at least times before it allowed me into ubuntu. I'm wondering if it's a hard-disk issue since it's giving me a hard disk error whenever I login. Even though I've been running windows 7 for the past 9 months without any problem.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved