LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2011, 09:39 AM   #1
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Rep: Reputation: 16
debian 6 can't see partitions on SATA


hello, my dear friends
I just installed debian 6 on PATA 80 Gb and it recognizes disk not as /dev/hda(as it was on previous system) but as /dev/sda. I also have SATA 250 Gb disk, which is partitioned(9 parts) but new system recognizes it as /dev/sdb and there is no /dev/sdb1,...,/dev/sdb9 partitions.
After doing
Code:
#partprobe /dev/sdb
#ls /dev/sdb*
/dev/sdb  /dev/sdb1  /dev/sdb2	/dev/sdb3  /dev/sdb5  /dev/sdb6  /dev/sdb7  /dev/sdb8  /dev/sdb9
they appear, but after reboot they lost again.
I also tried to mount /dev/sdb1 but ...
Code:
#mount /dev/sdb1 /mnt/media/
mount: /dev/sdb1 already mounted or /mnt/media/ busy
by the way I can't fsck /dev/sdb1
Code:
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
fsck.ext3: Device or resource busy while trying to open /dev/sdb1
Filesystem mounted or opened exclusively by another program?
the partition is not mounted for sure
i've got a lot of information on /dev/sdb and i really need to mount /dev/sdb7, /dev/sdb9
can you help me with this, please?


after some research I start to think that problem lays somewhere in device-mapper, but I can't figure it out

Last edited by openmind; 06-15-2011 at 10:16 AM.
 
Old 06-15-2011, 08:57 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,680
Blog Entries: 12

Rep: Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902Reputation: 2902
Debian and many current distributions recognize what used to be /dev/hdX as /dev/sdX. I think it's a kernel thing, but I'm not sure.

Run dmesg in a terminal to find out how your computer is seeing your extra drive. Say it's seen as /dev/sdX, where X=the drive letter.

Try creating /mnt/[some_mountpoint_or_other], followed by mount /dev/sdX /mnt/[some_mountpoint_or_other]. I'm betting that, if you can get the drive mounted, you will still be able to see the partitions.

Last edited by frankbell; 06-15-2011 at 09:00 PM.
 
Old 05-04-2013, 04:24 PM   #3
openmind
Member
 
Registered: Feb 2010
Location: ua
Distribution: Debian
Posts: 35

Original Poster
Rep: Reputation: 16
OS re-installation solved it
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problem with two SATA disks:counldn't find partitions in the second disk bingmou Linux - Hardware 10 09-01-2010 11:01 PM
partitions, sata drives, and compiling icecubeflower Linux - Newbie 10 02-16-2009 05:33 PM
Install Debian Dist on sata hdd with sata dvdrw ? helixis Linux - Hardware 1 09-20-2008 12:50 PM
Cant see partitions during installation (5.10/64bits/Sata) Kenrro Ubuntu 3 01-08-2006 11:34 PM
cfdisk not able to see/change partitions on a SATA drive on a 915 chipset system. rsamurti Slackware - Installation 1 12-07-2005 11:32 AM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration