Ubuntu Installation :: Upgrading 10.04.1 LTS Server - Mkinitramfs Failure
Sep 1, 2010
I know why this happened, but I need to know what problems it's going to cause and how I can re-install / fix the problem. I have my /tmp folder mounted as -noexec ... so when I did a recent update to my 10.04.1 LTS server installation, I got the following errors:
when I try to upgrade from Hardy Heron 8.04 LTS towards Lucid Lynx 10.04 LTS (via internet, not ISO-CD), following error is displayed:
" Could not install the upgrades Error during commit 'E:Couldn't configure pre-depend jre for openoffice.org-writer2latex, probably a dependency cycle.' Restoring original system state "
I deleted all Open Office package and other options were checked, but no success. Hardware: Notebook Toshiba Qosmio G45-AV480.
Have a dual boot: vista & ubuntu (64bit). Clicked the upgrade to 10.04 in update manager & spent a couple of hours downloading & installing. Had several requests about menu.lst. Which i replied keep the current Big mistake (i think) because on the reboot all the options are for 9.1. Tried the top option and 10.04? (i think) comes up but mouse & keyboard are inop.Booted with super grub cd & let it boot gnu/linux. Looks like 10.04 came up (how can u tell?) and seems to run ok. So what can i do to get the 10.04 options when rebooting without the grub cd?
Upgrade calls for ensuring latest updates to Karmic are installed before upgrading to 10.04 LTS. Every attempt to update hangs, yielding the following dialogue:
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B152F042D246C25D I guess I am sort of stuck in nowhere land here.
She was running a script in R (which was supposed to take a regression from R and output to LaTeX) but it failed, causing a "massive core dump" and shut down her computer. She rebooted, performed a recovery, but her system was still running slowly so she decided to upgrade to Narwhal. At this point she received an error message saying that the upgrade was interrupted by an eclipse package, and it failed, saying that her (disk? she couldn't remember) "may not be recoverable." Now, when I try to boot from GRUB, from any kernel listed ($22, $25, $27, and $28 ), I get the following error message:
I booted from a LiveCD, and it worked (including the splash screen). I then scanned the hard drive with smartctl, and looked at it in Gparted. Nothing seemed amiss. I could open files stored on the hard drive from the LiveCD, so I think there is something wrong with the boot process but I don't know how to fix it. One idea I've got is to run Super GRUB Disk and see if that fixes my boot problems.
the title says it all, mkinitramfs isnt creating proper initrd images. it used to work properly in karmic, but now i get an error saying 5: scripts/functions not found. wat does that mean? oh and also, when i boot into the new custom kernel, i am thrown into initramfs shell
I'm attempting to upgrade my Ubuntu 8.04 VPS to 10.04 and I'm having some trouble with the final stages of the installation. This is a section of the output I get (seems to be the bit that is going wrong):
Code:
... Checking init scripts... WARNING: this version of the GNU libc requires kernel version 2.6.18 or later. Please upgrade your kernel before installing
[code]....
P.S. I don't mind doing another fresh upgrade from the initial 8.04. So the problem is just how to prevent these errors from coming up again.
I upgraded the boot loader using apt-get upgrade. So Grub upgraded and I believe it automatically ran the upgrade-grub-from-legacy executable. I was confused on what to do so I selected all drives. When I did that, I received a bunch of messages, I will write only non-redundant ones:
mdadm group disk not found (many times, over 20 or so) installation finished, no errors reported (4 times, I guess for my 4 hard drives)Found linux image vmlinux Found initrd image Next, I reboot, and absolutely nothing, not even a grub prompt!! So I tried the following:
1) grub-install /dev/sda1 2) Super grub disk 3) Ubuntu Server Installation CD in rescue mode trying, I get the infamous red error screen when trying to install grub
Nothing worked! My partitions are all there and I can see them and mount them from rescue CD, but I cannot boot to the system, My partitions layout:
One LVM sitting on two RAID-1 Drives Sitting on all four hard drives sda, sdb, sdc, sdd One Root partition /dev/md2 in RAID-1 Drive sitting on two of the four drives (sda2 and sdb2) Four bios_grub partitions sda1, sdb1, sdc1 and sdd1 each ~1MB Two Swap partitions on two raid drives
I would give more detail but I think the problem is probably in the bootloader configuration because I can access all partitions including LVM and RAIDs from the rescue CD.
Description: I am trying to create a custom pxe booted environment to automate the repair of systems.
I've successfully created a custom initramfs and booted it. So far everything is working well. I had manually added in modules, I had copied over binary tools and they do work. The system boots fine and stops at the prompt below where I can manually perform all the tasks I need: (initramfs)
Problem:
1) I tried adding in custom scripts to automate the above process in "init-bottom" and "local-bottom" but they all fail saying that "panic", "log_begin_msg", "log_end_msg" don't exist. They are in the "functions" file though.
2) It's entirely possible this is related to the root mount. I don't want to mount a disk as a root device. In fact I am just happy with the (initramfs) prompt. So far I've just removed the "set root" option from grub and it just complains but continues anyways. This could be why it can't find the functions.
I thought I'd give 10.04 a try since it's an LTS release and I was still using Jaunty. I did the upgrade over SSH using sudo*do-release-upgrade*-d and at first it just upgraded me to Karmic. After the reboot I ran the same command again and it looked like it was upgrading this time to Lucid. Now however after the reboot I no longer could log in (no SSH) and after inspecting the system locally by digging out and old monitor and keyboard, it seams the system hangs during boot.
I went into the Grub menu and found that there is no server kernel listed (apart from the old Jaunty one), only generic-pae and generic. None of these will boot, and if I try the recovery modes the keyboard doesn't function when I get to the recovery menu. Also if I boot the old 2.6.28-17-server, it does boot, but the keyboard also won't function once it boots. I can SSH in once the old kernel has booted, but when I tried to install linux-image-2.6.32-19-server via apt, it can't be found. Furher investigation online sems to indicate that there's only a 64-bit server package and no 32-bit package. What's that all about, is 32-bit no longer supported on the server platfom, and if so is my install now screwed?
Just wondering if this is feasible/sensible. I'm running a server with 8.04 LTS server edition, and I'd like to upgrade to the latest version of sshd because the version included with 8.04 doesn't easily support chroots and I know it's simple to set up in newer versions. There's no official backport, and I don't want to upgrade the whole OS to 10.04 or 9.10, so I was wondering if it was possible to upgrade only the sshd package using a newer repository or something like that?
I've just upgraded my server installation from 9.04 to 9.10. I'm running this as a Xen virtual machine. All seemed to go well until I restarted, at which point I got stuck at this point:
Begin: Running /scripts/init-bottom ... Done. mountall:/proc: unable to mount: Device or resource busy mountall:/proc/self/mountinfo: No such file or directory
[code]...
My service provider is running xen-shell 1.0.79 running on Xen version 3.0.3-1, and after the seemingly-successful do-release-upgrade, uname -r reports ubuntu kernal 2.6.18-5-xen-amd64. Unfortunately, this isn't mentioned as a possible problem here [URL]
I have a home installation of 6.06 LTS Server on my Sun Ultra2 (Ultrasparc). I love it, everything about it is great. However, I'm starting to watch the clock and realize that I will soon need to upgrade if I want to continue to receive security updates. What is the best way to accomplish this? Can I directly upgrade to the next LTS release? (8.04)? Also, there is no GUI installed, it's a headless system. What is the best mechanism for upgrading via the commandline?
When this happens you have to open a terminal, get the process id for mysql-server-5 then kill that process. Like this: Code: ps -A then from the list of processes that it spits out look at the process id (the number at the beginning of the line) for mysql-server-5.
Now type Code: sudo kill -9 XXXXX where XXXXX is the process id for mysql-server, and enter your password. The upgrade process should now resume.
i am trying to upgrade to ubuntu 10.04 from 8.04, and am getting this warning:"Upgrading may reduce desktop effects, and performance in games and other graphically intensive programs.This computer is currently using the AMD 'fglrx' graphics driver. No version of this driver is available that works with your hardware in Ubuntu 10.04 LTS.Do you want to continue?"should i continue? i have no idea what a 'fglrx graphics driver' is
I have set up a server box running Ubuntu 10.04 Server 64-bit with Squeezeboxserver, ftp, apache and all the things that I need.I am running it on a Asus P5Q pro with 9 harddrives attached.I have set up 6 1tb disks that run a raid6 array but I am wondering what would happen if the motherboard would fail me.Is it possible to just replace the motherboard with a newer one and would then the raid6 array still be intact?
I used to run a raid10 with the 6 disks on a Windows 7 machine with a software raid card but the card broke and I replaced it with a new one but the array could would not work so I had to forget all my data and this is what brought me to using a Ubuntu server as OS and running the raid array on the motherboard sata instead.Also, is it possible to make an exact copy of the boot drive/partition and easily replace that is the boot hard drive would go faulty? I have heard about the dd command and I feel it would be nice to know that I'm not totally screwed if the boot drive fails.
I have an Ubuntu box running server 11.04 that is displaying a weird behavior when logging into the CLI. The message below will scroll for about 15-20 seconds when you first log in, but then it goes to the normal shell and everything seems to work fine.
After having tested Ubuttu 9.10 on a VM with Win XP Pro as host and running both Ubuntu 9.10 and 8.04 from a CD/CDR drive I decided to do an installation of 8.04 on a separate HD and import files.Installation seemed to work OK, but on reboot: no menu was shown to choose OS and the machine booted directly into Windows.Tried to boot directly from the "Ubuntu" HD in the BIOS boot menu and get the message "MBR error" full stop literally.The Ubuntu hard drive is no longer recognised in Windows , can't be acessed from the DOS prompt and obviously cannot be reformatted from there.Just for the record, I'm not totally excluding operator error from the cause
Ive been at this for two days now, and cant make any progress.
First, the details: Target OS: Fedora 14, i386 Target Machine: IBM (e)server, xSeries 306 OS: Fedora v.4 Boot Order: 1. CD... 2. Removable Media 3. SATA... USB Drive: adata 8GB Process:
I used the prescribed live usb creator for windows to fill the usb drive with Fedora 14 i386. Ive attempted to boot from the USB at least 4 times, once from each USB port on the box. No luck. There isnt an option in the BIOS to select the specific boot device. I bring that up because my desktop does have that option, and using the BIOS BOOT MENU, I was able to boot from the USB and bring up the Fedora 14 Installation Menu, no problem.
So, it works on the pc thats on my desk (eMachine w/XP), but the IBM doesnt even recognize it.
installed ubuntu 10.04, i possess the BSNL EVDO AC8700 , i downloaded the package for the same from the zte website but when i try to install it its giving the following error
" (Reading database ... 123335 files and directories currently installed.) Preparing to replace crossplatformui 1.0.27 (using .../CrossPlatformUI-V1.0.27-B
I'm trying to get openssh-server working so I can stop using the family TV and just SSH from my laptop. I've only just installed 10.4 server edition, and I've made a change to /etc/apt/sources.lst by removing the # in front ofdeb cdrom:[Ubuntu-Server 10.04 LTS Anyway I run:sudo apt-get install openssh-server
Code: Reading package lists... Done Building dependancy tree
My Windows Vista installation won't start after upgrading from Karmic to Lucid. If I select it on GRUB2, it leaves a blinking cursor on screen. And I tried doing the whole test disk thing and the boot info script. This is what my Results.txt file says
I'm attempting to get 10.04 to connect to an SBS 2003 pptp vpn server, but for the life of me have been unable to find or implement a working solution. System previously had 8.x and 9.x and had no difficulty connecting to same server, but on a fresh install of 10.04 cannot connect.
tail -f /var/log/syslog shows the following:
Code: Sep 10 15:19:32 ubuntu NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'... Sep 10 15:19:32 ubuntu NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
Main purpose of this LAMP server is testing development. I would like to get this server setup up almost exactly to a T how my real web hosting server is setup. I am running 11.04 and have installed LAMP. I also installed vsftpd. I went ahead and made a symlink from /home/user/public_html to /var/www/. I login from a Windows 7 computer via CuteFTP to my Ubuntu server. I can enter the public_html directory and can create folders but the default permissions for any folder created is 700. I have tried running chmod -R 755 /home/user/public_html but this does not work. Every file or folder created now currently will take a 700 permission.
How do I make it so anything that is uploaded into this folder will be at either 755 or 775? Also what is the best practice for utilizing the /var/www directory? Should I be using a symlink to link it to my user's home folder? I have read through so many posts with regards to adding users to a group and giving this group permission and this or that I'm so confused.
I've upgraded the generic kernel of my Xubuntu Karmic AMD64 persistent USB installation with the ubuntustudio realtime kernel (2.6.31.9.10). The thing is that the generic kernel is still loading as default and I don't have the option on the boot menu to choose the new one. I don't know how to edit this Grub2 version (grub-pc 1.97 beta 4).I haven't found a GUI package for this either.