Ubuntu Installation :: Installing GRUB2 On RAID Root?

Oct 26, 2010

I'm trying to install GRUB2 on root partition under RAID 5. I tried using the alternate CD, but installation failed. Now I'm trying under the live CD and grub-install ... but I'm being told it can't find the device even though /dev/sda2 (root partition) and /dev/sda are mounted.I have 4 discs, each with a swap partition (/dev/sdX1) and a root partition (/dev/sdX2).

View 9 Replies


ADVERTISEMENT

Ubuntu Installation :: GRUB2 / RAID 10.10 To 11.04 Upgrade Fail

Apr 30, 2011

GRUB2 / RAID 10.10 to 11.04 Upgrade Fail.....

View 9 Replies View Related

Debian Installation :: Raid LVM Grub2 Will Not Install

Apr 20, 2015

I have created a system using four 2Tb hdd. Three are members of a soft-raid mirrored (RAID1) with a hot spare and the fourth hdd is a lvm hard drive separate from the RAID setup. All hdd are gpt partitioned.

The RAID is setup as /dev/md0 for mirrored /boot partations (non-lvm) and the /dev/md1 is lvm with various logical volumes within for swap space, root, home, etc.

When grub installs, it says it installed to /dev/sda but it will not reboot and complains that "No boot loader . . ."

I have used the supergrubdisk image to get the machine started and it finds the kernel but "grub-install /dev/sda" reports success and yet, computer will not start with "No boot loader . . ." (Currently, because it is running, I cannot restart to get the complete complaint phrase as md1 is syncing. Thought I'd let it finish the sync operation while I search for answers.)

I have installed and re-installed several times trying various settings. My question has become, when setting up gpt and reserving the first gigabyte for grub, users cannot set the boot flag for the partition. As I have tried gparted and well as the normal Debian partitioner, both will NOT let you set the "boot flag" to that partition. So, as a novice (to Debian) I am assuming that "boot flag" does not matter.

Other readings indicate that yes, you do not need a "boot flag" partition. "Boot flag" is only for a Windows partition. This is a Debian only server, no windows OS.

View 5 Replies View Related

Debian Installation :: Cannot Make Grub2 Boot Software RAID (Error)

Jun 2, 2011

I have a Dell PowerEdge SC1425 with two SCSI-disks, that I have tried installing Debian Squeeze on. This machine has previously been running Lenny (with grub 1), and the upgrade was done by booting a live-cd, mounting the root partition and moving everything in / to /oldroot/, then booting the netinstall (from USB), selecting expert install and setting up everything (not formatting the partition).

Both disks have identical partition tables:
/dev/sda1 7 56196 de Dell Utility
/dev/sda2 8 250 1951897+ fd  Linux raid autodetect
/dev/sda3 * 251 9726 76115970 fd  Linux raid autodetect
/dev/sda1 and /dev/sdb1 contain a Dell Utility, that I have left in place.
/dev/sda2 and /dev/sdb2 are members of a Raid-1 for swap.
/dev/sda3 and /dev/sdb3 are members of a Raid-1 for / formatted with reiserfs.

After installation, grub loads, but fails with the following message:
GRUB loading.
Welcome to GRUB!
error: no such disk.
Entering rescue mode...
grub rescue>

Doing "ls" shows:
(md0) (hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)

I can do the following to get grub to boot:
set root=(hd0,3)
set prefix=(hd0,3)/boot/grub
insmod normal
normal
This will bring me to the grub menu, and the system boots.

It appears that grub has only found md0, which I believe is the swap partition, because ls (md0)/ returns error: unknown filesystem. I have installed grub to both sda, sdb and md1, and tried dpkg-reconfigure grub-pc and dpkg-reconfigure mdadm, as well as update-grub.

I manually added (md1) /dev/md1
to /boot/grub/device.map, but still no result.

I have run the boot_info_script.sh, but unfortunately I cannot attach the RESULTS.txt, because the forum aparently does not allow the txt-extension. Instead I have placed it here: [URL]. I am tempted to go back to grub-legacy, but it seems I am quite close to getting the system working with grub2.

View 6 Replies View Related

Ubuntu Installation :: Reinstall Grub2 To Root Directory

May 17, 2011

I was dual booting Ubuntu and Windows, had to reinstall Windows, it wiped out grub, need to reinstall it now. Was following this: [URL]

Trying to reinstall grub with:
Code:
sudo grub-install --root-directory=/media/d566e91e-941f-4433-8dea-05d3bffb5669 /dev/sda6
Gives me the following error:
Code:
/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 their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
*edit more info* Ubuntu is installed on /dev/sda6 on a 50GB partition.

Code:
Device Boot Start End Blocks Id System
/dev/sda1 26 56830 456280064 7 HPFS/NTFS
/dev/sda2 * 56830 56843 102400 7 HPFS/NTFS
/dev/sda3 56843 70981 113561600 7 HPFS/NTFS
/dev/sda4 70981 77826 54979585 5 Extended
/dev/sda5 77096 77826 5859328 82 Linux swap / Solaris
/dev/sda6 70981 77096 49120256 83 Linux

Partition table entries are not in disk order So, I didn't want to do anything and screw things up. I want to boot with grub and not MBR. What should I do?

View 6 Replies View Related

Ubuntu Installation :: XP Won't Run After Installing 9.10 And Grub2

Mar 14, 2010

I installed Ubuntu 9.10 & grub2 on a Toshiba sattellite laptop last night:

- Win XP shows up in the Grub2 menu.

- When I boot Win XP, it says autock program not found, skipping autocheck, then Win XP stops booting.

- I did a little digging on the net, & found I have to unhide the NTFS partition for Win XP (hd0,1)

- Grub2 doesn't have an unhide command.

- I tried to run parttool, & got the "command not found".

View 3 Replies View Related

Ubuntu Installation :: Root Files Uuid Not Found Grub2?

Mar 22, 2010

I have a Netbook Remix install on an SD card that won't boot. Grub2 in the recovery mode shows it fails finding the root files by using UUID. It's my first Grub2 install and I'm not sure how to go about debugging it. The machine boots the same version from a USB stick.

View 1 Replies View Related

Ubuntu Installation :: Keep Grub2 Access To 10.04 After Installing 10.10?

Oct 22, 2010

For some time now I have kept 2 partitions for (K)ubuntu versions so go back if the new one is troublesome.So, I have a common /boot partition, 2 partitions for (K)ubuntu versions and a common data partition which both versions can access.After installing 10.10 I lost the grub connection to the earlier version. This did not happen in the past. So far I've failed to get it back by various attempts to do so.Did I make a mistake in allowing the /boot partition to be formatted during install of 10.10 (can't remember what I did before) or has the /etc/grub.d/os_prober in 10.10 failed in some way?

View 3 Replies View Related

Ubuntu Installation :: Installing Grub2 From A PC Running Windows?

May 13, 2011

In short, what I'd like to find is a workaround to install Grub2 onto a USB stick, from a PC running Windows, without using a GUI. After searching, I don't find any way to install Grub2 from Windows. I do have a nice little MS-DOS batch file that installs syslinux onto a USB stick. It's simple, fairly fool-proof, and I'd like to convert it to install Grub2.Did find an example of running grub-install without actually installing anything: grub-install --grub-setup=/bin/true /dev/sdaSo, IFAIKT, this just creates the Grub2 'boot.img' file, and maybe also modifies the 'core.img' file? Is that right? If so, then a little DOS utility to write a USB's MBR using the boot.img should work, yes?

However, I notice the boot.img file is 512 bytes. As I understand it, a drive's partition table is included in that space. I'd like to take that boot.img and use it to install Grub2 on any arbitrary USB stick, without altering the existing partition table. If I snip off the last 72 bytes so the image is only 440 bytes, it seems like this should work (assuming that every USB stick will have Grub2 installed in the /boot/grub subdirectory).If this sounds right, is there a DOS-based MBR update utility that you would recommend? I find several, such as MBRUtility, MBRWizard, and MBRFix, among others

View 4 Replies View Related

Ubuntu Installation :: Getting 10.04 To RAID Drive With Root On RAID0?

Mar 21, 2011

I ran into this and found a non-trivial solution so I thought I'd share in case anyone else ran into it.I have two 200GB drives so I thought I'd install my system with RAIDed partitions for /boot, / and /home. I would use RAID1 for /boot and /home because GRUB2 can load the kernel from a RAID1 and I thought the extra reliability for /home would be nice. (I may second guess /home on RAID1 once I get to test performance.) I chose RAID0 for / to provide faster application loading.I prepared the drives using a Live CD because I'm not confident that I can do what needs to be done during installation.First I partitioned the drives as:

Code:

hbarta@olive:~$ sudo fdisk -luc /dev/sda
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes

[code]....

At this point I could restart and boot from the system hard drives and proceed with configuring my system. I'm not positive that it is necessary to add the modules to /etc/initramfs-tools/modules but I do know that alone is not sufficient. An earlier attempt was to install grub (install-grub /dev/sda; install-grub /dev/sdb) within the chroot and I found that also was not sufficient. I have not listed it above because I think it was not necessary. But on these two issues, I'm not going to reinstall again from scratch just try...

