China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-25 03:41
中国DOS联盟论坛 » GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Which expert can compress grub.exe to within 88K? View 1,581 Replies 11
Original Poster Posted 2007-09-16 10:31 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
As the title.

The version of grub.exe is grub4dos-0.4.3-2007-08-27

Thanks in advance.
Floor 2 Posted 2007-09-16 15:10 ·  中国 上海 浦东新区 电信
金牌会员
★★★★
Credits 3,467
Posts 1,616
Joined 2004-06-21 00:00
22-year member
UID 27148
Status Offline
Floor 3 Posted 2007-09-16 15:33 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Because it needs to be put into a standard 2.88M Floppy Image, updating the old GRUB.EXE, there is not enough space.

Compressed with UPX, it is still over 98K, which is a bit large.

[ Last edited by martin325 on 2007-9-16 at 03:35 PM ]
Floor 4 Posted 2007-09-17 17:21 ·  中国 四川 南充 营山县 电信
超级版主
★★★★
我爱DOS
Credits 5,310
Posts 2,044
Joined 2005-09-26 12:00
20-year member
UID 42843
Gender Male
From 四川南充
Status Offline
Floor 5 Posted 2007-09-17 17:46 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Originally posted by Can't Help Falling in Love at 2007-9-17 17:21:
If there is not enough space, just increase the volume of the IMG file.

It seems that only this way can be dealt with...
Floor 6 Posted 2007-09-17 17:58 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Non-standard IMG files are prone to errors when copying files. Especially when copying Ghost 11 which is over 1MB.
Floor 7 Posted 2007-09-17 18:58 ·  中国 广东 广州 白云区 电信
初级用户
Credits 30
Posts 12
Joined 2007-03-16 22:22
19-year member
UID 81983
Gender Male
Status Offline
Originally posted by martin325 at 2007-9-17 05:58 PM:
Non-standard IMG files are prone to errors when copying files. Especially when copying Ghost 11 which is larger than 1MB.

  Your IMG should contain many files. Why do you have to compress it with GRUB4DOS? If you do compress it, why be so aggressive? You don't compress the large Ghost 11, but pick on a small one. Hmm! Not worthy of a hero!
Floor 8 Posted 2007-09-17 20:47 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Originally posted by pky317 at 2007-9-17 18:58:

There should be quite a few files in your IMG. Why do you have to compress GRUB4DOS? If you have to compress, why be so aggressive? You don't compress the big guy Ghost11, but you have to pick on the small one. Hmph! That's not the act of a true man!

It seems you are a "master".
Please tell me how to compress GHOST?

;)
Floor 9 Posted 2007-09-20 15:20 ·  中国 广东 广州 白云区 电信
初级用户
Credits 30
Posts 12
Joined 2007-03-16 22:22
19-year member
UID 81983
Gender Male
Status Offline
Ashamed! "Expert" is really not worthy of that title. I have no grudge against GHOST, and I never thought of oppressing it. It's no easy task for me to compress GHOST. Just do your best!

memdisk supports a 3840K floppy disk image (I forgot the C, H, S). This image can be used to make a bootable CD, so you might as well give it a try.
Floor 10 Posted 2007-09-20 15:52 ·  中国 浙江 杭州 电信
银牌会员
★★★
Credits 1,582
Posts 603
Joined 2006-02-20 20:26
20-year member
UID 50690
Status Offline
Originally posted by pky317 at 2007-9-20 15:20:
Ashamed! I can't be called a "master". I have no grudge against GHOST and never thought of oppressing it. It's no easy task for me to compress GHOST. Just do me a favor!
memdisk supports 3840K floppy disk images (for C, H, S, I forgot), and this image can be used to make a bootable CD. You might as well give it a try.

Forget it. It seems no one will help me fulfill my wish. I have to clean up the image files and free up some space.

I don't really like using non-standard ones.
Floor 11 Posted 2007-09-20 16:10 ·  中国 广东 广州 白云区 电信
初级用户
Credits 30
Posts 12
Joined 2007-03-16 22:22
19-year member
UID 81983
Gender Male
Status Offline
Sorry! I made a mistake. The bootable CD made from the floppy disk image of 3840K (C=80 H=2 S=48) cannot boot. However, you can enter GRUB4DOS and use map or memdisk to boot this image (no need to specify CHS parameters). So what if it's not standard? As long as it works! I'm using it very happily!

[ Last edited by pky317 on 2007-9-20 at 05:40 PM ]
Floor 12 Posted 2007-09-23 10:26 ·  中国 广西 梧州 电信
中级用户
★★
Credits 398
Posts 204
Joined 2006-09-18 05:11
19-year member
UID 62932
Gender Male
From 广西
Status Offline
Yeah, that's right. As long as it works, I'll support it as long as it's useful
Forum Jump: