Ubuntu Servers :: /etc/default/grub File Does Not Exist?

Jun 10, 2011

Due to a motherboard issue, I need to edit a parameter in the "etc/default/grub" file.

However, the problem is, that file doesn't exist.

Grub does seem to be installed, I can get into grub from the command line etc.

This is a fresh install of Ubuntu Server - 10.04.2 LTS

Brand new box, no previous installs of anything, no other operating systems etc.

Is there somewhere else that file could reside ? I tried find -name '*grub*' and got plenty of files, but none are the one that I need.

Is there someway to generate this file ?

I remember when installing from the CD it asking about grub, but I don't recall which option I chose, it was whichever one was the default.

This thing won't reboot right after power loss etc until I can edit that value... which at the moment seems to not exist....

Btw, I'm not a total linux noob but far from an expert, so I may need any answers "dumbed down" a bit.

EDIT (more info):

It seems that I have regular "grub" and not "grub2" installed... I'm assuming that is part of the problem ?

My version: grub-install (GNU GRUB 0.97)

Does this version of grub allow you to edit options etc ?

Specifically, what I need to do, is edit this value: GRUB_CMDLINE_LINUX_DEFAULT

I need to add "reboot=a" to this line.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Grub Default Boot - File Doesnt Exist On My Computer?

Mar 13, 2010

I am trying to change to boot order in grub, but I keep running into the same problem.I find instructs me to go to /boot/grub/menu however that file doesnt exist on my computer. in my /boot/grub directory file names go from memrw.mod to minicmd.com with nothing in between.I am using an up to date release of Karmic Koala.

View 2 Replies View Related

Ubuntu :: Edit File Discovered It Didn't Exist - Configure Grub?

Jan 17, 2010

I have recently installed Ubuntu Karmic on my laptop, which also has Windows 7. It now has GRUB, and I have been able to modify some settings via the GRUB command line. However, these changes are not permanent; they are reset the next time I load GRUB. I have seen many people trying to configure GRUB who have been pointed towards /boot/grub/menu.lst. I expect it would) I went to edit that file... and discovered that it did not exist. I am certain that I am using GRUB, not some other bootloader. Is there another possible way to configure GRUB, or somewhere else I might look for this file?

View 4 Replies View Related

Ubuntu Servers :: Grub Error On Hardware Raid 1 / Default Root Device Shows That Prefix=(hd0,1)/grub?

Apr 13, 2011

I'm currently setting up a dell server with hardware raid 1 on sas 6r. i got 4 sas installed on the server and configured to raid 1 as stated below,
array 1:
slot 0 & 1

array 2:
slot 2 & 3

during the installation, the installer detect the array 2 as sda and array 1 as sdb.. so i proceed with installation on array 2. after completed the installation, the first reboot lead me to a 'grub-rescue" prompt. by following the guide at url Mode, i've noticed that the boot folder has changed to (hd1,1), which i believe it has changed to sdb1. default root device shows that prefix=(hd0,1)/grub.

View 3 Replies View Related

Ubuntu :: How To Edit The /etc/default/grub File

Oct 22, 2010

I've been using 10.04 for a few months without any problems, but today, I tried to boot into Ubuntu and just got a black screen. I tried the tutorial on this site, and it worked.

I have to do this after every reboot unless I edit the /etc/default/grub file (the second part of the tutorial). I'm not sure how to go about doing this since the article is very vague.

View 3 Replies View Related

Fedora Installation :: Repair Grub Through Grub-ubstall - /dev/dsa Doesn't Exist

Jan 17, 2009

I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:

Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:

All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.

My question is: How do I get /dev/sda available in my chrooted environment?

View 3 Replies View Related

Ubuntu :: Adding Irqpoll To /etc/default/grub File - Installation 99%?

Mar 14, 2011

I have been helped by repo in this post [URL]..Here's a quick resume: I made changes in the grub menu for just one boot I selected the first option Ubuntu with Linux 2.6.35-27-generic edited the Linux /vmlinux ro quiet splash by adding irqpoll to the end. I rebooted and the system booted correctly into the GUI.

I then tried to edit the /etc/default/grub file by booting into the recovery mode, opening a terminal, using command sudo vi /etc/default/grub and adding irqpoll to the end of the GRUB_CMDLINE_LINUX DEFAULT="quiet splash". Followed by update-grub to update the /boot/grub/grub.cfg file

Unfortunately when I try to reboot I find that the system will not boot and hangs as before on the purple screen after a logon. I know that I have edited the /etc/default/grub file correctly because I have confirmed this by reviewing the file. So my question is why does the "one boot method" work but the edit file method not work ? I must be doing something wrong.

View 1 Replies View Related

Ubuntu :: Default Contents For The File That Opens - When Run Gksudo Gedit /etc/grub.d/05_debian_theme

Jan 9, 2010

The default contents for the file that opens when you run gksudo gedit /etc/grub.d/05_debian_theme in terminal.

View 3 Replies View Related

Ubuntu Servers :: Default File Permissions Apache /var/www/?

Jan 14, 2010

This is probably a pretty basic question seeing as I'm pretty new to Ubuntu Server. I'm running a simple website from my Ubuntu Server machine with The files are all stored in /var/www/ and then subdirectories. The problem is that when I add files through FTP I need to go and change all of the file permissions since by default they do not have read access so can't be accessed through a web browser on another machine.How can I make the default permissions readable for the directory and all new files that will be moved in it

View 5 Replies View Related

Ubuntu Servers :: Default File Permissions For System Folders

May 5, 2010

I had a major raid event recently which caused my Ubuntu 9.04 server to recover part of its file journal on the system partition. This caused some of the file permissions to go all funny and I now need to change them manually.

What the file permissions should for the following folders:
/etc/
/home/
/lost+found/
/mnt/
/root/
/sbin/
/srv/
/tmp/

The server is running and I fixed the some of the ownership issues already. I use a basic LAMP setup with samba, and proftp.

View 2 Replies View Related

Ubuntu Installation :: Where Does Grub Exist On Partitions

Jan 20, 2010

I installed ubuntu on my internal hard disk I experienced a problem with Grub and I just formatted all the Ubuntu Partitions and convert their format to NTFS to restore my windows (I have a backup) but now despite of I format all the Ubuntu's partitions but in the boot time, the grub exist and the grub apear I want to know where does grub exist? I installed ubuntu on the dual booter situation and it was ubuntu 9.10

View 1 Replies View Related

Ubuntu :: Grub Error - Partition Does Not Exist

Sep 19, 2010

I accidentally removed the partition in my hard drive where my Ubuntu was installed.After restarting my Laptop, I suddenly receive the message saying,

"grub error> partition does not exist.
grub>"

View 1 Replies View Related

Ubuntu Installation :: Adjust The Default Setting Via /etc/default/grub?

May 29, 2010

I have already had Vista installed on another drive and from what i've read on the webs you get to dualboot if you install ubuntu after vista. when i did install it (i installed on a blank hdd with no partitions, choosing the "erase entire disk" option since for some reason default option was attempting to eat a part of my windows 1 gb drive instead of using disk i specially made for it) and the grub 2 loaded for the first time, there was NO option to run vista. only 2 linux (normal and recovery) and 2 memtests. I've ran linux and went to google this. I found that i should add something to some config files in /etc/grub.d/From reading the readme file i understood i could add my own files that are named like NUMBER_SOMENAME and insert code into them. Because it said:Quote: For example, you can add an entry to boot another OS as01_otheros, 11_otheros, etc, depending on the position you want it to occupy inthe menu; and then adjust the default setting via /etc/default/grub. But then i found a file 40_custom that said:

Code:
#!/bin/sh
exec tail -n +3 $0

[code]....

View 9 Replies View Related

Ubuntu :: Logon Script - Create A File (if It Doesn't Already Exist) And Checks The File For Some Info

May 24, 2010

I want to create a logon script (or somesuch) that creates a file (if it doesn't already exist) and checks the file for some info otherwise. If it finds a given trigger in that file, it logs into a local database and does some operations.

Now my problem isn't with creating that file or even getting it to function as a logon script -- it's with permissions. After the logon script creates the file, I want that user to have read access on it ONLY. Further, I don't want to give the user any kind of root access so that they could do the database operations in question or chown/chmod the file.

What's the best practice here? I'm noticing that whenever the script runs (in .bashrc right now) the script runs with the current user's permissions. Ideally, I'd like to make it so the login script can run at a higher level of permissions, (higher than the user has). Is this even possible? What's the best way to do this?

View 1 Replies View Related

General :: Grub 2 Bsd Command Does Not Exist

Aug 6, 2011

I am trying to run Memtest86+ on my Linux computer. I use Grub 2, and Memtest86+'s core is located in /boot/memtest86plus/memtest.bin file.It seems to be pretty newbie error, but I can't find any documentation covering this problem.If I use linux16 instead of netbsd, computer just restarts without any error.

View 9 Replies View Related

Ubuntu Installation :: 'No Operating System Installed' - GRUB Doesn't Appear To Exist

Feb 12, 2010

I have a dual boot windows XP/ubuntu 9.10 set up on one hard drive. Everything was working fine. The 9.10 install had been updated from 9.04. I recently had problems with the XP partition (XP basically collapsed) so I re-installed XP on the same partition it was on before. I then attempted to reinstall Ubuntu ( I decided I wanted a new 'clean' installation of Ubuntu as well). When I got to the partition function it refused to recognize that there is a Windows partition, or a previous ubuntu partition, but states 'No operating system installed' or similar, and offers the entire hard drive for installation. When I look at the partitions using Windows partition software the Windows and the ubuntu partitions are clearly in evidence. I have also tried to reinstall GRUB but it doesn't appear to exist.

View 3 Replies View Related

Installation :: Grub Error 21 Selected Disk Does Not Exist

Mar 7, 2011

Plan to use GRUB for multiple booting to select the OS but only with luck have I got it partially to work. Windows 98 and Puppy 431 O.K on first HDD but Puppy 421 on second HDD /dev/sdb1 stops at error 21.

View 6 Replies View Related

General :: GRUB Loader Says Drive Doesn't Exist

Feb 15, 2010

If at all possible I would like ot keep the GRUB loader and repair my situation.My slave drive has Windows 7. My master had Ubuntu on it. When it installed it added the GRUB loader.I replaced it with Fedora, but now the GRUB loader says it can't find the drive and bails to grub-rescue.If possible I would like to keep the grub loader. If I can't repair this, is there a way to uninstall it and reinstall it.

View 16 Replies View Related

Ubuntu Servers :: DMESG (command) Log Not Exist On HDD

Jul 19, 2010

I would like to find where logs form dmesg(command) are stored on my hdd drive. I'm testing broken hdd with badsectors, and I've got some i/o errors, that I can read (just the most recent) using dmesg command (dmesg buffer). I would like to see whole log, that is interesting for me, but I cannot find where it is stored in /var/log

dmesg command(buffer) (last few lines)
Code:
[245129.080558] end_request: I/O error, dev sdb, sector 218246624
[245129.080562] Buffer I/O error on device sdb, logical block 27280828
[245132.037921] sd 2:0:0:0: [sdb] Unhandled sense code
[245132.037925] sd 2:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[245132.037928] sd 2:0:0:0: [sdb] Sense Key : Medium Error [current]
[245132.037932] sd 2:0:0:0: [sdb] Add. Sense: Unrecovered read error
[245132.037936] end_request: I/O error, dev sdb, sector 218246624
[245132.037940] Buffer I/O error on device sdb, logical block 27280828 .....

View 2 Replies View Related

Ubuntu Servers :: Checking If Users Exist?

Jun 28, 2011

Not sure if this is the right place fo this but....I'm just learning to write bash scripts. I'm experimenting on a ubuntu server 11.04 virtual machine.As part of the script I want to automate user creation.Is there a way to check if a user already exists in a script. so i can do something like

Code:
if userexists; then
do this
else
do this instead
fi

View 6 Replies View Related

Ubuntu Servers :: Does Quality MTA Software Exist

Jul 9, 2011

I currently run a server. The web server (Abyss X1) runs on Linux, and the MTA server (MERCURY) runs in a virtualized Windows environment, within Linux.

I am soon going to be building a dedicated server, and at the moment it looks like it will be a Windows-based server, as I can't find MTA software for Linux with the feature I require.

I need MTA software that can show me network verbose output in real time, as such does MERCURY in the following screen shot: [url]

Does anyone know if such MTA software for Linux exist?

MERCURY does not work correctly under WINE, so the WINE method is not an option.

View 1 Replies View Related

General :: Given A File Path Search For File Exist?

Jan 27, 2011

I have file which consists of many files with their path,i need to check for the file exists in the given path,how to check?

View 12 Replies View Related

Ubuntu Servers :: 10.04 - ERROR: Module Perl Does Not Exist

Jun 14, 2010

I have Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 mod_fcgid/2.3.4 Phusion_Passenger/2.2.14 PHP/5.2.10-2ubuntu6 with Suhosin-Patch configured In UBUNTU 10.04 I like to install apache2 mod_perl I make apt-get install libapache2-mod-perl2 and I get: Quote: libapache2-mod-perl2 is already the newest version.

Ok I try sudo a2enmod mod_perl ERROR: Module perl does not exist! how I make Perl work in apache2 UBuntu 10.04

View 3 Replies View Related

Ubuntu Servers :: ERROR Module Fcgid Does Not Exist

Oct 3, 2010

I am running Ubuntu 10.04 x86 64 bit Desktop.I want to accomplish setting up a virtual host environment for education reasons. How may I accomplish this? So far I am going by this following guide: URL... But when I get to the part of entering the command in the terminal "a2enmod fcgid" I get the following error: "ERROR: Module fcgid does not exist" I've been pulling my hair and spent a ton of time trying out how to set up suexec and virtual hosting .

View 1 Replies View Related

Ubuntu Servers :: (IMO) Apache - Directory PHPInfo Does Not Exist

Mar 23, 2011

Have Apache running on Ubuntu Server. Say I have a domain, www.somewhere.com, and I have uploaded a file, phpinfo.php. If I hit http://www.somewhere.com/phpinfo.php, I get my file as expected. However, If I hit non-existent file http://www.somewhere.com/phpinfo/somefile.dat, it also acts as if I hit phpinfo.php, instead of giving me a 404 error. It seems that because the DIRECTORY "phpinfo" does not exist, it decided that I must have meant to hit phpinfo.php at the root of the site.

If I create an empty "phpinfo" directory then it behaves as expected and gives me a 404 not found page. This is reproducible for any other file name you can think of. I'm sure this is some Apache convenience behavior but I would like to disable it (it is messing with some mod_rewrite stuff I would like to do). Because it's hard to describe I cannot figure out which Apache option it might be (whatever I Google for gives me completely unrelated results).

View 9 Replies View Related

Ubuntu :: Can't Update Grub - /etc/default/grub: 19: E: Not Found

Nov 12, 2010

I've been trying change the default OS in GRUB. I changed the value for GRUB_DEFAULT in etc/default/grub. However, when I run update-grub, I get the following error:

/etc/default/grub: 19: e: not found

View 7 Replies View Related

Ubuntu Servers :: Cifs Share Does Not Exist, Localfolder Is Mounted?

May 28, 2010

When using the following cifs mount command, mount -t smbfs -o username=username,password=password //srv/shr /usr/localfolder/and the cifs share does not exist, localfolder is mounted like d????????? ? ? ? ? ? localfolderafter a number of time , when umounting we get a kern <soft lock>Is there any way to fail the mount if the destination share does not exist, ive had a quick look through man mount but can not see a solution.

View 1 Replies View Related

Ubuntu :: "Can't Load Image From File '/usr/share/firefox/icons/mozicon128.png': File Does Not Exist."

Apr 12, 2010

Tried running simdock from software center...uninstalled because I was getting this error after trying to run ap "Can't load image from file '/usr/share/firefox/icons/mozicon128.png': file does not exist."

View 3 Replies View Related

Software :: Example File Does Not Exist

Jan 5, 2010

I installed LyX to try it out and the built-in tutorial wants me to play around with the file "example_raw.lyx", but I can't find it anywhere!

View 7 Replies View Related

Ubuntu :: Chmod: Cannot Access 'afk-kick' File Or Directory Not Exist?

Oct 22, 2010

here is the most importent part of the file setup.shhere link to pastebin:http://pastebin.com/mwQ1UArHand here the part:

cd
chmod 777 ../bin/panel
cd ../bin/panel

[code]....

View 2 Replies View Related







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