On 09/27/2011 10:55 PM, JD wrote:
On 09/27/2011 07:18 PM, mickey wrote:
On 09/27/2011 09:57 PM, JD wrote:
On 09/27/2011 06:45 PM, mickey wrote:
On 09/27/2011 09:00 PM, JD wrote:
On 09/27/2011 05:19 PM, mickey wrote:
F15
Setup F15 hard drive on a different computer /dev/sda and sent hard drive to a friend to put in his computer as /dev/sdb , behind WindowsXp and went into the rescue mode to run grub-install /dev/sda , getting a error message;
"sdc2 Does not have any corresponding BIOS drive".
There is only two hard drives and a DVDrom in this computer, I can't understand the sdc2 unless fedora see's this drive , slave hard drive as sdc2 instead of sdb2 , partition 2 is where the / partition is for Fedora. WindowsXP is on Master drive.
Hard Drive is recognized by BIOS as a Slave sdb.
I guess the Device map is different and causing problems, How do I fix this to get boot sector on /dev/sda
Can the command grub-install --recheck /dev/sda fix the problem.
I thought you have to edit grub.conf so that boot=/dev/sda<<<< Point this to correct drive like /dev/sdb
splashimage=(hd0,1)/boot/grub/splash.xpm.gz<<< Change this to correct (hd1,0) as an example hiddenmenu default=0
title Fedora (2.6.39.3-1.fc14.i686) root (hd0,1)<<<< Change this to (hd1,0) kernel /boot/vmlinuz-2.6.39.3-1.fc14.i686 ro root=/dev/sdb rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us LANG=en_US.UTF-8 nomodeset initrd /boot/initramfs-2.6.39.3-1.fc14.i686.img
Then you must fix /etc/fstab so that /dev/sdb1 / ext3 defaults 0 0
...etc.
Are you sure the (hd1,0) instead it should be (hd1,1) because linux / is at sdb2 .
Well, the default correspondence between bios disks and linux disks is hd0 sda hd1 sdb
I assume your linux is installed on first partition of the disk. Since the linux disk is the second disk in the machine, per your message, then the disk is hd1 (i.e. /dev/sdb) and since linux is on the first partition, the boot disk would be (hd1,0) which maps onto (/dev/sdb1)
Take a look at the file /boot/grub/device.map
which shows the most basic device mapping, like (fd0) /dev/fd0 (hd0) /dev/sda
Good luck
I guess i got this pretty confusing. sdb1 is a ntfs file system for a backup to windowsXP. And sdb is / root for linux
sdb is the WHOLE disk. sdb1 is partition one on sdb Therefore it is not possible to have sdb as the linux root file system, and sdb1 as the ntfs backup of windows.
I suspect that sdb1 is your ntfs backup and sdb2 is your linux root file system.
JD thanks for your help.
But I have decided that I'am going to walk my friend through a complete new install, that way he will learn how to do it in the future.
That way also Linux can do the proper detection settings on his computer.