i want setup Linux with my PPC.
i have some problem:
when I click haret-0.3.8.exe then Linux run.
Screen show stop at
Familiar login:root
and Password:rootme
~#
after login, i can't fdisk, because hard keyboard cant add "+31M" . "+" not show.
Who can help me add " + " charactor or telnet PC windows to PPC BlueAngel WM2005 by Haret?
How are you getting HAret to boot linux from WM2005?
From everything I've read and tried, it will only boot from WM2003.
If you have haret booting a kernel from 2005, what's in your default.txt file?
thingonaspring said:
From everything I've read and tried, it will only boot from WM2003.
Click to expand...
Click to collapse
It's not true for a long time. The problem was (as usual) the wince5 misreporting
device RAM size.
you need to set the ramsize variable (if haret does not know that BA uses 128M RAM) and use the "mem=128M" kernel command line parameter.
cr2 said:
It's not true for a long time. The problem was (as usual) the wince5 misreporting
device RAM size.
you need to set the ramsize variable (if haret does not know that BA uses 128M RAM) and use the "mem=128M" kernel command line parameter.
Click to expand...
Click to collapse
Yes I see, i add "mem=128M" haret Running good
after login by user : root
and pass : rootme
~# <== new command
Format SD-Card
Become root and create 2 partitions on the SD-Card
The first partition is for the kernel, startup scripts and bootloader. The second is for the GPE image. One of 30MB (for kernel and bootloader) and another (or rest of SD) for the GPE image.
fdisk /dev/sda
This exmaple assumes that /dev/sda is your sd card on your host.
If you only found /dev/sda1 insted of sda, that means that the card is already formated and contains a partition, in this case you need to delete this partition and create new ones
fdisk /dev/sda1
Press p to list the partitions and its numbers
Press d to delete a partition
Press w to save and exit
Then start creating the partitons on /dev/sda1
Press n to create new partition
Press p to choose type primary
Press enter to default to create partition starting from first cylinder for the first one, or right after it for the second one
Enter size of the new partiton ex: +30M
The first partition you crete (for kernel and bootloader) must be of type that windows understands, like FAT16 or FAT32, or else the card would not be read by the device at all
Press t to change the partition type from "83 Linux" to "c FAT32"
Press w to save and exit
Click to expand...
Click to collapse
i cant add " + "charactor of new partition +30M by hard key BlueAngel.
yoz what is the reason for linux on this...
phongred said:
Yes I see, i add "mem=128M" haret Running good
after login by user : root
and pass : rootme
~# <== new command
i cant add " + "charactor of new partition +30M by hard key BlueAngel.
Click to expand...
Click to collapse
Why would you want linux on a ppc, I mean I know apple just released their joke of a device in vegas (I was there) but what software are you going to use for linux on a BA? Is it to say that you have linux on your device, or? Do tell my brothas!
you are look here:
http://handhelds.org/moin/moin.cgi/BlueAngel
phongred said:
i cant add " + "charactor of new partition +30M by hard key BlueAngel.
Click to expand...
Click to collapse
You can save yourself a lot of trouble if you'll use an USB cardreader on a linux machine.
BA_Flash_GOD said:
Why would you want linux on a ppc
Click to expand...
Click to collapse
They are many reasons. Security, stability, access to >32MB RAM for
one process, etc.
what software are you going to use for linux on a BA?
Click to expand...
Click to collapse
The same i use on my Motorola A780,
which has Linux CoPilot GPS route planner by ALK preinstalled.
Now can you help me setup Linux with o2s wm5? begin to end. thanks
I'm a long-time unix/linux user and I've always been intrigued by this linux port. Does it do the following:
make calls
activesync (or other outlook sync)
wifi
gprs
VNC Client
SSH Client
If it does all of these, I might just be up for jumping aboard. Is the switch-over a one-way thing, or can you go back to Windows Mobile?
Finally, is this still under active development by anyone?
cr2 said:
They are many reasons. Security, stability, access to >32MB RAM for
one process, etc.
The same i use on my Motorola A780,
which has Linux CoPilot GPS route planner by ALK preinstalled.
Click to expand...
Click to collapse
Is that it, software wise.. and security?? Why would anyone want to hack into an aging BA? Not trying to offend just asking valid questions
Related
Hi,
been trying to cook my Alpine ROM, and i'm having some trouble mounting the ms_.nbf.
im trying to mount it in a linux box, and got the error:
mount -o loop -t vfat ms_.nbf /mnt/loop0
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
i just to add/remove some cabs.
any help would be apreciated.
thanks in advance,
Miguel
(imate pda2)
It's been a while since I used linux, but I seem to remember that before trying to mount the loop device, you must first link the /dev/loop0 device to the image file using the command "losetup". Can't remember what the parameters for losetup are though.
Then it was simply "mount /dev/loop0 <mount point>" and the OS worked out the filesystem for itself. But specifying "-t vfat" is also good.
This was on Suse Linux 8.
glick said:
Hi,
been trying to cook my Alpine ROM, and i'm having some trouble mounting the ms_.nbf.
Click to expand...
Click to collapse
The *.nbf file is encoded, so you must decode it into the *.nba. Then there is a ' provider' header in the *.nba
file, so you need to add an offset to the loop command.
Oh yes, I failed to spot that mistake.
The simplest way to decode the .nbf file into a mountable FAT image is to use this program (unfortunately it is a dos/windows program, but if you have an emulator or a dual-boot system then you might be able to use it).
The same tool will also encode the modified FAT image back into a.nbf file ready to burn to the device.
pmandrews said:
The simplest way to decode the .nbf file into a mountable FAT image is to use this program (unfortunately it is a dos/windows program, but if you have an emulator or a dual-boot system then you might be able to use it).
Click to expand...
Click to collapse
It is a perl script/tool and it works on linux natively
without any emulators.
hi !
first of all, tyvm for all your help, gonna try the ideas u guys gave.
at the moment i can see my extended rom and can cook it with the sd card method.
was trying some more "direct" way to do it.
http://forum.xda-developers.com/viewtopic.php?t=31106
I know it's Windows based but it's the easiest way I know of.
It gives the tools to modify the extended roms before they are installed. A lot quicker and easier than the SD method. A rough idea, I modify my ROMs in about 5 minutes from blank, another 5 to install.
pug said:
I know it's Windows based but it's the easiest way I know of.
Click to expand...
Click to collapse
I don't think that
mount -o loop,offset=128 ms_.nba /mnt
is rocket science
All I'm saying is that way the program splits the rom image into header and fat image ready to be mounted wit out having to worry about offsets etc, when you finish, it combines it ready to be flashed.
I agree it's not rocket science but others may do.
No offense but the suggestion wasn't aimed at you, you know what you are talking about. I was just suggesting an alternative to flashing by SD card, as mentioned before in this post, which is far easier and quicker.
At the end of the day I was only trying to help, sorry I got in your way.
1st try with the win gui and all that, worked !!
u are right, it only takes 5 mins, awesome, thank you!
the mount in a linux box will try later, with a lil more time to try and understand that
Off Topic: grats for the excellent forum !
bye,
Miguel
Hi all,
I popped back after some time away to find that you'd now been working on linux for the BA.
Course, eager as ever I dived in and tried to understand what I thought said instructions.
So I downloaded all the required files, and placed them into the folders specified, ran Heret.exe and I get our iccle penguine with a thermometer rising but when it reaches the top thats all it does?
Am I missing something ere?
Gav
I've got it to get to the Portmap, but i'm unable to login via USB.
Has ANYONE managed to deal with this yet?
Gav
it works exactly as advertised on WIKI.
after temp. goes thru the roof and penguin eyes crack, you should see kernel messages scrolling by.
since u don't see that, i'm guessing the kernel cannot be found because u didn't set up the SD card correctly.
post ur SD card partitions (fdisk -l) and also output of ls -lR
before u can login remotely, usb net modules must be loaded (see wiki)
I had realised I had downloaded the initrd-3.6.12-hh2.gz and mapped the startup.txt to that file,
so I downloaded the 2.6 version and changed the startup and I got the kernal message.
It goes through the kernel and I get a usb disconnection notification on xp and activesync disconnects.
As for partitions, how the f**k do I do this, because theres nothing in wm2003se that allows you to partition sd cards, and I don't get any command prompt on the linux kernel.
Also I do get an error that etc/modules directory could not be found but the kernal continues to load.
Regards
Gav
I'm just waiting till their is a complete Linux ROM with a portalable WINE port built in so you can run TomTom. Then I'll be happy. :wink:
man, you need to follow the wiki EXACTLY. u will not get anywhere by skipping steps.
windoze cannot create required fat and ext3 partitions. the fastest way 2 do this is download a linux live cd
judging by ur level of experience, i say leave this alone, until linux for blueangel matures enough for foolproof installation.
and how do I mount this ext3 partition?
(I can only connect to the initrd-filesystem with ssh)
I'm currently running the ooi rom, want to try thr thaihugo rom age of reason, but I'm getting a connection error, only thing I can put it down to is that I'm running Win7 build 7077, anyone able to confirm or help?
Dammo said:
I'm currently running the ooi rom, want to try thr thaihugo rom age of reason, but I'm getting a connection error, only thing I can put it down to is that I'm running Win7 build 7077, anyone able to confirm or help?
Click to expand...
Click to collapse
I flashed iOO's latest ROM from windows 7 without encountering any problems
Just remember to run the .exe file as administrator and in Vista compatibility mode...
Hi where can i download the windows 7 for my shift and instructions on how to flash it i have liberated wm6 thanks and which wm7 build is the best to have on the shift thanks
SULEY1 said:
Hi where can i download the windows 7 for my shift and instructions on how to flash it i have liberated wm6 thanks and which wm7 build is the best to have on the shift thanks
Click to expand...
Click to collapse
I think you are confused about the difference between WM and the x86 side of the shift. Windows 7 is the latest (beta) operating system from microsoft and it doesn't have anything to do with WM.
However, you can download it from known torrent sites. Check out my guide for instructions on how to install it. Build 7077 is the latest leaked build.
When it comes to WM you will find several different ROM versions on this forum. I would recommend Thaihugo's "age of reason" or iOO's ROM.
Yes thanks what i meant was exactly what you are saying i want to run the vista or w 7 on my shift i already installed thaihugos age of reason thanks but i want to run windows 7 on the vista side
Hi deadnex how do i delete ubuntu from my shift cause i just finished downloading windows 7 and i want to install now but i only have 40gb memory and i will like run vista and windows not ubuntu thanks
3 - Then type this commands :
- type CD\
- type DISKPART
- type LIST DISK
- type SELECT DISK X (where X is the memory stick disk number you got from LIST DISK)
- type CLEAN (CAUTION; THIS WILL ERASE ALL THE CONTENTS OF THE SELECTED DISK)
- type CREATE PARTITION PRIMARY
- type SELECT PARTITION 1
- type ACTIVE
- type FORMAT FS=FAT32 QUICK
- type ASSIGN
- type EXIT
- type XCOPY C:\WINDOWS7\*.* /S /E /F E:\ (E: \ is the name of usb stick, if your key has an other letter, of course put your) (after *.* and after each letter preceded by / there's a space!)
ARE WE DOING THIS ON THE SHIFT OR ON A DESK TOP COMPUTER CAUSE THE SHIFT IS NOT ACCEPTING THE COMMANDS
Sorry to disturb you but i succedded in installing windows 7 on my shift but i dont see where it say select partition 1 or 2 to dual boot with vista thank god with your advice i used f f3 to recover the vista os can you pls tell me exactly where i need to input partition 2 instead of 1 cause when istalling w7 on the usb stick it never allows you to select 2 but 1 pls help thanks
FYI, I did an F3 re-install of Vista, flashed to 'Age of reason' and am now back on 7077 Clean installs are always good for the system, 3 in as many days though.....
SULEY1 said:
Hi deadnex how do i delete ubuntu from my shift cause i just finished downloading windows 7 and i want to install now but i only have 40gb memory and i will like run vista and windows not ubuntu thanks
Click to expand...
Click to collapse
Did you install Ubuntu using Wubi installer or did you create a separate partition for it?
If you installed using Wubi installer you can simply uninstall Ubuntu using "Program manager" (in control panel) in Vista.
If you created a separate partition you need to remove the linux partition from your system. This can be done in several different ways:
- Right click on My Computer, select "manage", select "storage management", right click the linux partition and select "remove partition".
In some cases windows will be unable to remove the partition and you will have to use third-party software like Paragon Partion manager or windows built in fdisk (command line partitioning software).
Also note that if you used a boot manager (like LILO or GRUB) and installed it to the MBR of your primary partition you might need to boot the Vista DVD and repair startup problems.
If you made the linux partition "active" you need to use the diskpart command to set Vista "active" again.
I hope this is helpful. Use google for more info. (search for "Ubuntu uninstall guide" or something like that)
SULEY1 said:
3 - Then type this commands :
- type CD\
- type DISKPART
- type LIST DISK
- type SELECT DISK X (where X is the memory stick disk number you got from LIST DISK)
- type CLEAN (CAUTION; THIS WILL ERASE ALL THE CONTENTS OF THE SELECTED DISK)
- type CREATE PARTITION PRIMARY
- type SELECT PARTITION 1
- type ACTIVE
- type FORMAT FS=FAT32 QUICK
- type ASSIGN
- type EXIT
- type XCOPY C:\WINDOWS7\*.* /S /E /F E:\ (E: \ is the name of usb stick, if your key has an other letter, of course put your) (after *.* and after each letter preceded by / there's a space!)
ARE WE DOING THIS ON THE SHIFT OR ON A DESK TOP COMPUTER CAUSE THE SHIFT IS NOT ACCEPTING THE COMMANDS
Click to expand...
Click to collapse
You can do this on the shift or on a desktop computer.
Type the command like this:
C:\> diskpart
SULEY1 said:
Sorry to disturb you but i succedded in installing windows 7 on my shift but i dont see where it say select partition 1 or 2 to dual boot with vista thank god with your advice i used f f3 to recover the vista os can you pls tell me exactly where i need to input partition 2 instead of 1 cause when istalling w7 on the usb stick it never allows you to select 2 but 1 pls help thanks
Click to expand...
Click to collapse
That's because you probably haven't partitioned you harddrive yet.
Use a suitable partitioning program ("Paragon Partition Manager" or similar) and shrink your C: to approximately 20GB. Then create a new partition with the empty space.
Then you will see two partitions in windows 7 setup.
Dammo said:
FYI, I did an F3 re-install of Vista, flashed to 'Age of reason' and am now back on 7077 Clean installs are always good for the system, 3 in as many days though.....
Click to expand...
Click to collapse
Windows 7 RC1 build 7100 has been leaked
I'm doing a clean install later today...
deadnex said:
Windows 7 RC1 build 7100 has been leaked
I'm doing a clean install later today...
Click to expand...
Click to collapse
same here ^^
Right before the Introduction, I am not responsible for anything you do to you Phone, you are free to do or not to do what I am explaining to you so its on your own risk...
Introduction:
Ok guys so here we are, trying to install a Linux Distro on our awesome x86 Phone...
Damn this doesnt work because our Android is compiled in a different way than ARM Android so we have to wait for better Docs or someone who can get the bootloader to laod a different OS...
But you dont want to wait right?
So here we go, the only alternative:
Chroot into Linux
Description:
Chrooting lets you run annother Linux on top of the currently running Linux (what Android actually is...more or less).
So you mount an existing Linux and simply run it.
What I want to do:
I want to guide you through chrooting and setting up an Arch Linux on your RAZR i.
Requirements:
You need:
A micro SD card (I used a 8GB sized one but 4GB/more than 8 should also work, you just have to adjust some Steps)
An Arch Linux Image (I will give you a link)
(Not required but I will focus on this Platform because I use it myself and it works best, I guess)
A Linux PC running Virtual Box
Tutorial:
First you need an Arch Linux Image. Any other Linux Distro should work fine, but others also take up a lot more Space and Ubuntu for Example has many Problems running in Chroot (because Canonical did some S***).
I used this one:
Arch Linux 2012.10.06
Again, any Version should work fine, just took the latest one
So lets set up our System...
Start Virtual Box and create a new System.
Create a new Hard Drive and size it so it fits onto your micro SD.
I used 5 GB-7.5GB on a 8GB micro SD.
Insert the downloaded ISO FIle into the Virtual Box CD Drive and start your Virtual Machine.
Select the i686 mode (because or CPU is 32bit not 64bit)
If you have the wrong Keyboard Layout Follow this Keyboard Setup Keyboard Config
Next you need to partition the HDD: Partitioning the HDD
Now Install the Base System: Install the Base System
After this follow the next Steps on the Arch WIki (Generate an fstab, Chroot and configure the base system, Set the root password and add a regular user)
DO not reboot because you didnt create a Bootloader (not required for chrooting), instead go to the "Extra" Section and follow all Steps till troubleshooting (DO NOT REBOOT AND DO NOT STARTX this didnt work for, might for you, might not and then you have to cold reboot the VM)
Now you can reboot Again enter the Live System, load your keymap and chroot into the system
You might already install some Packages like a VNC server (pacman -S tightvnc) which will be required for a Graphical User Interface later...
To create the Image you need later, the easiest way for me to pull the Image out of the VM (which has no space for this Image) because the Virtual Box Plugin didnt work for me is sshfs.
I highly recommend to install an ssh server ond the sshfs system into you arch.
If you have done so, mount your PC from inside the VM so you can put the Image on your PC's HDD.
now to create an Image of your Arch theres one command and two ways:
You create an Image of the whole HDD (what I did)
You create an Image of the one Partition
I chose the first because i didnt want to put anything else on my micro SD, I cant confirm that the second way works but it is suppoes to so lets create the Image:
We make use of the Linux command dd, really, REALLY mke sure that you are executing from inside the VM since you can harm your HDD and dont forget the file extension....
First method:
Code:
dd if=/dev/sda of=/location/to/your/PC/HDD/imagefilename.img
The Second method (not confirmed):
Code:
dd if=/dev/sda1 of=/location/to/your/PC/HDD/imagefilename.img
where sda1 should be the partition you want to image...
This might take a loooooooong time
Now you have this Image, put your micro SD into an Adapter and put it into your PC.
Now find out the name of the SD, I used gparted and I found out that the name is sdc (could be sd + letter of alphabet)
Here the Ways split again:
The first Method completly overwrites anything that is on your microSD so make a backup, the second Way is just putting the created .img file onto the micro SD:
Method One:
Code:
dd if=/path/of/the/img/file of=/dev/sdc
Replace sdc with your micro SD letter, if you put in a wrong letter, you might overwrite your HDD so be careful, I am not responsible for what you do...
For me my Phone said, the micro SD is empty or has a wrong FIlesystem (its ext4) but you shouldnt care, we can mount it anyway...
Now copy the FIle mountscript.sh to the internal SD (the FIle is in this Posts Attachements)
Next open up a Terminal and type in:
Code:
cat /proc/partitions
You should get a list of all your Partitions, if you followed my Way, the last one should be your micro SD (look at the size) and called like mmcblk1p1
If you followed the Second Way, you dont need this Step...
Now type in the Terminal:
Code:
busybox sh /mnt/sdcard/mountscript.sh
the busybox in the beginning seemed required for me because our busybox is kinda strange...
You will be guide through a little setup, I hope it is selfexplaining...
When the script ran through successfully your terminal should look like [[email protected] /]#
In the next Post I will guide you through the Setup of the VNC Server
Any questions or something doesnt work? Just tell me
//Robert
Post reserved for VNC Tutorial
You can start by grabbing yourself this App...
Guess I forgot something
Added the mountscript as Attachemenet
did anybody try?
//Robert
this should fix network issues:
https://blog.tuinslak.org/socket-permission-denied
Hai Robbilie, After install with Ubuntu PC & turn off pc & All seem ok & at phone till [[email protected] /]# & open installed VNCwith name DLKS & 192.168.0.9 & port 5900 but cant handshake & also try many similar VNC still the same. Unlike our PC where on>boot>desktop shown & can play ? Pls advice. Thks.
i advice tiger vnc, but the console tells you the vnc server started?
btw its only 5900 when its on display 0 when its on display 1 its 5901 and so on...
the used display is shown in the console...
are you running the vnc from root?
How to run vnc from root? i only start separately,pls advice.Thks
if you have a vnc server installed in the chroot environment you need to run
vncserver -geometry 888x540
this is just to fit the phones resolution
I'm following your instructions for this. They are well written but I can't figure out the part about ssh and sshfs. What do you do for that step?
Is there seriously not an easier way such as opening the vdi image with some program and copying and pasting the files to my Windows desktop and then using something like IMGBurn to create an iso file and then convert it to an img file?
Ubuntu ?
Hello
I just see this old news when i would like to install Linux Mobile , any news about or link ?
http://www.firstpost.com/topic/prod...otorola-razr-i-video-9n_E6aapPSo-51417-1.html
Thanks
EDIT : http://sourceforge.net/projects/mpsdk/
I think there is something wrong with it. Some programs does not work well.
fsck always tell me it can not find /etc/fstab
e2fsck does not work on FAT disk
lzy0702 said:
I think there is something wrong with it. Some programs does not work well.
fsck always tell me it can not find /etc/fstab
e2fsck does not work on FAT disk
Click to expand...
Click to collapse
Can you please read before you post. especially the pinned threads, (most of all the fourth one down) they are pinned for a reason, and also stop us having to say this.
It will use the Linux extended file system that you will only be able to mount from a mac or linux machine, on windows you will need software to show mount and show this partition without using the Sony driver.
danw_oz said:
Can you please read before you post. especially the pinned threads, (most of all the fourth one down) they are pinned for a reason, and also stop us having to say this.
It will use the Linux extended file system that you will only be able to mount from a mac or linux machine, on windows you will need software to show mount and show this partition without using the Sony driver.
Click to expand...
Click to collapse
I have read those issue before. I am searching for a tool can run in my phone, because I can't find a computer now.
lzy0702 said:
I have read those issue before. I am searching for a tool can run in my phone, because I can't find a computer now.
Click to expand...
Click to collapse
No, read. Do not post questions in the General Section.
It is linux file system, so from a terminal window you can run unix commands to do checks on the file system.
at terminal window type man fsck
or google fsck (file system check)
danw_oz said:
No, read. Do not post questions in the General Section.
It is linux file system, so from a terminal window you can run unix commands to do checks on the file system.
at terminal window type man fsck
or google fsck (file system check)
Click to expand...
Click to collapse
Did you try this, did it help you?