root@(none):/ # fdisk -l
Disk /dev/mtdblock0: 0 MB, 512000 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock0 doesn't contain a valid partition table
Disk /dev/mtdblock1: 0 MB, 4096 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/mtdblock1 doesn't contain a valid partition table
Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 242252 1953514583+ ee EFI GPT
gdisk -l /dev/sda
root@(none):/ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 48EB39C7-FA39-4315-9B4C-B7E4FE438E83
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 4095 1024.0 KiB EF02 grub_core
2 4096 397311 192.0 MiB 8300 boot_rescue
3 397312 399359 1024.0 KiB 8300 nv_data
4 399360 3545087 1.5 GiB FD00 root_1
5 3545088 6690815 1.5 GiB FD00 root_2
6 6690816 8787967 1024.0 MiB FD00 var
7 8787968 9312255 256.0 MiB FD00 swap
8 9312256 3907029134 1.8 TiB FD00 user_data
mke2fs 1.41.14 (22-Dec-2010)
mke2fs-ext3: No such device or address while trying to determine filesystem size
There was an error formatting /dev/sda9.
Installer will exit.
Cannot create backups formatting sda9 failed
marvel>>
ide reset
ide part
printenv
Marvell>> ide reset
ide reset
Reset IDE:
Marvell Serial ATA Adapter
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (5)
Device 0 @ 0 0:
Model: ST2000DM001-1CH164 Firm: CC44 Ser#:
Z1E35Z1H
Type: Hard Disk
Supports 48-bit addressing
Capacity: 1907729.0 MB = 1863.0 GB (3907029168 x 512)
PCIe SATA:ffffffff
Marvell>>
Marvell>> ide part
ide part
Partition Map for IDE device 0 -- Partition Type: EFI
Part Start LBA End LBA
gpt1 800 FFF
gpt2 1000 60FFF
gpt3 61000 617FF
gpt4 61800 3617FF
gpt5 361800 6617FF
gpt6 661800 8617FF
gpt7 861800 8E17FF
gpt8 8E1800 E8E0888E
Marvell>>
Marvell>> printenv
printenv
bootargs=console=ttyS0,115200
bootcmd=run nexus_boot; run legacy_boot
baudrate=115200
loads_echo=0
rootpath=/srv/ubuntu
uboot_capabilities=gpt,lba64
start_lump=lump 3
pre_lump=lump 1
resetdisk=ide reset
boot_fail=lump
loadaddr=0x800000
console=console=ttyS0,115200
kernel_addr=${loadaddr}
disk_list=0 1
legacy_set_rootfs=if test $boot_disk -eq 0; then rootfs=/dev/sda7; elif test $bo
ot_disk -eq 1; then rootfs=/dev/sdb7; fi
legacy_nand_boot=
legacy_disk_bootargs=setenv bootargs ${console} reset=${resetFlag_env} root=${ro
otfs};
legacy_disk_boot=echo Booting legacy layout...; if test ${resetFlag_env} -ne 0;
then part_list=6; else part_list="A 6"; fi;for p in ${part_list}; do for boot_di
sk in ${disk_list}; do if disk ${loadaddr} ${boot_disk}:$p; then run legacy_set_
rootfs; run legacy_disk_bootargs; bootm; fi; done; done
legacy_boot=run legacy_disk_boot || run legacy_nand_boot
nexus_max_count=3
nexus_boot_part=2
nexus_nv_part=3
nexus_inc_count=if test ${boot_count} -eq 0; then setenv boot_count 1; elif test
${boot_count} -eq 1; then setenv boot_count 2; else setenv boot_count ${nexus_m
ax_count}; fi
nexus_set_root=if test $saved_entry -eq 1; then root_part=5; else root_part=4; f
i
nexus_load_flags=ext2get ide ${boot_disk}:${nexus_nv_part} /ubootenv boot_count
saved_entry
nexus_save_flags=ext2set ide ${boot_disk}:${nexus_nv_part} /ubootenv boot_count
${boot_count}
nexus_load_image=ext2load ide ${boot_disk}:${root_part} ${loadaddr} ${image} &&
iminfo ${loadaddr}
nexus_uuid=ext2uuid ide ${boot_disk}:${nexus_boot_part}; boot_uuid=${uuid}; ext2
uuid ide ${boot_disk}:${root_part}; root_uuid=${uuid}
nexus_bootargs=run nexus_uuid; setenv bootargs ${console} boot=UUID=${boot_uuid}
root=UUID=${root_uuid}
nexus_can_boot=test ${bootfail} -eq 0 -a ${countfail} -eq 0 -a ${forced} -eq 0 -
a ${user} -eq 0
nexus_rescue_countfail=test ${boot_count} -ge ${nexus_max_count}
nexus_rescue_user=ext2get ide ${boot_disk}:3 /ubootenv rescue && test ${rescue}
-eq 1
nexus_rescue_bootargs=test -n ${bootfail} && setenv bootargs bootfail=${bootfail
} ${bootargs}; test -n ${countfail} && setenv bootargs countfail=${countfail} ${
bootargs}; test -n ${user} && setenv bootargs user=${user} ${bootargs}; test -n
${forced} && setenv bootargs forced=${forced} ${bootargs}
nexus_boot_rescue=echo Boot Nexus rescue from disk ${boot_disk}...; root_part=2;
image=/rescue/uImage; if run nexus_load_image; then if test -n ${panic}; then r
un nexus_uuid; setenv bootargs ${bootargs} root=UUID=${root_uuid}; else run nexu
s_bootargs; fi; run nexus_rescue_bootargs; bootm; fi
nexus_panic=panic=1; for boot_disk in ${disk_list}; do run nexus_boot_rescue; do
ne
nexus_boot=test -n ${resetFlag_env} && forced=${resetFlag_env}; for boot_disk in
${disk_list}; do echo Booting Nexus layout from disk ${boot_disk}...; countfail
=0; bootfail=0; user=0; if run nexus_load_flags; then run nexus_rescue_countfail
&& countfail=1; run nexus_set_root; image=/boot/uImage; run nexus_load_image ||
bootfail=1; run nexus_rescue_user && user=1; if run nexus_can_boot; then run ne
xus_inc_count; run nexus_save_flags; run nexus_bootargs; bootm; bootfail=1; fi;
run nexus_boot_rescue; fi; done; bootfail=1; countfail=; user=;run nexus_panic
run_diag=yes
MALLOC_len=1
ethprime=egiga0
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/m
tdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end); bootm 0x2000000;
ethmtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
ethact=egiga0
ethaddr=00:D0:4B:94:7D:00
valid_product=1
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
resetFlag_env=0
bootdelay=0
pcieTune=no
ipaddr=192.168.1.252
ncip=192.168.1.12
serverip=192.168.1.12
stdin=nc
stdout=nc
Environment size: 3921/8188 bytes
Marvell>>
Return to Lacie cloudbox (white casing)
Users browsing this forum: No registered users and 2 guests