Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wd@wd-virtual-machine:~$ sudo su
- [sudo] password for wd:
- root@wd-virtual-machine:/home/wd# cd ~
- root@wd-virtual-machine:~# sfdisk -l
- Disk /dev/sda: 1044 cylinders, 255 heads, 63 sectors/track
- Warning: extended partition does not start at a cylinder boundary.
- DOS and Linux will interpret the contents differently.
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sda1 * 0+ 993- 994- 7977984 83 Linux
- /dev/sda2 993+ 1044- 51- 407553 5 Extended
- /dev/sda3 0 - 0 0 0 Empty
- /dev/sda4 0 - 0 0 0 Empty
- /dev/sda5 993+ 1044- 51- 407552 82 Linux swap / Solaris
- Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sdb1 4 247 244 1959930 fd Linux raid autodetect
- /dev/sdb2 248 279 32 257040 fd Linux raid autodetect
- /dev/sdb3 280 402 123 987997+ fd Linux raid autodetect
- /dev/sdb4 403 121600 121198 973522935 fd Linux raid autodetect
- Disk /dev/md_d1: 64240 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d1: unrecognized partition table type
- No partitions found
- Disk /dev/md_d3: 246976 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d3: unrecognized partition table type
- No partitions found
- Disk /dev/md_d0: 489952 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d0: unrecognized partition table type
- No partitions found
- root@wd-virtual-machine:~# wget http://download.wdc.com/nas/wdhxnc-01.02.06_010411.img -O ./fw.img
- --2011-02-15 20:59:16-- http://download.wdc.com/nas/wdhxnc-01.02.06_010411.img
- Resolving download.wdc.com... 89.114.195.49
- Connecting to download.wdc.com|89.114.195.49|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 50741917 (48M) [text/plain]
- Saving to: `./fw.img'
- 100%[======================================>] 50,741,917 3.68M/s in 15s
- 2011-02-15 20:59:31 (3.25 MB/s) - `./fw.img' saved [50741917/50741917]
- root@wd-virtual-machine:~# # "decode" the firmware image and remove unnecessary files
- root@wd-virtual-machine:~# # see /proto/SxM_webui/admin/inc/wixHooks.class
- root@wd-virtual-machine:~# dd skip=0 count=1 bs=5120 if=./fw.img of=./tmp_img1
- 1+0 records in
- 1+0 records out
- 5120 bytes (5.1 kB) copied, 0.000302557 s, 16.9 MB/s
- root@wd-virtual-machine:~# dd skip=15 count=1 bs=5120 if=./fw.img of=./tmp_img2
- 1+0 records in
- 1+0 records out
- 5120 bytes (5.1 kB) copied, 0.000315965 s, 16.2 MB/s
- root@wd-virtual-machine:~# cp ./fw.img ./fw_img.orig
- root@wd-virtual-machine:~# dd seek=0 count=1 bs=5120 if=./tmp_img2 of=./fw.img
- 1+0 records in
- 1+0 records out
- 5120 bytes (5.1 kB) copied, 0.00302189 s, 1.7 MB/s
- root@wd-virtual-machine:~# dd skip=1 seek=1 bs=5120 if=./fw_img.orig of=./fw.img
- 9909+1 records in
- 9909+1 records out
- 50736797 bytes (51 MB) copied, 0.929665 s, 54.6 MB/s
- root@wd-virtual-machine:~# cp ./fw.img ./fw_img.orig
- root@wd-virtual-machine:~# dd seek=15 count=1 bs=5120 if=./tmp_img1 of=./fw.img 1+0 records in
- 1+0 records out
- 5120 bytes (5.1 kB) copied, 0.000312721 s, 16.4 MB/s
- root@wd-virtual-machine:~# dd skip=16 seek=16 bs=5120 if=./fw_img.orig of=./fw.img
- 9894+1 records in
- 9894+1 records out
- 50659997 bytes (51 MB) copied, 0.739531 s, 68.5 MB/s
- root@wd-virtual-machine:~# rm ./tmp_img1
- root@wd-virtual-machine:~# rm ./tmp_img2
- root@wd-virtual-machine:~# rm ./fw_img.orig
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # extract gzipped image .tar.gz
- root@wd-virtual-machine:~# tar zxf ./fw.img
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # check if md5sum matches
- root@wd-virtual-machine:~# md5sum -c upgrd-pkg-1nc.wdg.md5
- upgrd-pkg-1nc.wdg: OK
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # unpack firmware to /fw
- root@wd-virtual-machine:~# mkdir ./fw
- mkdir: cannot create directory `./fw': File exists
- root@wd-virtual-machine:~# SKIP=`awk '/^__ARCHIVE_FOLLOWS__/ {print NR +1; exit 0 }' ./upgrd-pkg-1nc.wdg`
- root@wd-virtual-machine:~# tail -n+${SKIP} ./upgrd-pkg-1nc.wdg | gunzip | /bin/tar xm -C ./fw
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # check md5sums
- root@wd-virtual-machine:~# cd ./fw
- root@wd-virtual-machine:~/fw# md5sum -c md5sum.lst
- 1stMBR: OK
- 2ndMBR: OK
- default_env: OK
- packing.lst: OK
- reserve.list: OK
- reserve.sh: OK
- rootfs.arm.ext2: OK
- setmac.sh: OK
- stage1.wrapped: OK
- u-boot.wrapped: OK
- uImage: OK
- uImage.1: OK
- upgrade1.sh: OK
- upgrade1-xdelta.sh: OK
- upgrade2.sh: OK
- uUpgradeRootfs: OK
- root@wd-virtual-machine:~/fw# cd ..
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # download 945 extra Bytes with the MBR, the stage1 and the MAC-address (kernel bootcmd)
- root@wd-virtual-machine:~# wget http://mybookworld.wikidot.com/local--files/install-clean-hdd-in-white-light-my-book-world-edition/mbr_mac.tar.gz
- --2011-02-15 21:05:10-- http://mybookworld.wikidot.com/local--files/install-clean-hdd-in-white-light-my-book-world-edition/mbr_mac.tar.gz
- Resolving mybookworld.wikidot.com... 74.86.234.146
- Connecting to mybookworld.wikidot.com|74.86.234.146|:80... connected.
- HTTP request sent, awaiting response... 302 Found
- Location: http://mybookworld.wdfiles.com/local--files/install-clean-hdd-in-white-light-my-book-world-edition/mbr_mac.tar.gz [following]
- --2011-02-15 21:05:10-- http://mybookworld.wdfiles.com/local--files/install-clean-hdd-in-white-light-my-book-world-edition/mbr_mac.tar.gz
- Resolving mybookworld.wdfiles.com... 67.228.37.26
- Connecting to mybookworld.wdfiles.com|67.228.37.26|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 945 [application/x-gzip]
- Saving to: `mbr_mac.tar.gz.3'
- 100%[======================================>] 945 --.-K/s in 0s
- 2011-02-15 21:05:11 (41.6 MB/s) - `mbr_mac.tar.gz.3' saved [945/945]
- root@wd-virtual-machine:~# tar -xzf ./mbr_mac.tar.gz -C ./fw
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# #clear boot partition
- root@wd-virtual-machine:~# dd if=/dev/zero of=/dev/sdb bs=512 count=64260
- 64260+0 records in
- 64260+0 records out
- 32901120 bytes (33 MB) copied, 64.7133 s, 508 kB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # for infos about the DISK SECTOR OFFSETS see ./fw/upgrade1.sh
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # write MBR with start address of stage1
- root@wd-virtual-machine:~# dd if=./fw/mbr of=/dev/sdb bs=512 seek=0
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.000136299 s, 3.8 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main stage-1 image
- root@wd-virtual-machine:~# dd if=./fw/stage1 of=/dev/sdb bs=512 seek=1
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.000196361 s, 2.6 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main u-boot image
- root@wd-virtual-machine:~# dd if=./fw/u-boot.wrapped of=/dev/sdb bs=512 seek=3
- 216+1 records in
- 216+1 records out
- 110884 bytes (111 kB) copied, 0.00486955 s, 22.8 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main MAC image
- root@wd-virtual-machine:~# dd if=./fw/mac of=/dev/sdb bs=512 seek=239
- 1+1 records in
- 1+1 records out
- 768 bytes (768 B) copied, 0.00212463 s, 361 kB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main kernel image
- root@wd-virtual-machine:~# dd if=./fw/uImage of=/dev/sdb bs=512 seek=300
- 3112+1 records in
- 3112+1 records out
- 1593552 bytes (1.6 MB) copied, 0.0949254 s, 16.8 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main upgrade rootfs
- root@wd-virtual-machine:~# dd if=./fw/uUpgradeRootfs of=/dev/sdb bs=512 seek=6000
- 482+1 records in
- 482+1 records out
- 246997 bytes (247 kB) copied, 0.10947 s, 2.3 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # main upgrade kernel
- root@wd-virtual-machine:~# dd if=./fw/uImage.1 of=/dev/sdb bs=512 seek=6512
- 1851+1 records in
- 1851+1 records out
- 947976 bytes (948 kB) copied, 0.0343349 s, 27.6 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # backup stage-1 image
- root@wd-virtual-machine:~# dd if=./fw/stage1 of=/dev/sdb bs=512 seek=10608
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.0193242 s, 26.5 kB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # backup u-boot image
- root@wd-virtual-machine:~# dd if=./fw/u-boot.wrapped of=/dev/sdb bs=512 seek=10610
- 216+1 records in
- 216+1 records out
- 110884 bytes (111 kB) copied, 0.0028217 s, 39.3 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # backup MAC image
- root@wd-virtual-machine:~# dd if=./fw/mac of=/dev/sdb bs=512 seek=10846
- 1+1 records in
- 1+1 records out
- 768 bytes (768 B) copied, 0.0471945 s, 16.3 kB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # backup kernel image
- root@wd-virtual-machine:~# dd if=./fw/uImage of=/dev/sdb bs=512 seek=10862
- 3112+1 records in
- 3112+1 records out
- 1593552 bytes (1.6 MB) copied, 0.197082 s, 8.1 MB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # remove UPGRADE_FLAG
- root@wd-virtual-machine:~# echo -ne '\x00\x00\x30' | dd of=/dev/sdb seek=255
- 0+1 records in
- 0+1 records out
- 3 bytes (3 B) copied, 0.000184456 s, 16.3 kB/s
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# sync
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# cat /proc/mdstat
- Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
- md_d0 : active raid1 sdb1[0]
- 1959808 blocks [2/1] [U_]
- md_d3 : active raid1 sdb3[0]
- 987904 blocks [2/1] [U_]
- md_d1 : active raid1 sdb2[0]
- 256960 blocks [2/1] [U_]
- unused devices: <none>
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# mdadm --stop /dev/md_d0
- mdadm: stopped /dev/md_d0
- root@wd-virtual-machine:~# mdadm --stop /dev/md_d1
- mdadm: stopped /dev/md_d1
- root@wd-virtual-machine:~# mdadm --stop /dev/md_d3
- mdadm: stopped /dev/md_d3
- root@wd-virtual-machine:~# mdadm --zero-superblock /dev/sdb1
- root@wd-virtual-machine:~# mdadm --zero-superblock /dev/sdb2
- root@wd-virtual-machine:~# mdadm --zero-superblock /dev/sdb3
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# dd if=/dev/zero of=/dev/sdb1 bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.0200727 s, 25.5 kB/s
- root@wd-virtual-machine:~# dd if=/dev/zero of=/dev/sdb2 bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.105417 s, 4.9 kB/s
- root@wd-virtual-machine:~# dd if=/dev/zero of=/dev/sdb3 bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.194267 s, 2.6 kB/s
- root@wd-virtual-machine:~# #clear 4. partition (/Datavolume) !!!!!!!!!!!!!!!!!!!!! Do YOU UNDERSTAND IT??
- root@wd-virtual-machine:~# dd if=/dev/zero of=/dev/sdb4 bs=512 count=1
- 1+0 records in
- 1+0 records out
- 512 bytes (512 B) copied, 0.0139838 s, 36.6 kB/s
- root@wd-virtual-machine:~# mdadm --zero-superblock /dev/sdb4
- mdadm: Unrecognised md component device - /dev/sdb4
- root@wd-virtual-machine:~# # make the raid partitions (md0 md1 md3)
- root@wd-virtual-machine:~# # echo y for "yes" !
- root@wd-virtual-machine:~# echo "y" | mdadm --create /dev/md0 -l 1 -n 2 /dev/sdb1 missing
- mdadm: /dev/sdb1 appears to contain an ext2fs file system
- size=1959808K mtime=Mon Feb 14 00:11:47 2011
- Continue creating array? mdadm: array /dev/md0 started.
- root@wd-virtual-machine:~# echo "y" | mdadm --create /dev/md1 -l 1 -n 2 /dev/sdb2 missing
- mdadm: array /dev/md1 started.
- root@wd-virtual-machine:~# echo "y" | mdadm --create /dev/md3 -l 1 -n 2 /dev/sdb3 missing
- mdadm: /dev/sdb3 appears to contain an ext2fs file system
- size=987904K mtime=Mon Feb 14 00:11:48 2011
- Continue creating array? mdadm: array /dev/md3 started.
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # format the raid partitions
- root@wd-virtual-machine:~# mkfs.ext3 /dev/md0
- mke2fs 1.41.12 (17-May-2010)
- Filesystem label=
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- Stride=0 blocks, Stripe width=0 blocks
- 122640 inodes, 489952 blocks
- 24497 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=503316480
- 15 block groups
- 32768 blocks per group, 32768 fragments per group
- 8176 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376, 294912
- Writing inode tables: done
- Creating journal (8192 blocks): done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 30 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- You have new mail in /var/mail/root
- root@wd-virtual-machine:~# mkfs.ext3 /dev/md3
- mke2fs 1.41.12 (17-May-2010)
- Filesystem label=
- OS type: Linux
- Block size=4096 (log=2)
- Fragment size=4096 (log=2)
- Stride=0 blocks, Stripe width=0 blocks
- 61824 inodes, 246976 blocks
- 12348 blocks (5.00%) reserved for the super user
- First data block=0
- Maximum filesystem blocks=255852544
- 8 block groups
- 32768 blocks per group, 32768 fragments per group
- 7728 inodes per group
- Superblock backups stored on blocks:
- 32768, 98304, 163840, 229376
- Writing inode tables: done
- Creating journal (4096 blocks): done
- Writing superblocks and filesystem accounting information: done
- This filesystem will be automatically checked every 39 mounts or
- 180 days, whichever comes first. Use tune2fs -c or -i to override.
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # format swap partition
- root@wd-virtual-machine:~# mkswap /dev/md1
- mkswap: /dev/md1: warning: don't erase bootbits sectors
- on whole disk. Use -f to force.
- Setting up swapspace version 1, size = 256956 KiB
- no label, UUID=427876e7-6c7d-4b71-b765-26d87a21957d
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # mount
- root@wd-virtual-machine:~# mkdir ./sdb1
- mkdir: cannot create directory `./sdb1': File exists
- root@wd-virtual-machine:~# mkdir ./sdb3
- mkdir: cannot create directory `./sdb3': File exists
- root@wd-virtual-machine:~# mkdir ./rootfs
- mkdir: cannot create directory `./rootfs': File exists
- root@wd-virtual-machine:~# mount -o rw,noatime /dev/md0 ./sdb1
- root@wd-virtual-machine:~# mount -o rw,noatime /dev/md3 ./sdb3
- root@wd-virtual-machine:~# mount -o loop,ro,noatime ./fw/rootfs.arm.ext2 ./rootfs
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # copy rootfs-files to /sdb1
- root@wd-virtual-machine:~# cp -a ./rootfs/* ./sdb1
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # /var: copy files to /sdb3
- root@wd-virtual-machine:~# cp -a ./rootfs/var/* ./sdb3
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # it's necessary for success
- root@wd-virtual-machine:~# echo final_tested_ok > ./sdb1/etc/mfgtest_state
- root@wd-virtual-machine:~# echo WCAU44141904 > ./sdb1/etc/serialNumber
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # set the factory_restore flag -> thats rebuild a clean (=deleted!!!) md2/sda4 after reboot
- root@wd-virtual-machine:~# touch ./sdb1/etc/.factory_restore
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # the file system is ready -> stop Raid
- root@wd-virtual-machine:~# umount ./sdb1
- root@wd-virtual-machine:~# umount ./sdb3
- root@wd-virtual-machine:~# umount ./rootfs
- root@wd-virtual-machine:~# mdadm --stop /dev/md0
- mdadm: stopped /dev/md0
- root@wd-virtual-machine:~# mdadm --stop /dev/md1
- mdadm: stopped /dev/md1
- root@wd-virtual-machine:~# mdadm --stop /dev/md3
- mdadm: stopped /dev/md3
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # you are ready - shutdown
- root@wd-virtual-machine:~# sync
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~#
- root@wd-virtual-machine:~# # if you use not the original WD 1TB disk now correct the size of sda4
- root@wd-virtual-machine:~# # fdisk reads lines of the form <start> <size> <id> <bootable>
- root@wd-virtual-machine:~# # When a field is absent or empty, a default value is used.
- root@wd-virtual-machine:~# # The default value of size is as much as possible
- root@wd-virtual-machine:~# # (until next partition or end-of-disk).
- root@wd-virtual-machine:~# echo 4,244,fd>DSKPART
- root@wd-virtual-machine:~# echo 248,32,fd>>DSKPART
- root@wd-virtual-machine:~# echo 280,123,fd>>DSKPART
- root@wd-virtual-machine:~# echo 403,,fd>>DSKPART
- root@wd-virtual-machine:~# /sbin/sfdisk --force /dev/sdb <./DSKPART
- Checking that no-one is using this disk right now ...
- OK
- Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
- Old situation:
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sdb1 4 247 244 1959930 fd Linux raid autodetect
- /dev/sdb2 248 279 32 257040 fd Linux raid autodetect
- /dev/sdb3 280 402 123 987997+ fd Linux raid autodetect
- /dev/sdb4 403 121600 121198 973522935 fd Linux raid autodetect
- New situation:
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sdb1 4 247 244 1959930 fd Linux raid autodetect
- /dev/sdb2 248 279 32 257040 fd Linux raid autodetect
- /dev/sdb3 280 402 123 987997+ fd Linux raid autodetect
- /dev/sdb4 403 243200 242798 1950274935 fd Linux raid autodetect
- Warning: no primary partition is marked bootable (active)
- This does not matter for LILO, but the DOS MBR will not boot this disk.
- Successfully wrote the new partition table
- Re-reading the partition table ...
- BLKRRPART: Device or resource busy
- The command to re-read the partition table failed.
- Run partprobe(8), kpartx(8) or reboot your system now,
- before using mkfs
- If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
- to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
- (See fdisk(8).)
- root@wd-virtual-machine:~# sync
- root@wd-virtual-machine:~# sfdisk -l
- Disk /dev/sda: 1044 cylinders, 255 heads, 63 sectors/track
- Warning: extended partition does not start at a cylinder boundary.
- DOS and Linux will interpret the contents differently.
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sda1 * 0+ 993- 994- 7977984 83 Linux
- /dev/sda2 993+ 1044- 51- 407553 5 Extended
- /dev/sda3 0 - 0 0 0 Empty
- /dev/sda4 0 - 0 0 0 Empty
- /dev/sda5 993+ 1044- 51- 407552 82 Linux swap / Solaris
- Disk /dev/sdb: 243201 cylinders, 255 heads, 63 sectors/track
- Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
- Device Boot Start End #cyls #blocks Id System
- /dev/sdb1 4 247 244 1959930 fd Linux raid autodetect
- /dev/sdb2 248 279 32 257040 fd Linux raid autodetect
- /dev/sdb3 280 402 123 987997+ fd Linux raid autodetect
- /dev/sdb4 403 243200 242798 1950274935 fd Linux raid autodetect
- Disk /dev/md_d0: 489952 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d0: unrecognized partition table type
- No partitions found
- Disk /dev/md_d3: 246976 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d3: unrecognized partition table type
- No partitions found
- Disk /dev/md_d1: 64240 cylinders, 2 heads, 4 sectors/track
- sfdisk: ERROR: sector 0 does not have an msdos signature
- /dev/md_d1: unrecognized partition table type
- No partitions found
- root@wd-virtual-machine:~#
Advertisement
Add Comment
Please, Sign In to add comment