Ubuntu Installation :: Sh:grub> After Redimensionning A Partition?

Sep 12, 2010

I resized a partition and now I boot directly into GNU grub rescue

Code:

sh:grub:>

if I type

Code:

sh:grub> linux /boot/vmlinuz-2.6.32-22-generic
sh:grub> initrd /boot/initrd.img-2.6.32-22.generic
sh:grub> boot

I have the following messages :

Code:

Gave up waiting for root device. Common problems:

- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)

ALERT! does not exist. Dropping to a shell!

[code]....

View 7 Replies


ADVERTISEMENT

Ubuntu Installation :: Grub - Setup: Warning: Attempting To Install GRUB To A Partition Instead Of The MBR - Install - Lvm - Luks - Raid - Karmic Server

Mar 27, 2010

I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]

If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.

Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'

Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.

View 4 Replies View Related

Ubuntu Installation :: Grub Won't See Win 7 Partition?

May 25, 2010

Just installed 10.04, loving the new theme and default background. My problem is that Grub won't detect my Win 7 boot. I installed it the way i normally do, seemed to work for the last few times. I put in my Windows recovery disc to try and fix the MBR but that failed as the disc wont even see my Win 7 install. I have included my boot info script file.

View 9 Replies View Related

Ubuntu Installation :: Grub Partition Selection ?

Oct 5, 2010

Installing 10.10 RC dual boot with Win7. Is there no place in the installer to specify where Grub will be installed? I don't want it installed in the MBR I want it in the partition with / (I usually only create two partitions for Linux / and swap). I prefer to chain load grub from my windows bootloader.

View 4 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 :: Find Out Which Partition Got GRUB?

Jul 4, 2011

i have 500 GB SATA drive with windows 7 and Ubuntu 11.04 500 GB drive divided in 3 partitions on one partition thers is windows 7 and on 2nd Ubuntu now i'm installing a software it's asking where you want to load your Grub and i don't know in which partition my GRUB is. my question is is there any way to find out which parition got my Ubuntu GRUB?

View 3 Replies View Related

Ubuntu Installation :: Grub Refuses To Install On Partition

Jan 29, 2010

I have messed up my partitions really bad and grub refuses to install. Here's how it looks:
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2432 19430617+ 83 Linux
/dev/sda3 2433 60801 468848992+ 5 Extended
/dev/sda5 2433 2930 4000153+ 82 Linux swap / Solaris
/dev/sda6 2931 53535 406484631 83 Linux
/dev/sda7 53536 60801 58364113+ 7 HPFS/NTFS

Initially there was only Linux (Karmic) on this hdd, on what is now sda2 to sda6, current sda2 being the boot partition. Now, I decided to install Windows XP and using GParted I created an NTFS partition at the end, sda7. But it wanted to have his loader on the first one, so (now this is probably stupid what I did) I cut 100MB from Linux root and put it as NTFS at the beginning, making it sda1, boot and letting windows install it's loader there. I figured I can just reinstall grub on it later (think I have missed some tutorials). As you can probably guess, it won't. I formatted sda1 to ext4 now. What I do is run the Live CD (9.10), use terminal, then do

Code:
sudo -i
mkdir /media/boot
mount /dev/sda1 /media/boot
grub-install --recheck --root-directory=/media/boot /dev/sda1
and it goes

