LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rhel dumped after installing ubuntu on a 2nd drive (http://www.linuxquestions.org/questions/linux-newbie-8/rhel-dumped-after-installing-ubuntu-on-a-2nd-drive-737330/)

rpcd 07-02-2009 07:12 PM

rhel dumped after installing ubuntu on a 2nd drive
 
I HAD rhel installed on a 1st drive working. I wanted to install XBMC and Boxee which have installers for Unbuntu. I tried to compile under rhel, but I had to deal with missing libs.

So, I decided to install Unbuntu as a dual boot on the 2nd drive. Unbuntu installed ok and I know that I had to setup the boot so that the loader saw Unbuntu.

When I restarted my box to boot into rhel, 'no go'. It started to boot from GRUB and then it bales.

Couldn't find all physical volumes for volume group VolGroup00
mount: error 6 mounting ext3

Whatever I did when I installed Ubuntu repatitioned the rhel drive, I think.

Ok,

I have multiple boot CDs, UBCD4win, Active Boot Disk 5.0, and one that I built with DiskInternals Partition Recovery on it ....

All of which didn't help much ... with DPR, It will itemize different file types into folders (sux) considering I have many code files that are all mixed up ...lol it's a real pain to get them seperated, not to mention the file names are all numbered in the recovery. blah!

So ... my first question to this site is this, (PROBABLY NOT IN THE RIGHT POST, anyway)
Who is the guru that can tell me how to recover the rhel boot without me reinstalling both Ubuntu and RHEL?

now the patitions look like this for the Ubuntu installer ...
Unbuntu is installed on sdb ...

/dev/sda
/dev/sda1 ext3 106MB / 12MB used
/dev/sda2 39900 MB / unknown

/dev/sdb
/dev/sdb1 ext3 38461 MB / 2600MB used
/dev sdn5 swap 1546 MB / 0 MB used


So ... since I don't like Hocus Pocus ...
What did I do to wipe out the RHEL volume?
The Ubuntu partitioner, right?
What should I have done when I did install Ubuntu?

What do I need to know to make sure I install RHEL and Ubuntu without stepping on each of them to make a dual boot.

yikes!!!!

Thanks a million LOC

yancek 07-02-2009 07:54 PM

What did you do about the bootloader installation for Ubuntu? The default is to install to mbr of the first drive, is that what you did or did you install to the root partition. From your post, it would seem you have only Red Hat and Ubuntu. Can you post partition information? You didn't indicate whether you can boot anything?

To get partition info, use Ubuntu install CD and run command: sudo fdisk -l and post output herre.

rpcd 07-02-2009 08:33 PM

I didn't install into the mbr, I thought that I would blow out GRUB ...lol not good! actually not very funny ....

I can't boot Red Hat anymore and Ubuntu is on the 2nd drive and that's not booting either
because I put the bootloader on the 2nd drive root partition as you said.

I'm ready to start over, but it pains me because of the rhel setup and all my code and tweaks.

I thought I would give it another try before I did that.

Here are the results of fdisk


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3bb83bb7

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 4864 38965657+ 8e Linux LVM

Disk /dev/sdb: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a8a0a8a

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4676 37559938+ 83 Linux
/dev/sdb2 4677 4864 1510110 5 Extended
/dev/sdb5 4677 4864 1510078+ 82 Linux swap / Solaris

Disk /dev/sdc: 1031 MB, 1031798784 bytes
64 heads, 63 sectors/track, 499 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Disk identifier: 0xe7f6e7f6

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 503 1012032+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(502, 63, 63) logical=(502, 1, 1)

Thanx for the input

rpcd 07-05-2009 03:51 PM

I didn't install into the mbr, I thought that I would blow out GRUB ...lol not good! actually not very funny ....

I can't boot Red Hat anymore and Ubuntu is on the 2nd drive and that's not booting either
because I put the bootloader on the 2nd drive root partition as you said.

I'm ready to start over, but it pains me because of the rhel setup and all my code and tweaks.

I thought I would give it another try before I did that.

Here are the results of fdisk


ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3bb83bb7

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 4864 38965657+ 8e Linux LVM

Disk /dev/sdb: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0a8a0a8a

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4676 37559938+ 83 Linux
/dev/sdb2 4677 4864 1510110 5 Extended
/dev/sdb5 4677 4864 1510078+ 82 Linux swap / Solaris

Disk /dev/sdc: 1031 MB, 1031798784 bytes
64 heads, 63 sectors/track, 499 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Disk identifier: 0xe7f6e7f6

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 503 1012032+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(502, 63, 63) logical=(502, 1, 1)

Thanx for the input


All times are GMT -5. The time now is 11:57 PM.