Debian :: Modify The File Grub.cfg?,

Mar 24, 2011

how modify the file grub.cfg?, is for 6.0, the grub2.

View 14 Replies


ADVERTISEMENT

Red Hat / Fedora :: Cannot Modify Grub Menu File - Need To Change Boot Order

Mar 3, 2009

I recently installed a 64-bit version of centOS 5 alongside a 32-bit version, which I use. Turns out the 64-bit version absolutely will not boot and I'm stuck with it as my default boot option. Since the grub being used resides on the 64-bit half, I cant edit the menu file but I know theres a way to do this without it, through grub itself. I have about 29 render nodes now with this problem, and whenever they need to be rebooted I have to hook a monitor up to each one and hold its hand through the boot process. How to change the grub menu through grub itself, basically just change the default boot option and then have it stay that way?

View 5 Replies View Related

Debian Multimedia :: Modify A File Called ~/.xinitrc, But It Does Not Exist?

Feb 7, 2011

I'm getting openbox up and running on squeeze. I performed a netinstall and did a simple apt-get openboxI need to modify a file called ~/.xinitrc, but it does not exist. I read that I can copy one over from /var/x11r6/lib/xinitrc, but the /x11r6/ directory doesn't exist either. I've installed xorg, but the directory still eludes me. A package search yields nothing useful. I am using the SLiM display/login manager, which I believe calls startx, which should theoretically generate the ~/.xinitrc file.

View 2 Replies View Related

General :: How To Modify Grub Menu

Nov 3, 2010

How can I modify my grub menu? I remember that on openSuSe was /boot/grub/menu.lst. But in debian there isn't it. In ubuntu is the same for modifying grub menu?

View 1 Replies View Related

Ubuntu :: How To Modify Grub To Boot Into Vista

Aug 24, 2010

I've previously had a dual boot Vista/Ubuntu machine that was working fine. Fast forward, I'm not able to boot into Vista at all and decide to reformat, return to factory settings after which I'll simply reinstall Ubuntu to get my functioning dual-boot back. I reformat the drive, everything seems to work fine and when I reboot I'm met by the GRUB screen rather then the Vista bootloader screen I expected. I select the Vista option and rather than starting to boot, seeing the Windows splash and then breaking (as it's been doing for a few weeks leading up to my decision to reformat), I'm promptly given a message that it can't find the disk 5252-ACFA (that Vista was previously on). After further inspection, my Ubuntu partition is still in tact and untouched, so I think the 'reformat' simply reformatted the Vista partition not the entire HD as I'd wanted. How do I modify GRUB to point to the new correct Vista boot?

View 4 Replies View Related

Ubuntu :: How To Modify Name Grub Entry (Kubuntu 10.10)

Nov 10, 2010

Trying to change with the entry of grub:
sudo kate /boot/grub/grub.cfg putting "Windows 7" in place of Windows Recovery Environment (loader) on /dev/sda2.
Just launch the command sudo update-grub charge me more:
-Found linux image: /boot/vmlinuz-2.6.35-22-generic
-Found initrd image: /boot/initrd.img-2.6.35-22-generic
-Found memtest86+ image: /boot/memtest86+.bin -Found Windows Recovery Environment (loader) on /dev/sda2
Windows 7 should be written here. The procedure is another?

View 9 Replies View Related

Fedora :: Modify Graphical Grub Screen To Contain Mepis?

Sep 21, 2010

I've just installed fc 13 on my laptop. It's got windows and mepis linux on here also. the installer for fc only found windows and I was wondering if there's a way to modify the graphical grub screen to contain mepis linux or if i have to disable it and use a standard text screen for grub.

View 1 Replies View Related

Slackware :: How To Modify Grub To Boot Using Generic Kernel

Feb 16, 2011

My Slackware boots using the huge kernel. I am not using LILO; I am using GRUB from the extras directory on the DVD. I followed the tutorial @ [URL] up to the point where it discusses modifying LILO. My /boot/grub/menu.lst reads, in part:

# Linux bootable partition config begins
title Slackware Linux on (/dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 ro vga=normal
# Linux bootable partition config ends

This boots the huge kernel. What changes must I make to the above menu.lst entry to boot using the generic kernel?

View 3 Replies View Related

OpenSUSE Network :: Add Few Lines To Php.ini File And Modify Suhosin File?

Dec 29, 2009

Is installing "php5-suhosin" from yast and restarting apache enough to make suhosin work out of the box? Or do I need to add few lines to php.ini file and modify suhosin file?

View 3 Replies View Related

Ubuntu Installation :: Grub Error 15 - Can't Get To Terminal To Check Or Modify Anything

Dec 12, 2010

Tried upgrading from 8.04 lts to 10.04 and it wouldn't work b/c of too many mods to my 8.04 system? So I tried a fresh install per usb stick. System kept locking up during install, as well as when I run it from the usb, I've since learned. graphics card? I can't log into windows either per the grub loading please wait error 15. I've googled & searched the forums & everything I've tried doesn't work, there were some possible solutions that I don't understand how to do. can't get to a terminal to check or modify anything. Hitting "e" at the boot menu does nothing. I don't know how to do anything from here! Compaq Presario SR5350, 2GB RAM, Dual Core Proc 2150MHz. Dual boot w/Vista, HDD is partitioned separately with Root, Home & swap. Also, sda5 or / has been formatted to ext4, still using grub 1.5.

View 9 Replies View Related

General :: Modify A File That Contains \ Using Sed Or Awk ?

May 13, 2010

I need to modify a file that contains \tsus.fbfs.comappsdataStormLossProduction and replace the \tsus.fbfs.comappsdataStormLossProduction line with rm -f /mnt/nfsvol/PC/SLR/

I have tried:

But it provides an error on the second . I need to change this in place and not redirect to another file.

Is this possible? I have used sed and awk before but not extensively.

View 7 Replies View Related

CentOS 5 Server :: How To Modify PAM File

Jan 15, 2010

Whenever I modify my pam file as shown below I can no longer log into my centos; I have to go into single user mode and undo the changes. What I want to do is log all failed authentication attempts but I don't want it to affect the root user account.

# vi /etc/pam.d/system-auth
auth required pam_tally.so no_magic_root
account required pam_tally.so deny=3 no_magic_root lock_time=180

View 1 Replies View Related

Debian :: Can't Open Grub.cfg File

Feb 25, 2010

So, I installed AGAIN Squeeze And again boot fails Now it shows error 15

I tried booting into a LiveCD (ubuntu) to see what is happening But I can't open grub.cfg file (you're not the owner, it says)

What do I do to boot into my new squeeze?

View 2 Replies View Related

Fedora :: Setup The Vim And When Modify The Vimrc File?

Apr 20, 2011

I just setup the vim,and when i modify the vimrc file ,I obviously made some mistakes ,the error looks like this and this is where the problem is and why my user name is so long ,is there anyway i can make it shorter or use others

View 8 Replies View Related

General :: Modify Another File And Not Actually Hold Information?

Feb 16, 2011

Why is the info in the (BASH_Profile) file different than (echo $Path). Is the Profile file just there to modify another file and not actually hold information?

View 1 Replies View Related

Programming :: If Modify Tcp.c Stack File And How To Compile

Nov 4, 2010

i have just modify tcp.c file in/usr/src/linux/net/ ipv4 location.Now should i compile the complete kernel?if not then how to compile that net/ipv4 package or etc.

View 1 Replies View Related

Programming :: Run Script To Modify Text File?

Mar 20, 2010

I have around 600 empty text files that I need to add the name of this file as part of the data, I mean files from "file1.txt to "file599.txt, all of them empty, and I need to get the name inside the file, so, when I open the file show the name as part of the data "file1".

View 11 Replies View Related

CentOS 5 :: Modify The ISO File By Adding Few Files

Jan 14, 2010

I need to modify the ISO file by adding few files so that after all installation done I can run a sh script to do some thing on the box. How to do that?

View 4 Replies View Related

Ubuntu :: Find The File /etc/rsyslog.conf So Can Modify It

Jun 6, 2011

How do i find the file /etc/rsyslog.conf so i can modify it.

View 1 Replies View Related

General :: Grasp The Proper Way To Modify The Sudoers File

Jun 3, 2010

Relatively new to Linux, but I'm trying to grasp the proper way to modify the sudoers file. As an example, what would I have to modify in /etc/sudoers to allow a user (say 'user1' for the example) to be able to add/remove software through yum? I'm aware of the fact that I need to use visudo and how to use the vi editor. I've Googled this topic and while I've found a number of pages on the topic, I never see many examples.

View 5 Replies View Related

General :: How To Modify Line Of File Using Shell Script?

Apr 12, 2010

I have a file like below
n
p
1
1
50
w

I need to modify the first occurence of 1 byt some other integer.How do i do it using shell script?Can anybode help me out with that?

View 9 Replies View Related

General :: Modify .bashrc File To Change The HISTSIZE?

Apr 27, 2011

If I want to modify my .bashrc file to change the HISTSIZE would the following command be for example; HISTSIZE=200? And if I want to change the DEBUG_LEVEL to 8 would the following command be; DEBUG_LEVEL=8?

View 3 Replies View Related

General :: Modify The Only One Pattern Among Two Patterns In A Text File?

Nov 22, 2010

I want to replace a pattern with other pattern in a textfile. But there are two same patterns,but I need two change only the second occurence. EG:

Text file is

aaaa=1
bbbb=2
cccc=3
dddd=4

[code]....

Now I want to change aaaa=x into some other entry.

View 3 Replies View Related

Programming :: Parse And Modify File Without Creating A Copy?

Nov 4, 2010

I don't think this is a "perl one-liner" of find and replace. I'm trying to auto-fill some information in a listing of files. The simplest example is that in the files the following exists:

I would want the script to find this and populate it with something like -- Date : 20101004-1758

I have a few more similar fields to autofill, and I'd like to do this from within a larger perl script I'm developing to process these files. So, how I perform in-place file modification from within a perl script?

View 3 Replies View Related

General :: Modify A File Like /etc/gdm/custom.conf From The Shell Or A Script?

Jun 22, 2010

I want to modify a file like /etc/gdm/custom.conf from the shell or a script.

# GDM configuration storage
[xdmcp]
[debug]
[daemon]
AutomaticLoginEnable=true;
AutomaticLogin=username;

But the idea is that I can add a line to a section and it check if the section is defined, (add the definition if not), the property is defined, let it undefine (erase the line), (and delete the section header if there is no property defined), etc...

I didn't find anything except gconftool-2 but it do not explain how to modify other files. (there is a shema file there).

there isn't a program/script to achieve this, but can easyly be made for every config file, If someone do something like that, with a little database of which markup use each file, it could become really popular.

View 3 Replies View Related

General :: Modify The /etc/host File - Change Directory Fails?

Feb 1, 2010

I am in the process of setting up an Asterisk server with Broadvoice services. I am having issues with making outbound calls and Broadvoice suggests I modify the /etc/hosts file in order to add their proxy server IP address and name. I login to my server as root and get the following command line header

[root@root tmp]#

I entered cd thinking this is what I need to change directory but fails. What is the command I need to enter in order to get to the /etc/host file so I can change it? How do I confirm an /etc/host file even exists?

View 2 Replies View Related

Programming :: Store Data In Text File And Be Able To Modify It And Save As Well Using C++?

Jan 25, 2010

I wanna learn how to store data in text file and be able to modify it and save as well using C++.

Note: im using Turbo C++ 3.0

View 9 Replies View Related

Programming :: BASH: Read + Define + Modify A Numeric Value From/to A File?

Mar 25, 2010

I want my bash file to read from "input.dat" the two values emin emax. My input file looks like that:

#cat input.dat
!Energies
emin 10.00 !minimum energy
emax 30.00 !maximum energy

Now this seems to be not so hard with the command awk

#!/bin/bash
awk '{FS=" "}/emin/{print $2}' input.dat
awk '{FS=" "}/emax/{print $2}' input.dat

[code]....

So far so good. Now, I want to define two variables (e.g. e1,e2) in the bash file, so that their values would correspond to 00.00 and 30.00, as read from the input file. This one I have not found yet, thus asking for your advice. At the end, writing echo $e1 $e2, I should get 10.00 30.00 This is even harder to me: I want to replace the values emin,emax in a new file "modify.dat" which looks like that:

...
c---- energy interval
emin = 1.00
emax = 2.00
...

with the values e1 and e2 I have in my bash file. In other words, I want to call "modify.dat", find these two lines and replace the numeric values with the e1 and e2. At the end, my file should be like:

...
c---- energy interval
emin = 10.00
emax = 30.00
...

View 3 Replies View Related

Debian Configuration :: Apt Had A Blank Sources File And Grub Is Now Failing?

Mar 23, 2011

I'm hoping someone can help me. I upgraded my server from Lenny to Squeeze this afternoon following the release notes at http://www.debian.org I had no issues and everything is still running. I then installed Sqeeze via the Net Install disc into a virtual machine for some testing. Once the install was complete I found that apt was not working. It turned out the sources file was blank. I manually added the official repos and did an update. There were no new packages for installation.

Now, after a reboot, I get the Grub error:
error: ELF header smaller than expected
Entering rescue mode...
grub rescue>

I have no idea why this happened because I've not changed grub, just played around with apt. Has anybody any idea why apt had a blank sources file and grub is now failing?

View 1 Replies View Related

Fedora Servers :: Can't Access Or Modify File Unless Directory Mode Is 777 And Files Are 666

Nov 8, 2010

I have a multi user system for my roommates and myself that has separate folders for each of us. I've got user authentication working with samba, but unless I set every file and folder readable/writeable by all users, I can't browse it or edit the files.This isn't ideal as the shares are open to other users access, so I'm hoping there's a way to keep folders at 750 and files at 660 while allowing samba users to browse, delete and edit.Also, the samba share is actually a mounted NFS share from another server. Both the NFS server and the Samba server have the same users/uid's. When a file is created from a Windows host via the Samba client, the NFS server's permissions do show that the correct user owns the files, but since the files aren't mode 666 but 640 I can't edit or delete the file.

View 4 Replies View Related







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