enter
gdisk /dev/sda
Command (? for help): n
5
(accept the default first sector by pressing enter)
+256M
8200
n
6
(accept the default first sector by pressing enter)
+16M
(accept the default by pressing enter)
n
7
(accept the default first sector by pressing enter)
+16M
(press enter)
n
8
(accept the default first sector by pressing enter)
+884M
(press enter)
n
9
(accept the default first sector by pressing enter)
+884M
(press enter)
n
10
(accept the default first sector by pressing enter)
+16M
(press enter)
n
2
(accept the default first sector by pressing enter)
(accept the default last sector by pressing enter)
(press enter)
Command (? for help): p
Disk /dev/sdb: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
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
2 4245504 976773134 463.7 GiB 8300 Linux filesystem
5 2048 526335 256.0 MiB 8200 Linux swap
6 526336 559103 16.0 MiB 8300 Linux filesystem
7 559104 591871 16.0 MiB 8300 Linux filesystem
8 591872 2402303 884.0 MiB 8300 Linux filesystem
9 2402304 4212735 884.0 MiB 8300 Linux filesystem
10 4212736 4245503 16.0 MiB 8300 Linux filesystem
Command (? for help):
mke2fs-64 -j -m 1 /dev/sda7
mke2fs-64 -j -m 1 /dev/sda8
mke2fs-64 -j -m 1 /dev/sda9
tftp -l /sbin/mkfs.xfs -r mkfs.xfs -g pc-ip
chmode 755 /sbin/mkfs.xfs
mkfs.xfs /dev/sda2
tftp -l sda7.tgz -r 5big2-sda7.tgz -g ip-pc
mkdir sda7
mount /dev/sda7 /sda7
tar -xzvf sda7.tgz -C /sda7
umount /sda7
rm sda7.tgz
tftp -l sda8.tgz -r 5big2-sda8.tgz -g ip-pc
mkdir sda8
mount /dev/sda8 /sda8
tar -xzvf sda8.tgz -C /sda8
umount /sda8
rm sda8.tgz
tftp -l sda6.img -r 5big2-sda6.img -g ip-pc
dd if=sda6.img of=/dev/sda6
rm sda6.img
echo "LaCieFirstBootLaCie" | dd of=/dev/sda
tftp -r glibc-mini-mkfs.xfs-25feb14.tar -l /glibc.tar -g ip-pc
tar -xvf glibc.tar
Return to Lacie 5big Network vs2
Users browsing this forum: No registered users and 3 guests