summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2011-09-04 13:55:34 (GMT)
committer Jaromil <jaromil@dyne.org>2011-09-04 13:55:34 (GMT)
commit30a9042fe586cae29df600ff8d56f2670a3a2ade (patch)
tree1860fa15d195dd177e3e611a137de4d8dad22f4a
parent41143e0737cc0f672de91e1ff1b1c6ef9d455a01 (diff)
scripts to install the iso to boot from hd (grub2) or from usb
-rwxr-xr-xdyneIII/install-grub24
-rwxr-xr-xdyneIII/install-usb-live7
2 files changed, 6 insertions, 5 deletions
diff --git a/dyneIII/install-grub2 b/dyneIII/install-grub2
index 35bad78..8c65200 100755
--- a/dyneIII/install-grub2
+++ b/dyneIII/install-grub2
@@ -25,11 +25,11 @@ cat <<EOF > /etc/grub.d/35_dynebolic
#!/bin/sh
exec tail -n +3 \$0
# This file adds a grub entry to boot into a dynebolic iso
-menuentry "dyne:bolic 3.0" --class gnu-linux --class gnu --class os {
+menuentry "dyne:III - live dynebolic system" --class gnu-linux --class gnu --class os {
search --set --file $ISOPATH
loopback loop $ISOPATH
root=(loop)
- linux /live/vmlinuz boot=live iso-scan/filename=$ISOPATH noeject noprompt --
+ linux /live/vmlinuz boot=live dyneiso=$ISOPATH noeject noprompt --
initrd /live/initrd.img
}
EOF
diff --git a/dyneIII/install-usb-live b/dyneIII/install-usb-live
index beda14c..5cfcbad 100755
--- a/dyneIII/install-usb-live
+++ b/dyneIII/install-usb-live
@@ -46,7 +46,7 @@ echo "device correctly mounted:"
mount | grep "${DEVICE}"
echo "starting to copy ISO file..."
-sudo rsync -P ${ISOPATH}/${ISO} ${MNT}
+sudo rsync --inplace -P ${ISOPATH}/${ISO} ${MNT}
echo "installing grub..."
# install grub2 on usb pen
@@ -61,13 +61,14 @@ insmod iso9660
set menu_color_normal=white/blue
set_menu_color_highlight=blue/light-gray
-menuentry "dyne:bolic 3.0" --class gnu-linux --class gnu --class os {
+menuentry "dyne:III" --class gnu-linux --class gnu --class os {
iso_path=/${ISO}
export iso_path
search --set --file \$iso_path
loopback loop \$iso_path
root=(loop)
- linux /live/vmlinuz boot=live iso-scan/filename=\$iso_path fromiso=/dev/sdb1\$iso_path noeject noprompt --
+ gfxpayload=1024x768
+ linux /live/vmlinuz boot=live dyneiso=\$iso_path noeject --
initrd /live/initrd.img
}
EOF