caveman
|
2012-09-11
, 11:59
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#381
|
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2012-09-11
, 14:07
|
Posts: 17 |
Thanked: 6 times |
Joined on Sep 2012
|
#382
|
|
2012-09-11
, 14:08
|
Posts: 17 |
Thanked: 6 times |
Joined on Sep 2012
|
#383
|
|
2012-09-11
, 21:38
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#384
|
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2012-09-12
, 09:08
|
|
Posts: 27 |
Thanked: 57 times |
Joined on May 2012
@ France
|
#386
|
There's a small typo in the install.sh script which turns two arguments into one:
=== modified file 'install.sh'
*** install.sh 2012-06-28 02:57:10 +0000
--- install.sh 2012-07-15 20:39:48 +0000
***************
*** 306,312 ****
[[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1
mkdir -p "$mountpoint_ubuntu"
skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')"
! mount -o "loop,offset=${skip}" -t auto "$image_name_raw $mountpoint_ubuntu" || exit 1
rm "${mountpoint_ubuntu}SWAP.swap"
cp -av "$mountpoint_ubuntu"* "$mountpoint_target"
umount "$mountpoint_ubuntu"
--- 306,312 ----
[[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1
mkdir -p "$mountpoint_ubuntu"
skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')"
! mount -o "loop,offset=${skip}" -t auto $image_name_raw $mountpoint_ubuntu || exit 1
rm "${mountpoint_ubuntu}SWAP.swap"
cp -av "$mountpoint_ubuntu"* "$mountpoint_target"
umount "$mountpoint_ubuntu"
The Following User Says Thank You to kinchan For This Useful Post: | ||
|
2012-09-12
, 15:30
|
Posts: 17 |
Thanked: 6 times |
Joined on Sep 2012
|
#387
|
|
2012-09-14
, 10:07
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#388
|
The Following User Says Thank You to nicolai For This Useful Post: | ||
|
2012-09-14
, 13:59
|
Posts: 191 |
Thanked: 415 times |
Joined on Jan 2012
|
#389
|
Hi,
can someone explain to me why the install script tries to boot
the system.
The Following User Says Thank You to caveman For This Useful Post: | ||
|
2012-09-14
, 14:05
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#390
|
The Following User Says Thank You to nicolai For This Useful Post: | ||