PDA

View Full Version : grub2 problem after F16 install



clariceoshea
24th December 2011, 12:03 AM
(1) installed MS XP Prof works great...boots right up with no help.......SCSI 0

(2) installed Fedora 16 but cannot reach it took hours .......SCSI 1

attached is error_grub.txt with all attempts and results.

I tried to delineate attempts with __________ to make it easier to read

I've learned NEVER to install ANYTHING (XP included) with flash or ext HDs plugged in.

Large Bold font is reqd for my bad eyesight

In the F16 install, there is something confusing.

One moves the target drive for install to the right page via ">>"

This was SCSI 1 since XP Prof is on SCSI 0

There is a check box for "install bootloader"

Why would anybody want to install the bootloader on SCSI 1 since it goes on SCSI 0. Remove the check and you go nowhere unless the check is there

DBelton
24th December 2011, 05:54 AM
just a question.

When you tried to do a grub2-install from the live media... Did you set up a chroot environment?

Just as an example:



Note that if /boot is on a partition you need mount /boot and bind-mount /dev
before installing grub2, e.g.:

mount /dev/sdb3 /mnt/f16 <--- mount your root (/) partition
mount /dev/sdb2 /mnt/f16/boot <--- mount your /boot partition
mount --bind /dev /mnt/f16/dev <--- bind mount /dev so that it's available to the chroot
chroot /mnt/f16
grub2-install /dev/sda


This should install grub2 into the bootsector on your first hard drive (overwriting Windows XP bootloader) But it should create a menu entry for Windows XP so that you can boot it from grub2.

Edit:

You need to substitute the correct partitions on your system for the mounts above. /dev stays just like it is since it won't be different on your system. But you need to use the partition for your /boot and / instead of what I put above.

clariceoshea
31st December 2011, 07:17 PM
sounds very promising...thanks :)

From limited experience:

I just installed the whole F16 on sdb from the 3.3 GIG DVD I made.

I would think that would solve everything.

what are sdb2, sdb3

I am only aware of
sda0
sda1
sdb0
sdb1
hd0
hd1

how do I identify these other guys

(1) installed MS XP Prof works great...boots right up with no help.......SCSI 0

(2) installed Fedora 16 but cannot reach it took hours .......SCSI 1

attached is error_grub.txt with all attempts and results.

I've learned NEVER to install ANYTHING (XP included) with flash or ext HDs plugged in.

In the F16 install, there is something confusing.

One moves the target drive for install to the right page via ">>"

This was SCSI 1 since XP Prof is on SCSI 0

There is a check box for "install bootloader"

Why would anybody want to install the bootloader on SCSI 1 since it goes on SCSI 0. Remove the check and you go nowhere unless the check is there

The following is backward…hd0 really has MS XP Professional

I switched the entries and it did not work so I switched back


(hd1) /dev/disk/by-id/scsi-35000000000000000

(hd0) /dev/disk/by-id/scsi-SSEAGATE_ST336705LW_3DE04EJF000071424BKV

chrismurphy
3rd January 2012, 01:11 AM
The reason for putting GRUB2's bootloader on SCSI 1 is to avoid obliterating the first part of the Windows bootloader on SCSI0. You use your BIOS to decide whether you're booting off SCSI 0 or SCSI 1.

A conservative approach would be to just change your BIOS to boot off SCSI 1. Then it will get the GRUB2 boot loader from SCSI 1, and then display the GRUB2 menu from which you can choose to boot either Fedora or Windows.

hd0 and hd1 are GRUB device identifiers. sda, sdb are linux device identifiers, and sda1, sda2 are partitions on sda. There is no such thing as sda0.

---------- Post added at 05:11 PM ---------- Previous post was at 04:51 PM ----------

Nevermind this is a duplicate of:
http://forums.fedoraforum.org/showthread.php?t=272793&page=2

leigh123linux
3rd January 2012, 11:56 AM
Thread closed, don't double post.