Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problems with fdisk and sata drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
FuckingFreaky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 128

PostPosted: Tue Sep 20, 2005 8:11 pm    Post subject: problems with fdisk and sata drive Reply with quote

Hi all!

I've installed Gentoo several times till the 2005.0 release. Now tih 2005.1 I've experienced a problem:
If I do "fdisk /dev/sda" it tells me 'sda' doesn't exist, which is true if I "ls /dev". There in /dev I can see a folder called "discs" and inside it "disc part1 part2 part3". If I do "fdisk /dev/discs/disc0/disc" I can see the SATA drive divided in the three parts I can see in the directory. I mean... it's weird, it doesn't show me the partitions at all, but it divides the drive as in parts (I suppose, but I can't remember, each part could be each logic partition).
If I do "fdisk /dev/discs/disc0/part1" or whichever part it doesn't prints me anything.

It's probably a silly issue, but with earlier installations I could just see all the partitions the drive had with a single "fdisk /dev/sda". What might I do?

Thx!


Last edited by FuckingFreaky on Wed Sep 21, 2005 12:08 am; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Tue Sep 20, 2005 11:52 pm    Post subject: Reply with quote

fdisk -l will show you everything even if the files in /dev start messing themselves up. :)

Alternatively cfdisk will also show all partitions.
Back to top
View user's profile Send private message
FuckingFreaky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 128

PostPosted: Wed Sep 21, 2005 12:10 am    Post subject: Reply with quote

Thanks man. I'm too tired now so I'll see it tomorrow and tell what I did.

Anyway... is it normal not to have the /dev/sda file? I don't know if I have something wrong or if it's the normal behaviour of udev.
Also another thing that I'm not sure is if I'm going to have to change grub's configuration as the /dev/sda doesn't exist anymore.

Thx!
Back to top
View user's profile Send private message
FuckingFreaky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2004
Posts: 128

PostPosted: Wed Sep 21, 2005 9:14 am    Post subject: Reply with quote

Am stupid... How am I gonna format the partitions if the unit /dev/sda doesn't exist to the system?
I cannot do "mke2fs -j /dev/sda2" if it doesn't exist! Huh... any help?

Thank you!
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Wed Sep 21, 2005 4:04 pm    Post subject: Reply with quote

Just run fdisk -l or cfdisk, and they will show you what name to use as the partition name.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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