General :: How To Remove OS Under Grub2
Apr 25, 2010
I have Suse 11.2 and Win XP running from a Grub2 boot loader. I want to remove Win XP from the machine.What is the best way to do that? Is it safe just to replace the partition that Win XP is on with a Linux partition?
Assuming that is OK, will Grub then boot OK, and recognise automatically that the Win XP OS is gone, or do I also need to update the Grub configuration manually? I did try looking at the Grub Wiki, but I find it very hard to use
View 4 Replies
ADVERTISEMENT
Jul 17, 2010
They finally got the MCP89 kernel patch finalized and released as a Ubuntu DVD in the daily build of Lucid Lynx (good job!). I tried it, but even after following Ubuntu's Wiki-guide to fix various problems, a lot of my Mac's functionality broke and I don't want to take up that battle yet (of trying to get everything to work perfectly {I'm a perfectionist}).So I want to remove Ubuntu and GRUB2 from my system. But even with some experience with problems like these, I'm in the ultimate pickle. OS X uses the GUID Partition scheme and EFI, whilst bootcamp has a BIOS/MBR emulator to run Windows. I installed the GRUB bootloader to the MBR (I think {In "/dev/sda" during the install}). I use rEFIt to chainload into GRUB2 to boot Ubuntu, and I want to remove that icon, return to booting Windows 7 using it's own bootloader, and restore the GB's that Ubuntu took back to the Windows 7 partition.
I'm lost and (for the first time in a while) WAY over my head. I have no experience with EFI/GUID. (I just got my first Mac a month ago)
View 8 Replies
View Related
Jun 22, 2010
i have an entry in grub that i don't use at all "Windows recovey " and i want to know if there is a way to remove it or just hide it i have an other problem is grub confuses some partitions names so is there a way to rename them
View 3 Replies
View Related
Aug 7, 2010
I was dual booting on my netbook with Lucid and Windows XP, so the computer starts with the GRUB2 menu. I deleted the windows partition and now I only use Lucid on the netbook. I want to know how can I get the computer to simply boot into Ubuntu like a normal computer would do if it was not set up as a dual boot system?
How can I get the computer to go directly into the ONLY operating system rather than taking a detour through the GRUB menu?
View 9 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
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
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
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
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
Jul 11, 2011
I installed Fedora 15, which was my first real departure from Debian based Linux OSs. I absolutely love the new Gnome 3, and was able to configure F15 to work as I wanted it to. On rebooting I realized that there was no boot loader screen, that F15 just booted and didn't give me a choice as to which OS I wanted to use. Eventually I was able to configure grub to let me see the boot loader and added my old boot loader as a choice. This worked well, maybe not a perfect solution, but it worked. This weekend I installed LMDE (Linux Mint Debian Edition) to another HDD. LMDE uses grub2 and after the install F15 was not recognized.
Two questions: Is there a way for grub2 to see F15? or Can F15 be installed using grub2? I really don't mind re-installing from scratch.
View 10 Replies
View Related
Jan 24, 2011
I want to load grub2 from grub4dos.I want to load directly the grub2 core. I know how to load first 512 bytes from some patition by chainloader and load grub2, but what I need is to load directly grub2 core without passing by bootstriping code (first 512 bytes).So, my first boot manager is grub4dos, then I can load grub2 and later I load Ubuntu. But I think I have to edit --set-root
What I dont know is how.
In hdd 0,7 (sda8) I have Ubuntu 10.10 and /boot/grub/core.img is in sda8 (hd0.7)
I tried this way:
Code:
title grub2
find --set-root /boot/grub/core.img
kernel /boot/grub/core.img
View 2 Replies
View Related
Nov 8, 2010
How can we add a kernel to grub2? i knew the stuff we could do with the former versions, but it seems to have changed. What files should we edit?
View 5 Replies
View Related
Aug 24, 2011
I am booting a new Xen kernel and it all goes fine up until some point during the boot process when the machine reboots without warning. Unfortunately, I don't see errors flash up just before that happens. Is there a way of booting the machine with a working kernel and looking at a log of the previous boot or something? What I didn't notice is that there is actually an error on the screen. It just flashes up very quickly before the reboot. The error is related to not being able to mount the root filesystem because there is something wrong with my grub configuration.
A normal entry in grub.cfg looks like this:
menuentry 'Ubuntu, with Linux 2.6.32-33-server' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)' .....
I added the following in /etc/grub.d/40_default
menuentry 'Xen 4 with Linux 2.6.32.45-xen' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
recordfail
insmod ext2
set root='(hd0,1)' .....
But it's not working for some reason. I also tried the 20_linux_xen script. Unfortunately that's not working.
See these errors:
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
Found linux image: /boot/vmlinuz-2.6.32-33-server
Found initrd image: /boot/initrd.img-2.6.32-33-server
/etc/grub.d/20_linux_xen: 57: uses_abstraction: not found
Found linux image: /boot/vmlinuz-2.6.32.45-xen
Found initrd image: /boot/initrd.img-2.6.32.45-xen
/etc/grub.d/20_linux_xen: 156: gettext_printf: not found
Gettext is installed. I'm on ubuntu 10.04 LTS. The error flashed up on boot is something like "please insert a correct root=boot kernel option..." Why is this so hard and why are there so many different examples of grub2 xen? some put /boot in front some just /. I tried putting /boot in front but that didn't help. Also some have --set=root uuid and yet all my other working entries just have --set uuid. Is this something to do with a different grub2 version?
View 1 Replies
View Related
Jul 27, 2010
I generally use Slackware but I have also installed Ubuntu. Because of Ubuntu I have also Grub2 installed. My problem now is, that I have wireless keyboard and I am not able to select any OS in Grub2. But my wireless mouse and keyboard have full functionality in the OS itself.
View 7 Replies
View Related
Dec 9, 2010
I am wanting to install ubuntu 10.10/mint 9 onto my existing system, while allowing the old distros to boot.My setup is mirrored mdraid. Never had any issues before with grub picking up my old systems, but grub2 just isn't working.I've installed mint OK and it boots fine. But the main grub menu doesn't show, it just boots straight into mint.This includes the rescue entries in the menus - it neither shows them or any custom entries.If I run a test in virtualbox without using raid it picks up my old suse distro no problem and gives me an entry at boot.But using md it wont.
View 6 Replies
View Related
Feb 9, 2011
I have a busybox error when I try to run Debian 6. It's like Grub cannot find root (initramfs)
My system is:
- RAID0 with dmraid
- /boot ext2 (from moonOS installation --ubuntu based--)
- ext4 (moonOS wich have the Grub2 installation, where I can setup Grub)
- / ext4 (installed with dmraid=true)
After Debian installation (dmraid=true) I don't install grub, I run moonOS and I type:
update-grub
It detects:
Code:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-25-generic-pae
Found initrd image: /boot/initrd.img-2.6.35-25-generic-pae
[code].....
View 3 Replies
View Related
Sep 24, 2010
How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?
View 7 Replies
View Related
Aug 29, 2010
during moving my root partition, i used the old grub and installed the old grub on harddisk:
grub
grub > setup (hd0)
now how could i install GRUB2 on harddisk?
View 1 Replies
View Related
Dec 20, 2010
I multi-boot Windows XP and 5 Linux distros on a single hard drive. Some of the distros come and go but I keep at least two that are my daily use distros. My boot loader is grub1 located on a ext3 formatted distro. I have installed a distro that requests the partition be formatted ext4, which I did. I have been trying to edit my grub1 menu.lst so that I can chainload the ext4 distro get errors or it goes to the command line with the last word being Grub. My question is, can grub1 ext3 chainload a grub2 ext4 distro?
Here is a sample of my menu.lst
Code:
title MEPIS at sda7, newest kernel
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 nomce quiet splash vga=789
initrd /boot/initrd.img
boot
[Code]...
Mepis is the location of my menu.lst and is ext3 on sda7 and aptosid is the ext4 distro that I am trying to boot on sda9 and it uses grub2.
View 3 Replies
View Related
Dec 5, 2010
Sda2 is normally xp windows, but it installs a wrong partition type, and when I apply the mbr.bin, it works again with grub2, nope, it says:
Code:
autochk not found
Code:
# fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005c9c1 .....
If I put the mbrofxp.bin (bs=512 count=1), then xp boots well but no grub2 so no linux
View 1 Replies
View Related
Dec 24, 2010
Very strange Grub2 issue on my Dell Mini 10.
Had Crunchbang Statler on it, and after an update, it would hang at grub, before the grub prompt. ("loading Grub, Welcome to Grub" then blinking cursor, but no prompt or ability to get into rescue)
So I booted into a liveCD, chrooted in, and reinstalled Grub2, purging everything. No dice. Same problem.
So I figured the device maps weren't right, so I pulled off any important files via the live stick, and reinstalled #!. Same problem.
Did a bit of googling, and it seemed like it was most probably not a true Grub2 error, but a bios problem, so I reinstalled XP, flashed to a new bios (A11).
Then reinstalled, this time with Zenwalk (figured it might be a debian thing). Same thing. (note I replaced lilo with Grub2 for puroposes of testing)
View 10 Replies
View Related
Dec 30, 2010
The reason I ask is I have not tried on bsd, solaris or a few others.
View 1 Replies
View Related
Jan 20, 2011
wanted to try out FreeBSD but I want to boot it from an ISO. I put my iso file on my first hd 3rd partition in /boot/iso/FreeBSD-8.1-RELEASE-amd64-dvd1.iso. But I can't seem find anything to boot freebsd this way. Is it possible and if so how. This is what I kinda got but its not working.
Code:
menuentry "FreeBSD1" {
insmod loopback
[code]...
View 3 Replies
View Related
Jul 6, 2010
I have mandriva 2007 install on my desktop. I tried to update to grub2. When I run the ./configure I got the following error message.
This script, last modified 2009-06-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from [url]and [url]
If the version you run (./config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system.
View 4 Replies
View Related
Sep 1, 2010
Originally, computer had 20GB drive dual boot WinXP and LinuxMint using so-called grub legacy. I upgraded another WinXP machine by cloning its 120GB drive to a new 250GB drive. I put the 120GB in the Linux machine and gparted it to free 40GB. I tried loading Ubuntu 10.04 Studio in 10GB partition. Something went wrong during software unpacking phase and was left with commandline (c/l) 10.04. Kept 10cl in the partition. Tried again in new 10GBpartition to load Ubuntu 9 Studio - success. Grub2 is now new bootloader. Boot options = c/l 10.04, 9 Studio, XP from 120GB, LinuxMint, and XP from 20GB. The 120XP is unbootable (HardwareAbstractionLayer problem I expect). Tried to install 10.04 (regular not studio) over c/l 10.04 but managed to install in addition to i.e. did not overwrite. But otherwise 10gui install is ok. FYI: Grub2 is the initial boot loader however selecting LinuxMint on orig 20GB drive shows grub = legacy in LM (grub -v) term box, the Ubuntus on the 120 show grub 1.9x in term.
I wanted to delete 10cl from disk and grub. Originally intend to gparted->delete partition from U10gui then run grub update but could not because a partition (i.e.10gui) on the target disk was mounted. So I booted into LM and deleted 10cl partitions (ext and swap). That was a bad move! Could not boot machine - grub2 would not boot because 10cl partition was not found. It left me at the "grub rescue" prompt. I wound up reinstalling Linux to the empty partitions.
How do I delete the 10cl o/s from grub and the disk?
Later I will want to delete unbootable 120WinXP o/s from grub and the disk. However, with the WinXp, I will want to keep the data and just delete the o/s.
View 38 Replies
View Related
Jan 30, 2010
I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager.Initially I couldn't see windows entry in grub at all, so I ran:aptitude install os-prober kcpuload update-grub Now I can see the entry, but when I select it I get only Win7 system restore, instead of the the real thing. Any ides how to make it work?
EDIT: I tried the suggested approach to add a new file to /etc/grub.d, which generated an entry in grub.cfg, but it does not appear in the grub menu on boot :(
I have this:
grzes:/home/ga# cat /etc/grub.d/11_Windows
#! /bin/sh -e
echo Adding Windows >&2
cat << EOF
menuentry "Windows 7″ {
[Code]...
View 1 Replies
View Related
Feb 12, 2011
I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800.
Word is from googling that long as vbeinfo lists a resolution, GRUB2 can use it. This doesn't seem to be true: vbeinfo says that 1440x900 is available but it doesn't work.
Testing it from the GRUB2 command line:
set gxfmode=1440x900
terminal_output gfxterm
# -> garbled nonsense
# back to trusty 640x480
terminal_output console
[Code]....
View 1 Replies
View Related
Mar 20, 2010
So, did anyone know this?
I dont remember seeing ti anywhere I accidently installed grub2 to my usb aand it actually worked and boots all my distros off fat32 usb
I though grub2 could only do ext2/3,etc
View 1 Replies
View Related
Jan 15, 2010
I want try controls how many kernels should be put into the GRUB2 menu on my Ubuntu 9.10 but since GRUB2 the #HOWMANY variable doesn't work. I found this post on the LQ blog about the #HOWMANY variable. I follow these instructions but I have a problem when I execute the last command "update-grub" because my result is this :
Code:
/usr/sbon/grub-mkconfig: 228: GRUB_HOWMANY: not found
I verified my work but I don't understand why it's doesn't work.
View 5 Replies
View Related