Pogoplug Pro/Debian phenomenon when SATA-booting May 14, 2015 03:18PM |
Registered: 9 years ago Posts: 1,516 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting May 14, 2015 04:26PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting May 14, 2015 04:50PM |
Registered: 10 years ago Posts: 429 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting May 14, 2015 05:20PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting May 14, 2015 09:10PM |
Registered: 9 years ago Posts: 1,516 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting May 16, 2015 06:14PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 12, 2015 06:28PM |
Registered: 9 years ago Posts: 1,516 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 14, 2015 11:02PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 16, 2015 02:06AM |
Admin Registered: 14 years ago Posts: 19,291 |
fw_printenv
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 17, 2015 12:01PM |
Registered: 9 years ago Posts: 1,516 |
root@DebianPlug:~# fw_printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootdelay=10 console=console=ttyS0,115200n8 ethact=mii0 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) stderr=serial stdin=serial stdout=serial usb_device=0:1 if_netconsole=ping $serverip preboot_nc=run if_netconsole start_netconsole start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb ethaddr=00:25:31:01:c4:f3 fdt_file=/boot/dts/ox820-pogoplug-classic.dtb dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file preboot=run preboot_nc ipaddr=192.168.1.10 serverip=192.168.1.100 root@DebianPlug:~#
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 17, 2015 12:27PM |
Admin Registered: 14 years ago Posts: 19,291 |
> root@DebianPlug:~# fw_printenv > autoload=no > baudrate=115200 > bootargs=console=ttyS0,115200n8 > bootdelay=10 > console=console=ttyS0,115200n8 > ethact=mii0 > mtdids=nand0=41000000.nand > mtdparts=mtdparts=41000000.nand:14m(boot),-(data) > stderr=serial > stdin=serial > stdout=serial > usb_device=0:1 > if_netconsole=ping $serverip > preboot_nc=run if_netconsole start_netconsole > start_netconsole=setenv ncip $serverip; setenv > bootdelay 10; setenv stdin nc; setenv stdout nc; > setenv stderr nc; version > usb_set_bootargs=setenv bootargs > console=ttyS0,115200 root=/dev/sda1 rootdelay=10 > uinitrd_addr=0x60e00000 > uimage_addr=0x60500000 > dtb_addr=0x62c00000 > dt_load_initrd=ext2load usb 0:1 $uinitrd_addr > /boot/uInitrd > dt_load_uimage=ext2load usb 0:1 $uimage_addr > /boot/uImage > dt_bootm=bootm $uimage_addr $uinitrd_addr > $dtb_addr > dt_usb_boot=run dt_load_uimage; run > dt_load_initrd; run dt_load_dtb; run dt_bootm > dt_usb_bootcmd=run usb_set_bootargs; run > dt_usb_boot > dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb > stop; reset > bootcmd=run dt_bootcmd_usb > ethaddr=00:25:31:01:c4:f3 > fdt_file=/boot/dts/ox820-pogoplug-classic.dtb > dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file > preboot=run preboot_nc > ipaddr=192.168.1.10 > serverip=192.168.1.100 > root@DebianPlug:~# >>
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 17, 2015 01:36PM |
Registered: 9 years ago Posts: 1,516 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 18, 2015 12:12AM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 18, 2015 08:44PM |
Registered: 9 years ago Posts: 1,516 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting September 19, 2015 04:06PM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting October 27, 2015 02:04AM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Pogoplug Pro/Debian phenomenon when SATA-booting October 31, 2015 12:01AM |
Registered: 9 years ago Posts: 1,516 |
5. Extract the archive to /tmp cd /tmp tar -xf uboot.2013.10-tld-4.ox820.bodhi.tar
root@DebianPlug:~# fw_printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootdelay=10 console=console=ttyS0,115200n8 ethact=mii0 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) stderr=serial stdin=serial stdout=serial usb_device=0:1 preboot_nc=run if_netconsole start_netconsole usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb ethaddr=00:25:31:01:c4:f3 fdt_file=/boot/dts/ox820-pogoplug-classic.dtb dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file serverip=192.168.178.100 ipaddr=192.168.178.104 if_netconsole=ping $serverip start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; preboot=run if_netconsole start_netconsole root@DebianPlug:~#
Re: Pogoplug Pro/Debian phenomenon when SATA-booting October 31, 2015 03:13AM |
Admin Registered: 14 years ago Posts: 19,291 |
uboot.2013.10-tld-5.ox820.environment.img (the default envs image to be flashed) uboot.2013.10-tld-5.ox820.environment (the content of the default envs in text format)
cd /boot cp -a uboot.2013.10-tld-5.ox820.environment uEnv.txt
WOW! October 31, 2015 10:50PM |
Registered: 9 years ago Posts: 1,516 |
cd /boot cp -a uboot.2013.10-tld-5.ox820.environment uEnv.txt
root@DebianPlug:~# fw_printenv autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootdelay=10 console=console=ttyS0,115200n8 ethact=mii0 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) stderr=serial stdin=serial stdout=serial usb_device=0:1 preboot_nc=run if_netconsole start_netconsole usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb ethaddr=00:25:31:01:c4:f3 fdt_file=/boot/dts/ox820-pogoplug-classic.dtb dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file serverip=192.168.178.100 ipaddr=192.168.178.104 if_netconsole=ping $serverip start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; preboot=run if_netconsole start_netconsole root@DebianPlug:~#
OpenWRT too October 31, 2015 11:32PM |
Registered: 9 years ago Posts: 1,516 |
> root@DebianPlug:~# fw_printenv > autoload=no > baudrate=115200 > bootargs=console=ttyS0,115200n8 > bootdelay=10 > console=console=ttyS0,115200n8 > ethact=mii0 > mtdids=nand0=41000000.nand > mtdparts=mtdparts=41000000.nand:14m(boot),-(data) > stderr=serial > stdin=serial > stdout=serial > usb_device=0:1 > preboot_nc=run if_netconsole start_netconsole > usb_set_bootargs=setenv bootargs > console=ttyS0,115200 root=/dev/sda1 rootdelay=10 > uinitrd_addr=0x60e00000 > uimage_addr=0x60500000 > dtb_addr=0x62c00000 > dt_load_initrd=ext2load usb 0:1 $uinitrd_addr > /boot/uInitrd > dt_load_uimage=ext2load usb 0:1 $uimage_addr > /boot/uImage > dt_bootm=bootm $uimage_addr $uinitrd_addr > $dtb_addr > dt_usb_boot=run dt_load_uimage; run > dt_load_initrd; run dt_load_dtb; run dt_bootm > dt_usb_bootcmd=run usb_set_bootargs; run > dt_usb_boot > dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb > stop; reset > bootcmd=run dt_bootcmd_usb > ethaddr=00:25:31:01:c4:f3 > fdt_file=/boot/dts/ox820-pogoplug-classic.dtb > dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file > serverip=192.168.178.100 > ipaddr=192.168.178.104 > if_netconsole=ping $serverip > start_netconsole=setenv ncip $serverip; setenv > bootdelay 10; setenv stdin nc; setenv stdout nc; > setenv stderr nc; version; > preboot=run if_netconsole start_netconsole > root@DebianPlug:~# > >
ls -latr /boot uname -a mount df -h
Re: WOW! November 01, 2015 01:55AM |
Registered: 9 years ago Posts: 1,516 |
root@DebianPlug:~# ls -latr /boot total 39108 -rwxr-xr-x 1 root root 4170000 Feb 12 2015 zImage-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 100778 Feb 12 2015 config-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 1544413 Feb 12 2015 System.map-3.18.5-oxnas-tld-1 -rwxr-xr-x 1 root root 4170000 Feb 12 2015 vmlinuz-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 9098838 Feb 12 2015 linux-headers-3.18.5-oxnas-tld-1_1_armel.deb -rw-r--r-- 1 root root 11616738 Feb 12 2015 linux-image-3.18.5-oxnas-tld-1_1_armel.deb -rw-r--r-- 1 root root 413571 Feb 12 2015 linux-3.18.5-oxnas-tld-1.patch drwxr-xr-x 2 root root 4096 Apr 19 2015 backup -rw-r--r-- 1 root root 4170064 Apr 19 2015 uImage -rw-r--r-- 1 root root 1979540 Apr 19 2015 uInitrd -rw-r--r-- 1 root root 2527217 May 6 23:06 initrd.img-3.18.5-oxnas-tld-1 drwxr-xr-x 2 root root 4096 May 9 16:20 dts drwxr-xr-x 23 root root 4096 Aug 19 11:56 .. -rw-r--r-- 1 root root 2511 Oct 23 02:41 uboot.2013.10-tld-5.ox820.environment.txt -rw-r--r-- 1 root root 2511 Oct 23 02:41 uboot.2013.10-tld-5.ox820.environment -rw-r--r-- 1 root root 2511 Oct 23 02:41 uEnv.txt -rw-r--r-- 1 root root 131072 Oct 23 02:49 uboot.2013.10-tld-5.ox820.environment.img drwxr-xr-x 4 root root 4096 Oct 31 17:59 . root@DebianPlug:~#
root@DebianPlug:~# uname -a Linux DebianPlug 3.18.5-oxnas-tld-1 #2 SMP PREEMPT Thu Feb 12 11:17:40 PST 2015 armv6l GNU/Linux root@DebianPlug:~#
root@DebianPlug:~# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14957,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12180k,mode=755) /dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24340k) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) root@DebianPlug:~#
root@DebianPlug:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 7.1G 2.5G 4.3G 38% / udev 10M 0 10M 0% /dev tmpfs 12M 300K 12M 3% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 24M 0 24M 0% /run/shm tmpfs 60M 12K 60M 1% /tmp root@DebianPlug:~#
root@DebianPlug:~# ls -latr /boot total 39108 -rwxr-xr-x 1 root root 4170000 Feb 12 2015 zImage-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 100778 Feb 12 2015 config-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 1544413 Feb 12 2015 System.map-3.18.5-oxnas-tld-1 -rwxr-xr-x 1 root root 4170000 Feb 12 2015 vmlinuz-3.18.5-oxnas-tld-1 -rw-r--r-- 1 root root 9098838 Feb 12 2015 linux-headers-3.18.5-oxnas-tld-1_1_armel.deb -rw-r--r-- 1 root root 11616738 Feb 12 2015 linux-image-3.18.5-oxnas-tld-1_1_armel.deb -rw-r--r-- 1 root root 413571 Feb 12 2015 linux-3.18.5-oxnas-tld-1.patch drwxr-xr-x 2 root root 4096 Apr 19 2015 backup -rw-r--r-- 1 root root 4170064 Apr 19 2015 uImage -rw-r--r-- 1 root root 1979540 Apr 19 2015 uInitrd -rw-r--r-- 1 root root 2527217 May 6 23:06 initrd.img-3.18.5-oxnas-tld-1 drwxr-xr-x 2 root root 4096 May 9 16:20 dts drwxr-xr-x 23 root root 4096 Aug 19 11:56 .. -rw-r--r-- 1 root root 2511 Oct 23 02:41 uboot.2013.10-tld-5.ox820.environment.txt -rw-r--r-- 1 root root 2511 Oct 23 02:41 uboot.2013.10-tld-5.ox820.environment -rw-r--r-- 1 root root 2511 Oct 23 02:41 uEnv.txt -rw-r--r-- 1 root root 131072 Oct 23 02:49 uboot.2013.10-tld-5.ox820.environment.img drwxr-xr-x 4 root root 4096 Oct 31 17:59 . root@DebianPlug:~#
root@DebianPlug:~# uname -a Linux DebianPlug 3.18.5-oxnas-tld-1 #2 SMP PREEMPT Thu Feb 12 11:17:40 PST 2015 armv6l GNU/Linux root@DebianPlug:~#
root@DebianPlug:~# mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14957,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12180k,mode=755) /dev/sda1 on / type ext3 (rw,noatime,errors=remount-ro,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24340k) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime) root@DebianPlug:~#
root@DebianPlug:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 7.1G 2.5G 4.3G 38% / udev 10M 0 10M 0% /dev tmpfs 12M 300K 12M 3% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 24M 0 24M 0% /run/shm tmpfs 60M 12K 60M 1% /tmp root@DebianPlug:~#
Re: Pogoplug Pro/Debian phenomenon when SATA-booting November 01, 2015 02:20PM |
Registered: 9 years ago Posts: 1,516 |
Quote
a. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
b. The partition that contains the 2 kernel files must be partition 1 in a disk drive
c. The partition that contains the rootfs must be labeled rootfs
Howld it! November 01, 2015 05:11PM |
Registered: 9 years ago Posts: 1,516 |
Education is lifelong November 01, 2015 07:39PM |
Registered: 9 years ago Posts: 1,516 |
Re: Education is lifelong November 03, 2015 03:59AM |
Admin Registered: 14 years ago Posts: 19,291 |
Re: Education is lifelong November 03, 2015 12:02PM |
Registered: 9 years ago Posts: 1,516 |
Re: Education is lifelong November 03, 2015 12:33PM |
Admin Registered: 14 years ago Posts: 19,291 |
Quote
Usage:
mount [-lhV]
mount -a [options]
mount [options] [--source] <source> | [--target] <directory>
mount [options] <source> <directory>
mount <operation> <mountpoint> [<target>]
Options:
-a, --all mount all filesystems mentioned in fstab
-c, --no-canonicalize don't canonicalize paths
-f, --fake dry run; skip the mount(2) syscall
-F, --fork fork off for each device (use with -a)
-T, --fstab <path> alternative file to /etc/fstab
-h, --help display this help text and exit
-i, --internal-only don't call the mount.<type> helpers
-l, --show-labels lists all mounts with LABELs
-n, --no-mtab don't write to /etc/mtab
-o, --options <list> comma-separated list of mount options
-O, --test-opts <list> limit the set of filesystems (use with -a)
-r, --read-only mount the filesystem read-only (same as -o ro)
-t, --types <list> limit the set of filesystem types
--source <src> explicitly specifies source (path, label, uuid)
--target <target> explicitly specifies mountpoint
-v, --verbose say what is being done
-V, --version display version information and exit
-w, --rw, --read-write mount the filesystem read-write (default)
-h, --help display this help and exit
-V, --version output version information and exit
Source:
-L, --label <label> synonym for LABEL=<label>
-U, --uuid <uuid> synonym for UUID=<uuid>
LABEL=<label> specifies device by filesystem label
UUID=<uuid> specifies device by filesystem UUID
PARTLABEL=<label> specifies device by partition label
PARTUUID=<uuid> specifies device by partition UUID
<device> specifies device by path
<directory> mountpoint for bind mounts (see --bind/rbind)
<file> regular file for loopdev setup
Operations:
-B, --bind mount a subtree somewhere else (same as -o bind)
-M, --move move a subtree to some other place
-R, --rbind mount a subtree and all submounts somewhere else
--make-shared mark a subtree as shared
--make-slave mark a subtree as slave
--make-private mark a subtree as private
--make-unbindable mark a subtree as unbindable
--make-rshared recursively mark a whole subtree as shared
--make-rslave recursively mark a whole subtree as slave
--make-rprivate recursively mark a whole subtree as private
--make-runbindable recursively mark a whole subtree as unbindable
For more details see mount(8).
mkdir -p /media/MyMedia mount -L MyMedia -o noatime /media/MyMedia
YEAH! November 04, 2015 12:33AM |
Registered: 9 years ago Posts: 1,516 |