LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-28-2004, 03:53 PM   #1
Books
LQ Newbie
 
Registered: Aug 2004
Location: Toronto, Canada
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Weird Problem with Mandrake and my Hard Drive


Ok, so i finished my install of Mandrake, and booted up.

When i click to view my Hard Drives...it shows nothing. There are 2 HDD's in my comp, and 3 clickable folders. hda, hdb, and win_c.

I have a 40gb hd that has windows on it (master) and a 10gb hd with Mandrake on it (slave).

So how come i cannot view any files?

PS: First time Linux User.
 
Old 08-28-2004, 05:14 PM   #2
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
First question...

Is there anything on the hard drives yet?

just going for the obvious first, not trying to be a jerk

Also check your /etc/fstab and make sure they are in there.

If they aren't they probably aren't mounted yet and you can try this as root...

#mount /dev/hdb /mnt/hdb

or whatever the path is to hdb.

a question, do these hd's not have partition numbers? usually the mount is something like hdb1 or hdb2...

take a look at the output of this..

#sfdisk -l

thats a lower case "L" at the end of the line.

if you find that the name of the partition actually is hdb1 or something you would then

#mkdir /mnt/hdb1
#mount /dev/hdb1 /mnt/hdb1

if these aren't in fstab i would then put them there so your system will automount them on boot every time.

Hope this helps.

linux_terror

-----------------------------------------------------------------------
In the game of life it takes a root prompt to really foul up.
 
Old 08-28-2004, 05:44 PM   #3
Books
LQ Newbie
 
Registered: Aug 2004
Location: Toronto, Canada
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
Alright, i typed that in shell and here is what i can explain to u.

On the desktop it had 2 devices. Hard Disc (part 1) [/mnt/hd] AND Hard Disc (part 2) [/mnt/hd2]

When i click those 2, just white space. When i go to the mnt folder, i see "hd", "hd2", and "win_c"

I can open win_c and see my 40gb hard drive.

So, in the shell, i see

Disk /dev/hda: 77504 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 77504/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hda1 * 0+ 4861 4862- 39053983+ 7 HPFS/NTFS
/dev/hda2 0 - 0 0 0 Empty
/dev/hda3 0 - 0 0 0 Empty
/dev/hda4 0 - 0 0 0 Empty

Disk /dev/hdb: 19386 cylinders, 16 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/255/63 (instead of 19386/16/63).
For this listing I'll assume that geometry.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/hdb1 * 0+ 1146 1147- 9213246 83 Linux
/dev/hdb2 0 - 0 0 0 Empty
/dev/hdb3 0 - 0 0 0 Empty
/dev/hdb4 0 - 0 0 0 Empty
---------------------------------------------------------------------

Now after all that, i went to desktop. Right click -> New -> Device -> Hard Disc Device

Now when i go to the Device Tab, i see;

/dev/hdb1
/dev/hdc (/mnt/cdrom)
/dev/hdd (/mnt/cdrom2)
/dev/fd0/ (.mnt/floppy)
/dev/hda1 (/mnt/win_c)
/dev/ide/host0/bus0/target0/lun0/part1 (/mnt/hd)
/dev/ide/host0/bus0/target1/lun0/part1 (/mnt/hd2)

Ok, so i selected hdb1, and when i click the icon i get into the HD and it shows me all the linux files.

So now, wtf are those 2 other icons on my desktop. The Hard Disc Part 1 and Part 2
 
Old 08-29-2004, 12:21 AM   #4
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
Ok...so what i see from this is...

the only 2 partitions you have that have anything on them are hda1, hdb1.

And from what you say you can see both and work with the files, so problem solved.

Did you add hda1, hdb1 to fstab...that'd be my next step.

as for mounting and unmounting drives I have always found the tools supplied with the GUI's to be unreliable which is why I ALWAYS use the command line for hardware detection and mounting and unmounting of drives.

as for this...

/dev/ide/host0/bus0/target0/lun0/part1 (/mnt/hd)
/dev/ide/host0/bus0/target1/lun0/part1 (/mnt/hd2)

I've seen it only with cdroms before and I have no fscking clue....I'm thinking its a bug but do NOT take my word for it as I am only venturing a guess.

But I would say you can safely at least delete the shortcuts to them from your desktop to at least get them out of your face.

anyway..glad you can at least get to your files now. Hope I helped some.

linux_terror
 
  


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
Weird hard drive issue positrox Linux - Hardware 1 12-01-2005 07:34 AM
weird hard drive activity Furlinastis Slackware 4 01-25-2005 08:30 AM
Hard Drive Problem (Mandrake 10) illiniguy3043 Linux - Hardware 13 06-28-2004 04:22 AM
Weird hard drive error messages: verdeboy2k Linux - Hardware 5 03-21-2004 12:50 AM
weird noise in hard drive bob10a Linux - Hardware 4 11-20-2002 07:58 PM


All times are GMT -5. The time now is 06:25 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