[URL]

Another possibility is to install using the Alternate CD. I did not try that but it may provide better RAID handling. Last week I installed 10.04.2 LTS Server to a RAID1 and it did not experience this problem. However I do not know if it is RAID in general or RAID0 that led to the issues I encountered.

View 1 Replies View Related

Ubuntu Installation :: GRUB2 Not Installing To External Hard Drive?

Aug 9, 2011

I tried doing a search and couldn't find anything relatively recent on the topic so here is my question.

I am fairly new to the linux world and am in the process of trying out a couple different distributions. I am doing this by installing them to an external hard drive. This allows me to test them out without affecting my main system in any way. I have already tried openSUSE and it installed with no problems. I am trying to install Ubuntu, however when the installation tries to install GRUB2 it fails asking me for a different location to install it to.

When installing I unhook all drives from the computer except for the dvd drive, usb drive I'm installing from, and the external hard drive I am trying to install Ubuntu to. I'm not sure what else may be of use.

View 9 Replies View Related

Ubuntu Installation :: No Root File System Is Defined - 10.04 / RAID

May 3, 2010

I am running a RAID0 array, with Windows 7 Ultimate x64 installed.

When i install LL10.04 through Wubi, it installs fine, reboots, continues the installation procedure, then it gives me an error box "No root file system is defined".

I have attempted pressing the "OK" button 10 or 15 times, however it does not progress. The box just keeps on popping up. My only option is a hard reset.

I've tried downloading the latest version of Wubi from the official website, and allowing Wubi to download ubuntu itself, and still nothing.

I do not want to create a new partition for Ubuntu and use the GRUB loader. I have a multi boot system and would like to stick to the windows boot loader.

View 9 Replies View Related

Ubuntu Installation :: Installing 9.10 On Drives That Used To Be In RAID

Jan 11, 2010

I was recently given two hard drives that were used as a raid (maybe fakeraid) pair in a windows XP system. My plan was to split them up and install one as a second HD in my desktop, and load 9.10 x64 on it, and use the other for mythbuntu 9.10. As has been noted elsewhere, the drives aren't recognized by the 9.10 installer, but removing dmraid gets around this, and installation of both ubuntu and mythbuntu went fine. On both systems after installation however, the systems broke during update, giving an "read-only file system" error and no longer booting.

Running fsck from the live cd gives the error:
fsck: fsck.isw_raid_member: not found
fsck: Error 2 while executing fsck.isw_raid_member for /dev/sdb
and running fsck from 9.04 installed on the other hard drive gives an error like:

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

In both cases I setup the drives with the ext4 filesystem. There's probably more that I'm forgetting... it seems likely to me that this problem is due to some lingering issue with the RAID setup they were in. I doubt its a hardware issue since I get the same problem with the different drives in different boxes.

View 5 Replies View Related

Ubuntu Installation :: Installing 10.04 On A Hp Z600 With Raid 1?

Nov 29, 2010

I am having trouble installing Ubuntu 10.04 on a HP Z600 with a two disc raid system. Is there a way to solve this without using the alternate cd (where the data files seem to be corrupted). The regular 10.04 cant find any drives on which to install, the 10.04 alternate cd�s all have corrupted files. I have tried downloading the .iso from two mirrors as well as from .torrent, all have data problems. The HASH checksums are fine, only the data on the burned discs are wrong. I have also tried using a USB install, but there are problems there aswell. At the moment I have win 7 on the disc as on the other partition, and have been using Ubuntu 10.10 (that is now an unbootable broken system), but have to downgrade to 10.04 becasue of software requirements.

The RAID seems to be an INTEL Raid . From HP homepage: Integrated 6 channel SATA 3 Gb/s controller with RAID (0, 1, 5 or 10) capability, optional SAS controller, LSI 3041E 4-port SAS/SATA, with RAID (0, 1 or 10) capability

View 1 Replies View Related

Ubuntu Installation :: Installing With Raid 0 - Grub: No Such Device

Jun 29, 2011

I have a raid 0 setup with 2 x 1TB drives. I have an ASUS P8P67 LE motherboard and am using Interl RST for the Raid setup. I'm utterly ignorant of raid and therefore forgive any mistakes... I already had windows 7 installed and was attempting to dual boot ubuntu.

