Re: install boot sector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux