Code: Select all
root@debian:/home/dagon# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x0009daf8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 145934459 72967198+ 7 HPFS/NTFS/exFAT
/dev/sda2 145934521 1465144064 659604772 5 Extended
/dev/sda5 145934523 250806779 52436128+ 7 HPFS/NTFS/exFAT
/dev/sda6 250806843 1465144064 607168611 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 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 identifier: 0x029e6350
Device Boot Start End Blocks Id System
/dev/sdc1 16065 1953520064 976752000 f W95 Ext'd (LBA)
Partition 1 does not start on physical sector boundary.
/dev/sdc5 16128 1953520064 976751968+ 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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: 0x0a3e7090
Device Boot Start End Blocks Id System
/dev/sdb1 2048 1250256895 625127424 83 Linux
Code: Select all
#!/bin/bash
cd /home/dagon/Files/
mkdir Partitions
cd ./Partitions
mkdir Windows Games Temp Storage
mount /dev/sda1 /home/dagon/Files/Partitions/Windows/
mount /dev/sda5 /home/dagon/Files/Partitions/Games/
mount /dev/sda6 /home/dagon/Files/Partitions/Temp/
mount /dev/sdc5 /home/dagon/Files/Partitions/Storage/
echo 'Disks are mounted!'
Code: Select all
#!/bin/bash
umount /dev/sda1
umount /dev/sda5
umount /dev/sda6
umount /dev/sdc5
rm -r /home/dagon/Files/Partitions
echo 'Disks are un-mounted!'
I'm under the impression that i did nothing wrong...What the h3ll is goin' on here?Perchance,disk is done for.
Is there any way to recover my data (close to 1 terra...)?
I apologise,beforehand,for i am at a loss.