LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   fedora.bin is corrupted. (http://www.linuxquestions.org/questions/linux-software-2/fedora-bin-is-corrupted-569423/)

gabeyg 07-14-2007 11:30 PM

fedora.bin is corrupted.
 
I recently tried to make windows bootloader to boot fedora 7.
Hard disk configuration:
/dev/sda (xp)
/dev/sdb1 (ext3, root=/boot)
/dev/sdb2 (LVM ext3 root=/)

I did in fedora Live CD,
dd if=/dev/sdb1 of=/root/Desktop/fedora.bin bs=512 count=1
And copy the file to windows's C:, and add C:\ubuntu.bin="Fedora"
But after restart and entering fedora, it does not boot and just shows me blank black background! So, I gedited fedora.bin and found out that it was empty! What is going on?

jschiwal 07-15-2007 12:10 AM

Quote:

dd if=/dev/sdb1 of=/root/Desktop/fedora.bin bs=512 count=1
And copy the file to windows's C:, and add C:\ubuntu.bin="Fedora"
You are using different filenames. It is the C:\boot.ini file that you edit. but you want the line to say
C:\fedora.bin="Fedora"

The fedora.bin file is a copy of the mbr on /dev/sdb1, so you don't edit it. It isn't a text file.
Code:

cat /mnt/windows/boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect
C:\FEDORA.BIN="Fedora"



All times are GMT -5. The time now is 04:42 AM.