LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-19-2005, 08:53 AM   #1
Sakur
LQ Newbie
 
Registered: Mar 2005
Location: China
Distribution: FC3
Posts: 25

Rep: Reputation: 15
Question Cant boot Linux Gui (GPE) for my ipaq 1940


I have ipaq 1940 and i succeeded booting linux console on it which communicates with my Linux host through SSH,(Using haret.exe,compiling my own kernel),Unfortunately ,There is no vitual keybord available,so you have to get kind of GUI environment ,I have googled it and find available informations on handhelds.org,I followed the step one by one,choosing GPE for my gui environment.GPE is based on X window and GTK2. I used haret.exe to load the kernel which had loop device support and making a ramdisk to initialize it.When i run haret.exe in windows CE,ipaq box got rebooting,you could see a penguin,then the executable "linuxrc " in my initrd began to execute,linuxrc was following:

#!/bin/sh

export PATH="/bin:/sbin:/usr/sbin"
echo "Booting Linux" > /dev/tty1
sleep 3
echo "Using kernel `uname -r`" > /dev/tty1
echo "Configuring usb0 to 192.168.6.2..." > /dev/tty1
ifconfig usb0 192.168.6.2
echo "Mounting /dev/mmcblk0p1 to /mnt/sdcard..." > /dev/tty1
mount /dev/mmcblk0p1 /mnt/sdcard
echo "Setting up loop device..." > /dev/tty1
losetup /dev/loop0 /mnt/sdcard/gpe
echo "Mounting rootfs to /mnt/temproot..." > /dev/tty1
mount -t ext2 -o rw /dev/loop0 /mnt/temproot
echo "Executing pivot_root..." > /dev/tty1
cd /mnt/temproot
if [ ! -d initrd ]; then
mkdir initrd
fi
pivot_root . initrd
echo "Executing init..." > /dev/tty1
exec chroot . /sbin/init <dev/tty1 >dev/tty1 2>&amp;1
echo "Unmounting ramdisk..." > /dev/tty1
umount /initrd

gpe is the GPE image file on my SD card, which is like a common initrd but includs X lib,GTK lib,and gpe stuffs. The booting coud step to "pivot_root",then when it began execute "exec chroot . /sbin/init......", the screen in my handheld was locked at "Executing init...", after several secs,my 1940 got hard reset,and booted to winCE again. i tryed lots of test,finding out this problem had nothing to do with the binary "/sbin/init".There was no debug info available, any one could help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iPaq and Linux CPUFreak91 Linux - Laptop and Netbook 2 10-18-2005 01:58 AM
iPAQ 1940, Synce and SuSE 9.1 S.B. Linux - Laptop and Netbook 1 01-10-2005 02:03 PM
File transfer between iPaq 1940 and linux unholy Linux - Laptop and Netbook 3 05-04-2004 02:39 AM
Newbie, making linux boot to text instead of GUI Irongut Linux - Software 4 05-14-2003 06:00 PM
Linux on an iPAQ rootboy Linux - Distributions 4 11-20-2001 12:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration