Ubuntu :: Boot From A Grub2 Prompt When There Are Separate /boot And / Partitions?

Mar 6, 2011

I was yesterday evening experimenting inserting a script into /boot/grub/grub.cfg. Well I broke grub.cfg and had to try to boot from a grub2 prompt.I have separate /boot and / partitions on /dev/sda1 and /dev/sda2 respectively.Working out the correct syntax for the boot to work was a little complicated, so I thought it would be useful to post the correct procedure here, in case anyone else has the same set up that I do (separate /boot and / partitions)At the grub prompt code:

grub> set prefix=(hd0,1)/grub
grub> insmod linux
grub> set root=(hd0,2)

[code].....

View 4 Replies


ADVERTISEMENT

Ubuntu :: Updated Grub2 Cannot Boot Windows Partitions?

Jul 12, 2010

I updated Grub2 and now I cannot boot my Vista or Windows 7. I am running Ubuntu 10.04. I updated because Grub2 was not updating to the newer kernels that were being installed. Now the new kernel is showing in the boot menu, boots fine into Ubuntu, but my Windows installs won't boot. Current installed version is grub-install (GNU GRUB 1.98-1ubuntu6).

View 4 Replies View Related

Ubuntu Installation :: Windows Boot Loader And GRUB2 On Partitions

Aug 20, 2010

[URL](where loading into Windows corrupts the MBR). None of the solutions in the bug thread work for me, however--I'm on a Dell system (so it's not HP tools) and I'm not running PC Angel or any similar service (I checked). I assume it is related to the Dell recovery partition, though my old laptop from Dell didn't have this problem even though it also had a recovery partition.

