Changeset 3485 in MondoRescue
- Timestamp:
- Dec 1, 2015, 4:20:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi/mindi
r3483 r3485 1918 1918 mkdir -p $mountpoint 1919 1919 dd if=/dev/zero of=$imagefile bs=1k count=$BOOT_SIZE &> /dev/null || Die "Cannot dd blank file" 1920 if [ "$BOOT_TYPE" = "BIOS" ]; then1921 # syslinux should be run on a local file (doen't work through NFS Cf: #297)1922 syslinux $imagefile >> $LOGFILE 2>> $LOGFILE1923 imagefile2=$imagefile1924 fi1925 1920 if [ "$BOOT_TYPE" = "UEFI" ]; then 1926 1921 # Should be GPT in that case to allow direct boot … … 1932 1927 LogFile "INFO: Creating vfat filesystem on $imagefile" 1933 1928 mkfs.vfat $imagefile2 >> $LOGFILE 2>> $LOGFILE 1929 1930 if [ "$BOOT_TYPE" = "BIOS" ]; then 1931 # syslinux should be run on a local file (doen't work through NFS Cf: #297) 1932 # and run after the formating for versions > 6 it seems 1933 syslinux $imagefile >> $LOGFILE 2>> $LOGFILE 1934 imagefile2=$imagefile 1935 fi 1934 1936 1935 1937 # Only move it now to its final destination and use it now
Note:
See TracChangeset
for help on using the changeset viewer.