I installed Ubuntu from CD. The raid was picked up properly as only one drive by ubuntu. So it picked up the windows MBR and the main windows partition. I resized the main partition and used the "install ubuntu and windows 7 side by side" option. Installation went fine but once I restarted the PC I was welcomed by a grub rescue screen with the message: "error: no such device e196.....". Edit: I used the Windows 7 disc to repair the windows bootloader so I can now boot into Windows 7.

Before doing so I used gparted on the live cd to check the partitions on the drives. The only ones present were the MBR and windows one. So ubuntu seemingly didn't install... Although GRUB did... I was advised by someone on the ubuntu IRC chat to avoid trying to reinstall ubuntu at that point just in case there was an error in the partitioning process. I've since checked the state of the partitions from within windows and there's the MBR partiton, the windows partiton AND the partition that I created for ubuntu... 965MB of the partition that I created is listed as used space as well...

View 6 Replies View Related

Installation :: Installing OpenSUSE 11.2 On RAID 0 - Create Screenshots During Installation

May 9, 2010

First of all here's my PC configuration

Proc Core2Duo 6750
MB MSI P35 Neo 2
RAM Corsair 4GB
Video Gigabyte GTS250
HDD 2x320GB Seagate in RAID 0 and 1GB WD

I have a Windows 7 installation with a boot partition on the RAID. I also want to have a dual boot with openSUSE 11.2 but I don't know how to set correctly my partitions. I have some unallocated space next to the Windows C: partition. When I try to install openSUSE it makes a suggestion to create some partitions that i don't need and don't want, and even doesn't mount them. It also creates a / 80GB, /boot 36MB, swap 2GB and /home 20GB partitions, so I am in lack of free space.

I don't know how to create screenshots during installation. Maybe I'll try to reinstall later and pick some screens in english, because my system language is bulgarian.

View 3 Replies View Related

Fedora Installation :: Installing 10 Adaptec 2410SA Sata Raid?

Apr 19, 2009

