From b312b6082905800a9d5f5aaeb73af508ba710efe Mon Sep 17 00:00:00 2001 From: rbalocca Date: Thu, 24 Apr 2008 15:27:29 -0700 Subject: Partitions in grub-pc now start at 1 (instead of 0) --- scripts/install-system | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install-system b/scripts/install-system index 61265e54..3b00ecbf 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -557,7 +557,6 @@ install_grub () { # TODO: This needs to be changed to map to the correct drive part=$(echo $ROOT_PARTITION | sed 's/[^0-9]//g') - part=$(($part - 1)) if [ "$(cat /sys/block/$orig_install_drive/removable)" == 0 ]; then root=$(grep $orig_install_drive $rootfsdir/boot/grub/device.map | /usr/bin/awk -F')' '{ print $1 }') root="$root,$part)" -- cgit v1.2.3