Ubuntu Installation :: Change /etc/hosts In Order To Upgrade?

Aug 8, 2011

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.

View 1 Replies


ADVERTISEMENT

Ubuntu :: Lucid Upgrade Change Drive Order And Broke Mdadm?

May 19, 2010

I have 4 drives in my system. Two are SATA and configured in a RAID 1. This is my main drive for the system. The other two drives are IDE drives used to bulk temp storage. Before the upgrade my RAID drives were:

/dev/sda
/dev/sdb

I'm not sure what the IDE drives were. Now after the upgrade the IDE drives are:

/dev/sda
/dev/sdb

and the RAID SATA drives are:

/dev/sdc
/dev/sdd

Needless to say on reboot the raid blow up and the system would not boot. I was able to get it working for now by removing the IDE drives. My current mdadm.conf file is as follows:

DEVICE partitions
ARRAY /dev/md1 level=raid1 num-devices=3 UUID=20fd5b92:860d9ca3:57d3b65c:14fcf2fb
devices=/dev/sda2,/dev/sdb2
ARRAY /dev/md0 level=raid1 num-devices=3 UUID=16401201:52cf4cc0:27286d7a:ac5234f7
devices=/dev/sda1,/dev/sdb1
MAILADDR root

Now I assume that I could change the devices to the new devices names. However I was hoping for a better way to do this. The IDE drives are only semi permanent. Is there a way to configure mdadm with partition labels like you can in fstab?

View 1 Replies View Related

Ubuntu Installation :: Can Change Boot Order ?

Apr 7, 2010

I use dual OS, n i have a problem when i want to set boot order. Can i change boot order? or can i make a priority for my OS?

View 8 Replies View Related

General :: Host Command And Web Browser's Don't Accept Hosts.conf Order

Mar 4, 2011

Why does ping see audit.median.hu as 127.0.0.0, and why does host -t a audit.median.hu see it as 193.68.35.149? audit.median.hu is just an example site [hosts ads, etc.]

I just have a caching nameserver on my Fedora PC:

I configured my DNS server addresses in the Network-Manager Applet: 127.0.0.1, 8.8.8.8

Even with Wireshark, I can see it:

So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?

View 1 Replies View Related

Ubuntu Installation :: How To Change The [Wubi] Boot Order

Apr 13, 2010

I am dual booting win7 and Ubuntu 9.10 with wubi.

-If I don't select ubuntu, it will boot into win7.

I want to change it so I can go into ubuntu after 30SEC so I don't have to always select it.

View 3 Replies View Related

Ubuntu Installation :: Dual Boot - Change OS Order?

Sep 18, 2010

I have two questions:

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 ?

View 9 Replies View Related

Ubuntu Installation :: Change Order Of Boot Menu?

Nov 29, 2010

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.

View 3 Replies View Related

Ubuntu Installation :: Change Dual-booting Order In 10.10?

Feb 5, 2011

I am using windows 7 ubuntu 10.10 dul booting. I want to change the booting order, in the old ubuntu version I could do this in /boot/grub/menu.lst.?

View 3 Replies View Related

Ubuntu Installation :: How To Change Drive Enumeration Order

Apr 12, 2011

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.

View 1 Replies View Related

Ubuntu Installation :: Can't Change Grub Order After Update To 11.04

Jun 13, 2011

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.

View 2 Replies View Related

Ubuntu Installation :: 11.04 - Change The Boot Order In The New Grub

Jun 18, 2011

Just installed 11.04 and do not know how to change the boot order in the new grub.

View 3 Replies View Related

Ubuntu Installation :: Change GRUB Boot Order ?

Aug 15, 2011

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).

View 2 Replies View Related

Ubuntu :: Give Access To A Server In Order To Make Repeated Trials Of Traceroute To Different Hosts

Feb 15, 2011

I want to give access to a student to a server in order to make repeated trials of traceroute to different hosts. We have realized that it is preferable to use the -T option, as it sends TCP packets that are less commonly blocked by firewalls. However, this option is only available to superusers, and I don't want to grant the student such privileges.

View 2 Replies View Related

Ubuntu Installation :: Change The Order Of The List When Grub Loads ?

May 6, 2010

How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.

View 4 Replies View Related

Ubuntu Installation :: Will Have To Change Anything Relating To HDDs Boot Order In BIOS?

