LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Please help! Windows won't boot from grub. (https://www.linuxquestions.org/questions/fedora-35/please-help-windows-wont-boot-from-grub-183558/)

Kristijan 06-07-2004 10:05 PM

Sorry to *bump* this, but I still cannot fix this ;(

benjithegreat98 06-07-2004 11:04 PM

Have you tried variations of the command? Have you left out --force? Have you forced the output to a file and removed unneccessary lines? Have you changed the BIOS to LBA?

Kristijan 06-07-2004 11:26 PM

I tried leaving out the --force, and even though there is no errors in the output, I did also pipe the output to a file. Still no luck.

I have an ePox 8RDA+ mobo, as far as I can see in the options, I don't see any LBA option.

Kristijan

Kristijan 06-16-2004 10:33 PM

Ok, I have found the LBA option in my BIOS, but I'm still getting the same chainloader error. I have now tried both chaning my BIOS settings to LBA, and the fdisk option.

Still stuck :(

Any help is much appreciated.

Kristijan

motub 06-17-2004 04:49 AM

You might want to try the recovery steps in LWN: Making Fedora Core 2 and Windows play well together.

Hope this helps.

Kristijan 06-18-2004 01:22 AM

I'v gone through that article many times, yet I still get no where.

Code:

[root@neo root]# sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Warning: HDIO_GETGEO says that there are 16 heads

Disk /dev/hda: 155061 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/hda1          0+  1305-  1306-  10485688+  7  HPFS/NTFS
/dev/hda2  *  1305+  9729-  8424-  67665024  83  Linux
/dev/hda3          0      -      0          0    0  Empty
/dev/hda4          0      -      0          0    0  Empty
New situation:
Units = sectors of 512 bytes, counting from 0

  Device Boot    Start      End  #sectors  Id  System
/dev/hda1            63  20971439  20971377  7  HPFS/NTFS
/dev/hda2  *  20971440 156301487  135330048  83  Linux
/dev/hda3            0        -          0  0  Empty
/dev/hda4            0        -          0  0  Empty
Warning: partition 1 does not end at a cylinder boundary

sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
[root@neo root]#

Then with the --force option

Code:

[root@neo root]# sfdisk -d /dev/hda | sfdisk --force --no-reread -H255 /dev/hda
Warning: HDIO_GETGEO says that there are 16 heads

Disk /dev/hda: 155061 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

  Device Boot Start    End  #cyls    #blocks  Id  System
/dev/hda1          0+  1305-  1306-  10485688+  7  HPFS/NTFS
/dev/hda2  *  1305+  9729-  8424-  67665024  83  Linux
/dev/hda3          0      -      0          0    0  Empty
/dev/hda4          0      -      0          0    0  Empty
New situation:
Units = sectors of 512 bytes, counting from 0

  Device Boot    Start      End  #sectors  Id  System
/dev/hda1            63  20971439  20971377  7  HPFS/NTFS
/dev/hda2  *  20971440 156301487  135330048  83  Linux
/dev/hda3            0        -          0  0  Empty
/dev/hda4            0        -          0  0  Empty
Warning: partition 1 does not end at a cylinder boundary
Successfully wrote the new partition table

Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
[root@neo root]#

Stumped on why everyone else can get this to work, yet I can't *shrugs*

Regards
Kristijan


All times are GMT -5. The time now is 07:01 PM.