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.
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?
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.
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.
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?
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.
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
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.
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
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:
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?
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.
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.
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.
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.
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 .....
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
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.
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
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 .
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).
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:
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.
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."