Home | History | Annotate | Download | only in util

Lines Matching refs:image

2 # grub-image - Create a GRUB boot filesystem image and tarball
59 image=$bootdir.ext2fs
74 # Create a new filesystem image of the specified size.
75 if test ! -f $image; then
81 echo "# Creating $SIZE disk image \`$image'"
82 trap "rm -f $image" 0
83 dd if=/dev/zero of=$image bs=$SIZE count=1 >/dev/null
84 $mke2fs -F $image
89 # Attempt to mount the image.
90 echo "# Mounting \`$image'"
94 settrans -a $bootdir /hurd/ext2fs $image
102 if /sbin/losetup /dev/loop$i $image; then
114 echo "$progname: Mounting \`$image' under \`$host_os' is not supported" 1>&2
120 # Extract our tarball into the image, then unmount it.
121 echo "# Copying files into \`$image':"
124 echo "# \`$image' usage:"
129 # Use the GRUB shell to properly set up GRUB on the image.
130 echo "# Installing GRUB in \`$image'"
132 device (fd0) $image