an0nym1ty
September 3rd, 2012, 05:08 PM
Hello
I keep getting the "fatal error" in the title each time i try to install kubuntu 12.04 onto my raid 0 (which has a fresh win7 install on it at the begining of the disk).
I have searched and everything that comes up says:
1. it's not fatal (you can install grub manually via live cd/usb whenever you want)
2. it's probably because you're not installing to MBR
I found a really solid reply to the question:
I'll repeat. Don't install a raid boot loader to a non-raid location (ie sda,sdb, etc). The symbolic links for the raid drive and partition for your system can be listed in /dev/mapper. The first item in the list (after control) is the raid drive. Items following are the partitions. Following the instructions for reinstalling grub 2 I listed in my previous post, you reinstall grub for a raid as follows:
Mount the raid partition your new Ubuntu is installed to -
sudo mount /dev/mapper/<TargetRaidPartition> /mnt
Install and configure grub to boot on the raid -
sudo grub-install --root-directory=/mnt/ /dev/mapper/<YourRaidDrive>
Above - make sure that is /mnt/
Unless your system is an exception and the above doesn't work a reboot of your system should place you in the grub menu. Good luck.
___________________
however it unfortunately is not doing the trick for me... when i sudo mount I get a "Permision Denied" return from the terminal. It sort-of seems like that is a solution IF you get the OS fully installed, but my install crashes when the error pops up.
Another note: I have changed the install path for grub many times, and no matter where I put it I always get the /dev/sda even though that is not where I told it to install... (i tried /dev/mapper, /dev/mapper/<the windows install partition>, and the primary ext3 partition i made for my root -- all of which produced the same error, and none of which are "non-raid locations")
Here's my sudo fdisk -l, which seems very sparse...
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x746e6572
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb9624d97
Device Boot Start End Blocks Id System
/dev/sdb1 63 1953122815 976561376+ 42 SFS
fdisk: unable to seek on /dev/sdc: Invalid argument
the no valid partition table is a little disconcerting... This was taken right after a failed install and making a new root and swap in gparted.
thanks in advance = \
edit: the hd i'm trying to install on is /dev/sda (which has another 150gb as an NTFS partition)
I keep getting the "fatal error" in the title each time i try to install kubuntu 12.04 onto my raid 0 (which has a fresh win7 install on it at the begining of the disk).
I have searched and everything that comes up says:
1. it's not fatal (you can install grub manually via live cd/usb whenever you want)
2. it's probably because you're not installing to MBR
I found a really solid reply to the question:
I'll repeat. Don't install a raid boot loader to a non-raid location (ie sda,sdb, etc). The symbolic links for the raid drive and partition for your system can be listed in /dev/mapper. The first item in the list (after control) is the raid drive. Items following are the partitions. Following the instructions for reinstalling grub 2 I listed in my previous post, you reinstall grub for a raid as follows:
Mount the raid partition your new Ubuntu is installed to -
sudo mount /dev/mapper/<TargetRaidPartition> /mnt
Install and configure grub to boot on the raid -
sudo grub-install --root-directory=/mnt/ /dev/mapper/<YourRaidDrive>
Above - make sure that is /mnt/
Unless your system is an exception and the above doesn't work a reboot of your system should place you in the grub menu. Good luck.
___________________
however it unfortunately is not doing the trick for me... when i sudo mount I get a "Permision Denied" return from the terminal. It sort-of seems like that is a solution IF you get the OS fully installed, but my install crashes when the error pops up.
Another note: I have changed the install path for grub many times, and no matter where I put it I always get the /dev/sda even though that is not where I told it to install... (i tried /dev/mapper, /dev/mapper/<the windows install partition>, and the primary ext3 partition i made for my root -- all of which produced the same error, and none of which are "non-raid locations")
Here's my sudo fdisk -l, which seems very sparse...
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x746e6572
Disk /dev/sda doesn't contain a valid partition table
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb9624d97
Device Boot Start End Blocks Id System
/dev/sdb1 63 1953122815 976561376+ 42 SFS
fdisk: unable to seek on /dev/sdc: Invalid argument
the no valid partition table is a little disconcerting... This was taken right after a failed install and making a new root and swap in gparted.
thanks in advance = \
edit: the hd i'm trying to install on is /dev/sda (which has another 150gb as an NTFS partition)