Author Topic: Debian Etch Recovery.img  (Read 15609 times)

LilYoda

  • Newbie
  • *
  • Posts: 25
Re: Debian Etch Recovery.img
« Reply #45 on: June 03, 2009, 01:12:28 PM »
Maybe we will see a 2.6 kernel someday.
I bricked my device a dozen times trying to find the correct FB driver in the 2.6 kernel  ;D  But still working on it!

Thanks for the work so far man, downloading your .img file to get a good rootfs :)

Has there been any progress on compiling a working 2.6 kernel?
If by progress you mean me progressing from insulting the device to actually beating it up with a stick, yeah, there is progress.

No luck at all on my side, but on the other hand I'm on a business trip so won't work on it for another 10 days at least

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #46 on: June 03, 2009, 07:22:20 PM »
Code: [Select]
mknod /dev/mmc0 b 243 0
mknod /dev/mmc0p1 b 243 1
mknod /dev/mmc0p2 b 243 2
mknod /dev/mmc0p3 b 243 3

mkdir /mnt/sd
mount /dev/mmc0p1 /mnt/sd

Works a treat!!

I have a few question:

1, I have made a script using the above script!! What would be the best way to auto load the script?

2, how do i get startx to load automatically?
I have tried adding the following: to /etc/init.d/rcS
Quote
export PATH=$PATH:/usr/X11R6/bin
su user -c "startx > /dev/null &"

Thanks for being patient with me!

______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

mewtwo

  • Jr. Member
  • **
  • Posts: 52
Re: Debian Etch Recovery.img
« Reply #47 on: June 03, 2009, 09:08:11 PM »
Code: [Select]
mknod /dev/mmc0 b 243 0
mknod /dev/mmc0p1 b 243 1
mknod /dev/mmc0p2 b 243 2
mknod /dev/mmc0p3 b 243 3

mkdir /mnt/sd
mount /dev/mmc0p1 /mnt/sd

Works a treat!!
Ah, thank you a lot!
Quote

I have a few question:

1, I have made a script using the above script!! What would be the best way to auto load the script?
You may edit the /etc/init.d/init-stuff.sh script - I've put some things to initialize the hardware there.
I noticed that linking it to /etc/rc5.d/S15init-stuff was a bad idea as some things that are needed by the mount and modprobe commands later are not initialized than. I therefore removed remove /etc/rc5.d/S15init-stuff and added /etc/init.d/init-stuff.sh to /etc/rc.local (of cause bafore the exit 0) (get's run after system init scripts)
Code: [Select]
#!/bin/sh

cd /dev
./MAKEDEV fb0
./MAKEDEV input
./MAKEDEV sda
./MAKEDEV rtc

hwclock -s

mknod /dev/mmc0 b 243 0
mknod /dev/mmc0p1 b 243 1
mknod /dev/mmc0p2 b 243 2
mknod /dev/mmc0p4 b 243 3

mkdir /media/usb0
mkdir /media/usb1
mkdir /media/usb2

mkdir /media/sd

# Automounting the SD card - you may do this as a cron job
# but this would be just another process consuming valuable
# ram and cpu time..
if test $(cat /proc/jz/mmc) = "INSERT" ; then
mount /dev/mmc0p1 /media/sd
fi

modprobe usb-storage
Quote

2, how do i get startx to load automatically?
I have tried adding the following: to /etc/init.d/rcS
Quote
export PATH=$PATH:/usr/X11R6/bin
su user -c "startx > /dev/null &"
You may do the same with startx, just add it to /etc/rc.local

P.S.: Do you have the same issue with non working halt or reboot?

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #48 on: June 04, 2009, 06:21:57 AM »
P.S.: Do you have the same issue with non working halt or reboot?

it does hang a while but it does reboot!!!

I tried adding the commands to the rc.local but it had no effect!!

I will do some more playing around when i get in!!

Cheers for the tips!!
______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

doobe

  • Newbie
  • *
  • Posts: 8
Re: Debian Etch Recovery.img
« Reply #49 on: June 05, 2009, 11:43:20 PM »
...

I can fully understand why the developers never delved into o fully fledged Debian distro for this device, the space available isnt alot and you have to weight up the fuctionality of the software against it installed size!!

...
You can always prune what has been installed. Quite often there is a large amount of language localisation stuff for which I presume you'll only need your native language, there are other thng you don't need you can get rid of too to make more space. Also you can mount the second partiton anywhere you think you might need more space if you have a 2GB version.

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #50 on: June 05, 2009, 11:47:48 PM »
Also you can mount the second partiton anywhere you think you might need more space if you have a 2GB version.

How would i know what size SSD i have?



______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

g3wyw

  • Newbie
  • *
  • Posts: 25
Re: Debian Etch Recovery.img
« Reply #51 on: June 06, 2009, 07:37:02 PM »
Thanks to mewtwo for this but I cant download it succesfully.

Anyone got another download location for this?

Recovery_Debian_Etch+X.img

Ive tried about 6 times now and it always times out.

Really keen to get this running as there are some great hamradio apps that I think will run just great on the LLL.

G3WYW Paul

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #52 on: June 07, 2009, 10:45:04 AM »
Also you can mount the second partiton anywhere you think you might need more space if you have a 2GB version.

Are there any instructions for mounting the free space??

I have tried searching http://projects.kwaak.net/twiki/bin/view/Epc700/WebHome

df -h
Filesystem            Size     Used   Avail  Use%   Mounted on
/dev/nand            1014M  839M  176M  83%     /
tmpfs                  62M     0        62M   0%       /lib/init/rw
tmpfs                  62M     0        62M   0%      /dev/shm
tmpfs                  62M     32K     62M   1%      /var/run


Thanks to mewtwo for this but I cant download it succesfully.

Anyone got another download location for this?

Recovery_Debian_Etch+X.img

Ive tried about 6 times now and it always times out.

Really keen to get this running as there are some great hamradio apps that I think will run just great on the LLL.

G3WYW Paul

I just tried and it downloaded fine
______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

doobe

  • Newbie
  • *
  • Posts: 8
Re: Debian Etch Recovery.img
« Reply #53 on: June 07, 2009, 11:53:15 AM »
The free space will be /dev/nand2

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #54 on: June 07, 2009, 05:58:07 PM »
i cant get Debian etch thing working!!

I cant figure out how to mount /dev/nand2 
I have tried:
Quote
./MAKEDEV nand2

Quote
mount /dev/nand2 /mnt


I cant even find it when doing:
Quote
cd /dev
ls

______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)

Mijzelf

  • Full Member
  • ***
  • Posts: 140
Re: Debian Etch Recovery.img
« Reply #55 on: June 07, 2009, 07:21:57 PM »
You can try

mknod /dev/nand2 b 31 5

mount /dev/nand2 /mnt

g3wyw

  • Newbie
  • *
  • Posts: 25
Re: Debian Etch Recovery.img
« Reply #56 on: June 07, 2009, 09:26:09 PM »
Recovery_Debian_Etch+X.img
[/quote]

Ive tried about 6 times now and it always times out.

Really keen to get this running as there are some great hamradio apps that I think will run just great on the LLL.

G3WYW Paul
[/quote]

I just tried and it downloaded fine
[/quote]

Hi Duttydea,

Well It times out around 6Mb into the load everytime. :(  I'm using XP Pro and double clickng on the link and selecting save as file to Disk. My ISP is demon in the UK, so maybe their links arent good.

actually apart from seeing how it was done, I'm probably past that now as I have also got jwm running on mine now  :) and got some basic apps on it now, with top, aptitude, mc, xterm. Not familiar with jwm but learning fast!

apt-get works really well. used it to get the X11 and jwm from debian.  (apt-get install xwindow-system jwm )

paul G3WYW


wicknix

  • Hero Member
  • *****
  • Posts: 630
Re: Debian Etch Recovery.img
« Reply #57 on: June 08, 2009, 04:12:39 AM »
Since i was hung over today after a night a drinking mixed brands of beer and reading this really long thread you guys sparked my interest. So... after reading all the tips, hints and complaints and issues i went ahead and made a 99% fully working etch recovery.img.  ;D

I included a couple things from the default OS / 3MX to make life easier on everybody along with some craftiness on my part. Auto mounting of USB/SD cards now works flawlessly (thanks to me incorporating desktop-backend). Connecting to wireless networks is a breeze now as i included a GUI connection tool. I added a working script to load all kernel modules plus included the extra ntfs/ext2/tun/smbfs modules and a slew of other fixes/hacks. Also got tethered internet connection via cellphone (at&t blackjack2) working. Added a slew of missing device entries in /dev and a bunch more things i'm forgetting about at the moment.

This should be the perfect starting block for anybody wanting to use etch on their minibook. Most the of initial headaches this thread points to are fixed and it comes with just enough applications to be useful out of the box.

I hope to have it uploaded later today (monday) or by tuesday for sure. Stay tuned.

(P.S. I'll also be uploading the Retro recovery.img then also.)

Cheers.

Whiskers

  • Full Member
  • ***
  • Posts: 127
Re: Debian Etch Recovery.img
« Reply #58 on: June 08, 2009, 11:37:44 AM »
Since i was hung over today after a night a drinking mixed brands of beer and reading this really long thread you guys sparked my interest. So... after reading all the tips, hints and complaints and issues i went ahead and made a 99% fully working etch recovery.img.  ;D

[...]

Cheers.

What is the hackers' brew that enables such productivity?  Or is it a secret?  <Grin>
CnMbook user since March 2009; Linux user since about 2003.

duttydea

  • Full Member
  • ***
  • Posts: 136
  • You wont know untill you search, then ask!!
Re: Debian Etch Recovery.img
« Reply #59 on: June 08, 2009, 12:07:03 PM »
If I wanted to access a samba share would I have to install samba or any modules?

What command would I have to use?

The Nas IP Address is: 192.168.1.252 (Its a Emprex ME1 with the Debian Etch Image hack)
and the shares are :
Tvshow
Movies
Pictures
Movies
Music

Thanks in advance
______________________________________________
CnM MiniBook : 3MX RC3.1 / Custom Debian (DLA)
Desktop: XP PRO & Vista
Linux Knowledge: Restricted to 3MX & Debian Etch (Basic)