Aaron Schlaegel wrote/ha scritto, On/il 26/07/2004 21:44:
antonio montagnani wrote: >>> I created mnt/flash but when I issue: >>> mount /dev/sda1 /mnt/flash >>> I get >>> mount: /dev/sda1 unvalid block device >>> Where is my mistake???
Probably (1) there is no partition table, (2) the partition table is wierd, or (3) the device is not working.
(1) Some usb drives come with no partition table, just one giant partition.
Like a floppy. Try and mount /dev/sda instead of /dev/sda1.
(2) Some usb drives have added "features" like encrypted partitions.
These are proprietary and I have never heard of them working in Linux.
If this is the case, you can try and re-partition the drive.
Of course you will loose everything on it.
(3) sorry.
>> output of fdisk -l /dev/sda is: >> impossible to open /dev/sda
Was the device plugged in? It seemed to work later.
> [root@Fedora antonio]# /sbin/fdisk -l /dev/sda
>
> Disk /dev/sda: 256 MB, 256901120 bytes
> 8 heads, 62 sectors/track, 1011 cylinders
> Units = cilindri of 496 * 512 = 253952 bytes
>
> Dispositivo Boot Start End Blocks Id System
> /dev/sda1 ? 1568823 3870254 570754815+ 72 Sconosciuto
> La partizione 1 ha diversi elementi iniziali fisici/logici (non Linux?):
> phys=(357, 116, 40) logico=(1568822, 3, 11)
> La partizione 1 ha diversi elementi finali fisici/logici:
> phys=(357, 32, 45) logico=(3870253, 0, 51)
> Partition 1 does not end on cylinder boundary.
> /dev/sda2 ? 340100 4243383 968014120 65 Novell Netware 386
> La partizione 2 ha diversi elementi iniziali fisici/logici (non Linux?):
> phys=(288, 115, 43) logico=(340099, 6, 47)
> La partizione 2 ha diversi elementi finali fisici/logici:
> phys=(367, 114, 50) logico=(4243382, 4, 42)
> Partition 2 does not end on cylinder boundary.
> /dev/sda3 ? 3769923 7673205 968014096 79 Sconosciuto
> La partizione 3 ha diversi elementi iniziali fisici/logici (non Linux?):
> phys=(366, 32, 33) logico=(3769922, 2, 30)
> La partizione 3 ha diversi elementi finali fisici/logici:
> phys=(357, 32, 43) logico=(7673204, 7, 39)
> Partition 3 does not end on cylinder boundary.
> /dev/sda4 ? 1 7333118 1818613248 d Sconosciuto
> La partizione 4 ha diversi elementi iniziali fisici/logici (non Linux?):
> phys=(372, 97, 50) logico=(0, 0, 1)
> La partizione 4 ha diversi elementi finali fisici/logici:
> phys=(0, 10, 0) logico=(7333117, 7, 30)
> Partition 4 does not end on cylinder boundary.
>
> Partition table entries are not in disk order
(I only understand English) Not sure. It looks like a garbage partition table, or a proprietary hack.
Sorry for the Italian ;-)
anyway your point 2 sorted out to be fine. If I mount /dev/sda instead of /dev/sda1 everything is o.k.
I suppose that all modifications of previous posts related to fstab should replace sda1 with sda.....i.e:
/dev/sda /mnt/flash auto noauto,owner,kudzu 0 0
and for autounting no problem, as sda/sda1 are not mentioned!!!! Tnx everybody for help
--
Antonio
========================================================= Working with Mozilla 1.7 on Redhat Linux Fedora Core 2 ========================================================= ========================================================= Uso Mozilla 1.7 su Redhat Linux Fedora Core 2 =========================================================