LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2005, 05:04 PM   #1
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Rep: Reputation: 15
Unable to mount /dev/hdd


Hi guys, just installed Slack 10.1 and seem to have a problem.

This is the output of cat /proc/partitions:
Code:
major minor  #blocks  name

  22    64 1073741823 hdd
   3     0   78150744 hda
   3     1   10490413 hda1
   3     2          1 hda2
   3     5   31463271 hda5
   3     6   26218048 hda6
   3     7    2104483 hda7
   3     8    4200966 hda8
   3     9    3670821 hda9
   3    64   39082680 hdb
   3    65          1 hdb1
   3    66   10490413 hdb2
   3    69    5261256 hdb5
   3    70   21229866 hdb6
   3    71    2096451 hdb7
Whenever I run mount /dev/hdd some_dir, I get the 'mount: /dev/hdd is not a valid block device'. I don't get it, I could mount this hard drive perfectly fine in Slack 10. Any ideas what I'm doing wrong?
 
Old 03-05-2005, 05:28 PM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
what does :"$dmesg |grep hdd " say ?
is it recognised and how....

and how do you try to mount it ?

egag
 
Old 03-05-2005, 05:35 PM   #3
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
dmesg | grep yields:
Code:
Kernel command line: BOOT_IMAGE=Slackware-10.1 ro root=308 hdc=ide-scsi hdd=ide-scsi
ide_setup: hdd=ide-scsi
    ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA
hdd: WDC WD2000JB-00GVA0, ATA DISK drive
 hdd:end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
end_request: I/O error, dev 16:40 (hdd), sector 0
end_request: I/O error, dev 16:40 (hdd), sector 2
end_request: I/O error, dev 16:40 (hdd), sector 4
end_request: I/O error, dev 16:40 (hdd), sector 6
The first line which states the 'hdd=ide-scsi' has been removed from quite a while back. To mount the drive, I used:

Code:
mount /dev/hdd /mnt/thanatos
 
Old 03-05-2005, 05:46 PM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
------
The first line which states the 'hdd=ide-scsi' has been removed from quite a while back
------

don't understand that...
is that option in the lilo.conf file ?

and is it a harddisk- or a cdrw-drive ?
if it's a hd. , ide-scsi is not ok.

egag
 
Old 03-05-2005, 05:51 PM   #5
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
/dev/hdd is a hard drive. When I first installed slack 10.1 (fresh install), I accidently appended 'hdd=ide-scsi' in lilo.conf (/dev/hdd used to be a dvd-rw drive). Anyway, I soon realised my error and removed it from lilo.conf and rebooted. I'm not too familiar with dmesg and hence I thought that that line was from before when I tried to mount the drive without removing 'hdd=ide-scsi' from the boot option.

My lilo.conf now reads:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hda
#compact        # faster, but won't work on all systems.
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x64k
vga = 791
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda8
  label = Slackware-10.1
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = WindowsXP
  table = /dev/hda
# Windows bootable partition config ends
Hope this clears it up.
 
Old 03-05-2005, 05:58 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
did you run "#lilo " after editing the config- file ?
if not, do that.....

egag
 
Old 03-05-2005, 06:01 PM   #7
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 64
What output do you get from the following command ' /sbin/fdisk -l '. Requires root acces to run

Brian1
" Google the Linux way @ http://www.google.com/linux "

Last edited by Brian1; 03-05-2005 at 06:07 PM.
 
Old 03-05-2005, 06:04 PM   #8
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
LOL!!! Of course. I didn't run lilo after I did that. How stupid can I possibly be?! Thanks. Will post back if that solves it.
 
Old 03-05-2005, 06:11 PM   #9
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
Yup! That did it. I really should not even be allowed near a linux system after a mistake like that. Thanks a lot egag, and you too Brian1.
 
Old 03-05-2005, 06:13 PM   #10
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
edit: nevermind

good to see you got it working

Last edited by Genesee; 03-05-2005 at 06:15 PM.
 
Old 03-05-2005, 06:15 PM   #11
deveraux83
Member
 
Registered: Jul 2003
Location: Malaysia
Distribution: Red Hat, Slackware 9.1
Posts: 76

Original Poster
Rep: Reputation: 15
I fixed it. After running lilo, the partition came up right in /proc/partitions and I mounted the correct partition (/dev/hdd1). Thanks anyway guys!
 
Old 03-05-2005, 06:23 PM   #12
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
Quote:
Originally posted by deveraux83
Yup! That did it. I really should not even be allowed near a linux system after a mistake like that. Thanks a lot egag, and you too Brian1.
ah...sometimes i forget that too.......and i'm not alone.
and the worst is that right now you think you'll never forget that,
but tomorrow or next month....

egag
 
  


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
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
parted: Unable to open /dev/hdd aerosol Linux - Newbie 3 09-03-2005 07:30 PM
Unable to mount root fs from sata hdd GruiX Linux - Software 9 08-17-2005 06:01 PM
Mount hdd unable to copy to it windowsrefugeeX Linux - Software 2 02-01-2005 05:51 PM
HDD unable to mount robson8112 Linux - Hardware 16 10-06-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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