中国DOS联盟论坛

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-08-12 07:16
47,811 topics / 349,897 posts / today 0 new / 48,256 members
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区 » Ask experts, how to make grub recognize the second partition of the USB drive?
Printable Version  2,214 / 7
Floor1 zhiguo7 Posted 2007-12-19 22:17
初级用户 Posts 16 Credits 150
I divided a 2GB USB flash drive into two partitions, 230M and 1.7G. I successfully loaded GRUB in the first 230M partition and booted, but GRUB can't find the files in the second partition. How to do it???
Floor2 fastslz Posted 2007-12-20 12:51
铂金会员 Posts 2,315 Credits 5,493 From 上海
标题 启动 USB.img
查找 --set-root /usb.img
映射 --mem /usb.img (fd0)
映射 --hook
链式加载 (fd0)+1
根不验证 (fd0)

标题 启动 USB.lst
查找 --set-root /usb.lst
保存默认 --wait=2
配置文件 /usb.lst

Title start USB.img
find --set-root /usb.img
map --mem /usb.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

Title start USB.lst
find --set-root /usb.lst
savedefault --wait=2
configfile /usb.lst
Floor3 zhiguo7 Posted 2007-12-20 18:02
初级用户 Posts 16 Credits 150
Originally posted by fastslz at 2007-12-20 12:51 PM:
title start USB.img
find --set-root /usb.img
map --mem /usb.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)

title start USB.lst
find --set-root /usb.lst
savedefault --wait=2
...

Thanks for the reply. I'm a newbie, just getting into grub, and I'm a bit confused by the above expert replies: Where does usb.img come from and what does it contain? Similarly, where does usb.lst come from and what's its content?
I tried using the file-finding method to determine the partition, but didn't succeed. I formatted it as usb-fdd format and could only call the content of (fd0), which is the first 230m partition. But the computer recognizes it as usb-zip format, and it can't boot normally... Please explain in detail, I'm really a newbie, heh heh
Floor4 logan0279 Posted 2007-12-27 15:04
初级用户 Posts 45 Credits 100
LZ, what tool did you use to partition the USB flash drive? Can you send me one?
Floor5 zhiguo7 Posted 2008-01-03 18:37
初级用户 Posts 16 Credits 150
Originally posted by logan0279 at 2007-12-27 03:04 PM:
LZ, what tool did you use to partition the USB flash drive? Can you send me one?

It's provided by the official website, and it may only be used for its own brand of USB drives!
Floor6 logan0279 Posted 2008-01-05 12:49
初级用户 Posts 45 Credits 100
Oh! Hehe, I've already found a partition and it's divided!
Floor7 victor888 Posted 2008-01-14 06:19
初级用户 Posts 40 Credits 50
GRUB cannot be found.
You should use USB drivers to load, specifically the two files usbaspi.sys and aspidisk.sys for driving.
Floor8 429499381 Posted 2008-01-14 11:40
中级用户 Posts 202 Credits 452
The problem is solved. Should we write "Solved" in the title!!

As for other problems, you can search first and then talk about it.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023