-
Senior Member
registered user
Here is the oputput of sudo mount -t vfat /dev/sda4 /mnt/zip:
mount: /dev/sda4 is not a valid block device
This is done with a data disc in. Do I have to anything special to try to open it or read the disc like open with or just click on the icon?
Part of my fstab:
/dev/sda4 /mnt/zip vfat defaults,noatuo,users,noatime,umask=000 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,users,noexec,noauto 0 0
#/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX - took out noauto after ntfs and added auto after exec and ro after exec
/dev/hda1 /mnt/hda1 ntfs users,exec,auto,umask=000,uid=knoppix,gid=knoppix 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0
-
Originally Posted by
rrfish72
Here is the oputput of sudo mount -t vfat /dev/sda4 /mnt/zip:
mount: /dev/sda4 is not a valid block device
Try checking the filesystem with fdisk -l if it's not vfat. Try also fdisk /dev/sda to see if it can be opened.
You can also check /dev/sda4 with la /dev/sda4 so it's not symlinked somewhere. It should look something like this:
root@fujibox:~# la /dev/sda4
brw-rw---- 1 root disk 8, 4 Nov 14 2003 /dev/sda4
This is done with a data disc in. Do I have to anything special to try to open it or read the disc like open with or just click on the icon?
Best try to mount it from root console first, then worry about creating an icon for user.
Part of my fstab:
/dev/sda4 /mnt/zip vfat defaults,
noatuo,users,noatime,umask=000 0 0
Slight typo there, should be noauto.
Did you create /mnt/zip with mkdir /mnt/zip?
Also if you rebooted after modprobing you have to modprobe again. I don't know what alias a ZIP drive needs so you could just add modprobe imm or insmod imm at the end of /etc/init.d/bootmisc.sh to avoid having to do it manually after rebooting.
-
Senior Member
registered user
fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
240 heads, 63 sectors/track, 10587 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 597 10586 75524400 7 HPFS/NTFS
/dev/hda2 10587 10587 7560 f W95 Ext'd (LBA)
/dev/hda3 1 596 4505728+ 83 Linux
/dev/hda5 10587 10587 7528+ 82 Linux swap
Partition table entries are not in disk order
I don't see a sda anywhere. Can find info in the info center about sda4 and it says it's vfat.
root@1[knoppix]# fdisk /dev/sda
Unable to open /dev/sda
root@1[knoppix]# sudo fdisk /dev/sda
Unable to open /dev/sda
root@1[knoppix]#
What does it mean when it says it not a valid block device?
-
I'm getting out of ideas. You did modprobe before running fdisk, didn't you?
Not a valid block device means that it can't open it. Could you post the output of lsmod to check that needed modules are loaded.
-
Senior Member
registered user
root@0[/]# lsmod
Module Size Used by
via_agp 9856 0
sworks_agp 11424 0
sis_agp 9472 0
nvidia_agp 10012 0
efficeon_agp 10496 0
ati_agp 10636 0
amd64_agp 12872 0
amd_k7_agp 10124 0
ali_agp 9600 0
rfcomm 36760 0
l2cap 25472 5 rfcomm
bluetooth 46436 4 rfcomm,l2cap
md5 8064 1
ipv6 248736 8
lp 13768 0
eepro100 30732 0
snd_intel8x0 33512 0
snd_ac97_codec 59268 1 snd_intel8x0
snd_pcm 86144 1 snd_intel8x0
snd_timer 25344 1 snd_pcm
snd_page_alloc 13060 2 snd_intel8x0,snd_pcm
gameport 8192 1 snd_intel8x0
snd_mpu401_uart 10496 1 snd_intel8x0
snd_rawmidi 23552 1 snd_mpu401_uart
snd_seq_device 10756 1 snd_rawmidi
snd 49540 7 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_ mpu401_uart,snd_rawmidi,snd_seq_device
pci_hotplug 33724 0
intel_mch_agp 12044 0
intel_agp 18968 1
tsdev 9984 0
evdev 11520 0
nls_iso8859_1 8320 1
ntfs 104852 1
md 44072 0
dm_mod 40608 0
autofs 19456 1
af_packet 21124 0
agpgart 31564 11 via_agp,sworks_agp,sis_agp,nvidia_agp,efficeon_agp ,ati_agp,amd64_agp,amd_k7_agp,ali_agp,intel_mch_ag p,intel_agp
i810_audio 34320 0
ac97_codec 19840 1 i810_audio
soundcore 12000 2 snd,i810_audio
e100 32896 0
mii 8448 2 eepro100,e100
jedec_probe 16896 0
gen_probe 7424 1 jedec_probe
mtdcore 10180 0
chipreg 7168 1 jedec_probe
parport_pc 38176 1
parport 38848 2 lp,parport_pc
8250 34448 0
serial_core 22912 1 8250
eth1394 22788 0
usblp 14976 0
ohci1394 33792 0
ieee1394 305296 2 eth1394,ohci1394
ohci_hcd 20864 0
uhci_hcd 31112 0
usbcore 94420 5 usblp,ohci_hcd,uhci_hcd
ds 17920 0
yenta_socket 20736 0
pcmcia_core 58240 2 ds,yenta_socket
apm 20716 2
ide_cd 40576 0
ide_scsi 17540 2
rtc 15432 0
ext3 108648 1
jbd 67488 1 ext3
root@0[/]#
There you go.
-
Well I can't see imm anywhere so do a modprobe imm and try again.
-
Senior Member
registered user
root@2[knoppix]# modprobe imm
root@2[knoppix]# lsmod
Module Size Used by
imm 15360 1
snd_pcm_oss 51716 0
snd_mixer_oss 19072 1 snd_pcm_oss
via_agp 9856 0
sworks_agp 11424 0
sis_agp 9472 0
nvidia_agp 10012 0
efficeon_agp 10496 0
ati_agp 10636 0
amd64_agp 12872 0
amd_k7_agp 10124 0
ali_agp 9600 0
rfcomm 36760 0
l2cap 25472 5 rfcomm
bluetooth 46436 4 rfcomm,l2cap
md5 8064 1
ipv6 248736 8
lp 13768 0
eepro100 30732 0
snd_intel8x0 33512 0
snd_ac97_codec 59268 1 snd_intel8x0
snd_pcm 86144 2 snd_pcm_oss,snd_intel8x0
snd_timer 25344 1 snd_pcm
snd_page_alloc 13060 2 snd_intel8x0,snd_pcm
gameport 8192 1 snd_intel8x0
snd_mpu401_uart 10496 1 snd_intel8x0
snd_rawmidi 23552 1 snd_mpu401_uart
snd_seq_device 10756 1 snd_rawmidi
snd 49540 9 snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_co dec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi, snd_seq_device
pci_hotplug 33724 0
intel_mch_agp 12044 0
intel_agp 18968 1
tsdev 9984 0
evdev 11520 0
nls_iso8859_1 8320 1
ntfs 104852 1
md 44072 0
dm_mod 40608 0
autofs 19456 1
af_packet 21124 0
agpgart 31564 11 via_agp,sworks_agp,sis_agp,nvidia_agp,efficeon_agp ,ati_agp,amd64_agp,amd_k7_agp,ali_agp,intel_mch_ag p,intel_agp
i810_audio 34320 0
ac97_codec 19840 1 i810_audio
soundcore 12000 2 snd,i810_audio
e100 32896 0
mii 8448 2 eepro100,e100
jedec_probe 16896 0
gen_probe 7424 1 jedec_probe
mtdcore 10180 0
chipreg 7168 1 jedec_probe
parport_pc 38176 2
parport 38848 3 imm,lp,parport_pc
8250 34448 0
serial_core 22912 1 8250
eth1394 22788 0
usblp 14976 0
ohci1394 33792 0
ieee1394 305296 2 eth1394,ohci1394
ohci_hcd 20864 0
uhci_hcd 31112 0
usbcore 94420 5 usblp,ohci_hcd,uhci_hcd
ds 17920 0
yenta_socket 20736 0
pcmcia_core 58240 2 ds,yenta_socket
apm 20716 2
ide_cd 40576 0
ide_scsi 17540 2
rtc 15432 0
ext3 108648 1
jbd 67488 1 ext3
root@2[knoppix]#
After doing the modprobe the zip drive light came on like the disc was being read.
-
imm is loaded so try now with:
sudo fdisk -l
mount -t vfat /dev/sda4 /mnt/zip
mount -t msdos /dev/sda4 /mnt/zip
If you reboot, modprobe imm again, or add it to the end of /etc/init.d/bootmisc.sh
-
Senior Member
registered user
root@0[knoppix]# sudo fdisk -l
Disk /dev/hda: 240 heads, 63 sectors, 10587 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 597 10586 75524400 7 HPFS/NTFS
/dev/hda2 10587 10587 7560 f Win95 Ext'd (LBA)
/dev/hda3 1 596 4505728+ 83 Linux
/dev/hda5 10587 10587 7528+ 82 Linux swap
Partition table entries are not in disk order
root@0[knoppix]# mount -t vfat /dev/sda4 /mnt/zip
mount: /dev/sda4 is not a valid block device
root@0[knoppix]# mount -t msdos /dev/sda4 /mnt/zip
mount: /dev/sda4 is not a valid block device
root@0[knoppix]# fdisk /dev/sda
Unable to open /dev/sda
This is the output of someone who was having the same trouble in this thread:
http://www.knoppix.net/forum/viewtopic.php?t=12589
knoppix@ttyp0[knoppix]$ cdrecord -scanbus
Cdrecord-Clone 2.01a27 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'YAMAHA ' 'CRW-F1E ' '1.0c' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'IOMEGA ' 'ZIP 100 ' '03.H' Removable Disk
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
scsibus2:
2,0,0 200) 'HL-DT-ST' 'DVDRAM GSA-4040B' 'A300' Removable CD-ROM
2,1,0 201) *
2,2,0 202) *
2,3,0 203) *
2,4,0 204) *
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
scsibus3:
3,0,0 300) 'LEXAR ' 'JUMPDRIVE ' '1.20' Removable Disk
3,1,0 301) *
3,2,0 302) *
3,3,0 303) *
3,4,0 304) *
3,5,0 305) *
3,6,0 306) *
3,7,0 307) *
My output does not include any sign of an Iomega zip drive like that one does. This is all I get:
root@0[knoppix]# cdrecord -scanbus
Cdrecord-Clone 2.01a34 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
and thus may have bugs that are not present in the original version.
Please send bug reports and support requests to <cdrtools@packages.debian.org>.
The original author should not be bothered with problems of this version.
Linux sg driver version: 3.5.30
Using libscg version 'schily-0.8'.
scsibus0:
0,0,0 0) 'HP ' 'CD-Writer cd16f ' '1.1D' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'HL-DT-ST' 'DVD-ROM GDR8160B' '0011' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *
-
Hmm, try modprobe usb-storage as well as having imm loaded. Then try mounting again.
EDIT: BTW, there's a typo there if you added the line to fstab:
Do I add /dev/sda4 /mnt/zip vfat defaults,noauto,users,noatime,unmask=000 0 0 to my fstab?
It's supposed to be umask, not unmask
Similar Threads
-
By mjman in forum Hardware & Booting
Replies: 9
Last Post: 10-25-2004, 09:46 PM
-
By Bothersome in forum MS Windows & New to Linux
Replies: 5
Last Post: 10-07-2004, 10:53 PM
-
By kidsatacrux in forum MS Windows & New to Linux
Replies: 19
Last Post: 08-03-2004, 07:41 AM
-
By ktheking in forum Customising & Remastering
Replies: 6
Last Post: 01-02-2004, 09:35 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$13.50
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$16.50
HP Hynix 64GB (4x16GB) PC3-8500R DDR3 1066 MHz CL7 Server RAM 500207-071
$12.50
A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G
$13.99
Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory
$54.99
Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2
$10.00
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$9.64
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$249.37
Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM
$38.95