0 Members and 1 Guest are viewing this topic.
bill@HP-Pavilion-dv6000:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 149.1G 0 disk ├─sda1 8:1 0 14.9G 0 part /├─sda2 8:2 0 1K 0 part ├─sda5 8:5 0 4.6G 0 part [SWAP]├─sda6 8:6 0 6.8G 0 part /home└─sda7 8:7 0 122.9G 0 part /mnt/Windowssr0 11:0 1 1024M 0 rom bill@HP-Pavilion-dv6000:~$ sudo parted -lModel: ATA ST9160821AS (scsi)Disk /dev/sda: 160GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 1049kB 16.0GB 16.0GB primary ext4 boot 2 16.0GB 160GB 144GB extended 5 16.0GB 20.9GB 4897MB logical linux-swap(v1) 6 20.9GB 28.1GB 7235MB logical ext4 7 28.1GB 160GB 132GB logical ntfsbill@HP-Pavilion-dv6000:~$ cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda1 during installationUUID=e0447201-638f-4375-98a1-e510245bc183 / ext4 errors=remount-ro 0 1# /home was on /dev/sda6 during installationUUID=283dd3a7-5d1a-4ba3-b0ae-d28d64641134 /home ext4 defaults 0 2# /mnt/Windows was on /dev/sda7 during installationUUID=434E2ECE41CD2A42 /mnt/Windows ntfs defaults,umask=007,gid=46 0 0# swap was on /dev/sda5 during installationUUID=2f0b0896-6a1f-499f-aa7f-b29882b0e3df none swap sw 0 0
arunp@arunp-Vostro-3400:~$ sudo mount /dev/sdb1 /mnt[sudo] password for arunp: arunp@arunp-Vostro-3400:~$ cat /mnt/etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sdb1 during installationUUID=c4d3ddc8-fde0-4de3-91c1-e4ea48250115 / ext4 errors=remount-ro 0 1# /mnt/Windows was on /dev/sdb6 during installationUUID=2555-2887 /mnt/Windows vfat utf8,umask=007,gid=46 0 1# swap was on /dev/sdb5 during installationUUID=f943611f-2a44-4f89-9b69-f840156d1c80 none swap sw 0 0arunp@arunp-Vostro-3400:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 125.5M 0 part ├─sda2 8:2 0 12.2G 0 part ├─sda3 8:3 0 102.9G 0 part ├─sda4 8:4 0 1K 0 part └─sda5 8:5 0 117.7G 0 part sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 119.2G 0 part /├─sdb2 8:18 0 1K 0 part ├─sdb5 8:21 0 7.5G 0 part [SWAP]└─sdb6 8:22 0 339.1G 0 part sr0 11:0 1 1024M 0 rom arunp@arunp-Vostro-3400:~$ sudo blkid -c /dev/null/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07DB-011B" TYPE="vfat" /dev/sda2: LABEL="RECOVERY" UUID="663EC66B3EC633B9" TYPE="ntfs" /dev/sda3: LABEL="OS" UUID="0E58C90F58C8F68D" TYPE="ntfs" /dev/sda5: UUID="30D748C43DA76362" TYPE="ntfs" /dev/sdb1: UUID="c4d3ddc8-fde0-4de3-91c1-e4ea48250115" TYPE="ext4" /dev/sdb5: UUID="f943611f-2a44-4f89-9b69-f840156d1c80" TYPE="swap" /dev/sdb6: UUID="2555-2887" TYPE="vfat" arunp@arunp-Vostro-3400:~$ sudo parted -lModel: ATA WDC WD2500BEKT-7 (scsi)Disk /dev/sda: 250GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 32.3kB 132MB 132MB primary fat16 diag 2 134MB 13.2GB 13.0GB primary ntfs boot 3 13.2GB 124GB 110GB primary ntfs 4 124GB 250GB 126GB extended 5 124GB 250GB 126GB logical ntfsModel: Seagate Portable (scsi)Disk /dev/sdb: 500GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 1049kB 128GB 128GB primary ext4 boot 2 128GB 500GB 372GB extended 5 128GB 136GB 7999MB logical linux-swap(v1) 6 136GB 500GB 364GB logical fat32arunp@arunp-Vostro-3400:~$
linux@linux:~$ sudo mount /dev/sdb1 /mntlinux@linux:~$ cat /mnt/etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sdb1 during installationUUID=668e1088-6de1-41c1-abe5-be736568f639 / ext4 errors=remount-ro 0 1# /home was on /dev/sdb6 during installationUUID=862df362-9691-4344-a7d3-a9f29295a067 /home ext4 defaults 0 2# /mnt/Windows was on /dev/sdb7 during installationUUID=58D83E5E1618D324 /mnt/Windows ntfs defaults,umask=007,gid=46 0 0# swap was on /dev/sdb5 during installationUUID=f943611f-2a44-4f89-9b69-f840156d1c80 none swap sw 0 0linux@linux:~$ sudo umount /mntlinux@linux:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 125.5M 0 part ├─sda2 8:2 0 12.2G 0 part ├─sda3 8:3 0 102.9G 0 part ├─sda4 8:4 0 1K 0 part └─sda5 8:5 0 117.7G 0 part sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 119.2G 0 part ├─sdb2 8:18 0 1K 0 part ├─sdb5 8:21 0 7.5G 0 part [SWAP]├─sdb6 8:22 0 97.7G 0 part └─sdb7 8:23 0 241.5G 0 part sr0 11:0 1 700M 0 rom /cdromloop0 7:0 0 668.3M 1 loop /rofslinux@linux:~$ sudo blkid -c /dev/null/dev/loop0: TYPE="squashfs" /dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="07DB-011B" TYPE="vfat" /dev/sda2: LABEL="RECOVERY" UUID="663EC66B3EC633B9" TYPE="ntfs" /dev/sda3: LABEL="OS" UUID="0E58C90F58C8F68D" TYPE="ntfs" /dev/sda5: UUID="30D748C43DA76362" TYPE="ntfs" /dev/sr0: LABEL="Linux Lite 2.0 64-bit" TYPE="iso9660" /dev/sdb1: UUID="668e1088-6de1-41c1-abe5-be736568f639" TYPE="ext4" /dev/sdb5: UUID="f943611f-2a44-4f89-9b69-f840156d1c80" TYPE="swap" /dev/sdb6: UUID="862df362-9691-4344-a7d3-a9f29295a067" TYPE="ext4" /dev/sdb7: UUID="58D83E5E1618D324" TYPE="ntfs" linux@linux:~$ sudo parted -lModel: ATA WDC WD2500BEKT-7 (scsi)Disk /dev/sda: 250GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 32.3kB 132MB 132MB primary fat16 diag 2 134MB 13.2GB 13.0GB primary ntfs boot 3 13.2GB 124GB 110GB primary ntfs 4 124GB 250GB 126GB extended 5 124GB 250GB 126GB logical ntfsModel: Seagate Portable (scsi)Disk /dev/sdb: 500GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 1049kB 128GB 128GB primary ext4 boot 2 128GB 500GB 372GB extended 5 128GB 136GB 7999MB logical linux-swap(v1) 6 136GB 241GB 105GB logical ext4 7 241GB 500GB 259GB logical ntfsWarning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0has been opened read-only.Error: Invalid partition table - recursive partition on /dev/sr0. Ignore/Cancel? i Model: PLDS DVD+-RW DS-8A5SH (scsi)Disk /dev/sr0: 734MBSector size (logical/physical): 2048B/2048BPartition Table: msdosNumber Start End Size Type File system Flagslinux@linux:~$
# fdisk -lDisk /dev/sda: 320.1 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x7b89e107 Device Boot Start End Blocks Id System/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT/dev/sda2 206848 239282175 119537664 7 HPFS/NTFS/exFAT/dev/sda3 239284222 625141759 192928769 5 Extended/dev/sda5 276353024 616949759 170298368 83 Linux/dev/sda6 239284224 276350630 18533203+ 83 Linux/dev/sda7 616951808 625141759 4094976 82 Linux swap / Solaris
# parted -lModel: ATA SAMSUNG HM321HI (scsi)Disk /dev/sda: 320GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 1049kB 106MB 105MB primary ntfs boot 2 106MB 123GB 122GB primary ntfs 3 123GB 320GB 198GB extended 6 123GB 141GB 19.0GB logical ext4 5 141GB 316GB 174GB logical ext4 7 316GB 320GB 4193MB logical linux-swap(v
# gdisk /dev/sdbGPT fdisk (gdisk) version 0.8.8Problem opening /dev/sdb for reading! Error is 2.The specified file does not exist!
# dmesg | tail[ 209.172126] Buffer I/O error on device sdb, logical block 0[ 209.172196] ldm_validate_partition_table(): Disk read failed.[ 209.172219] Dev sdb: unable to read RDB block 0[ 209.172252] sdb: unable to read partition table[ 209.172441] sd 7:0:0:0: [sdb] READ CAPACITY failed[ 209.172445] sd 7:0:0:0: [sdb] [ 209.172446] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK[ 209.172449] sd 7:0:0:0: [sdb] Sense not available.[ 209.172477] sd 7:0:0:0: [sdb] Attached SCSI disk[ 986.488753] perf interrupt took too long (2509 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
sudo dmesg | tail
# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 298.1G 0 disk ├─sda1 8:1 0 100M 0 part ├─sda2 8:2 0 114G 0 part ├─sda3 8:3 0 1K 0 part ├─sda5 8:5 0 162.4G 0 part /home├─sda6 8:6 0 17.7G 0 part /└─sda7 8:7 0 3.9G 0 part [SWAP]sr0 11:0 1 1024M 0 rom
apt-cache policy ntfs-3g
ln -s /mnt/Windows /home/username
arunp@arunp-Vostro-3400:~$ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTsda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 125.5M 0 part ├─sda2 8:2 0 12.2G 0 part ├─sda3 8:3 0 102.9G 0 part ├─sda4 8:4 0 1K 0 part └─sda5 8:5 0 117.7G 0 part sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 119.2G 0 part /├─sdb2 8:18 0 1K 0 part ├─sdb5 8:21 0 7.5G 0 part [SWAP]└─sdb6 8:22 0 339.1G 0 part /mnt/Windowssr0 11:0 1 1024M 0 rom arunp@arunp-Vostro-3400:~$ sudo parted -l[sudo] password for arunp: Model: ATA WDC WD2500BEKT-7 (scsi)Disk /dev/sda: 250GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 32.3kB 132MB 132MB primary fat16 diag 2 134MB 13.2GB 13.0GB primary ntfs boot 3 13.2GB 124GB 110GB primary ntfs 4 124GB 250GB 126GB extended 5 124GB 250GB 126GB logical ntfsModel: Seagate Portable (scsi)Disk /dev/sdb: 500GBSector size (logical/physical): 512B/512BPartition Table: msdosNumber Start End Size Type File system Flags 1 1049kB 128GB 128GB primary ext4 boot 2 128GB 500GB 372GB extended 5 128GB 136GB 7999MB logical linux-swap(v1) 6 136GB 500GB 364GB logical ntfsarunp@arunp-Vostro-3400:~$ cat /etc/fstab# /etc/fstab: static file system information.## <file system> <mount point> <type> <options> <dump> <pass>#Entry for /dev/sdb1 :UUID=152be27a-4d93-4fb6-95e5-45e098c6f568 / ext4 errors=remount-ro 0 1#Entry for /dev/sdb6 :UUID=5480819C42DE547D /mnt/Windows ntfs-3g defaults,locale=en_US.UTF-8 00#Entry for /dev/sdb5 :UUID=f943611f-2a44-4f89-9b69-f840156d1c80 none swap sw 0 0arunp@arunp-Vostro-3400:~$ sudo mount /dev/sdb6 /mntMount is denied because the NTFS volume is already exclusively opened.The volume may be already mounted, or another software may use it whichcould be identified for example by the help of the 'fuser' command.arunp@arunp-Vostro-3400:~$ cat /mnt/etc/fstabcat: /mnt/etc/fstab: No such file or directoryarunp@arunp-Vostro-3400:~$ sudo mount /dev/sdb1 /mnt[sudo] password for arunp: arunp@arunp-Vostro-3400:~$ cat /mnt/etc/fstab# /etc/fstab: static file system information.## <file system> <mount point> <type> <options> <dump> <pass>#Entry for /dev/sdb1 :UUID=152be27a-4d93-4fb6-95e5-45e098c6f568 / ext4 errors=remount-ro 0 1#Entry for /dev/sdb6 :UUID=5480819C42DE547D /mnt/Windows ntfs-3g defaults,locale=en_US.UTF-8 00#Entry for /dev/sdb5 :UUID=f943611f-2a44-4f89-9b69-f840156d1c80 none swap sw 0 0arunp@arunp-Vostro-3400:~$ sudo umount /mntarunp@arunp-Vostro-3400:~$
linux@linux:~$ sudo mount /dev/sdb2 /mntmount: block device /dev/sdb2 is write-protected, mounting read-onlymount: you must specify the filesystem type
sudo mount /dev/sdb1 /mntcat /mnt/etc/fstabsudo umount /mnt