Ubuntu :: Install Grub To Specific Partition?

May 5, 2010

I have many partition for many different operating systems. I have Windows 7 on partition 2, and Ubuntu on partiton 3. Previously I could use GParted to set the boot flag for the drive to whichever partition I desired. If I set it to partition 2, I got the Windows bootloader, and if I set it to partition 3, I got the Ubuntu bootloader. Now if I set the boot flag to my Ubuntu partition, I get a message something along the lines of "disk not found". I can't recall its exact message at the moment. When setting up Ubuntu the installer has the "Advanced" button on the last page which gives you the option of which partition to install Grub to. Is there any way I can access this again, or a utility that will do the same thing? I have used the grub program in the following way to restore the Ubuntu bootloader

sudo grub
root (hd0,0)
setup (hd0)

but the boot flag is still on my Windows partition, suggesting Grub has overwritten Windows' bootloader. How can I tell grub which partition to install to? I'm using 10.04 and Grub2.

View 3 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 :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Ubuntu :: Upgrade Grub With Dm-crypt - Warning: "Attempting To Install GRUB To A Partition Instead Of The MBR"

Nov 23, 2010

I am still using Lucid with a Luks/dm-crypt setup. I picked up an upgrade today that included grub. It gave me a box that had me choose my location to install the upgrade. I chose /boot. When apt did its upgrade thing, I got the following message: Setting up grub-pc (1.98-1ubuntu ... /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea.. /usr/sbin/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.. Installation finished. No error reported. I looked in /boot/grub and found no menu.lst file.

View 4 Replies View Related

Ubuntu :: Install On A Second Partition Without Grub?

Mar 20, 2011

What I want to know is it possible to install Ubuntu on a second partition without Grub, just use the Windows boot loader.

View 3 Replies View Related

Ubuntu :: Install GRUB To A Partition Instead Of The MBR?

May 14, 2011

I just installed Windows XP on a seperate partition and now I cant boot from Ubuntu. I have done this before and been able to reinstall grub but this time I cant remember how I did it. I have tried the instructions from here and here but I cant get it to work. I keep getting this error:

ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda5 /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea../usr/sbin/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. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.

[Code]...

View 3 Replies View Related

Ubuntu :: Install Windows From Partition With Grub?

May 12, 2010

So how can I (e.g. after using dd) boot to this dd'd Windows Installation partition with Grub?

I just want to do this as installing Windows from Hard Drive is much faster.

E: The solution was Unetbootin. Did nothing special myself (defined the .iso path and the partition (/dev/sda4)), the app did all the work.

View 5 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 :: Install The GRUB Boot Loader On New Partition?

Oct 11, 2010

I want install 10.10 Maverick on a new partition alongside my OS X and 10.04 Lucid installs to see if it works on my machine. I'm a little unsure about some things.

1)Do I need to install the GRUB boot loader on this new partition?

2)Can I use the same swap space or is recommended to create a new swap?

View 5 Replies View Related

Fedora :: Install Grub To Ntfs Partition?

Nov 2, 2010

In HDD with 2 partition
sda1 windows xp (ntfs)
sda2 windows 7 (ntfs)

1. It is possible to install grub?

2. If not, if I create sda3 (ext3), and install grub there and boot both windows will be possible?

View 14 Replies View Related

General :: Windows 7 - Install GRUB To A Partition And Not MBR?

Sep 12, 2010

I am trying to dual boot Windows and Linux. I would like to continue using the Windows bootloader in my MBR.

I installed Windows 7 first. During the install I left some unallocated space that I intended to install Linux.

I found this guide: [URL]

It says to install GRUB to the bootsector of the partition that Linux is being installed to and not the MBR of your hard drive.

I am trying to install Linux Mint Debian to the second partition. When the installer gets to where you are asked to install GRUB the only option is to install GRUB to /dev/sda which I believe is the MBR.

I decided just not to install GRUB and proceeded with the installation.

How can I install GRUB to the bootsector of my Linux partition?

View 2 Replies View Related

Fedora Installation :: Will 13 Allow To Install Grub In Its Own Partition Without Writing Over The MBR

May 23, 2010

My laptop came with a hidden partition for restoring Vista instead of an install disk. I installed Ubuntu 9.04, which had an "Advanced" option that allowed me to install grub in the Ubuntu partition without writing over the MBR. Then I used EasyBCD to add Ubuntu to the Vista boot loader. I wanted to do this so that I can still restore the factory copy of Vista from the hidden partition if I need to. I upgraded the Ubuntu to 9.10, still using grub. When I did a fresh install of Ubuntu 10.04 it went to grub2, and I haven't figured out how to boot into it with EasyBCD yet.But I would like to try Fedora anyway. I will wait a couple of days and get 13.

1. Which grub does Fedora 13 use?

2. Will Fedora 13 allow me to install grub in its own partition without writing over the MBR?

View 6 Replies View Related

OpenSUSE Install :: Grub Error 17 On SDC2 Partition

Feb 16, 2010

I'm a Windows 7 user attempting to install openSUSE in a partition on a separate hard disk, and am receiving grub error 17 on install. My windows partition is sdb1, and my (hopeful) openSUSE partition is sdc2. When I attempt to redefine the grub config after receiving the error message, there are no mounted drives in my "/dev/" folder to point to, nor can I find the kernel image or RAM disk in my "/boot/" folder.

View 8 Replies View Related

OpenSUSE Install :: 11.3 Grub Bootproblem MRB Vs Root Partition

Jul 22, 2010

First upgrade to 11.3 no problem. Then I got a disk issue. so got an old 80 gig sata drive, config new partition table, format etc. Install perfect as ever.

Then grub failed ....no grub menue.

I changed to MRB boot. this worked but initrd takes a long time and sometime hangs ?!? What could be the issue ? Harddrive?!

View 5 Replies View Related

OpenSUSE Install :: Grub Rescue After Deleting Partition?

Sep 30, 2010

Windows 7 x64 was the only install with a separate boot partition which was already on the Dell laptop. I then shrunk the partition to allow me to put opensuse on. Then I made the stupid mistake of deleting the opensuse and boot partitions while in Windows. I was going to do this, copy pictures of my new born baby off then reboot and delete all stuff and redo all the partitions and installs again.Now I just get grub rescue with the following when I do ls command:(hd0) (hd0,1) (hd0,2)I would like advise on how to get the data off, I cannot afford to lose my babies pics as there are no other copies. I will then do a normal install of opensuse first then Windows 7 after it.

View 6 Replies View Related

General :: Grub-install Via Live CD To GUID Partition?

Jun 27, 2011

How to install grub in /sdb3 /media/{some-uuid} via Live CD?

# mount
# -> /dev/sd3 /media/{some-guid}
# grub-install --force --root-directory=/media/{some-guid} /dev/sda3

View 4 Replies View Related

Software :: Install Grub To Windows Ntfs Partition?

Nov 2, 2010

In HDD with 2 partition

sda1 windows xp
sda2 windows 7

1. It is possible to install grub? (Using live cd)

2. If not, if I create sda3 (ext3), and install grub there and boot both windows will be possible?

View 4 Replies View Related

Ubuntu Installation :: Grub Fails To Install On Hardware Raid Partition / Proceed It?

Feb 12, 2010

No matter which ubuntu version at 95% through the install it will complain that grub failed to install.

I'm installing this on an HP XW6600 with hardware raid striped.

I can use the supergrub rescue CD to boot to ubutu after, but whatever I do doesn't seem to get grub installed.

Any ideas on how to proceed? I'm guessing I need to install grub from scratch.

View 3 Replies View Related

Fedora :: Install Grub To A Partition And Link It To A Separate /boot?

Nov 20, 2009

Where can I install grub? I know it can be installed to the mbr of a hard drive. I also know it can be installed to a /boot partition. Can I install it to a lvm partition? Does it have to be /boot? grub-install --root-directory=/boot /dev/hda Does this command install grub to a partition and link it to a separate /boot? I have fedora, but this is a live cd. I need to learn where I can install grub2 to boot

View 3 Replies View Related

OpenSUSE Install :: GRUB Loader Will Not Run If Windows Is Set As The Active Partition?

Apr 6, 2011

A few days ago my Laptop wouldn't hibernate in Windows 7, I managed to fix this problem by going into Windows' Disk Management tool and setting the C:/ Partition as the active partition, this fixed my hibernation issue, however I have just noticed that now when I boot my laptop my GRUB menu no longer appears, instead it just loads Windows straight away as if it was the only OS on my laptop.

I've confirmed it's something to do with my recent Disk Management change as I booted up GParted, removed the boot flag from Windows and when a rebooted my GRUB menu reappeared.

Not sure on how I can both have Windows as the active partition while being able to keep GRUB working also.

My Partition Setup is as follows:

/dev/sda1 C:/ Windows 7 (NTFS) (Boot Flag Set)
/dev/sda2 D:/ DATA (Documents and stuff) (NTFS)
Unallocated 1 MB
/dev/sda3 Extended 146.49 GB (LBA Flag Set)
/dev/sda5 Linux Swap 2.01 GB
/dev/sda6 ext4 20.00 GB
/dev/sda7 ext4 124.46 GB
Unallocated 10.00 MB

I'm running openSUSE 11.4

View 3 Replies View Related

OpenSUSE Install :: Deleting SDA Partition On Multi OS Disk And Grub Booting?

Mar 17, 2011

That is my disk

Code:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 3724 29912998+ 83 Linux
/dev/sda2 29256 30401 9205245 7 HPFS/NTFS
/dev/sda3 3725 4271 4393777+ 5 Extended
/dev/sda4 * 4272 12104 62918572+ 83 Linux
/dev/sda5 3725 4271 4393746 82 Linux swap / Solaris

I want ot install a new opensuse 11.4 as yest another OS. Due to the fact that I already have 4 sda partitions, I have to make some changes. What I am thinking about is to copy the sda2 (windows recovery) data to some folder etc (nevermind), then delete the sda2. Then I want to create a new primary partition for the new suse 11.4 and install it. What is worying me is the grub boot menu. I was planning to edit the new one (the opensuse 11.4), with old data.

Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,3)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105BB0F00WDHE41DC-part4 resume=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105$
initrd /boot/initrd-2.6.31.5-0.1-desktop .....

Now my question is will the settings of (hda0,n), change due to the fact that I have deleted the sda2? I have a lot of unused space at the end of my disk and want to create a new "sda2" there.

View 9 Replies View Related

Debian :: Squeeze Grub Doesn't Detect Windows Partition On Install?

Sep 7, 2010

I've installed Lenny with no problem, but I tried switching to Squeeze, and grub for some reason didn't pick up on the Windows partition this time - it just shows the two Linux options (debian and debian single-user). I check the menu.lst file (which I've edited under Lenny with no issues), but for some reason it doesn't exist at all in this install. Is it in a different location with Squeeze maybe?

why grub didn't pick up on my Windows install?

View 3 Replies View Related

Fedora :: Install Windows XP On A Free Partition Without It Replacing The GRUB Boot Loader?

Sep 20, 2009

I am using Fedora 10, and was wondering if it is possible to install Windows XP on a free partition, without it replacing the GRUB boot loader?

View 6 Replies View Related

Ubuntu :: How To Assign Directory To Specific Partition

Jun 13, 2010

How can I assign a directory to a specific partition (another hard drive)?How would someone move / home/ username/music to another drive or partition? But do so in a way that it no longer writes MP3's (or FLAC) files in the original directory of the root drive?

View 9 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

Ubuntu :: Automounting A Specific Partition On Secondary Drive

May 29, 2010

I'm using rsync and crontab to do automatic backups from my /home partition on /dev/sda to my backup drive /dev/sdb3. The backup partition is ext4.

But the backup partition (sdb3) is obviously on a secondary drive, and I want to automount it when I log in. I read that you have to edit /etc/fstab to do this, but I'm not familiar with the process and can't find clear enough instructions, so I was wondering if someone could give me the command I need and maybe explain how it works?

View 1 Replies View Related

Ubuntu Installation :: No Option Found For Specific Partition

Oct 31, 2010

To be honest, I am trying to install Linux Mint, but since this is based on Ubuntu, and I am comfortable with Ubuntu on my VM I decided to label it Ubuntu.

I have a 235 HDD and it is partitioned like this:
C: 150 GB (Windows) NTFS
D: 70 GB (Data) NTFS
G: 15 GB (for my not yet installed Linux) NTFS

I also followed this tutorial and now I have some sort of LiveCD inside my USB: [URL]. So, now I have a pen drive with an Ubuntu LiveCD and a 15GB ready for my Ubuntu!

This is what I do:
1 - connect pen to computer
2 - turn on computer
3 - pen start running and I load Linux like a LiveCD (yey!)
4 - Linux loads and I wait
5 - I click "Install linux"
6 - I configure the language, time zone and keyboard with no problems
7 - Disk partitioning ... it offers me 2 choices:
7.1 - Erase entire disk and install Ubuntu
7.2 - Manually partitioning: but drive C:, D: and G: do not appear!!!

I want to install my Linux on driver G:, but I don't find a "Install Linux in this specific partition" option!

View 9 Replies View Related

SUSE :: Creating Partition With Specific ID ?

Sep 30, 2010

I was doing an exam the other day and they wanted me to create a partition /dev/hdd5 so I saw there was a /dev/hdd so when I created the partition it obviously named it /dev/hdd1. How do I get it to be hdd5?

View 3 Replies View Related

Ubuntu :: Force Grub To Ignore Specific Kernel Version?

Feb 7, 2011

I just upgraded my storage server to maverick and it seems the 2.6.35-25 kernel doestn like the hardware im using
since im pretty sure its a hardware related problem and the previous kernel hastn the issue im currently booting this old kernel everytime i need the server by hand (using Shift during boot for the grub menu to appear)

well, it narrows down to the following question:
how can i exclude a specific grub entry - in my case the current kernel 2.6.35-25 - so only previous kernels OR future kernels from the next updates will have a chance to boot?

View 4 Replies View Related

Ubuntu :: Gnome3 - Change Automount Options For A Specific Partition?

Sep 1, 2011

I have a specific NTFS partition on a USB drive that I wish to enable execute support for. The only way I've found to do this is to add the partition in /etc/fstab with a umask. This poses some problems:

1. Only root can mount it, making it a pain to mount (open terminal, `sudo mount (path from /etc/fstab)`, enter password, close terminal).
2. The system will hang at start if the UUID is unavailable (or, the external disk is unplugged). I run several servers from my machine, so if I do a remote restart it will not come back up because of the hang.

Is there a way to specify to FUSE (which I believe is the handler for auto-mounting in Nautilus) that this partition should have execute access to files?

View 1 Replies View Related







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