![]() Choosing ext2 as the boot filesystem hides it from windows systems, and makes the second fat32 partition visible. Last_sector = num_cyl*255*63 - 1 = 2008124ĥ) We’ll make two partitions: a small boot partition with a ext2 filesystem and a second fat32 (or ntfs) partition to hold the iso files. Here we’ll use the standard 63 sectors/track and 255 heads, so to calculate the number of cylinders and the last sector of the last cylinder, do the following: ![]() We’ll be using command line linux applications to reach our goal, any distro will do.ġ) Find the path to your usb device, here we’ll use /dev/sdbĢ) Optionally, to erase the usb device, issue the following commands as root:ģ) Note down the size of the device in bytes:Ĥ) To make fdisk happy, partitions must end on cylinder boundaries. We’ll install grub4dos as boot loader, using the ‘triple mbr’ feature to increase the compatibility with different mainboard and BIOS configurations. ![]() This means you can just download almost any bootable iso and boot it without having to burn a cd or unpack the iso. The goal is to make a universal bootable usb device with a small boot partition and a data partition on which we’ll store the iso files.
0 Comments
Leave a Reply. |