Ubuntu :: Grub2 On Partition (not MBR)
Jan 20, 2010
I tried searching for this both in the forums and on google but it seems that everything goes back to MBR installation. I know that "grub-install /dev/sda1" should install it to the sda1 partition, but instead of installing it keeps giving me the following error:
Code:
grub-probe: error: cannot find a device for /boot/grub.
No path or device is specified.
Try ``grub-probe --help'' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
I tried this with a fresh installation of Karmic on both of my PCs. I tried with --recheck option as well, same error. Installing it to MBR works fine, but I don't want it there, have another bootloader chainloading grub. Every single guide I found installs GRUB2 to MBR, and some briefly reference to "grub-install /dev/sdaX" without going into any detail. At first I thought the problem was because Ubuntu was installed on a logical partition, so I created a separate /boot partition and formatted it as ext2, still getting the same problem.
View 5 Replies
ADVERTISEMENT
May 9, 2010
booting 4m external it goes into rescue mode saying uknown partitionwen i boo 4m computer grub it says no such device.Cannot even browse via grub command line. Says unknown partition.Posting via mobile
View 4 Replies
View Related
Jan 2, 2010
I have installed 9.10 to an existing Vista machine. Here is the fdisk
Code:
Device Boot Start End Blocks Id System
/dev/sda1 1 9 72261 de Dell Utility
/dev/sda2 10 1315 10485760 7 HPFS/NTFS
/dev/sda3 * 1315 14031 102145543+ 7 HPFS/NTFS
[Code].....
View 9 Replies
View Related
Apr 26, 2011
I recently installed windows 7 and of course it got rid of grub2 for me. I tried restoring it but when I try to mount the ubuntu partition (sda3, extended filesystem) I get the error "mount: you must specify the filesystem type"
View 9 Replies
View Related
Jun 5, 2011
i had ubuntu and slackware installed together for a while, i just needed xp to do some native language work so i installed it on my extra partition but then i messed up the grub menu, however i reinstalled it from live cd.. but now the problem is i dont know how to add a xp in that.
i'll give you my fdisk -ls output :
Quote:
/dev/sda1 1 12803 102840066 83 Linux
/dev/sda2 12804 14267 11759580 83 Linux
/dev/sda3 14268 15035 6168960 82 Linux swap / Solaris
/dev/sda4 * 15036 19457 35519715 7 HPFS/NTFS
[Code]....
View 2 Replies
View Related
Jun 10, 2011
I had to reinstall Windows, which has obviously overwritten my lovely Ubuntu Natty
I would like restore grub2, however failling to do so
I'm running:
Code:
sudo mount /dev/sda1 /mnt/boot
sudo cryptsetup luksOpen /dev/sda5 crypt1
Enter LUKS passphrase:
key slot 0 unlocked.
[Code]....
View 6 Replies
View Related
Mar 31, 2010
I have drive C/ with Vista, D with as of now, nothing and a third logical partition with Ubuntu on.
I want to do a clean install of Vista on top of my current system, just on C.
Will this re-install the Windows MBR and prevent Grub2 from booting? If so, how to I re-set grub2 as the MBR?
View 3 Replies
View Related
Jan 4, 2011
I've read and read & am still no smarter. I've tried to make a persistent partition(one that mounts whenever I boot/login). Either I don't have the right file or syntax, I've given up and need help. Please tell me exactly which file to edit and the proper syntax to put there. The partition on my machine I want to do this for is "sdb2" uuid "02f5852a-c3e2-47e8-b1dd-93592f1f87ee" label "archives"
View 5 Replies
View Related
Jan 5, 2011
I have a dual boot setup with Windows 7 and Ubuntu. Lately Windows 7 has been causing me all kinds of grief and I decided that it would be better to just restore it back to factory settings. I have a Windows 7 recovery partition (hidden) that I can see from Ubuntu, however Grub2 does not detect it. It only has two identical Windows entries that take me into Windows (though in /boot/grub/grub.cfg they point to hd0,msdos1 and hd0,msdos2 respectively).
I have searched far and wide on the Internet on how to gain access to this recovery partition to no avail. I even found a link from Lenovo's website that details how to do this in the old version of Grub, though it doesn't work in Grub2.
Here are the most useful links that I have found thus far, both fall short unfortunately. [URL]
I have already backed up all my data, so I can nuke the whole disk if that's what it takes, but I don't actually have a Windows Recovery CD, only the hidden partition which I can't seem to boot into.
I also saw some posts where people were having trouble disabling the recovery partitions from appearing in the Grub menu, their answers often consisted of people telling them that it's not possible to disable the recovery partition from appearing without hiding the main Windows Install, oh the irony!
View 4 Replies
View Related
Mar 7, 2011
As a big supporter of Ubuntu, after installing Ubuntu 10.10 on my mums laptop i decided to also install it on my sisters Acer Aspire one netbook.
The specific netbook had pre-installed Win7 starter. Everything went really smooth with the installation with ubuntu 10.10, Grub menu was also loading pretty well but when i chose to load on windows it loads the recovery partition of the hard drive.
The issue is that the netbook, like most netbooks and laptops, has a hidden partition which is used to recover Windows on the system. My Grub2 loader added this partition as an option to load windows with result me not be able to boot on windows ...well i do can load but it loads the recovery of windows.
View 9 Replies
View Related
Apr 29, 2011
I get the error - 'You must specify the filesystem type'.I used the syntax on the GRUB2 page:mount /dev/sdb3 /mnt but it returns the above error.Is there additional parameters to the code???
View 1 Replies
View Related
Nov 14, 2010
I tried to install grub2 in partition, not in MBR.I have installed grub4dos in MBR, and I prefer to install grub2 in sda6.sda6 is ext3 formated and has Debian squeeze installed on it.
View 1 Replies
View Related
May 3, 2010
drive is as follows:
NTFS Partition (Storage)
NTFS Partition (Win7)
Ubuntu
I am trying to put GRUB2 on the Ubuntu partition, but it will only let me pick the first two. If I pick the Ubuntu partition in the last dialog bix, it is listed as /dev/sda-1 I also have no idea why is says "-1", because the first two are fine at 1 and 2 respectively.
View 7 Replies
View Related
Dec 26, 2010
On my Samsung netbook, I have successfully got a pretty speedy dual-boot of Windows 7 Starter and Ubuntu 10.10
I set up Burg, to well, replace Grub2 in favour of a more attractive interface and so far so good. I know that I can hide the older Ubuntu kernels/recovery slots by pressing the 'F'key. However, the Windows recovery partition still shows up. So it looks like this:
Ubuntu - Windows 7 - Windows Recovery (vista)
Basically, how can I hide the Windows Recovery partition? If I ever do need to use it, I can access it alternatively by pressing F4 at boot.
View 3 Replies
View Related
Mar 16, 2011
In Mint 10, how can I move Grub2 from the mbr to the root partition of Mint?
View 3 Replies
View Related
Jan 19, 2010
I have installed UNR 9.10 Karmic on new Asus EEE pc 1008HA to dual boot with XP. Like many new pc's it has a hidden partition to recover the factory hard disk settings and Microsoft Windows XP. Unfortunately, GRUB2 has picked this up and is showing the recovery system in the boot menu. Clearly this is dangerous because the user could reset the pc. How do I remove or hide this boot start up option? Other thoughts: I do not believe Easybcd works with xp/linux. is there another easy bootloader?
View 7 Replies
View Related
Sep 24, 2010
boot up in to chameleon, lists only Mac OS X as a boot option. Reboot, load Ubuntu 10.4 install cd, get to a terminal, mount /dev/sda3 /mnt grub-install --force --root-directory=/mnt/ /dev/sda3
reboot, let chameleon come up, it sees both Mac OS X & Ubuntu partitions and I can boot to either or happily, now here is the problem... If I select linux and boot in to linux from chameleon, i am brought to the grub menu, where i can select the first choice which is normal ubuntu 10.4 and every thing is great... until I reboot and my linux partition no longer shows up in chameleon, as if tthe act of booting in to grub is changing something / deleting itself from the partition? and I have to do the whole thing over again. SO, not having to even go in to OS X, I'm not sure thats really the concerns more as I'm doing something wrong with grub.
View 3 Replies
View Related
Oct 2, 2010
I have multiple distros that I chainload and I have installed a grub2 shell to the partition and can boot manual. I can not seem to get a grub.cfg file to work. Is there a directory that needs to be built for this file?
View 9 Replies
View Related
Feb 15, 2010
After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-
[Code]....
Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-
[Code]....
But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off
View 2 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
Sep 11, 2010
I'm using Truecrypt to encrypt my Windows 7 OS. I also have unencrypted Ubuntu 10.04 installed on /dev/sda6 on the same hard drive. Since Truecrypt bootloader must be installed in MBR, I have GRUB2 installed on /dev/sda6, so I can use TC bootloader to load GRUB2. When I first install GRUB2 on /dev/sda6, I can use TC bootloader to load Ubuntu. But, if I boot into Windows via TC bootloader, and then later try to boot into Ubuntu, I get the message "no bootable partition found". I have to reinstall GRUB2 onto /dev/sda6, every time after I use windows in order to be able to boot into Ubuntu. It seems that starting Windows somehow overwrites GRUB2. Is there a fix for this?
View 1 Replies
View Related
Aug 14, 2010
I'm as big a fan of Linux as Linus Torvalds himself but it's things like this that help to keep Linux from becoming mainstream. I mean, how would I ever explain the need for the following procedure to a non-techie type, recent or prospective Ubuntu convert? The following is not a question, as I have finally resolved the issue but is more of a rant, I guess you could say. The reasons that I decided to post it are:
1) To hopefully help someone else experiencing this issue.
2) To point out the need for significant improvement in the area of editing partitions under Ubuntu Linux.
3) To vent my spleen.
[Code]...
View 1 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
May 27, 2011
I installed Debian stable and I see these errors in the xsession error file
/etc/gdm3/Xsession: Beginning session setup...
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
SSHAUTHSOCK=/tmp/keyring-j0E6Br/ssh
GNOMEKEYRINGCONTROL=/tmp/keyring-j0E6Br
[code]....
View 4 Replies
View Related
Feb 20, 2011
Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux
[code]...
I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade.
View 4 Replies
View Related
Feb 23, 2011
I had a drive with a partition layout like so:
~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
View 9 Replies
View Related
May 29, 2011
I have around 30gb of free space in my partition table immediately before the Linux partition. I want to resize my linux partition to take up this space.
I tried booting with live cd, sucessfully umounted the hard drive but found I could not resize the partition. On clicking the 'edit size' button, partition manager recognised the free space before the partition but when i reduced this, the 'ok' button was greyed out. (it was not greyed out for the windows partition so I could, in theory, increase the windows partition to take up the free space but this is not what i wanted to do).
I am pretty sure that I had managed to unmount the drive correctly as the padlock symbol had dissapeared (I took the attached screenshot, which does show the lock symbol, after rebooting into my normal system).
Anyone got any ideas as to why it wont allow this? There is no reason why i can resize the partition to take up the free space BEFORE it is there?
View 9 Replies
View Related
Jul 18, 2011
I just installed ubuntu via the windows executable and I couldn't mount my NTFS partition. I found this a little odd and I checked fdisk and it seems to think I don't have an ext4 partition as my entire internal HD is displayed as NTFS.
Here's the fdisk output:
When i try to mount the NTFS partition /dev/sda2 i get the following output:
I can't make heads or tails out of this. Anyone know what's going on here?
Windows recognizes that 30GB were taken from the NTFS partition for my linux install. It reads the max partition size as 465GB. fstab reports the NTFS partition size as 488GB.
View 2 Replies
View Related