Fix some intending errors in USB creation

This was causing sfdisk and grub to balk

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2008-12-23 02:23:22 -06:00
parent 29f5c0373c
commit f47fde8485

View File

@ -286,17 +286,17 @@ command_usb () {
# create a partition table
# if this looks like voodoo, it's because it is
sfdisk -uS -f "${imgname}" << EOF
63,$imgsz,83,*
0,0,00
0,0,00
0,0,00
63,$imgsz,83,*
0,0,00
0,0,00
0,0,00
EOF
# install grub on the image
grub --no-floppy --batch << EOF
device (hd0) ${imgname}
root (hd0,0)
setup (hd0)
device (hd0) ${imgname}
root (hd0,0)
setup (hd0)
EOF
}