Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Booting Pogo V3 Debian rootfs from OpenWrt u-boot (no replies)

$
0
0
bodhi Wrote:
-------------------------------------------------------
> ming,
>
> hahibie has a good point, if the uboot envs are c
> urrently set up to boot Openwrt, you need to modif
> y them to boot USB. Please post the current uboot
> envs if you have installed new uboot.
root@PogoPlug:/# fdisk -l 
You must set cylinders.
You can do this from the extra functions menu.

Disk /dev/mtdblock0: 0 MB, 262144 bytes
171 heads, 42 sectors/track, 0 cylinders, total 512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xaaaaaaaa

This doesn't look like a partition table
Probably you selected the wrong device.

          Device Boot      Start         End      Blocks   Id  System
/dev/mtdblock0p1   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock0p2   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock0p3   ?  2863311530       21843   715838805   aa  Unknown
/dev/mtdblock0p4   ?  2863311530  1426085203  1428870485   aa  Unknown
You must set cylinders.
You can do this from the extra functions menu.

Disk /dev/mtdblock1: 1 MB, 1441792 bytes
255 heads, 63 sectors/track, 0 cylinders, total 2816 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xaaaaaaaa

This doesn't look like a partition table
Probably you selected the wrong device.

          Device Boot      Start         End      Blocks   Id  System
/dev/mtdblock1p1   ?  1437226410     5570643  1431655765   aa  Unknown
/dev/mtdblock1p2   ?  2863289685     5570558   718624085   aa  Unknown
/dev/mtdblock1p3   ?  1431677610       21843  1431655765   aa  Unknown
/dev/mtdblock1p4   ?  2863289685     5570558   718624085   aa  Unknown

Partition table entries are not in disk order

Disk /dev/mtdblock2: 0 MB, 262144 bytes
255 heads, 63 sectors/track, 0 cylinders, total 512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock3: 33 MB, 33554432 bytes
171 heads, 42 sectors/track, 9 cylinders, total 65536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xaaaaaaaa

This doesn't look like a partition table
Probably you selected the wrong device.

          Device Boot      Start         End      Blocks   Id  System
/dev/mtdblock3p1   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock3p2   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock3p3   ?  2863311530       21843   715838805   aa  Unknown
/dev/mtdblock3p4   ?  2863311530  1426085203  1428870485   aa  Unknown

Disk /dev/mtdblock4: 0 MB, 131072 bytes
255 heads, 63 sectors/track, 0 cylinders, total 256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock5: 10 MB, 10485760 bytes
255 heads, 63 sectors/track, 1 cylinders, total 20480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock6: 119 MB, 119537664 bytes
255 heads, 63 sectors/track, 14 cylinders, total 233472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock7: 132 MB, 132120576 bytes
255 heads, 63 sectors/track, 16 cylinders, total 258048 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mtdblock8: 134 MB, 134217728 bytes
171 heads, 42 sectors/track, 36 cylinders, total 262144 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xaaaaaaaa

This doesn't look like a partition table
Probably you selected the wrong device.

          Device Boot      Start         End      Blocks   Id  System
/dev/mtdblock8p1   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock8p2   ?  2863311530  1431655763  1431655765   aa  Unknown
/dev/mtdblock8p3   ?  2863311530       21843   715838805   aa  Unknown
/dev/mtdblock8p4   ?  2863311530  1426085203  1428870485   aa  Unknown

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sdb: 16.2 GB, 16239329280 bytes
64 heads, 32 sectors/track, 15487 cylinders, total 31717440 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

root@PogoPlug:/# tune2fs -L rootfs /dev/sdb
tune2fs 1.42.4 (12-June-2012)
root@PogoPlug:/#

how can i set up to boot USB rootfs

Viewing all articles
Browse latest Browse all 3247

Trending Articles