Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] repair FAT-fs
Date: Sat, 03 Mar 2018 05:34:40
Message-Id: d196ede2-0012-4d8e-b8f4-43394a003a19@sys-concept.com
In Reply to: Re: [gentoo-user] repair FAT-fs by Grant Taylor
1 On 03/02/2018 10:24 PM, Grant Taylor wrote:
2 > On 03/02/2018 10:17 PM, thelma@×××××××××××.com wrote:
3 >> I've tried:
4 >> fsck.vfat -v -a -w /dev/sdb1
5 >> fsck.fat 4.0 (2016-05-06)
6 >> open: No such file or directory
7 >>
8 >> This doesn't work either:
9 >> fdisk /dev/sdb
10 >>
11 >> Welcome to fdisk (util-linux 2.28.2).
12 >> Changes will remain in memory only, until you decide to write them.
13 >> Be careful before using the write command.
14 >>
15 >> fdisk: cannot open /dev/sdb: No such file or directory
16 >
17 > I think that the "No such file or directory" is quite literally telling
18 > you that you don't have a /dev/sdb (device) file.
19 >
20 > Please try "ls -l /dev/sd*"
21 >
22 > I'm sort of guessing that you're missing the device nodes. Without
23 > them, fsck and fdisk won't be able to work.
24
25 No, my system is not recognizing "sdb"
26
27 ls -l /dev/sd*
28 brw-rw---- 1 root disk 8, 0 Dec 31 17:20 /dev/sda
29 brw-rw---- 1 root disk 8, 1 Dec 31 17:20 /dev/sda1
30 brw-rw---- 1 root disk 8, 2 Dec 31 17:20 /dev/sda2
31 brw-rw---- 1 root disk 8, 3 Dec 31 17:20 /dev/sda3
32 brw-rw---- 1 root disk 8, 4 Dec 31 17:20 /dev/sda4
33 brw-rw---- 1 root disk 8, 5 Dec 31 17:20 /dev/sda5
34
35 I've try to connect that box to another system and same thing:
36
37 ls -l /dev/sd*
38 brw-rw---- 1 root disk 8, 0 Mar 2 22:31 /dev/sda
39 brw-rw---- 1 root disk 8, 1 Mar 2 22:31 /dev/sda1
40 brw-rw---- 1 root disk 8, 2 Mar 2 22:31 /dev/sda2
41 brw-rw---- 1 root disk 8, 3 Mar 2 22:31 /dev/sda3
42 brw-rw---- 1 root disk 8, 4 Mar 2 22:31 /dev/sda4

Replies

Subject Author
Re: [gentoo-user] repair FAT-fs Grant Taylor <gtaylor@×××××××××××××××××××××.net>