Please help me
Posted: Wed Dec 03, 2003 12:00 am
hi all
I am developing my kernel using Redhat Linux 8.0 and using bochs for system simulation. I am using GRUB bootloader to load my ELF kernel.
Here's my problem:
1) If I use the floppy as my boot device then the Linux kernel does not load the kernel from the floppy every time I restart bochs. The reason is that Linux finds that the name and size of my kernel doesn't change) and thus probably serves bochs the internally cached version of the kernel when I first mounted my floppy. So any changes that I make to my kernel is not reflected in bochs. The solution ? Well I have to do umount/mount each time (But What a heck of time it consumes).
So if you know of a better alternative please reply here.
2) I tried another way: I made a virtual block device using 'mknod'. But I dont know how to create a file system (coz I am using GRUB) and dont know how to copy my kernel inside it.
Please help. It will save me lot of time.
Thanking
I am developing my kernel using Redhat Linux 8.0 and using bochs for system simulation. I am using GRUB bootloader to load my ELF kernel.
Here's my problem:
1) If I use the floppy as my boot device then the Linux kernel does not load the kernel from the floppy every time I restart bochs. The reason is that Linux finds that the name and size of my kernel doesn't change) and thus probably serves bochs the internally cached version of the kernel when I first mounted my floppy. So any changes that I make to my kernel is not reflected in bochs. The solution ? Well I have to do umount/mount each time (But What a heck of time it consumes).
So if you know of a better alternative please reply here.
2) I tried another way: I made a virtual block device using 'mknod'. But I dont know how to create a file system (coz I am using GRUB) and dont know how to copy my kernel inside it.
Please help. It will save me lot of time.
Thanking