Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Strangle error with disk mount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Thu Jun 29, 2017 11:10 am    Post subject: [SOLVED] Strangle error with disk mount Reply with quote

Hello, colleagues !

I bought new hdd Toshiba HDWD130. It was seen as /dev/sdb, I make file table via fdisk /dev/sdb.
Code:

sudo fdisk /dev/sdb

Welcome to fdisk (util-linux 2.28.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 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
Disklabel type: gpt
Disk identifier: F3D7FF1C-1BA1-455C-8643-B5A1990D8F71

Device        Start        End    Sectors  Size Type
/dev/sdb1      2048   83888127   83886080   40G Linux swap
/dev/sdb2  83888128 5860533134 5776645007  2.7T Linux filesystem

Command (m for help):

But when I try to mount /dev/sdb2 or do e2fsck /dev/sdb2. I receive error
Code:

sudo e2fsck /dev/sdb2
e2fsck 1.43.3 (04-Sep-2016)
e2fsck: No such file or directory while trying to open /dev/sdb2
Possibly non-existent device?

If I try to load from install-x86-minimal disk then all partitions looks and works fine. Raid ans scsi modules were loaded.
_________________
Best regards,
Yuriy Rusinov.


Last edited by YuriyRusinov on Thu Jun 29, 2017 12:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7093
Location: Saint Amant, Acadiana

PostPosted: Thu Jun 29, 2017 11:22 am    Post subject: Reply with quote

Your kernel has GPT support enabled?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Thu Jun 29, 2017 11:54 am    Post subject: Reply with quote

Sorry for stupid question, but which way I can determine or set it ?
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
guitou
Guru
Guru


Joined: 02 Oct 2003
Posts: 400
Location: France

PostPosted: Thu Jun 29, 2017 12:03 pm    Post subject: Reply with quote

Hello.

You created your partition using fdisk, but this is not enough: you also have to create filesystem.
Code:
mkfs.ext4 /dev/sdb2


And additionnally:
Code:
mkswap /dev/sdb1
swapon /dev/sdb1


++
Gi)
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Thu Jun 29, 2017 12:06 pm    Post subject: Reply with quote

I did this from installation disk, but when I try to reload, problem was not solved.
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2616

PostPosted: Thu Jun 29, 2017 12:19 pm    Post subject: Reply with quote

YuriyRusinov wrote:
Sorry for stupid question, but which way I can determine or set it ?
It's called CONFIG_PARTITION_ADVANCED
Back to top
View user's profile Send private message
YuriyRusinov
Apprentice
Apprentice


Joined: 21 Jul 2004
Posts: 208
Location: Saint-Petersburg, Russia

PostPosted: Thu Jun 29, 2017 12:52 pm    Post subject: Reply with quote

charles17 wrote:
[t's called CONFIG_PARTITION_ADVANCED


Thanks a lot. Problem was solved.
_________________
Best regards,
Yuriy Rusinov.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum