Ubuntu Installation :: Removing Update Stanzas From Grub
Feb 3, 2011
I have Ubuntu 10, Linux Mint 10, and Windows 7 installed on my machine. Every time there is a kernel update, grub adds the new operating system as a new item in the boot screen, but it does not remove the old variant. The result is that more an more choices appear as bootable, but most of them will never be used. Now, how, in grub V.2, does one remove old stanzas that one no longer needs? It seems to me that one merely has to go to the boot directory of the particular system one is in, remove the vmlinuz, etc. for the particular kernal version no longer needed, and then run grub update. This should give one a new cleaner screen on the next boot. Is this right?
View 2 Replies
ADVERTISEMENT
Mar 12, 2010
Basically this is my problem:
1.) I want to remove Ubuntu and Grub and have only Windows XP on my PC again. (Remember the good old days?)
2.) I want to put the Ubuntu partitions back into Windows partition. I need the space.
3.) I can't use an XP disc because I don't have one. (No. Neither does anyone else I know.)
4.) FIXMBR isn't working... am I doing something wrong and what other options do I have?
5.) Does anyone know how do this without removing all my files on the XP? I can't afford to backup everything on my XP. I CAN'T!
View 5 Replies
View Related
Mar 15, 2010
I have Karmic installed, but still using old grub from Jaunty. I decided to get rid of my Vista dual boot so I used gparted, deleted the partitions and moved and enlarged my Ubuntu ones. Grub then didn't work, presumably because I deleted the MBR. I then installed Opensuse 11.2, which I assume still uses old grub too. This gave an Opensuse option which worked, and a Karmic option which took me to the Karmic bootloader, but Karmic did not load. I then tried some instructions to repair grub using the Ubuntu installer, installing grub to my extended partition. This tells me there is no operating system found. I then tried following the instructions at [URL].
My fdisk -l looks like:
dev/sda4 * Extended partition
dev/sda5 Ubuntu /
dev/sda6 Ubuntu /home
[Code].....
View 3 Replies
View Related
Jan 26, 2010
I currently dual boot and wish to know how to remove the Windows partition/drive while still allowing Ubuntu 9.04 to load safely as my main OS. I know how to restore windows partition by;
If MBR gets damaged boot from MS Windows Xp disc, Select "R" for "recovery console", select main windows installation drive (admin password usually nothing, just press enter) and type "FIXMBR" this will allow you to boot windows again, but Ubuntu partition will be unbootable and require installing ubuntu again to dual boot.
But this leaves Ubuntu partition Un-bootable as it removes the grub menu, how would I do the same for Ubuntu and make window partition un-bootable so I can remove it?
View 5 Replies
View Related
Apr 22, 2011
When updating from the last Debian Live image (Squeeze) to the current Debian testing, apt announces a lot of packages being not required:
The following packages were automatically installed and are no longer required:
openoffice.org-draw libpcsclite1 libwpd8c2a usb-modeswitch gtk2-engines-smooth dnsmasq-base tomboy
libmono-security2.0-cil libgsf-1-common update-notifier-common libndesk-dbus1.0-cil libmtp8 libmono-addins-gui0.2-cil
gnome-js-common pnm2ppa libavutil49 libhal-storage1 libmono-system2.0-cil update-notifier python-mako
openoffice.org-officebean openoffice.org-emailmerge network-manager-gnome openoffice.org-impress gdebi libgpod-common
[Code]...
These include some important packages, like network-manager-gnome for example. Was it really intended to be removed? Without it, it's impossible to manage network connections from Gnome (only manual option of editing interfaces config is left). Is it a bug, or some incomplete intention? apt suggests to autoremove these packages. Should they all be retained, or only some of them, or it's supposed to be none? Removing some of them makes sense for me (like Epiphany for example), but some not at all.
View 3 Replies
View Related
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
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
Feb 27, 2011
what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.
im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.
all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.
View 1 Replies
View Related
Jul 20, 2011
I just formatted the partition that contains fedora 15 using windows.. Now when I attempt to boot my PC the grub bootloader comes up and I cannot boot anything.... The error that I get|| i feel i need a boot command to boot boot win7 from grub... grub propmts me " minimal bash-like line editing is supported. for the first word tab possible list a possible commands completion anywhere else tab list
View 1 Replies
View Related
Mar 17, 2010
When doing a routine update to GRUB, it asked me what drive/partition I want it installed on. When I clicked enter to pass the OK message, the update manager froze momentarily and then it passed the selection page, saying "Warning: Installing GRUB to a partition other than the MBR is not recommended"
How can I fix this?
View 1 Replies
View Related
Jun 8, 2010
When I attempt to update GRUB in Ubuntu 10.04 with the following command in terminal:$ sudo update-grub
I receive the following error:/etc/default/grub: 1: GRUB: not found.why will my GRUB not update? (I believe I am using GRUB2 with Ubuntu 10.04)
View 9 Replies
View Related
Jul 13, 2010
I have ubuntu 10.04 on a dual boot with win XP.And lucid has definately made me forget XP...
I regularly update ubuntu. Each time i update ubuntu and restart the machine there is a new entry added in the grub 2.Now its showing three entries of ubuntu!
For eg..now i have the grub showing
So each time i upgrade a new entry will be made and list larger..now how do i cope with this.Are those entries kept in case i want a roll back.
View 2 Replies
View Related
May 12, 2010
I had a bad experience with 9.04 - I installed some recommended system updates, and the updated GRUB killed my installation (which is WUBI), not letting me boot.
I've now installed 10.04, and some updates have come through, one of which is GRUB. So I'm now looking at the "Configuring grub-pc" dialogue box that's popped up, and there's an option to "Continue without installing GRUB?".
What are the risks here? Is my 10.04 WUBI system going to die if I upgrade GRUB again? Or is it going to die if I don't upgrade GRUB?
View 4 Replies
View Related
Jul 22, 2010
I have upgraded from 9.10 to 10.04 but I'm still using Grub1 as I came from 9.04.
Anyway, during the upgrade I kept my original menu.lst file when prompted as I have a Windows XP boot option that I wanted to keep. I have read that this means your kernel won't be updated - and indeed mine wasn't.
The new kernel files (vmlinuz-2.6.32-23-generic) are on my machine in the /boot directory. uname -r currently shows 2.6.31-20-generic.
From what I've read you should just need to run update-grub manually and it will install. However, I have done this but it isn't upgraded. It doesn't modify my menu.lst or anything.
Output for update-grub:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
[Code].....
So it says its updating menu.lst but there is still no entry for 2.6.32-23? Am I missing something?
View 2 Replies
View Related
Aug 20, 2010
I am dual booting Windows Vista and Ubuntu 10.04 with WUBI. (Windows works fine). When I updated Ubuntu from the update manager, it just gives me this error code from a JPG attachment I just added with this post. It keeps on saying that every time ubuntu boots up.Is there a Fix? I cant boot up to ubuntu at all...
View 1 Replies
View Related
Sep 7, 2010
Whilst I've been using Ubuntu for years now, I don't really do much at the command-line, basically because I don't *have* to (which, to me is the beauty of this OS!). However, the last update via update manager has rendered my dual-boot with Vista on an Asus laptop non-functioning (at least Linux). What happens is this: after the BIOS splash screen, it says starting GRUB and then, instead of a menu of current and recent Linux versions and the Vista option at the bottom (white text against colour background) it now just shows one line of the menu in magenta... the rest of the menu is black, but the arrow keys will show the other options. Hitting ENTER does nothing: the text line is replaced with a blinking underline which goes back to the text in magenta again when i hit ESC. I can't seem to ESC or SHIFT to GRUB's command-line prompt at all. I've boot to the LiveCD and ran a boot_info_script in bash: here is what that revealed:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Syslinux is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
[code]....
View 9 Replies
View Related
Dec 10, 2010
I grabbed an old laptop (a Dell Latitude D600) and installed Ubuntu 10.10 from the CD.Straight from the CD, it worked fine, including a reboot. I then ran an update, and now booting gives me the following message:
Code:
GNU GRUB version 1.98+20100804-5ubuntu3
Minimal BASH-like line editing is supported. For the first word,
[code]....
View 5 Replies
View Related
May 15, 2011
After upgrading Maverick (perfect!) to Natty, I was unable to boot into anything. (kernel 2.6.38). However, through much PITA, I was able to boot into an older kernel. (2.6.35). I completely removed 2.6.38, rebooted, reinstalled it and ran update-grub. However, 2.6.38 is no longer available no matter how many times I run update-grub, and the only option left is 2.6.35. In my humble opinion, the Natty upgrade experience is rubbish. (blank screen, total PC hangs, boots into a blank screen with only a blinking cursor, NVIDIA official driver not working, bootable only into older kernels etc.)
View 7 Replies
View Related
Oct 11, 2010
I had windows 7 installed in my 4th drive and windows vista as my boot drive. I formatted my windows 7 drive using vista and installed ubuntu 10.04 in its place. But still, when i update grub it shows windows 7 as one of the operating systems and my vista OS has been renamed as Windows 7. Please help. How can I remove windows 7 from the list, while i update grub.
View 3 Replies
View Related
Dec 31, 2010
I have a acer aspire one netbook which was duel booted with the latest version of Ubuntu but as i've stopped using the netbook as much and my family use it more, i removed ubuntu for them. But i just deleted the partion and now i am stuck with the grub luncher when i boot up saying Grub Rescue, partion not found, i can only boot via USB as its a netbook!
View 3 Replies
View Related
Mar 27, 2010
I am thinking the GRUB 2 more functionality was achieved at the price of presenting a user with what I experience as Byzantian mangle of default loaded templates, almost designed to make me give up and leave the defaults.menu.lst is no more - its now /boot/grub/grub.cfg DON'T edit it! /etc/grub.d has the new stuff. These are not just a list of boot-up choices anymore. It requires one to be a programmer.One called 20_memtest86+ is not really to be meddled with. I tried simply making it non-executable.The last choice, 40_custom, allows to add entries only - not quite what we wanted to do.
View 9 Replies
View Related
Jan 4, 2010
I have an odd issue that someone has hopefully seen before or can provide a next step. Firstly, I installed Ubuntu 9.04 about 7 months ago and things ran fine. I then did an upgrade (via apt-get) to the 9.10 kernel: Current: Linux 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux
Still, I had a properly functioning system. I then decided to install selinux since I was interested in learning how to set it up and get familiar with it's security features. When I was installing it, it got stuck on the portion where it had to modify Grub. It got stuck in a similar point as the following:
[Code]...
View 2 Replies
View Related
Jul 21, 2010
I have been phenomenally unlucky with Ubuntu as seen my my post history and decided to dual boot.
I set it all up with a clean install, when I tried to load Windows from Grub the computer restarted. After much headache I managed to set it up correctly (when it wouldn't load from Grub I booted from the Windows CD and clicked on "Repair computer" and it finally worked).
Now I am having the same problem as before--I think my installed all the updates from Update Manager and it included a grub one. Now I can't load Windows from the grub menu: It goes to the Starting Windows screen and then reboots my computer. If I do it again it gives me an error message and an option to perform "Startup repair". When I try to do Startup Repair, the computer reboots after a few loading screens.
So I tried what worked before and put in my Windows 7 CD, and clicked on Repair Computer. BUT NOW it gives me an error message somewhere along the lines of system restore is not compatible with my installation of Windows, and to insert a compatible recovery CD. This is the ONLY Windows CD I have (legitimate copy).
Over the course of this migration experiment I have installed and reinstalled both operating systems 7-10 times total. I'd rather not do it again. My poor laptop is probably wondering what the heck.
I can't stick with Ubuntu alone because my wireless doesn't work with it, my grad school files are not completely compatible with open source software, and I can't play the games I'd like to. So I must have the option to at least dual boot into Windows.
When selecting Windows it restarts the computer entirely to the Compaq screen, not just to the Grub menu, if that matters.
View 9 Replies
View Related
Jul 26, 2010
This is what I get when I'm updating grub xxx@xxx-desktop:~$ sudo update-grub /etc/default/grub: 9: splash: not found
View 1 Replies
View Related
Sep 6, 2010
I did the kernel update via Update Manager today. Unfortunately , after this , disaster happened whereby sh.grub> prompt appeared on screen.
I got no idea how to rescue or repair the grub. I installed Ubuntu 9.10 in my E: under Windows 7 partition and labeled as "ubuntu". It has dual boot capability.
View 6 Replies
View Related
May 3, 2011
I have this strange problem on ubuntu 10.04 64 bit, that when running update-grub, it will only put the oldest kernel into the grub menu, despite the fact that I have recent kernels around as well.
in particular:
Code:
# update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
[code]...
I'd like to see the most recent kernels in the grub menu, with the most recent being on top.
View 3 Replies
View Related
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
Jul 15, 2011
I'm running Kubuntu natty on grub-efi-amd64. I've just received notification of a bunch of new packages to install, I believe part of it is a kernel update. When I click on "apply" a window comes up which says "Additional changes are required to complete the task". "2 packages to remove" lists "grub-efi" and "grub-efi-amd64". It lists 5 packages to install 3 of which are linux kernel and 2 of which are the bios version of grub.
How can I update my system without having efi-grub removed?
View 1 Replies
View Related
Mar 22, 2010
I've recently installed Vmware on Vista and I am using that to run Linux. I prefer this method over duel booting as I can quickly switch between the two OSes. So here is what I would like to do.
1) Remove swap partition (not needed).
2) Remove Linux and format partition to NTFS for windows use.
3) Remove Grub.
What I don't want to do.
1) Reinstall Windows Vista (Lots of programs installed).
View 2 Replies
View Related
Jul 8, 2010
Since I've been using Ubuntu, I've noticed that new entries for Ubuntu (the same but with the final number changed) occasionally appear in the Grub 2 boot loader. I'm talking about the first two entries in this picture, compared with the third and fourth entries here:Two questions:1. What are these entries? They appear to simply be the same OS but different versions. Are they generated when Ubuntu updates?
View 3 Replies
View Related