akand074
October 27th, 2010, 01:56 AM
Hey guys,
So I decided to finally install 10.10, been putting it off for a while. I have a 1TB hard drive (my /home drive) and I have another drive (my / drive). When I built my computer I ran it on my 1TB hard drive first so it became sda, while my other hard drive actually running the OS is on sdb. Any ways, prior to 10.10, grub was installed on sda (I guess the MBR is there). I thought, hey why not install it on sdb because that is where the OS is, so I did that (honestly knowing that it would mess everything up but wanted to give it a try anyways). Now when I boot it goes to a command line screen saying "Grub Recovery />" or sum sort.
I tried reinstalling grub on sda but I couldn't mount it correctly because its just a data partition. So I just reinstalled grub on sdb (using a Live CD) and it didn't change anything. If I do sudo fdisk -l, this is what I get:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe2fb01ad
Device Boot Start End Blocks Id System
/dev/sda1 * 1 121601 976760001 5 Extended
/dev/sda5 1 121601 976759969+ 83 Linux
Disk /dev/sdb: 360.1 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63ce5f06
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 42010 337443840 83 Linux
/dev/sdb2 42509 43777 10193242+ 7 HPFS/NTFS
/dev/sdb3 42011 42508 3998721 5 Extended
/dev/sdb5 42011 42508 3998720 82 Linux swap / Solaris
Partition table entries are not in disk order
As you can tell, sdb1 and sda1 are both flagged to boot.. which I would assume to be the cause of the problem. Is there anyway I can remove that flag from sda1 and it would work? Otherwise how would I go about fixing this? I was thinking that I unplug my 1TB hard drive and boot the computer, grub should load fine, and then maybe if I plugged my 1TB drive back in that it would work just fine from then on, but I've already booted into this Live CD for the second time and didn't want to a third time so I decided to see if anyone had any ideas while I'm already here. If not I'll give that a try.
Thanks for any help!
So I decided to finally install 10.10, been putting it off for a while. I have a 1TB hard drive (my /home drive) and I have another drive (my / drive). When I built my computer I ran it on my 1TB hard drive first so it became sda, while my other hard drive actually running the OS is on sdb. Any ways, prior to 10.10, grub was installed on sda (I guess the MBR is there). I thought, hey why not install it on sdb because that is where the OS is, so I did that (honestly knowing that it would mess everything up but wanted to give it a try anyways). Now when I boot it goes to a command line screen saying "Grub Recovery />" or sum sort.
I tried reinstalling grub on sda but I couldn't mount it correctly because its just a data partition. So I just reinstalled grub on sdb (using a Live CD) and it didn't change anything. If I do sudo fdisk -l, this is what I get:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe2fb01ad
Device Boot Start End Blocks Id System
/dev/sda1 * 1 121601 976760001 5 Extended
/dev/sda5 1 121601 976759969+ 83 Linux
Disk /dev/sdb: 360.1 GB, 360080695296 bytes
255 heads, 63 sectors/track, 43777 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63ce5f06
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 42010 337443840 83 Linux
/dev/sdb2 42509 43777 10193242+ 7 HPFS/NTFS
/dev/sdb3 42011 42508 3998721 5 Extended
/dev/sdb5 42011 42508 3998720 82 Linux swap / Solaris
Partition table entries are not in disk order
As you can tell, sdb1 and sda1 are both flagged to boot.. which I would assume to be the cause of the problem. Is there anyway I can remove that flag from sda1 and it would work? Otherwise how would I go about fixing this? I was thinking that I unplug my 1TB hard drive and boot the computer, grub should load fine, and then maybe if I plugged my 1TB drive back in that it would work just fine from then on, but I've already booted into this Live CD for the second time and didn't want to a third time so I decided to see if anyone had any ideas while I'm already here. If not I'll give that a try.
Thanks for any help!