0

My hdd is slow as hell, I got a RV420 computer, and running latest Mint distro, never used linux before (moved from windows 6 month ago) I realized my disk have errors, so I mounted an Ubuntu Studio 20.04 on a pendrive, because I plan to move to that later, and I'm trying to use as startup disk for repairing my normal hdd with the fsck, so now I'm running from a pendrive on Ubuntu Studio.

first make a list of devices ...ok

ubuntu-studio@ubuntu-studio:~$ sudo df
Filesystem                  1K-blocks    Used Available Use% Mounted on
udev                          1405932       0   1405932   0% /dev
tmpfs                          290760    8832    281928   4% /run
/dev/sdb1                     3506176 3506176         0 100% /cdrom
/dev/loop0                    3373056 3373056         0 100% /rofs
/cow                          1453792  110556   1343236   8% /
/dev/disk/by-label/writable  11400384   41452  10760100   1% /var/log
tmpfs                         1453792   61276   1392516   5% /dev/shm
tmpfs                            5120       4      5116   1% /run/lock
tmpfs                         1453792       0   1453792   0% /sys/fs/cgroup
tmpfs                         1453792     556   1453236   1% /tmp
tmpfs                          290756      16    290740   1% /run/user/999

then i make another list

*ubuntu-studio@ubuntu-studio:~$ sudo fdisk -l
Disk /dev/loop0: 3.22 GiB, 3453935616 bytes, 6745968 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 /dev/sda: 596.18 GiB, 640135028736 bytes, 1250263728 sectors
Disk model: SAMSUNG HM641JI 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2abb65ff

Device     Boot Start        End    Sectors   Size Id Type
/dev/sda1  *     2048 1250263039 1250260992 596.2G 8e Linux LVM




Disk /dev/mapper/mint--vg-root: 595.19 GiB, 639073517568 bytes, 1248190464 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 /dev/mapper/mint--vg-swap_1: 976 MiB, 1023410176 bytes, 1998848 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 /dev/sdb: 14.46 GiB, 15518924800 bytes, 30310400 sectors
Disk model: USB Flash Drive 
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x56ab3f90

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdb1  *          0  7012351  7012352  3.4G  0 Empty
/dev/sdb2       6965784  6973719     7936  3.9M ef EFI (FAT-12/16/32)
/dev/sdb3       7012352 30310399 23298048 11.1G 83 Linux*

i guess the drive i want to repair is dev/sda1 so i ask

ubuntu-studio@ubuntu-studio:~$ sudo fsck -C /dev/sda
fsck from util-linux 2.34
e2fsck 1.45.5 (07-Jan-2020)
/dev/sda is in use.
e2fsck: Cannot continue, aborting.

but if i try to unmount the device...

ubuntu-studio@ubuntu-studio:~$ sudo umount /dev/sda
umount: /dev/sda: not mounted.
ubuntu-studio@ubuntu-studio:~$ sudo umount /dev/sda1
umount: /dev/sda1: not mounted.
ubuntu-studio@ubuntu-studio:~$ 

and can't go on from there, don't know if I'm spelling something wrong or I need to boot somewhere else or what, please help ii want to learn this. I reached this far with a video tutorial but i need some help. Thanks in advance.

New contributor
Nicolas Romano is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • What does sudo mount say? So you are running the current system from the pendrive (sdb)? If so, why do you have a /dev/mapper for the hard drive? Can you unmount that? Swap is probably in the same boat. Actually I am not an expert with LVM and how it handles the so called virtual partitions. Just to let you know, fsck won't fix disk errors, nothing can do that. It will only fix filesystem errors. – lev258 Jul 1 at 8:40
  • hi, dont know why i have a dev/mapper, not even know what that is. is there another option to do beside buying a new hdd? i was doing this cause i saw on a video maybe could be the solution/partial solution to the problem, untill i could buy a new one... u know. – Nicolas Romano 2 days ago
  • If it's truly a hardware error, then you shouldn't use the disk anymore and it's best to save everything important to another disk. – lev258 2 days ago

Your Answer

Nicolas Romano is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.