Sep 21, 2010

I have a new machine arriving tomorrow and plan on installing ubuntu 10.04 x64 and windows 7 professional. I've only ever had a single HDD before, but now I have 2 * 640GB drives.Does it matter what OS I install first?Will I have to change anything relating to the HDDs boot order in the BIOS?I only got 2 HDDs so in the event of needing to reinstall one of the OS's they're on completely different drives. Also, in the eventuality I need to reinstall one of the OSs is it simply a normal reinstall procedure, or because they're on two seperate drives will I need to do anything different?

View 7 Replies View Related

Fedora Installation :: Change The Boot Order To Boot Windows 7 First?

Jun 15, 2011

Dual booting Windows 7 and Fedora 15. What I would like to know is if I can change the boot order to boot Windows 7 first and Fedora 15 as other or second.

View 5 Replies View Related

Ubuntu :: File Hosts Change After Reboot In 10

Apr 25, 2011

I want to know why when i change the file hosts, fill it with due parameters and reboot the system, the latter unexpectedly change ?

View 2 Replies View Related

Ubuntu :: Virtual Hosts After Upgrade To 10.04 Beta

Apr 1, 2010

Ever since I upgraded from Ubuntu 9.10 to 10.04 beta, my local .php urls are acting funny esp at virtual hosts. Sometimes it works, but mostly it gives a blank page and at other times it asks for downloading the php file. This is really random - I keep hitting F5 and any one of the above can occur. Worst part is, its not consistent. It doesnt happen for custom scripts at localhost. Mainly WordPress and Magento. Im guessing something to do with htaccess directives. Its like as if AddHandler / SetHandler is going on and off.

Code:
$ apache2ctl -l
Compiled in modules:
core.c
mod_log_config.c

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Change Hosts File By Network Connection?

May 11, 2010

Is it possible to have different /etc/hosts file for different network connections without having to go in and change it every time? The why: I have dyndns and port forwarding to get to my desktop. My laptop is sometimes on the same network, and sometimes not. Also, sometimes the dyndns doesn't update properly, or the outside connection is down, but I want to get to my desktop (and I'm too lazy to walk up the stairs). I'd like to be able to keep one set of bookmarks, ssh command aliases, etc. that would always get to it the fastest and most reliable way possible.

View 1 Replies View Related

Ubuntu :: Possible To Change Name Order \ First Last --> Last First?

May 22, 2010

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?

View 5 Replies View Related

Ubuntu :: Change Boot Order ?

May 20, 2011

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 ?

View 4 Replies View Related

Networking :: Centos Cannot Ping Hosts On The Same Subnet After Change To Static Ip

Jul 26, 2011

I am using centOS 5.0. After I change from DHCP to static IP address, I cannot ping hosts on the same subnet. The error message says destination host unreachable. Before I made the changes I was able to ping and now even I change it back to DHCP I still cannot ping with the same destination host unreachable message. The centOS is running on VMware on a Windows host.

ifconfig shows

eth0 Link encap:Ethernet HWaddr 00:0C29:A1:9A:10
inet addr: 192.168.0.202 Bcast:192.168.0.255 Mask: 255.255.255.0
inet6 addr ......

After pinging 192.168.0.106 (106 is on and other host can ping it), arp -a shows ? (192.168.0.106) at <incomplete> on eth0 I tried different ways by disabling the firewall and and disabling SE protection. No Luck.

View 13 Replies View Related

Ubuntu :: Change The Order Of Startup Programs?

Apr 12, 2010

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.

View 4 Replies View Related

Ubuntu :: Change ORDER Of Groups One Belongs To?

May 10, 2010

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.

View 1 Replies View Related

Ubuntu :: Change Order Of Boot Options?

Jul 5, 2010

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?

View 1 Replies View Related

Ubuntu :: Change Boot Order In Grub?

Jul 13, 2010

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",

View 5 Replies View Related

Ubuntu :: Change System Shutdown Order

Oct 3, 2010

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?

View 3 Replies View Related

Ubuntu :: Change Order Of Boot Menu?

Oct 19, 2010

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.

View 9 Replies View Related

Ubuntu :: Change Grub Boot Order?

Mar 18, 2011

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.

View 8 Replies View Related

Ubuntu :: Dual Boot With Xp Cannot Change Order?

Aug 18, 2011

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.

View 2 Replies View Related







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