However, before I had partitioned and set up Ubuntu on my new laptop, I installed Wubi (for transferring over the files from my old laptop because I didn't have time to do a full install and deal with problems like this one). Wubi worked fine using the Windows Boot Loader. I understand that WBL isn't capable of loading Linux on its own, which is why I was wondering if it was possible to have GRUB installed on a separate boot partition (not the MBR) and loaded from Windows Boot Loader. All of the information I could find on it didn't work with Windows 7--but again, I know Wubi was capable of doing it. how to set this configuration up?

View 2 Replies View Related

Debian Installation :: Get Grub2 To Boot Up Properly But "xputs" Error Pops Up And Drops To The Recovery Prompt

May 4, 2011

I switched over from Ubuntu because I realized Ubuntu sucks now (lol), but anyways... Now I'm trying to get Grub2 to boot up properly, but this "xputs" error pops up and drops me to the recovery prompt. I tried the grub-install dev/sda and all it did was recognize my Windows 7 OS (as Vista) and added it to the bootloader list and didn't fix the "xputs" issue.

I heard that doing a chroot is the most effective solution. Forgive me, but I don't know what "chroot" means or how effective it is. I can specify more information about where the OS is if needed. I have the boot flag set to the Debian OS at the hd(0,5) or sda5 I think, and Windows is at sda1 (I think). I just want to make sure I can fix this without damaging Windows, and I'll try to get more information.

Right now, I can only get into Windows or Debian with UBCD and Grub2 Super Disk and I know that sometimes Parted Magic could orderly mount the disks differently, so I don't know if it was sdaX or sdbX, but probably sdaX. I'll check again.

View 1 Replies View Related

Ubuntu Installation :: Separate Boot Partition - Doesn't Care About The Boot Flag On The Disk

Feb 14, 2010

GNU GRUB 0.97
Ubuntu 8.04.4
2.6.24-26

Added an SSD (dev/sdc) and decided to move some less often changed directories there. Started with /usr and /boot, leaving / on a primary in the first drive, for now. All started ok, and my changed fstab mounted the right ones, and the system works.

However, grub is actually using the original /boot on / on sda1. I cannot see any way to change this. (Which makes it sorta hard to update the kernel

From grub:

Okay, since it has two choices, I tried to tell it which one to use. But, grub> root (hd2,5) does nothing.

Disk /dev/sda:

what I seem to recall, grub doesn't care about the boot flag on the disk. Nor does it care about primary vs. logical (except GNU doc says "makeactive" only works on a primary?).

The GNU doc also indicates that it looks for a directory /boot on the partition, so if you're mounting a partition as /boot, it also needs to contain a /boot directory under it. Tried that, but no change.

Is my problem the logical partition? Does that prevent "grub> root" from changing it? I'm afraid to wipe out the old /boot and find that I can't start up.

View 9 Replies View Related

Ubuntu Installation :: Grub2 - Turning A Dual Boot Into Single Boot?

Feb 10, 2010

I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.

what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?

View 2 Replies View Related

Ubuntu Installation :: Grub2 - Dual Boot Karmic / Unable To Boot Into Archlinux Partition

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

Ubuntu :: Grub2 Boot After Deleting Non-boot Partition?

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

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

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

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

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

Ubuntu Servers :: Boot Partitions On Both Sda And Sdb So If One Drive Fails The Second Boot Partition Will Work Away ?

Dec 6, 2010

I am building a 10.04.1LTS server. I am putting the /root filesystem into a Software RAID1 partition. I want to keeo my /boot partition outside of RAID.Is there a way to have a boot partition on both sda and sdb so if one drive fails the second boot partition will work away - or should this be kept in with RAID also.

View 6 Replies View Related

General :: Get Grub2 To Boot OS X With Graphics Mode Boot Option?

Apr 14, 2010

I've set up a triple boot system (Ubuntu Karmic, Windows Vista and OSX86 -- a patched OS X which works on a PC) on a Dell 9200 (C2D 2.13 GHz, 4GB RAM, nVidia G210). I sue Grub2 as the bootloader and update-grub picks up OS X and it boots without any problem.

However, although when booting OS X using its own Darwin bootloader, I can apply the boot option "Graphics Mode"="1680x1050x32" to ensure that I get the screen resolution that I want, when OS X boots from Grub2, the only resolution available is 1024x768 which is disappointing. I have tried adding gfxmode=1650x1050x32 to the OS X section of /boot/grub/grub.cfg in Ubuntu but this does nothing.

View 3 Replies View Related

Fedora Installation :: 11 Boot - Error "Could Not Find Kernel Image: Linux" And The Boot: Prompt After That"

Jul 23, 2009

I have downloaded the i386-DVD.iso image and have burned it on a DVD using Nero Express 6, when it boots from the DVD, it give me an error message "Could not find kernel image: Linux" and the boot: prompt after that. I have burned another DVD using Infra Recorder with minimum write speed but with the same problem. I have Ubuntu already installed on the computer.

View 8 Replies View Related

Ubuntu :: Boot Partition To Be Kept Separate?

Nov 25, 2010

is their a boot partiton that need to be kept seperate in ubuntu? Screenshot.png those are my partitons in the pic above am i okay to merge them all into the dev/sda2 or is it like windows and i need to keep a small section back for the boot?

View 5 Replies View Related

Ubuntu Installation :: Dual Boot With Separate HDD?

Jun 15, 2010

I have 2 sata HDD, I wish to dual boot, but in a way to have Windows on one and Ubuntu on the other.

For some reason I could not get Ubuntu (10.04) to install from the live CD or Wubi or from Windows on the same HDD.

I downloaded the advanced distro and went with that straight onto the HDD and it has been a gem (love how it just works with no drama).

I want to install windows XP again on the 2nd HDD, as there is one game that I play in windows. (I've got it to work in Wine I just don't like / can't get used to it)

My Question is: installing windows on a 2nd HDD and then being able to choose which one to boot.

I've read about installing Windows after Linux in the user guide and reinstalling grub2 - I got the impression though, the they were installed on the same HDD and thought that what I want to achieve may differ?

View 2 Replies View Related

Ubuntu :: Dual To Single Boot Separate HDs

Jul 25, 2010

I have two hard drives one with Windows XP and one with Ubuntu 10.04. The hard drive with Windows XP has been dying out slowly over the last week thankfully I backed up all my important information. The problem is that now that the Win XP hard drive is dead I can't boot into Ubuntu nothing pops up just the blinking cursor. I believe this is because when I installed ubuntu the Windows XP HD was already in the first slot and may have all the boot information. I have the LiveCD and can boot into that successfully.

View 3 Replies View Related

Ubuntu Installation :: Using GRUB To Boot WinXP On A Separate HD

Jan 6, 2010

I have been a happy little GRUB user for a while now, but now I want to use GRUB to boot a physically separate WinXP hard drive, and I can't seem to do that. Normally GRUB is easy, (I even have a nice splash screen of my own making). Its a champion solution for booting into Ubuntu Linux on /dev/sda5 or Win XP on /dev/sda1.

My second HD which Linux recognizes as /dev/sdb, has a Win XP boot sector and Win XP in one partition.

Normally I boot off /dev/sda using GRUB, and from Linux I can mount and have access to /dev/sdb - that works well. Occasionally however, I need to boot the separate Win XP system on the second HD, and to do that I switch the boot drive in the BIOS, but lately that is getting to be a bit tedious.

Initially I though to give the additional boot choice to GRUB, I simply had to edit /boot/grub/menu.lst and point to the second HD (where /dev/sdb = hd1 in GRUB speak). Unfortunately, when I select the new choice, it simply boots Win XP off the first HD.

I'm confident GRUB does look at the first partion on hd1 as expected as I can induce an error by having hd1 disconnected, or write silly partion numbers into menu.lst. So if it does in fact find the first partion on hd1, why doesn't it boot? Why does it default to WinXP on hd0?

I have diligently tried physically swapping SATA drive cables and playing with bios switching and have messed about a fair bit with menu.lst to make sure I have drive and partition numbers right, but all to no avail. I have also tried changing rdisk(0) in boot.ini to rdisk(1) on the second drive when it is not the boot drive.

I'm afraid the only other thing I can think of is that the second hard drive requires a Linux boot sector if I am going to boot it up from GRUB, but somehow that doesn't make sense. Surely GRUB can work across physically separate drives, so I'm open to other ideas first.

View 5 Replies View Related

Ubuntu Installation :: Can't Boot Windows XP (separate HDD) After Upgrade To 10.04

Jun 15, 2010

Basically, as the topic reads, I normally run Windows XP, and installed Ubuntu on a new HDD this week (Karmic). However, realising later that there was a new release, I just upgraded through the network, completely ignorant of their being anything wrong with this (Windows drive still being connected at this time). Now Ubuntu boots fine, but when I select Windows through the GRUB set-up, it just displays a black screen with the '_' cursor blinking and goes no further.

I have absolutely no clue how to fix this, reading through various forum posts and messing with the boot command (or whatever you call it when you push 'e' at the GRUB screen) all day to no avail. One of the things I've download was the Boot_Info_Script, so hopefully someone out there can gleam some information on how the heck I can solve this issue and boot XP once again (hopefully without having to just blow away one or both of the OS's and doing a completely clean install). If there's anything I can do to provide any further required information, My RESULTS.txt:

[Code]....

View 5 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 :: Boot From A Separate External Partition?

Nov 14, 2010

I have a 320gb USB hard drive, one partition for my files, one for playing Wii games, and one which I would like to use for an Ubuntu instillation.

To do this, I partitioned my disk accordingly using Windows, then booted from the Ubuntu CD to install the OS to my external hard drive partition. It asked me where I wanted to install the boot loader, so I selected the hard drive itself, rather than the specific partition, reasoning that it would scan the hard drive for a boot record.

However, when I booted it (with USB boot selected) it simply said "No Operating System found, replace system disk and press enter" or something similar.

View 1 Replies View Related

Ubuntu :: Installing 10.10 And Dual Boot With Windows 7 (Separate HDs)

Apr 5, 2011

I want to set up my PC so that I have Windows 7 installed on one hard drive and Ubuntu Studio installed on a completely separate hard drive. I currently have both hard drives installed in my PC and the larger one (640GB) has Windows 7 installed and is currently taking up that entire drive. My other hard drive (160GB) has a wubi install of Ubuntu 10.10 on it so it shows up on the Windows boot menu. What I want to do is wipe the smaller hard drive and install Ubuntu Studio on it and have it show up in the boot menu just like my wubi install does.

I need to know things like:
1. When I install Ubuntu Studio, do I install the boot loader to the MBR of the hard drive I'm installing it on?
2. How exactly do I add Ubuntu Studio to the Windows boot loader?

View 4 Replies View Related

Ubuntu Installation :: How To Dual Boot 11.04 And Win 7 On Separate Drives

Jun 4, 2011

I have Ubuntu 11.04 on 1TB HDD and Win 7 on another 1TB HDD. Right now I have to unplug a SATA cable to get to boot into one or the other. What is the best way to be able to pick. I don't care which OS I do it in or which is the primary, if there has to be one. I have an MSI mobo.

View 2 Replies View Related

Ubuntu Servers :: Separate Non Raid Boot Partition?

Aug 9, 2011

I have been working in my spare time over the last few days, Had problems with the whole grub2 not installing on RAID 1. Then I found out that I had to have a separate non raid Ext4 partition on one drive with "/Boot" as mount point and install went though fine.

My question is, will the developers FIX this. I mean if I only have 2 x 2tb drives in teh pc as RAID 1, and the one fails with the boot partition the whole machine goes down. Kinda defeats the whole RAID feature huh.

I USED to run a windows network with RAID 5 servers, and windows never had a problem installing everything on the RAID. Or even setting up RAID 1 in the bios on the PC and installing XP or NT4 on the RAID 1. There was never a need for a separate non raid boot partition.

Do we need a separate RAID friendly/enabled Grub? I guess for now I will get a 250gb drive and install the Server OS to it, and setup RAID1 manually after the server OS boots. Then will make a ghost type image of the server in case that drive fails so I can quickly install a new drive and restore the image and get it back up and running again.

View 9 Replies View Related

OpenSUSE Install :: Using A Separate Boot Partition?

Jan 26, 2010

P4 2.4gHZ 2.0GB Ram I have tried to do some reading on this by googling and such, but it is all a bit overwhelming and so many posts/articles want to deal with dual booting which I am not planning to do on this machine. I am trying to find some info on whether it is better to have a separate boot partition. As in, separate from root partition. I have read that a separate boot partition makes for a quicker start and better recovery if system crashes. I will shortly be installing openSuse 11.2(KDE) [currently on 11.0] and I want to optimise the partition scheme so that it is the most efficient. I have a 160GB HDD that will be housing this new installation, so space is not a problem. I am only user on this machine. Currently, it is just partitioned as such:

2.0GB - swap [because I read it should equal Ram]
32.0GB - /
40.0GB - /home
76.8GB - extra storage [Not really necessary as I have 2 other HDD on system 1 - 320GB and 1 - 200GB]

Also, is it recommended to have separate partitions for /tmp /var or any other /nnn ?

View 6 Replies View Related

Installation :: Boot From A Separate External Partition?

Nov 14, 2010

I have a 320gb USB hard drive, one partition for my files, one for playing Wii games, and one which I would like to use for an Ubuntu instillation.o do this, I partitioned my disk accordingly using Windows, then booted from the Ubuntu CD to install the OS to my external hard drive partition. It asked me where I wanted to install the boot loader, so I selected the hard drive itself, rather than the specific partition, reasoning that it would scan the hard drive for a boot record.However, when I booted it (with USB boot selected) it simply said "No Operating System found, replace system disk and press en

View 6 Replies View Related

General :: Boot From A Separate External Partition?

Nov 14, 2010

I have a 320gb USB hard drive, one partition for my files, one for playing Wii games, and one which I would like to use for an Ubuntu instillation. To do this, I partitioned my disk accordingly using Windows, then booted from the Ubuntu CD to install the OS to my external hard drive partition. It asked me where I wanted to install the boot loader, so I selected the hard drive itself, rather than the specific partition, reasoning that it would scan the hard drive for a boot record. However, when I booted it (with USB boot selected) it simply said "No Operating System found, replace system disk and press enter" or something similar.

View 3 Replies View Related

Software :: Separate Boot For Each Hard Disk?

Jul 28, 2010

My laptop had 1 hard disk, partitioned as follows:C: (NTFS), on which Windows XP was installed.D: (NTFS), on which I stored my personal data.Recently, I bought a new hard disk, and divided it into two partitions: An NTFS partition (to store personal data), and another partition on which I installed Linux (Debian Lenny).I want my systo act as follows:While booting the system: if I select to boot from the first hard disk, Windows XP loads. Else, if I select to boot from the second hard disk, Linux loads.In other words, I want the MBR of each disk to point at the corresponding OS.

View 7 Replies View Related

General :: Installed Windows On Separate Partition And Now Cannot Boot Ubuntu

Feb 3, 2010

I originally had my full hard drive as a full Ubuntu partition but I then re-sized that and installed Windows on a new partition. Now I guess the boot sector got overwritten and I don't have a choice to boot either Windows or Ubuntu. I know I have to reconfigure GRUB or another boot loader to allow the choice but I am not sure of how to go about that.

View 5 Replies View Related

Fedora Installation :: Moving - Boot To A Separate Partition ?

Apr 23, 2009

Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).

This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.

When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).

If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).

Rather than go through yet another install, would the following work?

from FC10, move /boot to (say) /boot.0
mkdir /boot
edit fstab to include "mount /dev/sda2 /boot"

If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.

Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...

Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?

View 2 Replies View Related

Fedora Installation :: Triple Boot - Using The Separate Partition?

May 29, 2010

I am triple booting

Windows xp
UBUNTU 10.04
Fedora 13

Everything works fine, the setup went very well. But I got to thinking (A dangerous thing for me). In Ubuntu I am using separate partitions for / (root) and /home. I was wondering, during install of Fedora, could I use the separate partition I am using now for both root and /home for just / (root) and use the Ubuntu /home partition for Fedora (set the mount point for /home to the same partition as I did for Ubuntu and not format the drive)? This would allow me to seamlessly use the /home partition and not require duplication of files. I can mount the Ubuntu /home dir while in Fedora.I can share the /home partition with two different installs of Ubuntu (been there).

View 1 Replies View Related







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