LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-21-2006, 09:49 AM   #1
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Rep: Reputation: 32
Mounting Unstable


Hi,

I'm running Slackware 10.2

When I installed, I had my USB external hard drive turned on. Slackware recognized it and all went well. The only thing I had to do was"mount /dev/sda1" and I could read and write to it.

Now, Slackware has decided that it no longer wants to work with the external HD. When I "mount /dev/sda1", I get:

root@localhost:~# mount /dev/sda1
mount: /dev/sda1 is not a valid block device
root@localhost:~#

It was a valid block device, but now Slackware has decided that it isn't. I've changed nothing.

Thanks,
-Joe

Last edited by joegumbo; 10-21-2006 at 10:01 AM.
 
Old 10-21-2006, 10:30 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Probably it has been assigned another name. Have you used a usbstick at the same time?
Anyway, unplug the disk, plug it again and give us the output of `dmesg | tail -n 40`.
 
Old 10-21-2006, 11:59 AM   #3
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Hi uselpa!

No, I haven't connected or disconnected anything since installation.I did set up the printer, but the external HD was working after that. I had a hardware problem with the eMachine W3502 I was using, so I returned it and traded up to this eMachine W3503 that has Slackware 10.2. This install is only several days old.

Here's the output:

joegumbo@localhost:~$ dmesg | tail -n 40
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
usb.c: USB disconnect on device 00:13.2-1 address 2
hub.c: new USB device 00:13.2-1, assigned address 3
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a 0x00 0x00 0x00 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0x0, Current 00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a 0x00 0x00 0x00 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0x0, Current sd00:00: sns = f0 2
ASC=3a ASCQ= 0
Raw sense data:0xf0 0x00 0x02 0x00 0x00 0x00 0x00 0x0a 0x00 0xaa 0x55 0x40 0x3a 0x00 0x00 0x00 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
usb.c: USB disconnect on device 00:13.2-1 address 3
hub.c: new USB device 00:13.2-1, assigned address 4
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 4
joegumbo@localhost:~$

btw, I see a line that says:

sda : block size assumed to be 512 bytes, disk size 1GB.


This is an 80GB HD.

Thank you,
-Joe
 
Old 10-21-2006, 12:50 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
"unable to read partition table" doesn't look good.
What does `fdisk -l /dev/sda?` say?
 
Old 10-21-2006, 12:55 PM   #5
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
joegumbo@localhost:~$ fdisk -l /dev/sda?
-bash: fdisk: command not found
joegumbo@localhost:~$

Btw, this is formatted in FAT32.

thanks,
-Joe

Last edited by joegumbo; 10-21-2006 at 12:57 PM.
 
Old 10-21-2006, 12:58 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You need to be root, or use /sbin/fdisk instead of fdisk.
 
Old 10-21-2006, 01:03 PM   #7
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
-su: /dev/sda: Permission denied
root@localhost:~# /sbin/fdisk -l/dev/sda?
/sbin/fdisk: invalid option -- /

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
root@localhost:~#
root@localhost:~# /sbin/fdisk -l /dev/sda
root@localhost:~# mount /dev/sda
mount: can't find /dev/sda in /etc/fstab or /etc/mtab
root@localhost:~# /mount /dev/sda1
-su: /mount: No such file or directory
root@localhost:~#

Last edited by joegumbo; 10-21-2006 at 01:07 PM.
 
Old 10-21-2006, 01:07 PM   #8
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
You need to add a space between -l and /dev/sda.
 
Old 10-21-2006, 02:31 PM   #9
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
(sorry about that.)

I did, and I get no feedback:

root@localhost:~# /sbin/fdisk -l /dev/sda
root@localhost:~#

root@localhost:~# /sbin/fdisk -l /dev/sda?
root@localhost:~#

Last edited by joegumbo; 10-21-2006 at 03:12 PM.
 
Old 10-21-2006, 03:19 PM   #10
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
More info...

i decided to just try /sbin/fdisk -l and this is the output. My external HD now appears to be designated /dev/sdb or /dev/sdb1. When I try to "mount" either, I still cannot mount.

root@localhost:~# /sbin/fdisk -l

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 9729 78148161 c W95 FAT32 (LBA)

Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 524 8543 64420650 7 HPFS/NTFS
/dev/hda2 1 523 4200966 b W95 FAT32
/dev/hda3 8544 19457 87666705 5 Extended
/dev/hda5 8544 8608 522081 82 Linux swap
/dev/hda6 8609 19457 87144561 83 Linux

Partition table entries are not in disk order
root@localhost:~# mount /dev/sdb
mount: can't find /dev/sdb in /etc/fstab or /etc/mtab
root@localhost:~# mount /dev/sdb1
mount: can't find /dev/sdb1 in /etc/fstab or /etc/mtab
root@localhost:~#

I'm not plugging or unplugging anyhting, but the address for the external HD seems to be volatile. Even if I did make and entry in fstab, if the address keeps moving, it's still a problem.

Thanks,
-Joe

Last edited by joegumbo; 10-21-2006 at 03:22 PM.
 
Old 10-21-2006, 03:22 PM   #11
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
specify a mount point, be sure to be user root: `mount /dev/sdb1 <mount point>`.
 
Old 10-21-2006, 03:27 PM   #12
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
This is in /etc/fstab:

/dev/hda5 swap swap defaults 0 0
/dev/hda6 / reiserfs defaults 1 1
/dev/hda1 /C ntfs ro 1 0
/dev/hda2 /D vfat defaults 1 0
/dev/sda1 /E vfat defaults 1 0
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


This is in /etc/mtab:
/dev/hda6 / reiserfs rw 0 0
proc /proc proc rw 0 0
/dev/hda1 /C ntfs ro 0 0
/dev/hda2 /D vfat rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
usbfs /proc/bus/usb usbfs rw 0 0
 
Old 10-21-2006, 03:29 PM   #13
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
try `mount /dev/sdb1 /E`
 
Old 10-21-2006, 03:34 PM   #14
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
I am root and I did specify a mount point in the above code. i tried again and received the same response. The problem is that sdb1 and sdb aren't in either ftsab or mtab. If you check my fstab, you'll se that there is an entry for sda1, but not for sdb1. The problem is that the address changed. I need to figure out how to change it back. I could just edit the fstab entry for sda1 to sdb1 and that would probably fix the problem for now, but the next time I boot, i'm afraid that sdb1 will be changed to something else again.

-Joe
 
Old 10-21-2006, 03:37 PM   #15
joegumbo
Member
 
Registered: Sep 2006
Distribution: MX-16 Modified using TDE
Posts: 239

Original Poster
Rep: Reputation: 32
Thank you.. It worked.


It's mounted,but I cannot browse it. I just tried through Konqueror, but it's listed there as sda1.


I tried manually entering "media: /sdb1" in Konqueror's address bar, but the response I receive is:

An error occurred while loading media:/sdb1:
The file or folder media:/sdb1 does not exist.

Last edited by joegumbo; 10-21-2006 at 03:47 PM.
 
  


Reply



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
Nautilus unstable when mounting a samba share calande Red Hat 11 09-27-2006 12:54 AM
how unstable is unstable? microsoft/linux Debian 11 01-06-2006 06:12 AM
is ubuntu unstable less unstable than debian unstable? lefty.crupps Ubuntu 9 10-14-2005 01:38 PM
what if unstable isn't enough? shadowhunter Debian 2 01-08-2004 08:38 PM
following unstable rdanda Debian 6 06-23-2003 04:50 AM

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

All times are GMT -5. The time now is 10:45 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
Open Source Consulting | Domain Registration