Page 1 of 1
bootloader how to change to boot from cdrom?
Posted: Tue Sep 09, 2008 8:50 pm
by oohayulin
bootloader how to change to boot from cdrom?
If a bootloader in harddisk, when it boot, how to let it boot from cdrom?
Dont need to load driver, parse filesystem, just to boot from cdrom.
just like chainloader in grub.
Re: bootloader how to change to boot from cdrom?
Posted: Tue Sep 09, 2008 9:26 pm
by cr2
oohayulin wrote:
bootloader how to change to boot from cdrom?
If a bootloader in harddisk, when it boot, how to let it boot from cdrom?
Dont need to load driver, parse filesystem, just to boot from cdrom.
just like chainloader in grub.
I can barely understand you. Is English your first language or not?
If your bootloader is not a harddisk, I believe you just run the bootsector on the CD-ROM to have it boot.
Dont need to load driver, parse filesystem, just to boot from cdrom.
Yes...you...do...need...a...driver...to...boot...from...CD-ROM...
...but you don't need to parse the filesystem (if I am correct...)
Re: bootloader how to change to boot from cdrom?
Posted: Tue Sep 09, 2008 10:06 pm
by oohayulin
my usecase:
When I boot from harddisk with this "bootloader", it will check the cdrom whether it is the "OUR PRODUCT CD", if it is, this "bootloader" will change to boot from cdrom.
So in this way our product dont need the user to modify the Boot Device Order in BIOS. It is our target.
Re: bootloader how to change to boot from cdrom?
Posted: Tue Sep 09, 2008 10:11 pm
by cr2
post your code.
oohayulin wrote:So in this way our product dont need the user to modify the Boot Device Order in BIOS. It is our target.
What if your hard disk's bootsector gets corrupted? How will the user access his computer?
Yep. You still need the boot device order.
Re: bootloader how to change to boot from cdrom?
Posted: Tue Sep 09, 2008 10:17 pm
by oohayulin
cr2 wrote:post your code.
oohayulin wrote:So in this way our product dont need the user to modify the Boot Device Order in BIOS. It is our target.
What if your hard disk's bootsector gets corrupted? How will the user access his computer?
Yep. You still need the boot device order.
You are right.
But we just need this bootloader once in this reboot session.
When we finish the function on CDROM, we will restore the mbr.