Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
sanboot:freedos [2008/11/07 11:47] tristan-777 created |
sanboot:freedos [2008/11/07 14:23] tristan-777 |
||
---|---|---|---|
Line 23: | Line 23: | ||
Once you have the device in place, create the filesystem. | Once you have the device in place, create the filesystem. | ||
- | + | \\ | |
**Example command:** \\ | **Example command:** \\ | ||
- | '' ./makebootfat -v \ \\ | + | ''# ./makebootfat -v \ \\ |
-o /dev/sdb \ \\ | -o /dev/sdb \ \\ | ||
-E 255 \ \\ | -E 255 \ \\ | ||
Line 35: | Line 35: | ||
-c command.com \ \\ | -c command.com \ \\ | ||
image'' | image'' | ||
+ | |||
+ | Note that you need to change the device accordingly. Also, the directory ''image'' must exist for this command to succeed. It doesn't carry any special meaning here. Now you've got a bootable FreeDOS image. | ||
+ | |||
+ | ====== Adding files ====== | ||
+ | When ''makebootfat'' runs, the system doesn't notice the partition table change on that device. To be able to mount the newly created filesystem you need to run \\ | ||
+ | ''# blockdev --rereadpt /dev/sdb'' \\ | ||
+ | Now you can mount ''sdb1'' and add other dirs and files. Take care not to move the ''kernel.sys'' and ''command.com'' files. | ||
+ |