Code:
grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.
grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and its use is discouraged.
grub-setup: error: Cannot read `/grub/core.img' correctly
also, when I do update-grub it says "grub-probe: error: cannot find a device for /."
I tried installing grub on sda2 and flagging it as a boot and still no-go.

View 4 Replies View Related

Ubuntu Installation :: Windows Partition Missing From Grub

Jan 30, 2010

I was defraging windows xp and the power want off now I can only boot into ubuntu from Grub.

View 3 Replies View Related

Ubuntu Installation :: O/S Grub - Unable To Mount Win Partition

Mar 22, 2010

had a dual O/S win Vista 64bit & unbuntu 9.10 64bit.

1. Had a virus on my Win vista side, anti virus could help (virus kept replicating itself - to halt all progs from running).
2. In the End Win Vista would start & was only used Unbuntu for about 2 days.
3. Tried to repair Win Vista, but noting worked.
4. Couldn't mount Win partition through unbuntu either - needed to copy some files across.
5. Eventually formatted Win partition side & re-installed Win Vista 64bit.
6. The problem now is that the grub option to select the O/S choice isn't there, thus i can't use Linux.
6b. The computer loads only Win vista 64bit (Like there usn't a Linux)
7.Checked at the disk management prog - could see my linux space but have no access.
8. Used a live Linux cd to access linux partition, just to check - it worked.
9. how can i acccess the Linux O/S as normal?

View 1 Replies View Related

Ubuntu Installation :: Grub Missing - Able To Boot Into Partition

Apr 10, 2010

I had a dual boot system(WinXP and Ubuntu). But something happened and I was not able to boot into my Ubuntu partition. It gave GRUB missing error. I tried reformatting the dedicated 40 GB ubuntu partition to NTFS and again try to reinstall ubuntu. But now, when I install ubuntu through boot time install, it shows that my whole hard disk is empty( but I have windows XP on whole hdd at the moment) and do not give any other option but to use whole hdd.

Alternatively when I try to install it inside windows, then after rebooting it shows, no root file system defined error and neither gives any option to do so also ( this method worked earlier o my PC). At the moment, It still shows ubuntu and windowsXP at OS choice menu at boot time but when booting in ubuntu, it shows GRUB missing. (I don't have any ubuntu installation on my hard disk at the moment).

View 5 Replies View Related

Ubuntu Installation :: Updated Grub But Still Won't Recognize 2nd Partition?

Jul 24, 2010

So I am experimenting with other linux distros.....I just installed a small partition with OpenGEU, the one still based on Ubuntu.....now it wont recognize Mint. Ubuntu Studio is next on my list, but before I invest any more work I want to make sure I can add more partitions to grub, not just the most recent linux partition...

I think that future distros of linux should have a fix for this....if you install linux it should detect every other operating system on the disk, not just windows plus the most recent linux install.

install /boot separate? I always create a / and /home partition but never separate boot. Does that make life easier?

View 9 Replies View Related

Ubuntu Installation :: Cannot Use Separate /boot Partition With Grub 2

Aug 25, 2010

While installing with a separate /boot partition I cannot get two distinct copies of ubu installed on one machine and be able to choose between them. Each is installed on a different hard drive. x64 versions. I've had this issue both ways:

Stepsinstall mythbuntu
install ubuntu
Result

Two entries in grub. Both cause ubuntu to boot

Stepsinstall ubuntu
install mythbuntu
Result

Two entries in grub. Both cause mythbuntu to boot Grub 2 is so unfriendly for fixing these things. I don't know where to make changes. Ok, Grub 2 is very powerful, maybe it's the lagging documentation, or lack of tutorials that is the problem. But I don't know how to fix this. Do I start over without the /boot partition? Do I bail on ubu?

View 9 Replies View Related

Ubuntu Installation :: Deleted Partition Now Getting Grub Rescue

Sep 10, 2010

I have ubuntu in sda7. sda6 had bt4, sda3 had Win7. From Win7 I removed sda6. Now when I start my computer I get grub rescue. How can I tell grub that ubuntu in sda6 and not in sda7 anymore or how can I create sda6 again so ubuntu goes sda7.

View 1 Replies View Related

Ubuntu Installation :: Grub Is Unable To Find Partition

Oct 4, 2010

I have a 9.10 ubuntu desktop on a tower (bought 2004) working fine, and wanted to add a 10.4 server on an additional partition. After install, I stated grub may be newly written, as the list of os was fine. After reboot I got "grub rescue>" I managed to get the system working again, and now I have a grub2 menu list stating correct entries. But when I select the server entry the boot fails telling "disk not found" (The UUID of the partition given is correct, and also shown when accessing the partition from the 9.10 desktop (this needs an additional authentification when mounting) grub shell command ls does not show the partition, all other tools (life-CD, working installation, gparted etc.) do show it normally, I cannot find any difference. The partition is on the beginning of the disk

View 3 Replies View Related

Ubuntu Installation :: Grub Error 13 From Chainload To New Partition

Jan 3, 2011

I have a machine with two disc but only one is involved in the boot. It is hd0 / sda. On this I have several partitions, first I have a partion (sda1) with grub-legacy and a menu.lst file that boot by chainloading my ubuntu 10.04 on partition sda4 (with ext4 and grub 2). This works without any problems. Today I was doing a larger upgrade of my mythtv install so I first copied sda4 to sda3, did all the neccessary changes in /etc/fstab and a grub-mkconfig (so that the grub.cfg on sda4 also included sda3 kernel). The chainload manage to nicely chainload to sda4 and when I select the newly copied kernel on sda3 it boots. Now inside the booted kernel/ubuntu on sda3 I again do the grub-mkconfig so I get a correct grub menu. I add a new chainload to menu.lst on sda1 so that I can go direct from that to my new partition.

when I chainload to the sda3 (hd0,2) partition I get grub-legacy error 13 invalid or unsupported executable format. No grub2 menu from sda3 shows up and the boot halts. The grub.cfg files on sda3 and sda4 are identical besides the uuid and hd0,3/4 references.

View 1 Replies View Related

Ubuntu Installation :: Clone 10.04 Server - GPT Partition And Grub

Feb 3, 2011

I have a bunch of computers with the same configuration, so I would like to install Ubuntu only to one master computer and later on just copy the partition layout and the filesystem unto other computers. Previously I was able to simply copy the partition layout (via the sfdisk utility), the filesystem (a simple "cp -a") and install Grub (via script). Now I had to use the parted utility to partition the 2TB drive and Grub2 is the default boot loader.

My questions are now:
1. How do I copy the partition layout from /dev/sda (master) to /dev/sdb (clone)?
2. How do I batch install install Grub2 to the other disk (e.g. /dev/sdb) ?

In Grub 0.97 it used to be something like that:
Code:
# GRUB the disk
grub --no-floppy --batch <<EOF_GRUB
root ($GRUB,0)
setup ($GRUB)
quit
EOF_GRUB .....

In Grub 2 I tried with:
Code:
grub-install --force --root-directory=/mnt/sdb1/ /dev/sdb
Only to get this error: .....

The Grub2 syntax is way different compared to Grub0.97. Yes, I do could use the Grub2-suggested option but since the partition layouts on both partitions are equal, I see little point in setting the BIOS Boot Partition option, since the master computer works without it and I don't remember any error message during the install.

View 9 Replies View Related

Ubuntu Installation :: Edit Grub To Boot Different Partition?

Feb 3, 2011

I'm dual boot with Vista(TM) and UBUNTU(tm) and ran out of space on Ubuntu partition:I booted Ubuntu 10.04LTS live CD and shrank the VISTA. It would NOT let me grow the extended partition? So now I have:

sda1 ntfs /media/TOSHIBA_SYSTEM_VOLUME 1.46GB
sda2 ntfs /media/SQ004588V03 88GB
sda4 ext3 THIS IS MY NEW PARTITION 15GB

[code].....

View 9 Replies View Related

Ubuntu Installation :: 10.10 And XP - No Partition Found (Grub Rescue)

Feb 9, 2011

I am new to ubuntu OS, I am having quiet a hard time solving out certain problems. I have Ubuntu 10.10 and Win Xp installed on the same hard drive partition i.e. C drive. Now yesterday accidentally I deleted a folder from C while I was logged in to Windows. Now today when I restarted my pc I got this error message :
error : No partition found
grub rescue>

Then somehow I managed to reinstall the Grub loader. Now whenever I restart my PC I get this error message :
GNU GRUB version 1.98+20100804-5ubuntu3
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub>

View 1 Replies View Related

Ubuntu Installation :: Installed Grub On Windows Partition?

Mar 8, 2011

I just installed ubuntu on a partition on my laptop that already had a windows7 partition. First I had Kubuntu installed, but I decided to just try Ubuntu instead. I did things the right way when I installed Kubuntu and I could switch between OSes on reboot. Then when I installed Ubuntu I accidentally put grub on /dev/sda1 instead of /dev/sda. I didn't even notice for a while because I never felt like I needed to go back to Windows until I felt like playing starcraft 2. That's when I noticed that when the boot options screen appears and I select Windows, the screen goes black, a cursor flashes in the upper left corner for about a second, then the boot options screen reappears.

If I boot using my windows 7 cd and go into recovery, get a command prompt and type Bootrec.exe /FixMbr and Bootrec.exe /FixBoot, the options appear to complete successfully, but then when I reboot, I get a permanent flashing cursor.

If I follow that by inserting my parted magic cd and running testdisk and overwriting the mbr, I get back to the first situation where the boot options screen will appear, but the windows boot loader just returns me to the boot options screen. I can get into ubuntu, at least. Whenever I run testdisk I can't replace the boot with the backup boot because I'm pretty sure it's identical to the flawed one.

View 9 Replies View Related

Ubuntu Installation :: Error:no Such Partition Grub Rescue>

Mar 31, 2011

i just installed ubuntu 10.10 x64 on my computer and removed the windows 7 partition and installed it on that one it installed as usual now as i booted it give me the following error

Code:
error:no such partition grub rescue> i tried one or too methods given to restore grub but it isnt working wht can be done ?

View 2 Replies View Related

Ubuntu Installation :: Error: No Such Partition Grub Rescue

Aug 16, 2011

I installed ubuntu 11.04 on a usb hard drive which I created a 100 gig partition however when i try to boot from the usb drive I get the message error:no such partition grub rescue> when I boot from live dvd I can see the partition I created with all the files on it.

View 1 Replies View Related

Ubuntu Installation :: Adding Jolicloud Partition To GRUB - Option Gone

Mar 27, 2010

I have finally decided to restore grub on my netbook after installing windows 7, and I can boot into UNR just fine but the Jolicloud option is now gone. How do I add it back to the GRUB menu.lst?

View 2 Replies View Related

Ubuntu Installation :: 10.10 Maverick - Grub Won't Recognize My Windows Partition / Fix It?

Oct 17, 2010

I had Windows 7 ultimate installed on my netbook and installed Ubuntu 10.10 using the 'Install alongside other OS's' option which put windows onto another partition and created one for ubuntu.

Anyway I've tried reinstalling the grub but I never get a grub boot menu when I boot it up and the grub won't recognize the windows install

View 6 Replies View Related

Ubuntu Installation :: Grub Error When There Is Only One Partition Of Vista On The Computer.

Jan 16, 2011

I am running vista 64x and i partitioned unbuntu 10.10 on my computer.

I deleted the ubuntu partitioned from my computer through Vista and made it all one drive. SO now all my computer has i the recovery partition which is 9.61GB and the main Vista partition that is 287.65GB. That is ALL.

I restarted my computer and it gives me the following error:

error:

I know you have answered millions of questions about that error, however the problem i have i cant find a solution for anywhere.

Now, i have a GParted disk to manage my paritions because i have had this problem before. However when i put it in the computer it only shows my 2 partitions. (The recovery one and the vista one) Both of them are "unmounted"

How do i disable grub from loading through something like GParted that is boot loaded off a disk at system startup? I only have vista on this computer, but i cant get to it because GRUB is in the way. (I do not know if its grub1 or grub 2, but its ubuntu 10.10)

I DO NOT have a recovery disk for my vista computer, ive lost it, however i have the Windows 7 Upgrade disk, but that will not load from the disk when i turn on the computer.

View 1 Replies View Related

Ubuntu Installation :: Deleted Partition - Get Grub Rescue When Boot

Jan 17, 2011

I set up my Dell Inspiron Laptop as Dual Boot -> Xp / Ubuntu 10.04. - all worked well. I had 2 installations of XP on this machine and I removed one - all worked well. I then went into XP and deleted the partion (4) that the old XP had resided on (using Easeus Partition Master) All NOT working well !! Now when booting the machine I get grub rescue> I did ls and got ....

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Dedicated Grub Partition - Two HDD And Dual Boot

Jan 21, 2011

Here's what I want to do. I have two separate HDD
HDD 1 : 160 GB (dedicated to windows, already working)
HDD 2 : 500 GB Will be using dedicated to ubuntu (not partitioned yet)

I want to use the HDD two only for linux and this HDD is not partitioned yet. What I want to do is
- A dedicated Grub partition (/boot) on HDD 2 (Do I really need it when I am using just two os? Will it work on second HDD?)
- / root partition
- /home partition
- /swap partition
- /fat32 partition (do I need it to share files with win?)

View 7 Replies View Related

Ubuntu Installation :: Grub: Error 17 Cannot Mount Selected Partition

Apr 19, 2011

I've tried everything to solve this, been browsing the forums for the last 2 days and no solution has worked. So I got a new netbook (Samsung n150 dated 03/2011) it had ubuntu 10.10 installed but I already use ubuntu on my macbook so I'm trying out knoppix, I booted it from usb and ran the HD installer, it gets through all that and then installs grub ok, but when I reboot I get "Error 17: Cannot mount selected partition"

Things I already tried: Grub setup (grub, root (hd0,1), setup (hd0), quit) and every variation. *I tried removing the usb and setting the HDD back to first boot in the bios and then changing the menu.lst accordingly, still I get error 17. Below is the information just after boot with the usb still plugged in and set as first boot in bios.

[Code]...

View 3 Replies View Related

Debian Installation :: GRUB In Boot Partition?

Jun 19, 2012

I am new to Debian but have some basic experience with Linux and am currently trying to triple boot Windows 7, Fedora 16, and Debian on an HP Pavilion dv7. I have the Windows Boot Loader on my MBR because I've heard that Windows updates can cause boot issues if GRUB is installed there. This means that I've been installing GRUB in the /boot partition for each Linux distro and creating corresponding entries in the Windows boot menu.

This has worked in the past with both Fedora and Ubuntu, but I have not been able to work around it with Debian. When I choose my Debian option in the Windows boot loader, it loads GRUB but hangs after it prints "Welcome to GRUB!", and I have to restart the computer. I would like to hear what more experienced Linux users have to say both about why this isn't working for Debian and about if keeping the WIndows boot loader is the right way to go.

Also, here is my partition layout:

Partition 1: SYSTEM (HP pre-installed) (209 MB)
Partition 2: Windows Partition (472 GB)
Partition 3: Extended (160 GB)
1: /boot for Fedora (524 MB)
2: Physical Volume for other Fedora partitions (79 GB)
3: /boot for Debian (749 MB)
4: Physical Volume for other Debian partitions (80 GB)
118 GB free space
Partition 4: HP_TOOLS (HP pre-installed) (108 MB)

View 14 Replies View Related

Ubuntu Installation :: Configure GRUB For A Union Root Partition (aufs)

Apr 7, 2010

As recommended, I'm creating a new thread for my configuring GRUB problems commented first hereWe are setting up a new version of a custom system, we are migrating to Ubuntu Karmic from another distribution (Slackware). Besides small differences between these systems (most of them from the most recent versions of software used by the latest Ubuntu, such as GRUB 2), it has been decided that the new system will run an union root partition using aufs and tempfs, basically, we are following the steps provided heree install the system to a new hard drive from an already running Ubuntu Karmic system, usingdebootstrap/chroot, we move the disk to another sytem, so we have to correct disk references, we are able to run this system and it behaves correctly the first time it boots, it bypasses the GRUB menu since there are no other systems detected. However, after halting the system and booting it, the GRUB menu appears with a new "recovery" option, we've managed to remove this recovery option usingGRUB_DISABLE_LINUX_RECOVERY=trueBut then, the GRUB menu appears again, this time with only one option to boot: our system installation. But when this GRUB menu appears, it has no default timeout and so it stays forever unless ENTER is pressed to boot into the selected entry.

The main problem is that we are unable to configure GRUB inside the new installation because it always returns this message:grub-probe error cannot find a device for /If we boot the system "normally" (mounting root to a normal partition), we are able to configure GRUB properly, but it does not behave the same when using the union file system as /We are only looking for a way to bypass the GRUB menu and boot our system, do you have any advice on how to properly configure the GRUB menu for our system

View 3 Replies View Related

Ubuntu Installation :: Can't Access To That OS Anymore - Error: No Such Partition. Grub Rescue

Jun 7, 2010

I was messing around with the partitions and accidentally y deleted the ubuntu partition! I have Windows 7 as a dual boot but I can't access to that OS anymore. The message that I get is: error: no such partition. grub rescue>

View 5 Replies View Related







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