Am installing Fedora 10 on an old but good server that used to be a windows box. It has 2 sata disk raid level 1 on adaptec 2410SA card. Disks are clean no info even did a low level format and recreated RAID.. twice DVD boots and installs os on raid array and reports success. new volume appears under computer icon but cannot be mounted after reboot attempt reports Reading physical volumes. This may take a while... (it doesn't)

Volume group "VolGroup00" not found
Unable to acces resume device (/dev/VolGroup00/LogVol01)
mount: error mounting /dev/root on /ysroot as ext3: No such file or directory
input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input4

and then a blinking cursor with keyboard echo but its just copying reboot with install DVD does not show previous (unmountable) disk image and repeat of above process increases operator need for alcohol have "disable write cache for drives" as I found that is a post but after fedora install.I do not know what grub is for instance but once linux is booted (on other computers) I can muddle through ok in terminal mode.

View 1 Replies View Related

Ubuntu :: Is Grub2 Automatically Installed In All RAID Drives Using Alternate CD

Jun 27, 2010

I am going to setup a new Ubuntu 10.04 using RAID 1 soon. Installation will be via the alternate CD. Older distributions required manually installing Grub to the second drive, to boot if the first drive fails. I found different statements about how this is handled since 9.10.e.g.

Quote:

Install GRUB boot-loader on second drive (this step is not need if you use Ubuntu 9.10)

or

Quote:

installing GRUB to second hard drive depending on your distribution

> grub-install /dev/md0
or
> grub-install /dev/sda
> grub-install /dev/sdb

is Grub2 automatically installed in all RAID drives using alternate CD 10.04 like executing sort of "grub-nstall /dev/md0" during the installation ?

View 2 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 Installation :: No Root File System Error While Installing 10.10

Apr 15, 2011

i have one partition of 45 Gb...and other of 250 Gb in which windows 7 has been installed..i booted from ubuntu 10.10 CD and then i chose the installation option on desktop...but when i selected the partition of 45GB for installation..the error message said that "there is no root file system on the drive, set it from partition options"..

View 2 Replies View Related

Ubuntu Installation :: Installing 10.04 Beta 2 \ Way To Increase The Space Allocation To Root?

Apr 15, 2010

Tried installing using update-manager -d and received notification that my root does not have adequate space. Removed most of what I can and I am still short 560 mb or so. Even risking the removal of some questionable items I just don't see freeing up this much space to make it happen.Is there another way to install 10.04?Is there a way to increase the space allocation to root?Stupid question but, can I delete the image file for 2.6.31-20 without affecting the 2.6.31-20 version? Even if I can still not large enough to get to the 560 mb.

View 9 Replies View Related

Ubuntu Installation :: Dual Boot - Win 7 And 10.10 On Raid 0 - No Raid Detect

Nov 26, 2010

I have installed Ubuntu on my m1530 since 8.04 and currently dual boot Win7 and 10.10. I would like to dual boot on my PC, but I have run into a problem. I am not a pro at Ubuntu, but this problem I can not solve by reading forums like I have in the past.

I realize this is a common problem, but I have noticed people having success.

I have a M4A87TD EVO MB with two Seagate drives in Raid 0. (The raid controller is a SB850 on that MB) I use the raid utility to create the raid drive that Windows7x64 uses. I have 2 partitions and 1 unused space. Partition 1 is Windows, partition 2 is for media, and the remaining unused space is for Ubuntu.

I am running ubuntu-10.10-desktop-amd64 off a Cruzer 16GB flash drive that was installed via Universal-USB-Installer-1.8.1.4.

My problem like so many others is that when I load into Ubuntu, gparted detects two separate hard drives instead of the raid. I read that this is because kpartx is not installed on 10.10. I then went in LiveCD mode and downloaded kpartx from Synaptic Manager. Gparted still reported two drives. I opened terminal and run a few commands with kpartx. I received an error. (Forgive me I didn't write it down, but I believe it said something about a communication error. I will try again later and see.)

Currently I am reflashing the Cruzer with a persistence of 4GB. I am not familiar with this process, but I understand that my LiveCD boot will save information I download to it. I decided to try this method because I was going to install kpartx and reboot to see if this made a difference.

I am looking for any suggestions on a different method or perhaps someone to tell me that the raid controller or some hardware isn't supported. I did install ubuntu-10.10-alternate-amd64 on my flash drive, but fail to get past detecting my CD-ROM drive since it's not plugged in. If this method is viable, I will plug it in. I also watched the ..... video were a guy creates Raid 0 with the alternated CD, but it wasn't a dual boot and didn't use a raid controller from a MB.

View 6 Replies View Related

Fedora Installation :: Installing Live CD - Message - Cannot Find Root File System ?

Jan 30, 2010

I have a LiveCD (DVD with many linux versions on it) and no other software on my computer at the moment. The computer specs are as follow:

When I use the live cd I get the following message: Cannot find root file system

I have tried the suggestion along the lines of:

Then it either goes back to Bash or I get "Kernel panic - not syncing: Attempted to kill init"

Then my install just freezes there and I need to restart my computer.

View 5 Replies View Related

Software :: Move Grub2 From Mbr To Root Partition?

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

General :: Dreamlinux - Root Says 'superuser Required' While Installing FROM Root

Apr 21, 2011

I am trying to install google chrome on my computer, it is in a .deb package and I am using dreamlinux. Earlier today I installed a .cbr/.cbz file reader from root, that was also a .deb and it worked just fine. now I go to install google chrome and it says (Blue is my command, and red is the system response):

I checked under my USER GROUPS and Root is still set as root, and I haven't been using it unless I need to install with it to other directories, Should I be using another command to install? or is it a problem that may affect other aspects of my system? ... My biggest concern is not getting google in, I can wait for that ... I just wanna know why ROOT is under the impression it's not a superuser.

View 3 Replies View Related

General :: Installing As Non-root In A Root Owned Directory

Mar 8, 2011

I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related

Debian :: Solved - Grub2 Cannot Find Root Device?

Jul 23, 2011

I have a raid array using mdadm made up of two drives. The drives have two parts, the first for boot information and the 2nd for LVM. Everything but /boot is under LVM management. Originly the two drives were hooked up to a sata controller in a computer with no on-board sata. However I was not able to get the computer to boot to a sata drive off of that controller. So there was an IDE drive with the MBR that loaded grub.

Now the computer in that setup seems to have died. So the drives were moved to another computer with an on-board sata controller and now the bootup works as far as getting to the grub menu. However after the grub menu the error message "Cannot find root device"

I found the boot info script [URL].. note at the time that was run the computer was running with one drive that has a full Debian install with the raid drive in question mounted and chrooted into. The script was ran from the chroot envirment.[URL]..

View 2 Replies View Related

Ubuntu :: Installing GRUB2 From Live CD To Slaved Drive?

May 12, 2010

Can someone tell me how to do this? I just formatted a slaved drive for EXT4 and now I'd like to write grub over the MBR. Cannot really find much on Google. tried: grub-install /dev/sda1 and of course didn't work....

View 5 Replies View Related

Ubuntu :: Installing Without GRUB2 / Possible To Use The Original GRUB Bootloader?

Aug 31, 2010

I've had nothing but trouble with GRUB2. Is it possible to use the original GRUB bootloader?

View 3 Replies View Related







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