Ubuntu :: Chroot Then "update-grub" Gives Errors
Jun 24, 2010
Ok so I have a USB external hard drive with Ubuntu 10.04 LTS on it but I did something to ruin it's grub or something. So what I did to make my USB HDD bootable again is:
Code:
sudo mkdir -p /mnt/chroot
sudo mount /dev/sdc1 /mnt/chroot
sudo mkdir -p /mnt/dev
sudo mount --bind /dev /mnt/dev
sudo mkdir -p /mnt/proc
[Code]...
I don't know what to do about that error. It took me a while to understand how to learn chroot and thanks to some ..... videos I finally learned how and then it felt like a climax when I was about to issue the update-grub command and then when it didn't work, I felt bad lol .
View 9 Replies
ADVERTISEMENT
Apr 7, 2010
after doing an upgrade to 10.4 and updating grub I get this message. how do I address this
[Code]...
View 2 Replies
View Related
Jun 2, 2010
Recently I messed up GRUB boot loader in my laptop installed with Ubuntu which resulted in grub rescue prompt. So I had to boot Ubuntu Live CD to get it fixed. Thought of blogging it, may be useful for some one.
This fix involves two steps. First one is to chroot into Ubuntu installation partition. Second one is to install the grub MBR (Master Boot Record). I am using Ubuntu Lucid 10.04 and Live CD also of same.
Continue reading here: http://karuppuswamy.com/wordpress/20...rescue-prompt/
View 1 Replies
View Related
Jul 12, 2011
recently we decided to make our own panel (like Plesk or cPanel) but for Ubuntu and it will be licenced under GPL (like any other professional sofware).want to make a panel not only that fits our needs but also the needs of other system administrators and domain owners. We researched other panels and found out that non of them has security/look/ease of use in one package. Bad codig is another problem found in other panels.I made a short overwiev of what I think we have to have in the beginning.I Security :1. Completely chroot enviornoment where every single service is in chroot mode (bind,mysql, postfix, .... )2. Easily managed IPtables trough web-based interface. 3. Coding rules has to be strict.
II Software selection :
1. MTA - Postfix
2. POP - dovecot
[code]....
View 7 Replies
View Related
Dec 20, 2010
I installed Ubuntu Netbook Edition 10.10 on my Eee PC 901 (the one that has 2 SSD's). It all went fine, and I ran the update manager straight after install and config. It installed the updates (all 198 of them!) without error. I was prompted to restart, so I did. I got the error "udevadm trigger is not permitted while udev is unconfigured". I found out that this error is well documented, and I followed the guide at [url](apparently it affects all variants, not just UNE).
It went O.K., until I tried the command "sudo chroot /media/newroot". I got the error that "cannot run command '/bind/bash': no such file or directory". What should I do?
I cannot boot into and earlier kernel (problem/current one is 2.6.35-23-generic) I can only fix it via live USB stick.
View 7 Replies
View Related
Dec 22, 2010
The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
[Code]...
View 9 Replies
View Related
Jul 20, 2011
When I installed Ubuntu 11.04 i went to some blogs to do the classics "10 things to do after installing Ubuntu 11.04". It seems all is fine. But when i do this command in the terminal,
Quote:
sudo apt-get update
I get this errors ("imposible obtener"="can't get", i think this is the translation) in the terminal:
Quote:
W: Imposible obtener http://ppa.launchpad.net/sun-java-co...source/Sources 404 Not Found
W: Imposible obtener http://ppa.launchpad.net/sun-java-co...-i386/Packages 404 Not Found
W: Imposible obtener http://ppa.launchpad.net/tucan/ppa/u...source/Sources 404 Not Found
W: Imposible obtener http://ppa.launchpad.net/tucan/ppa/u...-i386/Packages 404 Not Found
View 7 Replies
View Related
Aug 29, 2010
I ran an update recently. It was about a 300Mb download and with it was the current kernel and others. I restarted to find an error. Compiz is no longer starting and there is this red minus icon on my bar saying there is a package error. It said to run "sudo dpkg --configure -a" but when I ran that I got: dpkg: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory"
View 8 Replies
View Related
Aug 18, 2010
Because I have Windows and two different Linux distributions installed, I have two GRUBs on my system. The first one that starts when I boot the computer is Linux Mint's GRUB. It can run Mint, Windows, or Kubuntu's GRUB, which in turn can run Kubuntu. Right now I mostly use Kubuntu, but I haven't changed the setup of the GRUBs because it worked. Until yesterday, when Mint's GRUB worked well, but Kubuntu's GRUB gave me an error while trying to run Kubuntu. I restarted the computer a few times, and it happened every time. Sometimes the errors I got were 16 and sometimes 18. Occasionally, even the first GRUB had errors.
I thought that maybe something's wrong with my hard disk, so I booted from a Kubuntu Live CD and did a fsck, which showed no errors at all (except that it's rather suspicious, because it checked the partition instantly, is it supposed to work like that?). Then, I reinstalled Kubuntu's GRUB and rebooted the computer. This time, everything went well! I even rebooted it later once, and didn't get any errors.
Today, I got up and wanted to use the computer, and it gave me the same errors again. :O I rebooted a few times, and it was just like before. Then, I booted from the Live CD, there I didn't start the system, but I picked "boot from hard drive" and it miraculously worked. This is weird. What could possibly cause these errors? I haven't even installed or updated anything recently.
View 9 Replies
View Related
Mar 5, 2011
I was unaware of the difficulties of installing and booting Ubuntu from the "onboard raid" that the NVIDIA nForce chipsets provide. However, I've managed to get it working reliably with one single caveat:
When update-grub builds the grub.cfg, it refers to all of my partitions as follows:
Code:
menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(/dev/mapper/nvidia_caifaefg,msdos5)'
[Code]...
So I'm guessing that the whole nvidia_blah,msdos5 is because of that. However, it doesn't seem to explain why Grub would THINK that would work and it in fact does not work. That's the biggest source of confusion on my part.
My questions are as follows: First off, because as an IT person I want to know: Why does this sort of change work? What does changing that device name change in GRUB's behavior? Is there a setting in /etc/default/grub that would change the way it's naming these RAID devices? Is there a value for this setting that would give me the device names that work, as explained above?
If there is no setting change I can make in /etc/default/grub, could I add a sed command on to the end of update-grub or can I make a modification to one of the scripts in /etc/grub.d? What sort of change would be recommended? How would I preserve this change through later package upgrades that would possibly rewrite these files?
View 1 Replies
View Related
Feb 28, 2011
I have an old BIOS (only 149 GB detected in 160 GB drive). I have installed very few OS as a result - Windows in first 80 GB , 2 distros (20 GB each) in next 40 MB which is within the 149 GB. On issue of "update-grub" grub seems to detect all OS and generates grub.cfg. But on boot , one distro does not appear in the menu.
View 3 Replies
View Related
Mar 4, 2011
I have 2 hard disks. sda,sdb
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code:
Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
View 9 Replies
View Related
Jun 5, 2010
I'm running UNR 10.04 on a Samsung NC10.Every thing has been working great for the last few weeks since I downloaded and installed - almost everything worked great out of the box! Only 'problem' I was having was pants flash performance but that's a bit of a given I guess.However, this afternoon I did an update + upgrade, then did the required restart.Booted fine to login screen, but it then took a looong time for any thing to happen - before any panels/UNR interface appear, I get 3 errors, one after another.They are:
1. Could not update ICEauthority file /home/matt/.ICEauthority
2. Problem with configuration server /usr/lib/libgconf-sanity-check-2 exited with status 256
3. Nautilus could not create the following required folders /home/matt/Desktop, /home/matt/.nautilus
(I think the third one asked me to create the folders myself and then give it correct permission but not certain)I tried loging into standard Gnome desktop, same errors, same problem. Same with the gnome safe thing.After a while however, I do get one panel, in the top left corner - rather than stretching full width, it's about 2 inches across. On it are some buttons (mail, sound, chat, power, time) but not some that should be (guake, wireless etc)I brought up the run dialogue (Alt + F2) and tried a variety of programs but nothing happened with any (tried firefox, chromium, xchat, terminal)
View 1 Replies
View Related
Aug 20, 2010
when I tried to uninstall qmmp (which I had been trialling as a music player) I came across this error.
roy@suzuki:~$ sudo apt-get remove qmmp
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code].....
I am dual-booting with Windoze XP and just this week notice 2 new ubuntu kernel lines in grub when my computer boots.
Not too sure what to do now - it seems I can't install or remove anything. Also, update manager does not work.
View 2 Replies
View Related
Jan 15, 2011
I'm totally new to ubuntu and i have a major problem with updating ubuntu, I was looking around for some linux based gaming and came across the online game called "Regnum Online". I installed it and all goes fine until I restart my computer next day, the top panel that usually has daily updates is missing and in its place is a red circle with an x through it I hover over it with my mouse and it reads:
"An error occurred please run package manager from the right-click menu or apt-get in a terminal to see what is wrong."
Which I then right-click and open package manager and it gives the following response:
"E: Type '<!DOCTYPE' is not known on line 2 in source list /etc/apt/sources.list.d/onemyndseye-regnum.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report."
At the bottom of this message reads:
"this usually means that your installed packages have unmet dependencies."
I don't want to lose my personal files by wiping and reinstalling ubuntu.
View 1 Replies
View Related
Jan 30, 2011
I get errors when I install applications..including errors from update manager when I do a regular update.
Code:
installArchives() failed: Selecting previously deselected package linux-image-2.6.35-25-generic.
(Reading database ...
(Reading database ... 5%
[Code].....
View 1 Replies
View Related
Dec 1, 2010
Ran the updater, went to boot to Win7 to use Photoshop and realized that the grub menu was gone. Ubuntu boots by default now. I tried running "sudo update-grub" at a virtual terminal and while it listed the various linux kernels ok, it then got caught in a loop spitting out some crazy looking errors. I rebooted and Ubuntu came up fine. I tried running "sudo update-grub" again from the gnome terminal and it hangs the whole computer for a few minutes and finally gives me this:
[Code]...
View 1 Replies
View Related
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
Apr 19, 2011
I updated my grub yesterday using the command:
Quote:
sudo grub-update
and I rebooted and grub menu not coming now. I have a dual boot with Win7. Ubuntu 10.04 is installed with WUBI. I can run WIN7 but can't run Ubuntu now.
View 7 Replies
View Related
May 6, 2011
After certain system-wide changes, like kernels updates, I obtain grub prompt on restart. However, if I put the hard drive into another computer (b), it boots up fine. Since, however, I use the present computer (a) regularly, I only use b to purge and reinstall grub using the chroot method. However, doing so every time is time consuming; and I cannot change anything in the defaults and run update-grub without obtaining a grub prompt on restart. How do I fix this?
View 9 Replies
View Related
Jan 7, 2010
For the past four or so days there have been a few updates for my system (32bit Karmic). I tried ignoring it at first to see if it would go away, but this is the third time I've seen these error messages.
Apt Authentication issue
Problem during package list update. The package list update failed with a authentication failure. This usually happens behind a network proxy server. Please try to click on the "Run this action now" button to correct the problem or update the list manually by running Update Manager and clicking on "Check". I click the "Run this action now" button and I get a second error,
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: [URL] karmic Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch [URL]
W: Some index files failed to download, they have been ignored, or old ones used instead.
View 3 Replies
View Related
Mar 28, 2010
Ran update manager and install some updates. After it asked me to reboot, I received the following message before splash: "mountall could not connect to plymouth", and the splash screen now says "mythbuntu". What?
Version 10.0.4
View 3 Replies
View Related
Sep 9, 2010
I updated my Xubuntu 10.04 yesterday and some packages had errors on install. I think I have tracked it down to python2.6 install. I ran apt-get install mousepad just to see the errors and this is part of what it returned:
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
15 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up update-manager-core (1:0.134.10) ...
file does not exist: /usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeApport.py
file does not exist: /usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeAptCdrom.py
file does not exist: /usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeAufs.py
file does not exist: /usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py ...
file does not exist: /usr/lib/python2.6/dist-packages/computerjanitor/plugin_tests.py
pycentral: pycentral pkginstall: error byte-compiling files (49)
pycentral pkginstall: error byte-compiling files (49)
dpkg: error processing update-manager-core (--configure):
subprocess installed post-installation script returned error exit status 1 ...
Errors were encountered while processing:
update-manager-core
gdebi-core
gdebi
gdebi-kde
jockey-common
jockey-gtk
python-aptdaemon
aptdaemon
python-aptdaemon-gtk
software-center
update-manager
update-manager-kde
packagekit-backend-apt
packagekit
kpackagekit
E: Sub-process /usr/bin/dpkg returned an error code (1)
Then, I checked where it said the missing files were and found several broken symlinks like this:
lrwxrwxrwx 1 root root 33 2010-08-09 20:34 xapian.py -> ../../../share/pyshared/xapian.py
All of the broken symlinks need another ../ on the front. I was considering creating a script that will read the broken symlinks, add another ../ on the front of the target and then change the symlink target to that address.
View 5 Replies
View Related
Nov 2, 2010
When I try to update the computer, like with the automatic updates, every time after it's done I get an error message stating that a number of the updates were unable to actually update:
"Errors were encountered while processing:
What can I do to get those updates to actually update?
View 9 Replies
View Related
Mar 12, 2011
I have a computer with 128 ko of RAM (a very old one). I installed yesterday ubuntu 8 because ubuntu 9 requires 512 ko of RAM and was very slow. Now, I have problems to update packages and to install every thing. I changed the sources.list because it seems that links are no more available according to the error messages. (I have put many adresses for ubuntu 9 because I think the kernel is the same not as the kernel for ubuntu 10). But new problems have occurred like "broken dependencies". Now I want to correct, and I don't know how? I'm still a beginner with this OS.
View 2 Replies
View Related
Apr 4, 2011
I'm getting the following error every time i run the package manager to install or update etc..
Code:
E: nxserver: subprocess installed post-installation script returned error exit status 1
Despite the error, apt still works and allows me to install/remove apps.
The application in question also works fine too.
View 2 Replies
View Related
Aug 3, 2011
My problem, GRUB loader appears when it normally did not and Ubuntu fails to boot. My story, I installed ubuntu on a HP Touchsmart laptop a month ago because I was having troubles with Windows and... well I just wanted to install ubuntu. All goes well until a week ago when my sound was permanently muted through a hardware switch and ubuntu was not detecting it. I tried hitting the button on my laptop but nothing worked. Soo... I tried resetting my BIOS in hopes that it would fix it. I set the bios to its defaults and booted. This is where it got weird. the GRUB loader appeared when it normally did not and upon booting, a black screen with flashing cursor would show up and then... nothing. I changed the bios settings back to what they were and still nothing.
I have removed the silent boot from the GRUB boot line and can see whats going on... a little, the last thing it shows is "Running /scripts/init-bottom ... done." annnd nothing else. When booting in recovery mode it stops after 30 or so seconds on...
Code:
ACPI: Power Button [PWRB]
input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/inp
and just ends on that line. the previous line shows closing the Lid as a button.
I have tried booting into a live USB (as the laptop has no cd drive) and everything works fine.
how the BIOS would be related to GRUB/booting..
View 2 Replies
View Related
Aug 25, 2010
I did an upgrade a while back to lenny, but still get these errors..
Here's what I get when O do apt-get update:
View 14 Replies
View Related
Feb 26, 2010
This was also posted under Newbie Forum as I was unsure which was the best spot. On a fresh install of Fedora 12: I am trying to do a software update and keep getting these errors. I am new to Fedora but have used Ubuntu for some time. An Internal system error has occurred:
Under more details it states:
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
backend.dispatcher(sys.argv[1:])
[Code]...
Now I don't know if those errors each apply to a distinct update but theres about 430 updates available. It looks like maybe I need to add something to the repository? I don't know
View 1 Replies
View Related
May 13, 2010
I want to Upgrade my system from Fedora 10 to Fedora 11 but when I use: yum -y update, my system comes up with a lot of dependency errors for Fedora 12, Fedora 13, and Fedora 14.
Right now I just want to upgrade to Fedora 11 and dont understand how I have managed to download packages for Fedora 11, 12, 13 and 14.
View 9 Replies
View Related