Advertisement
konrados2

fdisk -l and lsblk -f and fstab

Oct 29th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. #this worked in the terminal:
  2. sudo mount /dev/sda1 /media/seagate/c
  3.  
  4. Now, in the terminal:
  5. ------------------------
  6. #fdisk -l
  7. (...a lot of other things...)
  8. Disk /dev/sda: 74,5 GiB, 80025280000 bytes, 156299375 sectors
  9. Units: sectors of 1 * 512 = 512 bytes
  10. Sector size (logical/physical): 512 bytes / 512 bytes
  11. I/O size (minimum/optimal): 512 bytes / 512 bytes
  12. Disklabel type: dos
  13. Disk identifier: 0x04d3aee2
  14.  
  15. Device Boot Start End Sectors Size Id Type
  16. /dev/sda1 * 63 117997424 117997362 56,3G 7 HPFS/NTFS/exFAT
  17. /dev/sda2 117997425 156296384 38298960 18,3G f W95 Ext'd (LBA)
  18. /dev/sda5 117997488 156296384 38298897 18,3G b W95 FAT32
  19.  
  20.  
  21. --------------------
  22. #lsblk -f
  23. NAME FSTYPE LABEL UUID MOUNTPOINT
  24. sda
  25. ├─sda1 ntfs DISK3_VOL1 54E86663E866437A
  26. ├─sda2
  27. └─sda5 vfat DISK3_VOL2 4466-9143
  28.  
  29.  
  30. ----------------
  31. original fstab file:
  32. (...)
  33. # <file system> <mount point> <type> <options> <dump> <pass>
  34. # / was on /dev/sdb1 during installation
  35. UUID=3bb31bc0-37db-49f5-bf75-f28e3e3973c6 / ext4 errors=remount-ro 0 1
  36. # swap was on /dev/sdb5 during installation
  37. UUID=4ea7cb51-43ef-4880-aee8-c1597b1a68de none swap sw 0 0
  38. /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
  39.  
  40.  
  41.  
  42. # -------------------------------------------------------------------------
  43. # what should I add here, to mount sda1 to /media/seagate/c ? Is that it?
  44.  
  45. # <file system> <mount point> <type> <options> <dump> <pass>
  46.  
  47. # do I need that: ?
  48. # UUID=54E86663E866437A [some options]
  49. /dev/sda1 /media/seagate/c auto rw,user,auto,exec,utf8 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement