FC2 and dual-boot Windows

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

 



I am working on getting my FC2 build released, but I am worried about
the problem with dual-booting Windows that I have seen.  Is there any
way to get the legacy partitioning info for the installer without any
manual intervention?  Are there any updates for the
kernel/parted/anaconda that would remedy this problem?  I've seen
solutions that use the legacy EDD information to change the heads to
255/240, although I haven't been able to determine which disks to
perform this on.  I assume that int13_dev80 is only for device 0x80,
thus the discussion about disks other than 0x80.  Is Red Hat working on
a fix/respin?

Here is what I have so far in the %pre (untested):

-------------
modprobe edd
# It seems to be only the heads that are incorrect
H=$(echo "`cat /sys/firmware/edd/int13_dev80/legacy_max_head` + 1" | bc
-l)
S=$(cat /sys/firmware/edd/int13_dev80/legacy_sectors_per_track)
C=$(echo "scale=0;`cat /sys/firmware/edd/int13_dev80/sectors` / $H / $S"
| bc -l)
# I'm not sure how to determine which drives are present (maybe
# /tmp/hda vs. /tmp/sda??

echo "bios_cyl:$C bios_head:$H bios_sect:$S" > /proc/ide/hda/settings
-------------

Does anyone see any problems with this--or any better solutions?  I
still haven't figured out how to catch the exception where the system
disks are SCSI and the data disks are IDE (/ on SCSI).

Thanks,

Forrest




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux