You are not logged in.
After installing Oracle Linux, when i rebooted, all i got was a blinking cursor. assuming that OL installation had corrupted the mbr (even though i told it not to install grub), i followed the steps to reinstall grub using my archlinux cd, after which i found no change. i checked archwiki and redid it by its rules but i was still greeted by a blinking cursor. could someone tell me what i did wrong?
this is my partition table (ubuntu is showing it in reverse ie sdb -> sda and vice versa)
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x00086abc
Device Boot Start End Blocks Id System
/dev/sda1 * 63 1953520064 976760001 f W95 Ext'd (LBA)
/dev/sda5 901120000 1515519999 307200000 83 Linux
/dev/sda6 1515522048 1953519615 218998784 83 Linux
/dev/sda7 81917952 901117951 409600000 83 Linux
/dev/sda8 4096 81915903 40955904 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 120.1 GB, 120060444672 bytes
255 heads, 63 sectors/track, 14596 cylinders, total 234493056 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: 0x00002038
Device Boot Start End Blocks Id System
/dev/sdb1 63 128519 64228+ 83 Linux /*BOOT*/
/dev/sdb2 * 128520 58717574 29294527+ c W95 FAT32 (LBA)
/dev/sdb3 58718208 88020991 14651392 83 Linux /*ROOT*/
/dev/sdb4 88023038 234493055 73235009 5 Extended
/dev/sdb5 88023040 108503039 10240000 83 Linux /*VAR*/
/dev/sdb6 108505088 175613951 33554432 83 Linux /*HOME*/
/dev/sdb7 175616000 195145727 9764864 83 Linux
/dev/sdb8 195145791 234493055 19673632+ 83 Linux
ubuntu@ubuntu:~$
These are the commands i used, serially.
mount -t ext4 /dev/sda3 /mnt/arch
cd /mnt/arch
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t reiserfs /dev/sda5 /mnt/arch/var
mount -t ext4 /dev/sda6 /mnt/arch/home
mount -t ext2 /dev/sda1 /mnt/arch/boot
chroot . /bin/bash
grub
grub> root (hd0,0) /*used "find /grub/stage1" just to be sure of the value*/
grub> setup (hd0)
Thanks in advance.
Last edited by testdude281 (2012-03-04 21:42:11)
Offline
OL had changed the boot order to boot from my second hdd. changing the boot order in BIOS solved everything.
Marking as solved.
Offline