After installing Fedora Core 11 you might experience this error:
No bootable device -- insert boot disk and press any key
If you have Windows in your C: drive try this solution.
Use a linux CD/DVD to boot into rescue mode. For Ubuntu you have to add sudo before every command. For Fedora Core you have to start with giving this command.
and then apply these commands.
The problem with Fedora Core 11 is it marks its own boot partition as active even if it is not a primary partition. This is a serious bug.
In my case Fedora Core 11 has marked sda9 as bootable(the asterisk sign tells it). To make the system bootable correctly we need to fix this thing up.
First mark your primary partiition(C: drive) as active. Apply this command
Press 'a' to toggle bootable flag. Enter partition number in my case it's '1' (1 is primary partition usually).
Now we have to remove boot flag from Linux partition. Then again press 'a'. Enter partition number in my case it's '9'. Now write partition table by pressing 'w'
Final partition table becomes
After rebooting your system will boot normally.
If it isn't then install mbr, solution matches with this post.
No bootable device -- insert boot disk and press any key
If you have Windows in your C: drive try this solution.
Use a linux CD/DVD to boot into rescue mode. For Ubuntu you have to add sudo before every command. For Fedora Core you have to start with giving this command.
# chroot /mnt/sysimage |
and then apply these commands.
# fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c2b3c2b Device Boot Start End Blocks Id System /dev/sda1 1 1530 12289693+ 7 HPFS/NTFS /dev/sda2 1531 9728 65850435 f W95 Ext'd (LBA) /dev/sda5 1531 3060 12289693+ 7 HPFS/NTFS /dev/sda6 3061 4335 10241406 7 HPFS/NTFS /dev/sda7 4336 6375 16386268+ 7 HPFS/NTFS /dev/sda8 6376 8223 14844028+ 7 HPFS/NTFS /dev/sda9 * 8224 8249 204799+ 83 Linux /dev/sda10 8249 9544 10398719+ 8e Linux LVM Disk /dev/dm-0: 9604 MB, 9604956160 bytes 255 heads, 63 sectors/track, 1167 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 |
The problem with Fedora Core 11 is it marks its own boot partition as active even if it is not a primary partition. This is a serious bug.
In my case Fedora Core 11 has marked sda9 as bootable(the asterisk sign tells it). To make the system bootable correctly we need to fix this thing up.
First mark your primary partiition(C: drive) as active. Apply this command
# fdisk /dev/sda |
Press 'a' to toggle bootable flag. Enter partition number in my case it's '1' (1 is primary partition usually).
Now we have to remove boot flag from Linux partition. Then again press 'a'. Enter partition number in my case it's '9'. Now write partition table by pressing 'w'
Final partition table becomes
# fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x3c2b3c2b Device Boot Start End Blocks Id System /dev/sda1 * 1 1530 12289693+ 7 HPFS/NTFS /dev/sda2 1531 9728 65850435 f W95 Ext'd (LBA) /dev/sda5 1531 3060 12289693+ 7 HPFS/NTFS /dev/sda6 3061 4335 10241406 7 HPFS/NTFS /dev/sda7 4336 6375 16386268+ 7 HPFS/NTFS /dev/sda8 6376 8223 14844028+ 7 HPFS/NTFS /dev/sda9 8224 8249 204799+ 83 Linux /dev/sda10 8249 9544 10398719+ 8e Linux LVM Disk /dev/dm-0: 9604 MB, 9604956160 bytes 255 heads, 63 sectors/track, 1167 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 |
If it isn't then install mbr, solution matches with this post.
No comments:
Post a Comment