Reset-floppy called错误和Bad partition table错误解决方法
来源:互联网 发布:h5界面设计软件 编辑:程序博客网 时间:2024/05/01 15:52
Reset-floppy called 错误:
floppy.c文件里面:
static void reset_floppy(void)
{
int i;
reset = 0;
cur_spec1 = -1;
cur_rate = -1;
recalibrate = 1;
printk("Reset-floppy called\n\r");
cli();
do_floppy = reset_interrupt;
outb_p(current_DOR & ~0x04,FD_DOR);
for (i=0 ; i<100 ; i++)
__asm__("nop");
outb(current_DOR,FD_DOR);
sti();
}
确定bochs里面的配置文件两个软盘都有即可。
Bad partition table错误解决方法:
在hd.c文件里面
if (bh->b_data[510] != 0x55 || (unsigned char)
bh->b_data[511] != 0xAA) {
printk("Bad partition table on drive %d\n\r",drive);
panic("");
}
第一个和第二个硬盘的mbr既是第一个扇区最后两个字节必须是0x55 0xAA,
如果是刚制作的新img,需要用winhex加上这两个字节。
当然可以把这段去掉,再重新编译内核。
1 0
- Reset-floppy called错误和Bad partition table错误解决方法
- ArcSDE安装:"Bad Login User" 错误解决方法
- R6010 -abort() has been called错误分析及其解决方法
- getDatabase called recursively数据库递归使用错误---解决方法
- R6010 -abort() has been called错误分析及其解决方法
- R6010 -abort() has been called错误分析及其解决方法
- Android:CREATE TABLE android_metadata failed错误解决方法
- Incorrect key file for table错误解决方法
- Connection Reset的错误
- Linux 下执行指令出现“bad interpreter”错误的解决方法
- Linux 下执行指令出现“bad interpreter”错误的解决方法
- Linux 下执行指令出现“bad interpreter”错误的解决方法
- Nginx 502 Bad Gateway错误的原因分析与解决方法
- GHOST出现1801,BAD BLOCK错误提示的解决方法
- nginx+php-fpm出现502 bad gateway错误解决方法
- nginx+php-fpm出现502 bad gateway错误解决方法
- Nginx 502 Bad Gateway 错误的原因及解决方法
- mount: wrong fs type, bad option错误解决方法
- ZOJ-2371
- VIM 常用操作
- HBase数据迁移(2)- 使用bulk load 工具从TSV文件中导入数据
- linux文件系统如何使用emmc的擦除功能(Erase Trim Discard Sanitize)达到最优performance
- 静默安装oracle
- Reset-floppy called错误和Bad partition table错误解决方法
- 泡泡的种类
- 静态库,共享库
- java一定要谨慎的操作!
- emmc boot partition 使用思考
- java笔记8
- boost程序编写步骤
- 使用Bash脚本实现Web服务CGI
- hibernate的单向一对多