So I was bored yesterday, looking at some free unpartitioned space (I meant to use it as emergency space, just in case) and I thought that it'd be really nice if I could make a ~250 MB partition just for GRUB, so I decided to see if I could do it. The partition has been made as 256 MB (just to be nice ) and ext2. (I'm also running lubuntu, if you need to know)
I'm trying to re-install Grub2 on a dual boot (Win/XP & Ubuntu 10.10) system which will not boot. I am following the guide here:
Code: [URL] This guide explicitly states that the procedure will re-install GRUB to the Master Boot Record, overwritng whatever is there. However, the final step results in this warning message: "grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea....."
I guess I agree - that's not what I want to do. Where is the defect in the procedure and how do I overcome it? If I try alternative advice, available in the forums, by using the command
Code: sudo grub-install /dev/sda then I receive the error message
Code: grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?) Looking at the mount command output, I think the required device is mounted.
I need to reinstall my windows 7 partition, but I don't want to lose my ubuntu partition. Currently I just have both installed and grub is dealing with my booting options.Is there any way I can reinstall windows without messing up grub or my ubuntu partition?
i have ubuntu 10.04 64 bit installed and configured and working sweet. I have reinstalled windows 7 and now i can't boot ubuntu i've tried easybcd to add ubuntu to win boot loader which failed and tried to follow the instructions to reinstall grub through a live cd which i am in at the moment. i go to a terminal and type sudo grub and it brings up the grub prompt. i have mounted all discs and entered the command find /boot/grub/stage1 and it keeps spitting this back at me Error 15: File not found
my hd is a 80gb with partions like this /dev/sda1 105mb ntfs system reserved /dev/sda2 45gb ntfs win 7 home premium 64 bit /dev/sda3 34gb ext4 ubuntu 10.04 64 bit /dev/sda4 1.5gb linux swap
I tried to just have two partitions (recovery and ubuntu), but because of the different file systems, and the placement of the hp recovery partition, it has to be right in the middle. This is basically what I want to do:
1) Reinstall Hardy Heron on a new (smaller) partition from the free space partition. 2) Once it's working properly, format the rest of the hard drive (getting rid of the recovery partition) and create a single ext3 partition. 3) Install another distro on this new partition.
Does anyone foresee any complications with all this slicing and dicing of my hard drive for which I should/could prepare?
I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back
I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
I have 7 And Karmic and I recently a 1080p monitor, new graphics card and 8 gbs of ram, I reinstalled 7 (using 64-bits per pixel instead) and I tried reinstalling the grub menu in the live usb and it doesn't work like it did back in earlyer versions of ubuntu
I had windows XP on my c:drive. installed ubuntu 9.10 on a 27 gig unallocated space. ubuntu ran fine. Then i boot to win xp and used a partitioning software to take back some other unallocated space. after it rebooted to complete the partitioning processes grub wouldn't load. So i need to re install grub from this ubuntu 9.10 live cd.i tired the following grub(didnt work the first time said i needed to install grub so did : root@ubuntu:~# sudo apt-get install grub )after grub was installedgrub> find /boot/grub/stage1 Error 15: File not foundthe previous linux partition I can see in the Computer with the boot directory and is called 1000gb hard disk: 27 GB filesystem see screenshot.
I've just installed Windows 7 in a separate partition to play with. Trouble is, it's wiped out GRUB. I was expecting this and I know last time this happened it was easy to fix. The forum serch found a thread with 3 ways to re-install GRUB. I've tried each, and none have wored. Methods I've tried
1) The aptitude install grub-pc command ran and said it had worked correctly. On re-bootong, Windows started without any GRUB screens on the way.
2) The chroot method stated it installed correctly after raising a few warnings - after I used the --force command, as the install failed without it. Again, reboot and get Windows without a GRUB screen...
3) Normal grub-install command (no chroot). This went as per the chroot command.
From where I'm sat, it looks like I'll have to do a clean Linux re-install on the disk and then restore my linux files again from a back-up - something I'm not particularly over-joyed by the prospect of...
Several moths ago I installed Ubuntu 10.10 Maverick Meerkat alfa3 in a newly created partition while I was using Ubuntu 10.04 Lucid Lynx. After I installed the 10.10 alfa3, I realized that it also installed its grub. Moreover that grub could not detect the kernel updates of 10.04. Thus, I recovered the grub of 10.04 via live CD. Interestingly after I returned the grub of 10.04 the boot time of 10.04 has considerably increased.
For example, the Ubuntu splash screen appears 20 seconds after selecting Ubuntu in Grub menu. I thought that a fresh installation for 10.10 final release would solve the problem but it seems that I'm still getting the same boot time until the splash screen is the same. It seems that I need a fresh installation of Grub. The methods that are introduced following url are just recovers Grub. I need to erase and reinstall the Grub. [URL]
I have Ubuntu 10.10 and Windows 7 on my computer. After not booting into my Ubuntu partition for a while, I noticed that grub had disappeared, being replaced by the windows bootloader. I followed the steps here under "reinstalling from liveCD" and I was able to get a grub command line when I rebooted, but no boot menu. So I booted into Ubuntu and ran update-grub like the instructions say, and the output indicated that Ubuntu and Windows had both been successfully found and added to grub.cfg. But when I rebooted, I still only got the grub command line.
When the instructions had steps for if you had a separate boot partition, I used /dev/sda1 because it is marked by fdisk as being the boot partition. I thought that maybe update-grub was only seeing /boot on the Ubuntu partition and wasn't touching the boot partition, so I tried mounting /dev/sda1 as /boot, but after that grub didn't boot at all, it just goes straight to Windows and I haven't been able to reinstall grub even after following the steps again several times. How can I get grub back?
I'm running dual OS Windows Vista Bussiness and Ubuntu 10.10 on my acer notebook. But a few days ago after I update the kernel (I think), I can't boot to my windows OS. It's only stuck at boot screen (progress b4 logon to windows), so I want to reinstall my windows with windows XP. But, if I do this, the grub must be replace by windows bootloader. how to reinstall the grub?? will the new grub, allow me to load the latest kernel which already install on my Linux?
I need to re-install grub bootloader, as it was overwritten. The problem is the encrypted partition does not show up using boot-repair on the live_cd. I installed lvm2 and mounted them, but cannot seem to make any progress passed that. I was following this guide.
My dual booting Unbuntu/windows computer is failing to boot. I have tried to reinstall GRUB but have so far been unsuccessful. I used the Ubuntu Secured 64bits live CD to run Boot Repair and this reported:
There is no boot backup on this computer. This will reinstall GRUB bootloader. Do you want to continue.On continuing, "Boot Repair" reported under "Last Confirmation/Advanced Options":
(Requires internet) Manually purge and reinstall the GRUB of: Ubuntu 11-04 (sdb1).When I click Apply, Boot Repair asks me to enter the following in a terminal:
sudo chroot /mnt/clean/sdb1 apt-get install -y grub-pcHowever, the terminal then responds: chroot: failed to run command apt-get : No such file or directory.Which was quite disappointing!
I have also tried Super Grub2 Disk and Rescatux and these also failed.I entered "sudo fdisk -l" and this seemed to identify all the disks and partitions corrected (I will supply the terminal output in a following post). The only issue is that I expected sdb1 to be indicated as Boot, but it wasn't.
Now on boot I can spot grub loading and black screen with blinking cursos on top. ubuntu 10.10, separate /boot, uncrypted /root (which is probably the cause) Also I have deleted the 2 win partitions (sda1, sda2) and made a new one (sda1). The /boot is still sda3, can this be the cause?
How do i do reinstall ubuntu 10.10 without affecting my windows 7 os on the other partition?I think i broke my ubuntu OS beyond repair from trying to fix my wifi card driver
I re-installed Windows over an old Windows partition. The hard-drive used to have Windows and Ubuntu on it. I am now in usb live ubuntu because grub doesn't appear anymore when I boot the computer (it boots in the new windows automatically). The ubuntu partition is still there, as I can access my files from this live usb. I'd just like to know how to re-install grub.
In drs305's standout article HOWTO: Purge and Reinstall Grub 2 from the Live CD, in the section where it says:
Quote: From the Live CD:
* If the Ubuntu OS cannot be accessed through the normal boot process (see above), boot a compatible installation CD/Live CD. The Grub 2 files are by default installed in the partition's /boot/grub folder and will be placed in this folder if the commands are run as instructed. (emphasis mine)
I'm not certain what precisely means "compatible" here? Is it using the same desktop (K/X)Ubuntu what is installed on the hard drive? Or the same release number (such as, in my case 9.10) or both or just ---well, you get the idea I'm sure.
I have Ubuntu 10.04 with file system EXT4 and dual booting with Vista The problem is I am about to reinstall Vista which will overwrite Grub 2 I know how to restore Grub2 with the Live CD I currently I only have a Live CD of Ubuntu 8.04 which doesnt support EXT4 neither Grub2 I am on a very limited INTERNET so I cant download the Live CD. A solution would be the minimal cd image but the download stall at 96%
While trying to boot ubuntu, I noticed that it was taking a long time. A lot longer than usual, in fact.I then forced a restart on my computer, and noticed that Grub looked different - the resolution was weird.I then tried again to boot ubuntu, and got the following messages:vga=792 is deprecated. Use set gfxpayload=1024x768x24,1024x768 before linux command.mount: mounting /proc/ on /root/proc failed: Input/Output error.And then the computer seems to stay idle forever.Recovery mode is also not useful: I can only see some periodic messages about a failed command: READ FPDMA QUEUED.
However, I also noticed that grub showed something before it allowed me to choose which OS I would like to boot (Im running a dualboot configuration with Ubuntu 10.10 and Windows 7).I managed to get it:error: hd0, msdos6 out of diskerror: no suitable mode foundConsidering that I have no trouble booting into Win 7, and that I can actually access my Ext4 partition from there, Im trying to reinstall Grub from a Live CD.Heres the output of fdisk -l :ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I have (had) a dual boot system of Ubuntu (11.04) and Windows 7. I was forced to reinstall Windows over itself and it installed its boot loader. How do I get my Grub boot loader back? I googled it and found instructions, but they were from 2007 so I thought it might only be for Grub Legacy. The instructions were as follows:
Boot from a live cd run "sudo grub" in a terminal then, "root (hd0,0)", "setup (hd0)", and "exit" reboot and grub should be present
While I wait for ubuntu to download so I can create a live cd, can someone confirm if this is correct for Grub 2? Also, what commands will tell me which hard drive and partition I need to put in the above commands (hd0,0)? I have (4) internal hard drives and boot drive has a few partitions on it.
I am having lots of problems with fresh install of ubuntu 10.04.1 LTS (dual boot with Win7) and would like to reinstall, however if i just insert the ubuntu CD and boot off of that, when i go to install it wants to create another partition that uses space from my partition for win7. How can i reinstall on my current ubuntu partition?