FORUMS
Remove All Ads from XDA

[Q] Script to install Ubuntu on TP stucks

7 posts
Thanks Meter: 0
 
By weaseley, Junior Member on 1st April 2013, 05:17 PM
Post Reply Email Thread
I have my TP running webOS and CM9. I wanna get Ubuntu too.
I have tried both 11.04. I stuck up with install script. It ran a bit and stopped.
Then I tried 13.04. Still the script stuck.
I followed all the instruction and everything seemed to go as it should be.
Please guide me. Thanks.
 
 
1st April 2013, 05:59 PM |#2  
blmvxer's Avatar
Senior Member
Thanks Meter: 618
 
Donate to Me
More
Re: [Q] Script to install Ubuntu on TP stucks
Not the correct place for this, goes in [email protected]

Sent from my Nexus 7 using xda app-developers app
1st April 2013, 10:01 PM |#3  
Member
Thanks Meter: 6
 
More
AW: [Q] Script to install Ubuntu on TP stucks
Use xterm in webos instat of novaterm

Sent from my GT-I9300 using xda app-developers app
15th April 2013, 05:17 PM |#4  
OP Junior Member
Flag Phnom Penh
Thanks Meter: 0
 
More
Quote:
Originally Posted by imapjonny

Use xterm in webos instat of novaterm

Sent from my GT-I9300 using xda app-developers app

I couldn't find xterm on webOS. please tell me.
15th April 2013, 06:24 PM |#5  
Member
Thanks Meter: 6
 
More
U need to install preware and after this xterm just google there are lots of how tos

Sent from my GT-I9300 using xda app-developers app
15th April 2013, 06:25 PM |#6  
OP Junior Member
Flag Phnom Penh
Thanks Meter: 0
 
More
Quote:
Originally Posted by imapjonny

U need to install preware and after this xterm just google there are lots of how tos

Sent from my GT-I9300 using xda app-developers app

OK, I got it. Thanks.
16th April 2013, 02:33 AM |#7  
OP Junior Member
Flag Phnom Penh
Thanks Meter: 0
 
More
got Xterm, Xecutah, Xserver, but cannot command anything in Xecutah.
ls -> blank
cd -> command not found....
29th September 2013, 02:34 AM |#8  
Senior Member
NRH, TX.
Thanks Meter: 485
 
More
A good way to umount /media/internal in 3.0.5

Boot into webos
connect usb cable to computer.
novaterm
cp /media/internal/4GBPartition.sh /tmp
cd /tmp

Mount the USB from WebOS to PC
type out the command
umount /media/internal and get ready to hit enter.
eject the touchpad from the pc via windows,osx, linux.. and as soon as you tell it to eject run the umount command from within webos using novaterm. I run it over and over again but it always unmounts the first time.

So your basically unmounting before a process touches the /media/internal partition

Hope this helps.
29th September 2013, 07:06 AM |#9  
Senior Member
NRH, TX.
Thanks Meter: 485
 
More
Even better...

pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 LunaSysMgr
pkill -SIGUSR1 LunaDownloadMgr
pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 tar
umount /media/internal

That works great on 3.0.5.. I saw ar xv and.. perhaps that was tar -xv?

fuser -m /media/internal shows process id's

ps -ef shows you the list...
29th September 2013, 12:26 PM |#10  
Senior Member
NRH, TX.
Thanks Meter: 485
 
More
You will see Luna restart into a session without a background image.. that is okay.

cd /tmp
echo "Thanks to crimsonredmk"
echo "Repartition to create ext3 volume for Ubuntu."
pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 LunaSysMgr
pkill -SIGUSR1 LunaDownloadMgr
pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 tar
pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 LunaSysMgr
pkill -SIGUSR1 LunaDownloadMgr
pkill -SIGUSR1 cryptofs
pkill -SIGUSR1 tar
umount /media/internal
echo "Did the previous line say something about not being able to umount /media/internal? If so, press 1, otherwise press 0."
echo "DO NOT PRESS 0 IF IT DID SAY SOMETHING; THIS CAN LEAD TO DATA LOSS! If it did say something, reboot and try again."
read PROBLEM
if [ $PROBLEM == 1 ];
then echo "Goodbye."
exit
else echo "Ok, continuing."
fi
PARTITION1=4096
PARTITION1SHRINK=4096
echo "Your chosen partition is ${PARTITION1}MB."
CURRENTSIZE=$(lvm.static lvdisplay -c store/media | awk -F: '{print $7/2048}')
echo "Your current media partition is ${CURRENTSIZE}MB."
NEWSIZE=$(($CURRENTSIZE - $PARTITION1))
echo "Your new partition layout will include a ${PARTITION1}MB ext3 lvm partition and a ${NEWSIZE}MB media partition."
echo "Does this seem correct? If so, type 1, if not, type 0."
read OK
if [ $OK == 1 ];
then echo "Ok, continuing."
else echo "Goodbye."
exit
fi
echo "Now resizing your media partition and creating the ut-system partition for Ubuntu"
resizefat /dev/store/media ${NEWSIZE}M
lvresize -L -${PARTITION1SHRINK}M /dev/store/media
lvcreate -L ${PARTITION1}M -n ubuntu-root store
mkfs.ext4 /dev/store/ubuntu-root
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes