Ubuntu Installation :: Grub Reinstall Doesn't Generate Grub.cfg?

Dec 10, 2010

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

View 9 Replies


ADVERTISEMENT

Fedora Installation :: Repair Grub Through Grub-ubstall - /dev/dsa Doesn't Exist

Jan 17, 2009

I am trying to install my laptop in a triple-boot configuration with Fedora 10, Windows XP and Windows 7 beta. I did already installed them in that order. This is how it is layed out on the harddisk:

Now i want to use grub to present a menu at boot so i can select an OS. Because I installed XP last it boots straight into XP. I've understood i should be able to do the following:

All goes well until the last step (grub-install). It gives an error stating that /dev/sda doesn't exist, which is correct; It doesn't. I do have the "device" listed outside of the chrooted environment.

My question is: How do I get /dev/sda available in my chrooted environment?

View 3 Replies View Related

Ubuntu :: Use The Grub Command Line To Reinstall Grub From A Cd?

Jun 2, 2010

Can I use the grub command line to reinstall grub from a ubuntu cd?

View 1 Replies View Related

Ubuntu Installation :: 10.10 And Win 7 - Cannot Reinstall Grub

Mar 29, 2011

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?

View 3 Replies View Related

Ubuntu Installation :: Cannot Fix Grub After Win Reinstall

Aug 7, 2011

I've reinstalled win 7 (dualboot). Then booted with rescuecd and tried to fix grub.

Code:

$mount /dev/sda3 /tmp/b/boot
$grub-install --root-dir=/tmp/b /dev/sda

This gave ma a grub shell on boot. The prbm was that this was grub1 - v0.97

I ran a proper 2nd time

Code:

$mount /dev/sda3 /tmp/b/boot
$grub2-install --root-dir=/tmp/b /dev/sda

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?

View 2 Replies View Related

Ubuntu Installation :: Reinstall Grub 2 From The Live CD?

Dec 4, 2010

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.

View 3 Replies View Related

Ubuntu Installation :: Reinstall Grub 2 Without Live CD?

Dec 11, 2010

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%

View 3 Replies View Related

Ubuntu Installation :: Why GRUB Reinstall Using A Partition Instead Of MBR

Dec 28, 2010

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.

View 8 Replies View Related

Ubuntu Installation :: Can't Remove GRUB - Reinstall 9.10 From LIVE CD

Aug 17, 2010

I had Kubuntu 9.04 and Windows XP on a Dual Boot. I upgraded using the update manager to 9.10. (I know, I'm a fool.) The Kubuntu install stated freezing hard on startup, just after the GRUB OS selection screen, at a blinking cursor and otherwise blank screen. I'm pretty sure 9.10 will work great from a fresh install, but the live cd freezes after main Kubuntu boot screen and even Windows live cd only shows Windows partition. fixmb, fixboot, bootcfg etc. do NOT replace the grub as desired.

View 1 Replies View Related

Ubuntu Installation :: After Windows 7 Install Cannot Reinstall Grub

Jun 11, 2011

After installing Windows 7 on my laptop, which was already running Natty, I am having issues reinstalling grub. I tried to do this using the method from this tutorial: [URL]... when I enter:

[Code]...

I also tried using --root-directory instead of --boot-directory, and I tried --recheck on both of them without any luck.

View 9 Replies View Related

General :: Retrieve/reinstall Grub Without Having To Reinstall Ubuntu?

Feb 4, 2011

how do I retrieve/reinstall Grub without having to reinstall Ubuntu?

View 1 Replies View Related

Ubuntu Installation :: Grub Reinstall Went Wrong After Windows Wiped It Out

Jan 9, 2010

Some days ago I decided to reinstall windows, of course windows wiped Grub of the MBR. No problem. I booted of the live CD (9.10) and tried to reinstall grub, I had Ubuntu 9.10 installed before windows wiped grub. I tried the following tutorial: [URL] My fdisk -l output is the following: root@ubuntu:~# 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: 0x000f2962
[Code]....

sda3 is my root partition, sda2 is the partition where all my media files are located. I mounted /dev/sda3 to /media/root and then I tried to reinstall grub with: sudo grub-install --root-directory=/media/root /dev/sda It came out with no errors, and then I restarted my computer. Grub started, but with a command line. It was the 1,97 beta-4 version. Since I'm quite unfamiliar with GRUB (or really technical linux stuff)

View 3 Replies View Related

Ubuntu Installation :: 9.04 - Lost Grub Legacy In Windows Reinstall

Jun 19, 2010

I dual-boot ubuntu 9.04 and windows 7. I recently reinstalled windows, and it wiped grub-legacy off of my MBR. Reinstalling grub shouldn't be tough, right, especially with clear instructions? Anyway, I can't get anywhere with the official instructions here: [URL]. The first issue is that the current live CD has no program "grub" in terminal. I dug up an old live cd, but I couldn't get anything with the directions:

Find where Grub is. If this gives a few different answers then you will need to find the correct one, perhaps by trial-and-error.
find /boot/grub/stage1
That command didn't find anything, nor did some similar commands found on google.

So I'm really at a loss. What should I do?
-Can I install Grub 2 on my MBR? Will that work with 9.04?
-Can I access my 9.04 install, copy files to Windows, and then just format the partition and clean install 10.04?

View 1 Replies View Related

Ubuntu Installation :: Interrupted Upgrade Reinstall Now Grub Does Not Work

Dec 4, 2010

Had a working WinXp/Karmic dual boot system. Tried to upgrade Karmic to Lucid and my daughter rebooted the system during the upgrade. I decided to do a fresh install of ubuntu, leaving Windows in place and it succeeded until the end when it said it could install the bootloader, so I proceeded without. I meant to say "it said it couldn't install the bootloader, so I proceeded without.

On booting, Grub drops to the command line.
I get grub>, not grub-rescue>
I did ls in grub and it showed the partitions I expected
/sda5 is /boot
/sda6 is /swap
/sda7 is /
/sda8 is /home

I tried to follow the grub2 command line manual by entering
Code:
set root=(hd0,7) (success)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro (failed - couldn't find file)
so I'm now a bit stuck.

Here are my bootinfo_script results (by the way, sdb is just an e-SATA hard disc with nothing installed on it, I don't know why bootinfo thinks Windows is there. Windows is on /sda2 with some sort of backup/recovery partition on /sda1)
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #7 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb .....

View 7 Replies View Related

Fedora Installation :: Reinstall GRUB Directions Don't Work

Jan 13, 2009

I reinstalled windows, which wiped out my boot partition. I then booted to a live CD, to attempt to reinstall GRUB. However the usual method and directions aren't working.

View 6 Replies View Related

Fedora Installation :: Reinstall Of Vista Wiped Out GRUB

May 14, 2009

How to installs and I used gparted to create my install of fedora 10 on my laptop (which had xp on it). After a major XP crash I reinstalled with Vista business on the XP partition. Now my linux partition is definately there however I Vista boots now and the grub loader does not come up.

View 4 Replies View Related

Fedora Installation :: Dualbootsystem - Reinstall Grub - Can't Start Again

Nov 8, 2009

For some applications i still have windows XP installed. Because of the fact that Windows has to be reinstalled once a year (it's only windows ) I deleted the MBR accidentely. Now I can't start Fedora again. hen I start Linux using the Installation CD of Fedora 10 my partition is not mounted automatically because I am using LVM.

[code]...

View 10 Replies View Related

Ubuntu Installation :: Windows Reinstall Deleted GRUB Bootloader (Natty)

Jul 11, 2011

I got a system crippling virus on my windows installation. My recovery disks gave me the same problem. So I installed Win 7 enterprise using a disk my dad got from his work. The installation went smoothly. When I started my computer after it went straight to Win 7 without the GRUB bootloader (not the case with restore disks). Could somebody please help me with this issue because I cant stand using Windows for anything other than games much longer.

View 7 Replies View Related

Fedora Installation :: Reinstall Grub After A Windows Installation Deleted It?

Jul 23, 2011

This is partly a note to myself for the future and a guide to anyone who experiences similar issues.

So, I had to reinstall Windows XP since my previous installation gave me a blue screen error due to reasons unfathomable. Naturally, this deleted the GNU Grub and I could not login to my Fedora.

I read that apparently booting from a DVD installation offers an option to enter the rescue mode. I did not have a DVD, I only had the LiveCD so I had to figure out a way to reinstall Grub from the LiveCD. The following method seemed to do the trick.

Run the LiveCD and open Terminal.

1. Find the partition where the Grub Stage1 is code...

View 1 Replies View Related

CentOS 5 :: Grub Doesn't Automatically Boot OS After Install, Hangs At Grub Prompt?

Mar 21, 2011

I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.

When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands:
grub>root (hd0,0)
grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/
grub>initrd /initrd-2.6.18-194.el5.img
grub>boot

View 19 Replies View Related

Ubuntu :: Grub Doesn't Load The Menu From Grub.cfg

Aug 19, 2010

When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.

View 3 Replies View Related

Ubuntu :: Can't Reinstall Grub After Reinstall Of Win 7

Dec 6, 2010

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

View 9 Replies View Related

Ubuntu :: How To Make Grub2 Generate A Grub.cfg File Without UUIDs?

Jul 11, 2010

I want to do everything with disk labels. My /etc/fstab is already set up for labels.How can I tell grub2 to use labels? I need it to stop using UUID for root.

View 5 Replies View Related

Fedora :: Generate Grub.conf File Automatically

Nov 16, 2009

After a kernel upgrade on my linux, my grub.conf become empty. How can I auto generate grub.conf file? I don't want to do it from scratch.

View 3 Replies View Related

Ubuntu Installation :: Reinstall Windows Without Messing Up Grub Or My Ubuntu Partition?

Jul 12, 2010

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?

View 5 Replies View Related

Ubuntu Installation :: Windows 7 Overriden By Old Windows XP Entry - After Reinstall Grub

Oct 7, 2010

I am actually facing a vague problem here. I was previously running Windows XP and Ubuntu . Ubuntu was installed Windows XP The problem is

1. First I tried to do some disk partitioning. That ended up with some error.

2. Ignoring that, I went to install Windows 7 over Windows XP but I was not able to proceed with Windows 7 , because the partitions were corrupted.

3. So I used Ubuntu LIVE CD (Grub was lost at this point )and used 'testdisk' and recovered the partitions.

4. Now installed the Windows 7 successfully.

5. Now again I moved to Ubuntu Live CD to write the GRUB. After which I tried restarting

6. Now Ubuntu is booting perfectly as before. But the problem is with Windows

7. The GRUB loader instead of showing Windows 7, it shows Windows XP !!! . and there is no other entry for windows. When I tried opening it, it says "error, cant read file" and further inout moves back to the grub loader list again.

"How do I change the entry to Windows 7 from Windows XP and boot Windows7 successfully " I tried it a couple of times, same thing happens . So how to change the entry?

View 6 Replies View Related

Ubuntu Installation :: Why Grub Menu Doesn't Appear?

Dec 30, 2010

I've done a clean install of XP Pro on my HP XW8200 (Boot drive is 2x73GB SCSI drives set up as RAID 1)I've run the Ubuntu 10.10 desktop installer and partitioned the drive, installed ubuntu and rebooted when requested.No OS selection screen appears after POST though. Just goes straight into WinXP. The startup options in XP only show XP.Rebooted from the Ub10.10 live cd and checked that the partition is there and the OS files are there.

Any ideas why the grub menu doesnt appear?I'm assuming it's something to do with Ubuntu not seeing the RAID drive but it did install ok..

View 9 Replies View Related

Ubuntu Installation :: Doesn't Show Up In GRUB

Jan 14, 2011

I installed it from a cd and it wouldn't work. (froze in the process). I then tried to install it through windows wubi and that didn't work (wouldnt boot) since I was unaware it was a known issue and thought it was me doing something wrong I uninstalled it,reformatted the hard drive and tried to install via a cd again this time it fully iinstalled but when I rebooted it tells me unable to mount drives and a shell will be shown.

in the end I have no files on ubuntu so I would like to clean up all reminance of the previous installs and be able to use a working install. since I have been installing and reistalling for the better part of 8 hours.Yexcuse the post sloppiness using my phone)

View 9 Replies View Related

Ubuntu :: How To Reinstall Grub In 9.10

Apr 23, 2010

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

View 4 Replies View Related

Ubuntu :: Reinstall Grub In 10.04 ?

Jul 15, 2010

I reistalled windows XP in a Ubuntu 10.04 /windows dual booting system .. After installation the grub is lost .. I don't know how to restore grub ..

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved