You are not logged in.

#1 2003-11-25 04:40:27

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Fstab identifier for USB 2.0 HDD

big_smile  smile Gents:

     How is a HDD on USB 2.0 identified in fstab in arch 0.5 :?:  roll


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#2 2003-11-25 13:17:19

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: Fstab identifier for USB 2.0 HDD

Make sure these modules are loaded :
ehci-hcd, usb-storage, sd_mod.
Now you should have /dev/sdaX devices, so add them in fstab like your ide/scsi disc partitions.

hint: This is not arch specific. A quick googling should give you answers quickly smile.

Offline

#3 2003-11-25 18:32:59

Guest
Guest

Re: Fstab identifier for USB 2.0 HDD

big_smile  smile Thanks for pertinent reply zen_gorilla

    One quick further question...since I have no IDE/SCSI entries in my fstab I would appreciate a format example for such entries.

Have a happy thanksgiving :!:

#4 2003-11-25 18:43:29

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: Fstab identifier for USB 2.0 HDD

Anonymous wrote:

since I have no IDE/SCSI entries in my fstab I would appreciate a format example for such entries.

You definately have such entries. Take a look in your /etc/fstab. However an example is:

/dev/hda1  /boot    ext2     defaults     0  0
Anonymous wrote:

Have a happy thanksgiving :!:

Thanks, although we don't have thanksgiving in Greece big_smile.

Offline

#5 2003-11-25 19:22:01

Guest
Guest

Re: Fstab identifier for USB 2.0 HDD

big_smile  smile Thanks again#
# /etc/fstab: static file system information
#
# <file system>        <dir>     <type>    <options>              <dump> <pass>

#/dev/#EXT2FS_BOOT#    /boot     ext2      defaults               0      1
#/dev/#REISERFS_ROOT#  /         reiserfs  defaults               0      0
#/dev/#EXT2FS_ROOT#    /         ext2      defaults               0      1
#/dev/#SWAP#           swap      swap      defaults               0      0
#/dev/#REISERFS_HOME#  /home     reiserfs  defaults               0      0
#/dev/#EXT2FS_HOME#    /home     ext2      defaults               0      2

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,owner,noauto,unhide  0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,owner,noauto,unhide  0      0
/dev/floppy/0          /mnt/fl   vfat      owner,noauto,unhide     0      0
none                   /proc     proc      defaults               0      0
none                   /dev/shm  tmpfs     defaults               0      0
tmpfs                  /tmp      tmpfs     size=2G,nr_inodes=10k  0      0


/dev/discs/disc0/part3 / ext3 defaults 0 1
/dev/discs/disc0/part1 /boot ext2 defaults 0 1
/dev/discs/disc0/part2 swap swap defaults 0 0
/dev/discs/disc1/part1 /mnt/fat  vfat       defaults    1      0
/dev/discs/disc2/part1 /mnt/fat1 vfat      defaults    1      0

#
# /etc/fstab: static file system information
#
# <file system>        <dir>     <type>    <options>              <dump> <pass>

#/dev/#EXT2FS_BOOT#    /boot     ext2      defaults               0      1
#/dev/#REISERFS_ROOT#  /         reiserfs  defaults               0      0
#/dev/#EXT2FS_ROOT#    /         ext2      defaults               0      1
#/dev/#SWAP#           swap      swap      defaults               0      0
#/dev/#REISERFS_HOME#  /home     reiserfs  defaults               0      0
#/dev/#EXT2FS_HOME#    /home     ext2      defaults               0      2

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,owner,noauto,unhide  0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,owner,noauto,unhide  0      0
/dev/floppy/0          /mnt/fl   vfat      owner,noauto,unhide     0      0
none                   /proc     proc      defaults               0      0
none                   /dev/shm  tmpfs     defaults               0      0
tmpfs                  /tmp      tmpfs     size=2G,nr_inodes=10k  0      0


/dev/discs/disc0/part3 / ext3 defaults 0 1
/dev/discs/disc0/part1 /boot ext2 defaults 0 1
/dev/discs/disc0/part2 swap swap defaults 0 0
/dev/discs/disc1/part1 /mnt/fat  vfat       defaults    1      0
/dev/discs/disc2/part1 /mnt/fat1 vfat      defaults    1      0

This is part of my arch linux fstab file.  It contains no data
such as you describe .../dev/hda  etc, and since it has distinctive entries in the file for the usual Hard Drives, I have a suspicion it has  distinctive entries for USB and CDRW entries.

     I can find (so far) no examples of USB entries nor CDRW entries in fstab nor any reference to mnt file entries.

   Open to further suggestions....

:!:  :!:

#6 2003-11-25 19:54:04

Guest
Guest

Re: Fstab identifier for USB 2.0 HDD

big_smile  smile zen:
     This my lilo file:
#
# /etc/lilo.conf
#

boot=/dev/discs/disc0/disc
# This line often fixes L40 errors on bootup
# disk=/dev/discs/disc0/disc bios=0x80

default=arch
timeout=50
lba32
prompt

image=/boot/vmlinuz
        label=arch
        root=/dev/discs/disc0/part3
        read-only
        append="hde=ide-scsi ide=reverse"
#other=/dev/discs/disc0/part1
#        label=dos

# End of file
     Please note the entry ...append=...
     Normally this  enters the CDRW data into fstab and it is usually detailed as a scsi entry along with scsi entry for USB hdd if I remember correctly.

#7 2003-11-26 04:30:55

Guest
Guest

Re: Fstab identifier for USB 2.0 HDD

big_smile  smile Zen:

     Followed your info regarding the modules and the entry in fstab and have successfully utilized my USB drive as sda1.

     Thanks much for the guidance and hope this post helps someone else.

#8 2003-11-26 12:49:16

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: Fstab identifier for USB 2.0 HDD

I'm glad you did it big_smile.

Offline

Board footer

Powered by FluxBB