Kurobox NAS-Central Forums

Welcome to the Kuro Community
It is currently Fri Jun 22, 2018 6:55 am

All times are UTC-06:00




Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1 2 Next
Author Message
 Post subject: External USB Drive
PostPosted: Mon May 08, 2006 10:09 pm 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
I just got a DriveStation to sit next to my Kuro HG (with Debian of course). First I plugged it into my Mac to make sure it works and it does. So I then went through the steps that can be found at http://linkstationwiki.org/Articles/DebianUSBDevices (under the USB Hard Drive section). I have the drive plugged into the Kuro, went through the motions but I keep getting errors. For instance:

Code:
KURO-BOX:/# mount -t vfat /dev/sda /mnt/UsbDrive 
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


And when I do a dmesg | tail I get this:

Code:
KURO-BOX:/# dmesg | tail
sd 0:0:0:0: Attached scsi disk sda
usb-storage: device scan complete
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev sda.


Almost sounds like it isn't formated FAT. But when I mounted it on my Mac, it was using PC Exchange so I'm assuming it was FAT.

Thoughts?

Thanks!


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 7:13 am 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
if the drive is blank (or you have the data backed up) you can try partitioning it and formatting it from the Kuro.


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 7:29 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
Yep, the drive is fresh out of the box. Debian should be able to read FAT formats should it not? Not quite sure how to reformat a USB drive from Kuro. I may need some guidance on that.

Thanks


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 7:40 am 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
You need to emerge sys-fs/dosfstools. That package will give you the tools to format your drive.


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 8:33 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
Hmm, I found this on another forum:

Quote:
vfat, which FAT32 is called on Linux, is supported. But vfat doesn't support all features ext3 does, such as ownership and permissions. (Like NTFS has more features than FAT32)


So if it's formated with FAT16, trying to mount it with VFAT would not work. Is that a correct statement?

Thanks!


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 8:53 am 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
Not sure about that, but I do know that the tool to format a drive vfat is part of dosfstools.


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 9:01 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
OK, once I emerge the needed tools, what steps does one take to actually format a USB drive from Kuro? (Still learning Linux)

Thanks


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 8:59 pm 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
Code:
KURO-BOX:/# emerge sys-fs/dosfstools
bash: emerge: command not found


OK, what am I doing wrong. :?


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 9:23 pm 
Offline

Joined: Thu Jun 23, 2005 12:24 pm
Posts: 287
Not sure. What does "emerge --help" say?


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 9:34 pm 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
Code:
KURO-BOX:/# emerge --help
bash: emerge: command not found


Top
   
 Post subject: Re: External USB Drive
PostPosted: Tue May 09, 2006 10:48 pm 
Offline

Joined: Mon Mar 27, 2006 3:03 pm
Posts: 19
Location: Austin, TX
Code:
KURO-BOX:/# mount -t vfat /dev/sda /mnt/UsbDrive 
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so


If the drive is partitioned, you might need something like /dev/sda1 instead of /dev/sda.


Top
   
 Post subject:
PostPosted: Tue May 09, 2006 10:53 pm 
Offline

Joined: Mon Mar 27, 2006 3:03 pm
Posts: 19
Location: Austin, TX
phlegmer wrote:
Code:
KURO-BOX:/# emerge sys-fs/dosfstools
bash: emerge: command not found


OK, what am I doing wrong. :?


Well, emerge is a gentoo specific command.

Debian probably wants "apt-get install dosfstools" instead.


Top
   
 Post subject: Re: External USB Drive
PostPosted: Wed May 10, 2006 7:26 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
tonyo wrote:
If the drive is partitioned, you might need something like /dev/sda1 instead of /dev/sda.


Yep, it is partitioned. I changed it from sda to sda1 and it worked like a charm! (Good catch!) Now if one were to remove the usb drive, how do you unmount it? Debian on Kuro does not seem to recognize the unmount command.

Thanks!


Top
   
 Post subject:
PostPosted: Wed May 10, 2006 8:45 am 
Offline

Joined: Fri Mar 31, 2006 12:45 pm
Posts: 25
Location: Cologne, Germany
It's called "umount".

_________________
LS1 · Debian stable
Linux Kernel 2.6/PPC (and more!) for Linkstation/KuroBox/HG/HS/Terastation from http://hvkls.dyndns.org


Top
   
 Post subject:
PostPosted: Wed May 10, 2006 9:45 am 
Offline

Joined: Mon Mar 27, 2006 9:09 pm
Posts: 110
andre wrote:
It's called "umount".


:oops:

I'll give that a try tonight

:oops:


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.  [ 17 posts ]  Go to page 1 2 Next

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited