TEN
Re: Howto: Install readonly emdebian on NAND - without USB drive? September 27, 2010 04:12PM |
Re: Help Re Corrupted U-boot Environment? September 28, 2010 12:45AM |
Registered: 14 years ago Posts: 17 |
trock
Re: Install readonly embdebian on NAND October 03, 2010 06:05PM |
Quote
mxspy
I got some problem on boot (add some dirs /tmp/xxx) because the filesystem was read-only - so the network does not come up.
I have used the serial-console to make the rest of the installation, after a remount.
Re: Install readonly embdebian on NAND October 08, 2010 01:24PM |
Registered: 14 years ago Posts: 408 |
TEN
Emdebian installer has "Hmms", then boot does not complete to get IP address and open shell - however Debian works on the same system October 12, 2010 01:52PM |
Quote
Selecting previously deselected package linux-image-2.6.32-dockstar.
(Reading database ... 4539 files and directories currently installed.)
Unpacking linux-image-2.6.32-dockstar (from /tmp/kernel.deb) ...
Done.
Setting up linux-image-2.6.32-dockstar (1.1) ...
Hmm. There is a symbolic link /lib/modules/2.6.32-dockstar/build
However, I can not read it: No such file or directory
Therefore, I am deleting /lib/modules/2.6.32-dockstar/build
Hmm. The package shipped with a symbolic link /lib/modules/2.6.32-dockstar/source
However, I can not read the target: No such file or directory
Therefore, I am deleting /lib/modules/2.6.32-dockstar/source
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-dockstar /boot/vmlinuz-2.6.32-dockstar
update-initramfs: Generating /boot/initrd.img-2.6.32-dockstar
df: Warning: cannot read table of mounted file systems: No such file or directory
warning: can't open /etc/mtab: No such file or directory
warning: can't open /etc/mtab: No such file or directory
Connecting to ftp.us.debian.org (204.152.191.39:80)
mkimage.deb 100% |*******************************| 11396 --:--:-- ETA
Selecting previously deselected package uboot-mkimage.
(Reading database ... 6458 files and directories currently installed.)
Unpacking uboot-mkimage (from /tmp/mkimage.deb) ...
Setting up uboot-mkimage (0.4) ...
Connecting to ftp.us.debian.org (35.9.37.225:80)
envtools.deb 100% |*******************************| 15288 00:00:00 ETA
Selecting previously deselected package uboot-envtools.
(Reading database ... 6462 files and directories currently installed.)
Unpacking uboot-envtools (from /tmp/envtools.deb) ...
Setting up uboot-envtools (20081215-2) ...
Image Name: Linux-2.6.32-dockstar
Created: Mon Oct 11 20:37:32 2010
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1438812 Bytes = 1405.09 kB = 1.37 MB
Load Address: 0x00008000
Entry Point: 0x00008000
Image Name: initramfs-2.6.32-dockstar
Created: Mon Oct 11 20:37:34 2010
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 4882138 Bytes = 4767.71 kB = 4.66 MB
Load Address: 0x00000000
Entry Point: 0x00000000
Connecting to jeff.doozan.com (69.163.187.226:80)
blparam 100% |*******************************| 14168 --:--:-- ETA
Installation complete
You can now reboot your device into Debian.
If your device does not start Debian after rebooting,
you may need to restart the device by disconnecting the power.
Reboot now? [Y/n]
TEN
Re: Disable "phone home" updater while keeping file system support for compatibility October 12, 2010 02:58PM |
e.g. for backing up data to a (v)fat USB stick that is also readable to the Windows world:Quote
# busybox lsmod
Module Size Used by Tainted: P
xce 18368 0
tun 9152 0
ufsd 573512 0
fuse 43156 0
hfsplus 81188 0
hfs 50980 0
vfat 10784 1
fat 48828 1 vfat
Quote
# mkdir /tmp/mnt;mount /dev/sda1 /tmp/mnt;df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock2 32768 15408 17360 47% /
none 63032 4 63028 0% /tmp
/dev/sda1 1993504 0 1993504 0% /tmp/mnt
Re: Howto: Install readonly emdebian on NAND October 23, 2010 02:19PM |
Registered: 14 years ago Posts: 6 |
Re: Howto: Install readonly emdebian on NAND October 23, 2010 03:02PM |
Registered: 14 years ago Posts: 6 |
/etc/fstab # /dev/root / ext2 noatime,ro 0 1 /dev/sda1 / ext2 noatime,rw 0 1commenting out the first line and replacing it by the second line and leaving the rest of the file untouched
/etc/network/interfaces auto lo eth0 iface lo inet loopback iface eth0 inet static address 192.168.0.51 netmask 255.255.255.0 gateway 192.168.0.254
Mark
r/w network error October 25, 2010 08:20PM |
Re: r/w network error October 26, 2010 12:29AM |
Admin Registered: 14 years ago Posts: 304 |
Re: Howto: Install readonly emdebian on NAND October 26, 2010 05:49AM |
Registered: 14 years ago Posts: 37 |
lofthouses
Re: Howto: Install readonly emdebian on NAND October 29, 2010 11:21AM |
I: Checking component main on http://www.emdebian.org/grip... E: Couldn't find these debs: flash-kernel debootstrap failed. See /tmp/debian/debootstrap/debootstrap.log for more information.and here the content of the debootstrap.log
Connecting to www.emdebian.org (88.198.202.189:80) debootstrap.invalid_ 100% |*******************************| 28776 --:--:-- ETA Connecting to www.emdebian.org (88.198.202.189:80) debootstrap.invalid_ 100% |*******************************| 521k --:--:-- ETAso, what i'm doing wrong?
Terry Hardie
Re: Howto: Install readonly emdebian on NAND October 31, 2010 12:06PM |
lofthouses
Re: Howto: Install readonly emdebian on NAND November 03, 2010 05:25PM |
SebastianG
Re: Howto: Install readonly emdebian on NAND November 06, 2010 11:01AM |
I: Checking component main on http://www.emdebian.org/grip... E: Couldn't find these debs: flash-kernel debootstrap failed. See /tmp/debian/debootstrap/debootstrap.log for more information.
SebastianG
Re: Howto: Install readonly emdebian on NAND November 06, 2010 01:00PM |
chroot /tmp/debian echo "nameserver 8.8.8.8" > /var/tmp/resolv.conf wget http://ftp.pl.debian.org/debian/pool/main/f/flash-kernel/flash-kernel_2.34_armel.deb wget http://ftp.pl.debian.org/debian/pool/main/d/devio/devio_1.2-1+b1_armel.deb PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" dpkg -i devio_1.2-1+b1_armel.deb dpkg -i flash-kernel_2.34_armel.deb
eval-
Re: Howto: Install readonly emdebian on NAND November 20, 2010 06:15AM |
fw_setenv bootcmd 'usb start; run force_rescue_bootcmd; run usb_bootcmd; usb stop; run bootcmd_ubi; run rescue_bootcmd; run pogo_bootcmd; reset'
mindsmith
Re: Howto: Install readonly emdebian on NAND December 05, 2010 11:56AM |
mindsmith
Re: Howto: Install readonly emdebian on NAND December 06, 2010 01:15PM |
Hendrik
Re: Howto: Install readonly emdebian on NAND December 25, 2010 03:30AM |
Samson
Re: Howto: Install readonly emdebian on NAND December 25, 2010 07:53PM |
buxa
Re: Howto: Install readonly emdebian on NAND December 29, 2010 03:00PM |
buxa
Re: Howto: Install readonly emdebian on NAND December 29, 2010 03:02PM |
Unpacking xz-utils (from .../xz-utils_4.999.9beta+20100810-1em1_armel.deb) ... Selecting previously deselected package zlib1g. Unpacking zlib1g (from .../zlib1g_1%3a1.2.3.4.dfsg-3em1_armel.deb) ... Errors were encountered while processing: /var/cache/apt/archives/dash_0.5.5.1-6em1_armel.deb dpkg: regarding .../base-files_5.9em1_armel.deb containing base-files, pre-dependency problem: base-files pre-depends on awk mawk provides awk but is unpacked but not configured. dpkg: warning: ignoring pre-dependency problem!
Re: Howto: Install readonly emdebian on NAND December 31, 2010 02:27PM |
Registered: 14 years ago Posts: 2 |
rastckod
Re: Howto: Install readonly emdebian on NAND January 07, 2011 04:54PM |
Colin
Re: Howto: Install readonly emdebian on NAND January 09, 2011 07:32PM |
I: Checking component main on http://www.emdebian.org/grip... E: Couldn't find these debs: dhcp-client debootstrap failed.
ossy
Re: Howto: Install readonly emdebian on NAND January 18, 2011 04:18PM |
Sven
Re: Howto: Install readonly emdebian on NAND January 20, 2011 06:35AM |
To workaround this I further investigated the problem and edited the line URL_DEBOOTSTRAP=... to point to the current version /debootstrap_1.0.26_all.deb.Quote
mindsmith
I: Unpacking zlib1g...
W: Failure while unpacking required packages.
This will be attempted up to five times.
mount -o rw,remount / rm /usr/sbin/debootstrap rm -R /usr/share/debootstrap mount -o ro,remount /(before reading this part of the script, I always thought, it leaves the pogoplug root system untouched...)
Sven
Re: Howto: Install readonly emdebian on NAND January 20, 2011 07:31AM |
export DEBOOTSTRAP_DIR=/tmp/debootstrap/usr/share/debootstrapand to run it directly from /tmp/debootstrap/usr/sbin/
Sven
Re: Howto: Install readonly emdebian on NAND January 20, 2011 08:40AM |
mkdir -p $ROOT/usr/share/man/man1