My Ubuntu file server sits under a desk and shares files with the network without a hitch, and in a perfect world I wouldn't ever need to shut it down (I reached 6 months uptime once). However, since it occasionally needs service, or additions and needs to be moved, I need to shut down.
The trouble is, the power management system is borked, so whenever I issue "sudo powerff now", the system halts, but the PSU stays on. I usually wait a few minutes after and flip the PSU switch, but I'm never sure if the system is already down.
Is there a way to reorder the way services shut down so that I put SSH last, and therefore know when the system is down when my session is disconnected? Is defaults.rc or whatever responsible for that?
I have installed java-6-sun on my Ubuntu 9.10 and now I wanna change the default system JVM search order. Based on the following instruction I should modify my /etc/jvm.
But there is no jvm in my Ubuntu, all I have is jvm.* which "*" refers to ".h" or other suffix. There is no "jvm" alone in my Ubuntu in order to do what the following says.
Setup the default Java version
Ubuntu Linux comes with update-java-alternatives utility to updates all alternatives belonging to one runtime or development kit for the Java language. To select, Sun's JVM as provided in Ubuntu 7.10, enter:
$ sudo update-java-alternatives -s java-6-sun
You also need to edit a file called /etc/jvm This file defines the default system JVM search order. Each JVM should list their JAVA_HOME compatible directory in this file. The default system JVM is the first one available from top to bottom. Open /etc/jvm
$ sudo vi /etc/jvm
Make sure /usr/lib/jvm/java-6-sun is added to the top of JVM list
I am a new Ubuntu user in Hungary, where we use reverse name orders (perhaps called the "eastern name order"). I mean Hasselhoff David instead of David Hasselhoff. Its quite a big problem for me, especially during syncing with my phone (which finally works now, after a few days of reading and searching...).Is it possible to change that in Ubuntu?
I have a dual boot linux system with Mint 10 and Ubuntu 11. Currently Mint is the first OS in the boot order. How difficult is it to change that config so that Ubuntu is first (or default) and Mint second ?
I have noticed a few problems when some screenlets are loaded before some others. I think that "Startup Applications Preferences" should have an option to arrange the order of their execution.
I'm currently using an NFS server to share data on our small business network. It works a bit faster than SAMBA, but I do have a problem. NFS takes group id from the first 16 groups a member belongs to when mounted - let's not get into how that doesn't make huge amount of sense
Since I assigned about 6 different groups to our users internally to control directory access, some internal groups do not pass when mounting the server's files (as ubuntu has at least 8 or so groups that are system dependent). Is there a way to change the ORDER of the groups a user belongs to? I see that what gets passed to NFS mount follows exactly the order given when I type "group" when logged in. The groups do not come in alphabetical order or group ID number. I did try changing the order of entries in /etc/group and that also doesn't do anything. Essentially they seem completely random.
I am using Ubuntu 10.04 x64 in a three-boot configuration; the first boot choice screen (the one I would like to change) gives the options of booting to Ubuntu, 3 options I don't understand, and booting to Windows 7. Unfortunately, at least for me, Ubuntu is at the top and is the default. [The third choice is Win XP x32 - but it appears on a separate screen]
My question: How can I make the boot to Windows 7 the default choice?
I want to change the default boot from Ubuntu to windows xp. What file do I need to edit to make that change? In other distros the file is grub.lst but I can not locate that file name in Ubuntu.
I can find the file /boot/grub/grub.cfg that looks like what I need but has a warning "DO NOT EDIT",
how to change the order of GRUB. I found someone who asked in '06 but I believe the method has changed. I want windows (The bottom on the list) to start without me having to select it.
I am trying to change the default gnu grub boot order to first go to windows 7. I entered gksudo gedit /boot/grub/menu.lst and it opened up the file but the file was blank.It didn't show me the 5 or 6 possible choices.
I installed Ubuntu 11.04 as a dual boot system. I am given 5 choices with XP choice 5. Unless I highlight it I will boot into Ubuntu. I used the startup manager, and indicated that XP should be the default OS. Nothing changed. I tried the PySDM storage device manager which lists the partitions, but does not allow me to make changes.
The output from the first command was "sudo: /ect/init.d/gdm: command not found" How can I downgrade, also is it because im running lucid, not karmic koala?
1. I had Win XP, I've installed Ubuntu on another Partition, now Ubuntu starts first, can I change XP to be the first one to load ? And how to do it ?
2. When I have to choose from 2 installed systems on the screen I see, Ubuntu, Testmem and Windows XP, can I rename Windows XP title to something else ? And how to do it ?
Using StartupManager (as Quackers had suggested) I do indeed have Windows as my default boot, although it appears at the bottom of the menu. See Dilemma 1 below for that detail.
Dilemma 1:Grub2 has set up the boot menu so that Windows is the last item on the menu. This is because the Menuitem entries for the Ubuntu kernels are generated by script 10_linux, while the Windows Menuitem entry is generated by script 30_os-prober. Of course, in generating /boot/grub/grub.cfg, the 10_linux script is executed before 30_os-prober, dictating the order of their appearance on the menu.
I'd like to see Windows as the top menu item. Under grub, I would edit /boot/grub/menu.lst, pull the Windows menu item out of the "Automagical" section and voila! It stays on top no matter how many times I upgrade the kernel. While I could possibly do the same with /boot/grub/grub.cfg (see thread "how can I change the order of the boot menu?" for the suggestion) we should all know by now that the next time I update the kernel, my changes will all go away, because we are not supposed to edit that file by hand.
Dilemma 2: As I download and install kernel updates, all the old kernels still show up on my boot menu. My concern is that eventually the sheer number of Linux kernels will render the boot menu unreadable. This is especially of concern if I cannot get Windows to the top of the boot menu. Under grub, I used to edit the menu.lst and comment out the listing of any kernels more than 2 versions old. Now, how do I arrange this omission? A manual edit of 10_linux will be acceptable, provided it still displays the 2 or 3 most recent Linux kernels and their corresponding memtests.
I am installing Ubuntu Server 10.04 LTS on a new server that has 21 hard drives. My OS/boot drive is plugged into a SATA port on the motherboard, and the other 20 drives are plugged into cheap 4 port SATA adapter cards plugged into the PCIe slots on the motherboard.
When I first get to the part of the installer where I set up partitions and such, it is enumerating my disks in a somewhat weird order. The first 4 disks sda, sdb, sdc and sdd are disks connected to one of the SATA controllers, then sde is my smaller OS disk. Is there any way to force the small OS disk to be sda before I continue setting up my RAID? It's not a huge deal, but I'd like to have the system drive be sda, as it is in all my other systems. This is the 3rd system I've built like this, but it's the first time I've run into this issue (newer motherboard than the last one).
If possible I'd like to use the menu system in the installer to setup the RAID, as typing all those disk names manually into an mdadm config manually is going to be a huge pain. That precludes me from just unplugging the extra drives until after I get the base OS installed and working.
I have a dual boot system w7 and ubunutu. When i had version 10.10 (i think) everything was working fine, the grub would select w7 as boot preference. I have, however just updated to 11.04 and i cant get the grub to change its order. I have tried using startupmanager and selecting the second to last one, as per tips and i have also tried all the options. I have also tried editing the grub file, i think its /etc/default/grub. i have also tried grub-customizer but again, this doesnt work.
I have noticed however that the options shown arent the same as the options when i boot my system. Im not sure whether i have got two GRUBS installed or something like that. I have also tried using boot-repair, however this just states that there is no GRUB installed, however as i mentioned, i can read the grub, and so can the programs.
How do you change the order of execution of gnome startup apps?(System - Preferences - Startup Applications) does not seem to have any way to do it.I saw an archived post (http://ubuntuforums.org/showthread.php?t=659420) which offered a couple of ideas... (1) mucking around with /etc/rc2.d/ -- but that seems to be only system-level apps, not user apps; or (2) going to (System - Preferences - Sessions) and mucking around in there -- but I don't seem to have that menu on my system (10.04 LTS running as a guest in vmware player 3.1)I just want vmware-user to run before my gnome-terminals so that the desktop is resized before the terminals run.
After testing out Ubuntu on a live CD I decided that I would install it on an external hard drive. After installing it on the external hard drive I rebooted the system but it booted into windows instead of Ubuntu. I would really like to know how to change the boot order on my Sony Vaio laptop. I tried f1 and f2 but I see no option for anything along the lines of boot order.
I am trying to upgrade my system from 7.04 to a current version. I now face the known problem that my machine tries to download everything from archives.ubuntu.com although it has all been moved to old-releases."If you have this problem, you could change your /etc/host file to point archive.ubuntu.com to old-releases. Do this by running host old-releases.
ubuntu.com | grep address | awk '{print $NF" archive.ubuntu.com"}' | sudo tee -a /etc/hosts."
I have tried typing that information into the command line, with no success. I opened the /etc/hosts file in emacs (using sudo) but did not see an obvious place to impliment the fix.
I have ubuntu 11.04 and windows vista installed on my pc. I have already set windows vista as my default os, but I'd like to put it at the top of the boot menu (currently it's in 4th).
I have a dual-boot setup in which Ubuntu 10 LTS is the default choice on the menu, followed by 2 or 3 alternate choices and finally Win 7. I would like to know how to change that order, making Win 7 the default. Solutions I've looked at mention editing menu.lst in the /boot/grub directory, but this file does not exist anywhere as far as I can tell. There is a /boot/grub/grub.cfg but it's unclear how that alters the menu sequence.
how slow XP was on my laptop, a casual friend (who moved away and I have since lost touch with) installed Fed 11 as a dual boot with XP, Fed 11 first. It has worked great for email and some net surfing. Now the machine is going to my wife, who does not want have to go to the boot menu to get XP. How do I change the order so that XP boots first and you have to go to the menu to get Fed 11? I've tried going through the forums, but since I'm not really a computer person, there are some basics I don't know (for example "open a terminal" - how does one do that?)