Ubuntu Installation :: 10.10 - Remove Old Kernels From The Grub2 Boot Screen - Error "awk: 1: Unexpected Character 0xe2"
Nov 1, 2010
I am running a dual boot system with windows 7 and Ubuntu. Both have run smoothly on my machine (Core 2 quad core on Gigabyte board) I recently upgraded to 10.10 from 10.04 via the update manager within 10.04. Following the upgrade the initial boot failed at the login screen ( i simply got the purple colored screen with a white box in the center of it). Instead of trying to figure out what went wrong, I simply re-installed 10.10 from live CD on top of the upgraded Ubuntu that was failing at the login screen. The live CD install seemed to fix everything for the most part ( I did notice some quickly flashing text right before the login screen. I think it was an error message but it was too fast to read)
My problem now is that I am trying to remove some of my old kernels from the Grub2 boot screen and I cant. I have read many posts on how to remove the old kernels, but my system is proving to be difficult. The old kernels definitely show during boot, but whenever I go into Synaptic they are not there. I have downloaded Ubuntu Tweak, and they do not show in it either. I have read the information at [URL] I went to http://www.fixthecode.com/remove-hug...sts-in-ubuntu/ and thought this would fix my problem but I keep getting an error: "awk: 1: unexpected character 0xe2" when i try to run: "dpkg -l | grep ^ii | grep 2.6.3x-xx | awk -F{print $2} I am running kernel 2.6.35-22 The kernels i want to remove are 2.6.32-23 and 2.6.32-24.
View 7 Replies
ADVERTISEMENT
Oct 19, 2010
I am using a Dell XPS m1330 with ubuntu Maverick 10.10 and with a Nvidia card. Recently I wanted to add plymouth support to my boot screens via this script: [URL].... but maybe i did something that ruined my pc and now, in GRUB, i can only see recovery kernels. The situation is this: in grub i see
linux recovery kernel 1
linux recovery kernel 2 (old one)
memtest
windows 7
My "normal" linux kernels disappeared. When I want to boot linux I use a recovery kernel, then I simply hit "resume" in the process, do the textual login and than use the command "startx" to start the system. However i'm getting no Plymouth and no normal boot. I have already tried to fix grub recreating the linux kernels, but they just don't show.
View 1 Replies
View Related
Nov 25, 2010
I followed the Grub 2 Basics steps to remove Grub 2 kernel listings.
However I'm stuck with 3 older versions that was completely_removed from Synaptic (kernel/headers/generic), but remain in grub.cfg.
Quote:
Here is my current grub.cfg:
(How do I remove *.14 *.21 *.22 from my menu entries Ubuntu-tweak is not an option for me. I like it old-school or with the tools at hand.)
Code:
I considered changing permissions for grub.cfg, but update-grub and new kernels will revert my changes.
View 3 Replies
View Related
Jan 15, 2010
i get this error
root:/boot# apt-get upgrade
Code:
Setting up desktop-base (5.0.3) ...
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/bzImage
/etc/grub.d/01_OVHkernel: line 37: syntax error: unexpected end of file
[code]....
View 3 Replies
View Related
May 10, 2010
I just installed 10.04 over my previous dual boot with Windows7 and 9.10. Went well. Now, in the Grub2 menu, there are like 14 kernels. I tried to find them in Synaptic to delete them, but they are not there! So, I went to grub.cfg and deleted the entries, updated grub, and they were back! How do I get rid of these entries?
View 6 Replies
View Related
Apr 8, 2011
I tried to remove a folder in linux, davidanderson'spetshop_617 as a folder name. It contained a single quotes. By using the following command
rm -r path/davidanderson'spetshop_617
I am getting this error ,Error: unexpected EOF while looking for matching `''unexpected end of files.How can i remove the folder?
View 2 Replies
View Related
Jun 9, 2011
I have recently installed the Maverick backport kernel (2.6.35 - from the lucid-updates/main repo) and while I was at it I also manually (through synaptic) got rid of some old kernels. I made sure that I kept the current Lucid kernel though (that was working fine). All seemed well (although I didn't actually check - just no errors) so I rebooted.On reboot I have lost all my Ubuntu kernel options!
I rebooted with a live cd, mounted, etc and ran
Code:
sudo update-grub
but it doesn't seem to find any kernels!
Code:
grub-install --recheck --root-directory=/media/mnt /dev/sda
Checked /boot to see if the kernels are there:
Code:
jed@lightning:/boot$ ls
abi-2.6.32-31-generic memtest86+.bin
abi-2.6.32-32-generic System.map-2.6.32-31-generic
[code]....
Even reinstalled burg (used to use it but it got broken by a kernel update long ago and never bothered to fix it as I only use Linux these days anyway)Funny thing is that BURG finds the kernels and reports no problem, but then drops to the grub-error prompt on boot.
View 9 Replies
View Related
Sep 10, 2010
I have installed Ubuntu 10.4 on a netbook of mine and am now unable to boot into XP - I get a blank screen.
I have ran the boot info script and attached the result.
View 5 Replies
View Related
Oct 20, 2010
I did a "dirty install" of Maverick over my existing Lucid system. That went very well and I am having no problems with Maverick. However, this morning, I decided to clean off the old Lucid kernels. In the past, after installing a new kernel on the same Ubuntu release, I have done this by running "aptitude search 2.6.32-24", for example, then running "sudo aptitude purge" for the kernel and header files it found.
Now that I have changed releases, aptitude no longer finds the Lucid kernels installed on my system, even though they still reside in the file system and show up on the grub2 menu. So, how do I manually find everything necessary to delete for the old Lucid kernels?
View 9 Replies
View Related
Mar 11, 2010
When I am adding removing packages to get more hard drive space, this is not the first time I left too many pages open and it crashes on me. My son would fix it by typing in the terminal sudo something, but I want to know how to do this. The only thing not working is the add/remove packages at the moment. Here is what it said, E:dpkg was interrupted you must manually run 'dpkg--configure -a' to correct the problem E: _cache-open()failed please report. Please, could someone tell me how to get the default back or whatever. When I type in the terminal, it refused my password until I tried several times, plus, it finally says in the terminal No such command. Bash. No such command. I am hoping this question is one you do recognize the answer for.
I tried using Yum to remove the package. Like this:
To remove or uninstall a package:
Code:
yum -y remove ,package name>
Terminal goes: Bash syntax error near unexpected token `newline'
View 3 Replies
View Related
Jul 2, 2011
I have Lucid installed on a computer. I added a second drive, installed Windows 7. Windows 7 boots fine if it is the only drive connected, or it is selected as the boot drive in the BIOS. I booted into Lucid, ran 'sudo update-grub' and it found the Windows 7 install on the second disk. When I try to use that Grub entry to boot Windows 7, I get this error screen:
Code:
Windows Boot Manager Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
1. Insert your Windows installation disk and restart your computer.
2. Choose your language settings, and then click "Next."
3. Click "Repair your computer."
If you do not have this disk, contact your system administrator or computer manufacturer for assistance.
File: BootBCD
Status: 0xc0000225
Info: An error occurred while attempting to read the boot configuration data.
I seem to remember in the Grub 1.x days there was a map command that would 'swap' the drives so Windows would think it was the boot drive, but the Grub2 autogenerated command doesn't have anything like that.how to get Grub2 to boot Windows 7?
View 4 Replies
View Related
Aug 1, 2010
I have a grub menu with a ton of old kernel entries that I want to delete. I've scoured this forum, and haven't found anything that works. I've tried:
Code:"the easiest way to get rid of old kernels from grub is to uninstall the package, the post-install scripts will update grub
for example my current kernel is:
uname -a
Linux hemma 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
then remove older kernels found in /boot like this:
sudo aptitude remove linux-image-2.6.31-15-generic" When I tried that, the output showed the package being removed, but nothing was removed from the grub menu. I tried running the kernel I supposedly removed, and it wouldn't start, which is promising, but how do I get it out of the grub menu? I've also tried using Synaptic, but that didn't work either.
View 8 Replies
View Related
Apr 30, 2010
After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.
[Code]...
View 9 Replies
View Related
Jun 2, 2011
I have a Dell PowerEdge SC1425 with two SCSI-disks, that I have tried installing Debian Squeeze on. This machine has previously been running Lenny (with grub 1), and the upgrade was done by booting a live-cd, mounting the root partition and moving everything in / to /oldroot/, then booting the netinstall (from USB), selecting expert install and setting up everything (not formatting the partition).
Both disks have identical partition tables:
/dev/sda1 7 56196 de Dell Utility
/dev/sda2 8 250 1951897+ fd Linux raid autodetect
/dev/sda3 * 251 9726 76115970 fd Linux raid autodetect
/dev/sda1 and /dev/sdb1 contain a Dell Utility, that I have left in place.
/dev/sda2 and /dev/sdb2 are members of a Raid-1 for swap.
/dev/sda3 and /dev/sdb3 are members of a Raid-1 for / formatted with reiserfs.
After installation, grub loads, but fails with the following message:
GRUB loading.
Welcome to GRUB!
error: no such disk.
Entering rescue mode...
grub rescue>
Doing "ls" shows:
(md0) (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
I can do the following to get grub to boot:
set root=(hd0,3)
set prefix=(hd0,3)/boot/grub
insmod normal
normal
This will bring me to the grub menu, and the system boots.
It appears that grub has only found md0, which I believe is the swap partition, because ls (md0)/ returns error: unknown filesystem. I have installed grub to both sda, sdb and md1, and tried dpkg-reconfigure grub-pc and dpkg-reconfigure mdadm, as well as update-grub.
I manually added (md1) /dev/md1
to /boot/grub/device.map, but still no result.
I have run the boot_info_script.sh, but unfortunately I cannot attach the RESULTS.txt, because the forum aparently does not allow the txt-extension. Instead I have placed it here: [URL]. I am tempted to go back to grub-legacy, but it seems I am quite close to getting the system working with grub2.
View 6 Replies
View Related
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
Dec 14, 2009
Make: Fujitsu-Siemens
Model: LifeBook P7120
For some reason (hardware - I am guessing) the LiveCD does not boot on some laptops. The LiveCD worked well on my Dell Inspiron 1525 without any problems but my Fujitsu-Siemens refused to boot up. If you are trying to install or use F12 with the LiveCD ISO image burnt onto a CD on a laptop and fails with the following error:[drm:drm_mode_rmfb] *ERROR* tried to remove a fb that we didn't own Boot has failed, sleeping foreverthis workaround may work for you. Sometimes it will come up with another error about 'Root Device Not Found'
The workaround only works on a bootable USB key for some other reason, created with 'live-usb creator' and not a CD nor a LiveCD image on a USB created on a windows machine. I have tried them all.
[Code]...
View 1 Replies
View Related
May 21, 2010
I'm simply trying to remove old kernels and second rename things that are on the list. It used to take me 10 seconds with grub1, but having some difficultly with grub2. So far I went into /boot/ and removed the old kernels and then did a sudo update-grub2 and it seemed to remove all the old kernels from the list. Is this the best way or doing it or any issues on doing it this way? Second I just want to rename what boots up like Ubuntu 2.6.32-22-generic to something else. I keep read not to modify the grub.cfg, but not sure what to do? I poked around the files in /etc/grub.d/, but not sure what to do?
View 2 Replies
View Related
Mar 5, 2011
Is it possible to add menu entries for older kernels to boot instead of the latest?
I have tried this in Ubuntu 10.04 and it hasn't worked.
This used to be possible with ease in grub legacy.
I copied the current menu entry from /boot/grub/grub.cfg and pasted it in the /etc/grub.d/ 20_custom file.
Then I changed the kernel number to the older kernel number and the initrd number too. #update-grub puts this entry into 'grub.cfg', but it doesn't work.
I get:
The old kernel is in /boot as well as the respective initrd and config files.
View 1 Replies
View Related
May 23, 2011
I am facing the following error while running the newly installed software ZEKR. I have already installed the latest version of Java.
java.lang.UnsatisfiedLinkError: no pulse-java in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1681)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
[code].....
View 3 Replies
View Related
Apr 10, 2010
I just installed F12 lastnight and I went to run updates and the update manager said that there were unexpected errors and could not continue. I tried again today and same results. There are something like 321Mb of updates to run so...would be nice to get this machine updated.
View 2 Replies
View Related
Nov 25, 2010
i'm having a problem with every single kernel upgrade since 2.6.32-21.I'm currently upgraded to 10.10 using GRUB2 and LVM disk configuration and all newer kernels (up to the latest 2.6.35-23) crash with the following errors:/init: .: line 61: can't open '/scripts/functions'Kernel panic - not syncing: Attempted to kill init!Pid: 1, comm: init not taintedI've already double checked all the entries in GRUB regarding paths, etc and i can't seem to find any difference between the working 2.6.32.21 and all the others
View 6 Replies
View Related
Mar 1, 2010
I just upgraded from jaunty and somewhere in the process (or just after, I'm no longer sure just when it started) I started getting this error whenever I try to install or upgrade a package. Some of my software isn't working properly - some won't even load - so I'm not sure if the installations are actually succeeding, or not. But apt-get install -f shows nothing but a list of stuff I need to autoremove (mostly dev files). This particular message is the output of the details tab in synaptic, but I've gotten the same thing in terminal from apt-get. Quote:
dpkg-deb: --control /var/cache/apt/archives/dpkg-awk_1.0.3_all.deb /var/lib/dpkg/tmp.ci
Selecting previously deselected package dpkg-awk.
(Reading database ... 415515 files and directories currently installed.)
[code]....
View 3 Replies
View Related
Mar 16, 2011
I got install_ubuntulite_nouveau: line1: syntax error near unexpected token 'newline'
when running sudo bash install_ubuntulite_nouveau
View 1 Replies
View Related
Aug 17, 2010
Ive installed a fresh copy of ubuntu onto my laptop, dual boot with 7. Everything runs smoothly except the grub. So in grub i have an entry of vista loader. I have removed the ubuntu recovery mode and the memtest entry so now i have 3 entries
Ubuntu
vista loader
7 loader
How i can remove the vista loader? PS i have never had installed vista onto my system i bought it brandy new with 7 pre-installed.
View 8 Replies
View Related
Dec 8, 2010
So I have my netbook triple-booted with Windows XP, vanilla Ubuntu, and Kubuntu Netbook (Installed in that order).
I however would love to remove Kubuntu Netbook from my computer, but unfortunately, since I installed it last, it is the Linux OS that owns the current default GRUB files that the BIOS reads first.
Can someone please tell me what to do to remove the Kubuntu partition and restore the default GRUB to my vanilla Ubuntu so I can still use my computer? I've done this incorrectly before and freaked myself out because whilst trying to access the GRUB, my computer couldn't find it because the partition that the files were originally on was gone. Haha. I don't even know how it got fixed.
View 9 Replies
View Related
May 4, 2011
I switched over from Ubuntu because I realized Ubuntu sucks now (lol), but anyways... Now I'm trying to get Grub2 to boot up properly, but this "xputs" error pops up and drops me to the recovery prompt. I tried the grub-install dev/sda and all it did was recognize my Windows 7 OS (as Vista) and added it to the bootloader list and didn't fix the "xputs" issue.
I heard that doing a chroot is the most effective solution. Forgive me, but I don't know what "chroot" means or how effective it is. I can specify more information about where the OS is if needed. I have the boot flag set to the Debian OS at the hd(0,5) or sda5 I think, and Windows is at sda1 (I think). I just want to make sure I can fix this without damaging Windows, and I'll try to get more information.
Right now, I can only get into Windows or Debian with UBCD and Grub2 Super Disk and I know that sometimes Parted Magic could orderly mount the disks differently, so I don't know if it was sdaX or sdbX, but probably sdaX. I'll check again.
View 1 Replies
View Related
May 4, 2010
I'm dual booting Ubuntu and Windows 7. On my 7 partition I have Paragon Backup and Recovery Suite installed. This program has a boot screen, "press F6 to enter recovery console." Well, I have a boot disk for that console, rendering the boot screen useless to me. In addition to that, it replaces Grub2, so every time I want to boot Ubuntu I have to boot the livecd and reinstall grub. Is there any way to remove this boot screen?
View 6 Replies
View Related
May 10, 2010
I have updated to ubuntu 10 and with it the new version of grub. My windows is not booting up , when i select windows xp from the menu i get a black screen and nothing ever happens, no errors , no mesages. I found this problem a lot on the internet but i no solution yet.
View 8 Replies
View Related
Jul 6, 2011
how would i go about deleting my old kernel?i have my ubuntu machine partitioned the way gentoo would partition a drive with a seperate boot directory. my boot directory is only 200 megs so i can probably fit 4 kernels max into it and need to eject the old ones.
View 3 Replies
View Related