![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-11-25 08:38 |
47,820 topics / 349,938 posts / today 0 new / 48,298 members |
| GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » TinyBit, please come in, about GRUB for DOS virtualization |
| Printable Version 4,580 / 27 |
| Floor16 windrv | Posted 2004-09-08 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is a quote from Budian at 18:25:37 on September 4, 2004: Dear Tinybit, Contrary to what you have said about mapping a disk file as C:, we have been able to boot from such disk file as C: and use it both under DOS and Win9x. And the disk file is bootable and formatted beforehand. |
|
| Floor17 不点 | Posted 2004-09-10 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
We have been successful in some occasions of using the 'map' command on NTFS partition. But there are errors sometimes.
Could you tell us in which source file and where therein the 'map' command can be found as well as the NTFS support module so that we understand more about how the bug comes about? The 'map' command is in the builtins.c file, but this command has no direct relation to NTFS, so there may be no need to modify it. The NTFS support module is the fsys_ntfs.c file. I guess that if there is a BUG, it is very likely in this file. Contrary to what you have said about mapping a disk file as C:, we have been able to boot from such disk file as C: and use it both under DOS and Win9x. And the disk file is bootable and formatted beforehand. Yes, as long as there is an MBR in the img file, you can indeed use it smoothly to simulate a hard disk. |
|
| Floor18 windrv | Posted 2004-09-10 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is a quote from Budian at 17:35:50 on September 10, 2004: Dear Tinybit, Thank you for your advice. Is it possible that the routine of checking contiguous file for the 'map' command cannot handle big numbers when the partition size of the hard disk is too large? We are in fact able to boot up such contiguous files on partitions of several gigabytes. |
|
| Floor19 不点 | Posted 2004-09-11 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
Yes, there is indeed a BIG NUMBER problem.
GRUB once defined the total number of sectors as int, which is a signed integer. In recent versions, it has been corrected to unsigned int. However, GRUB always uses 4 bytes to represent integers. So, if your sector number exceeds the representation range of 4 bytes, various errors will occur. This is a problem of GNU GRUB, and I haven't fixed it. All related BUGs are to be fixed by the managers of GNU. |
|
| Floor20 windrv | Posted 2004-09-13 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is the statement by Budian at 19:20:34 on September 11, 2004: Dear Tinybit, According to your advice, I have used the 'blocklist' command to check that file which fails to be'mapped', the result is: blocklist (hd0,0)/part.img (hd0,0)24810224+11671 The 'blocklist' commands seems to implement correctly and indicates that the image file is in one contiguous block. But the'map' command fails to load the file. Is it related to the GNU GRUB problem you referred to above? Could the'map' command handle this issue just like the 'blocklist' command does? |
|
| Floor21 不点 | Posted 2004-09-13 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
Oh! I got the answer: There should only be letters within the filename and no numerals are allowed!
Is that so? So surprising! Only letters are allowed, no numerals for filenames. I've never noticed this before, first time hearing about it. Going to try it out. I thought numerals might be allowed, but spaces might not be. ---------------------- Regarding the continuity processing of the map command, due to your continuous reporting, I'm also researching the root cause of the problem. I just discovered a flaw, maybe it will be fixed after modification, but I'm not sure yet. This might be an oversight after I improved the algorithm. Thanks. |
|
| Floor22 windrv | Posted 2004-09-14 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is a quote from Budian's post on September 13, 2004, at 15:02:17: Dear Tinybit, Thank you for your effort! I hope that your improvement will bring us great convenience of launching various disk-file based operating systems using boot.ini on NTFS partition. Please give us the update when it is ready. By the way, we have put up a new webpage on the homepage link of sourceforge.net for the project of GRUB4DOS & WINGRUB. The webpage has pointings to our webpage on our website therein with links to the webpages for GRUB4DOS on linuxeden.com & Wengier's previous link as site 1 and site 2. If you want to put up more links for GRUB4DOS, please email to bean. His address is [email protected] Also if you have any other ideas about how to design your weblinks or want to have a separate webpage on our site or have a new icon or logo for GRUB4DOS, you are welcome to give us your opinions so that we can serve you. |
|
| Floor23 不点 | Posted 2004-09-14 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
I have no further suggestions, just feel that the files do not seem to have been released on the SourceForge webpage yet.
|
|
| Floor24 windrv | Posted 2004-09-14 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is a quote from Budian at 10:05:49 on September 14, 2004: Dear Tinybit, Bean is writing up the help file for WINGRUB and there may also be some examples of how to use GRUB. As it is ready, files can be uploaded to sourceforge.net or people can download from our site. |
|
| Floor25 不点 | Posted 2004-09-17 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
0.3 series third test version. This can be regarded as alpha testing, with no version number, just using dates to represent different versions. Corrected a very stubborn BUG that the previous version couldn't boot the CDROM.
The CDROM-related commands in this version can still only be used for some ASUS machine models. For ASUS machines, you can report BUGs. Download: http://grub.linuxeden.com/wakka.php?wakka=UploadFile/files.xml&action=download&file=grub-2004-09-17.tar.gz ftp://ftp.linuxeden.com/tinybit/grldr ftp://ftp2.linuxeden.com/tools/grldr ftp://ftp.linuxeden.com/tinybit/grub.exe ftp://ftp2.linuxeden.com/tools/grub.exe Usage: map --cdrom=9 This command directly boots the bootable CDROM disc in the optical drive. If successful, the operating system on the disc will be booted, so it is impossible to return to the current GRUB environment. If it fails, it will return to the current GRUB environment. map --cdrom=8 Similar to the above map --cdrom=9, but just prepares to boot the CDROM, and you need to type a boot command to really start booting the CDROM. map --cdrom=4 This command mounts the optical drive and makes it BIOS hard disk 0x80. The original hard disk numbers in the machine are correspondingly increased by 1, becoming 0x81, 0x82, etc. If successful, you can use root (hd0)/ (here it means pressing the Tab key) to list the files on the disc. That is, at this time, (hd0) is the optical disc medium, and (hd1) is your original hard disk C:. map --cdrom=-1 This command unmounts the mount established by map --cdrom=4 and restores the BIOS disk numbers to the original values. In the case of the Microsoft win98 installation disc, since the position of the 1.44M floppy disk image is at optical disc absolute sector 0x15, and this uses a sector of 2048 bytes, translated into a sector of 512 bytes, it is at optical disc absolute sector 0x54, which is 84 in decimal, so you can simulate the floppy disk like this (note that it is using the sector sequence on the disc to simulate the floppy disk): map (hd0)84+2880 (fd0) map --hook Now you can use root (fd0)/ to list the files in the virtual floppy disk. In addition, the blocklist command can also be used to verify that any file on the disc is continuous and has no fragmentation. Therefore, the img file on the disc can always be used for disk simulation. ---------------------------------- Try windrv to see if the error in map judging continuity has been corrected. |
|
| Floor26 windrv | Posted 2004-09-20 00:00 |
| 中级用户 Posts 118 Credits 385 | |
|
Dear Tinybit,
Initial testing shows that the updated version of grldr in relation to the 'map' command does not yet work. |
|
| Floor27 不点 | Posted 2004-09-20 00:00 |
| 银牌会员 Posts 1,115 Credits 2,491 | |
|
The method for determining the continuity of files in the old version is: read the entire file, check each read sector to see if they are continuous. This method can succeed but is very slow.
The method for determining the continuity of files in the new version is: read the first sector, determine the position of the starting sector, then read the last sector, determine the position of the ending sector. With the physical positions of the starting and ending sectors, and comparing with the length of the file, the conclusion whether all sectors in the file are continuous can be drawn. I am going to release a debug version tonight, specifically for map continuity check. It is still the above download address, but the file date will change. Please, windrv, pay attention to check and receive. |
|
| Floor28 windrv | Posted 2004-09-20 00:00 |
| 中级用户 Posts 118 Credits 385 | |
The following is the speech by Budian on 2004-9-20 15:42:30: Thanks a lot! |
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |