Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Slackware Linux Help
Reload this Page How to disable USB security?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Slackware Linux Help For help and Discussion about Slackware linux

Reply
 
Thread Tools Display Modes
Old 04-11-2008   #21 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Question Getting there....

OK. I can read USB and CDROM but not HDD. Here is my latest fstab:

/dev/sda1 /mnt/hd ext3 noauto, user 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 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
/dev/sdg1 /mnt/usbdev auto noauto,user 0 0

Any thoughts? /hd exists in /mnt BTW.

Peter
pfeigl is offline   Reply With Quote
Old 04-11-2008   #22 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,581
Quote:
Originally Posted by pfeigl View Post
OK. I can read USB and CDROM but not HDD. Here is my latest fstab:

Code:
/dev/sda1        /mnt/hd          ext3        noauto, user     0   0
/dev/cdrom      /mnt/cdrom       auto        noauto,user   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
/dev/sdg1       /mnt/usbdev     auto            noauto,user     0  0
Any thoughts? /hd exists in /mnt BTW.

Peter
You look to have a space between noauto, and user ... not sure if that is what is causing the problem.
Jonathan183 is offline   Reply With Quote
Old 04-11-2008   #23 (permalink)
Linux Enthusiast
 
Freston's Avatar
 
Join Date: Mar 2007
Posts: 573
Quote:
Originally Posted by pfeigl
Any thoughts? /hd exists in /mnt BTW.
Yeah but that's just arbitrary. You can mount it under /mnt/dvd or under some directory of your own invention, as long as it exists and is (preferably) empty.

I take it it's an external HDD? Does it show up in this?
Code:
fdisk -l                # -l is a small L
This is bound to give output similar to this:
Code:
Disk /dev/sdb: 2048 MB, 2048729600 bytes
64 heads, 63 sectors/track, 992 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         992     1999749+   6  FAT16
Then add another line in fstab with the right device name. In the above case it would be: /dev/sdb1 /mnt/mydir auto noauto,user 0 0
__________________
Can't tell an OS by it's GUI
Freston is offline   Reply With Quote
Old 04-11-2008   #24 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
I'm not sure what you mean...

I don't really understand what you're saying. sda1 is the internal system drive. There are no externals. I saw hd in /mnt and thought it would be good to use. Its maddening that I have the other devices sorted out but I can't see my own HDD...

Peter
pfeigl is offline   Reply With Quote
Old 04-11-2008   #25 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Lightbulb Should I create a new mount point?

Should I go into /mnt and create an HDD mount point? How would I do that?

Peter
pfeigl is offline   Reply With Quote
Old 04-11-2008   #26 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,581
Quote:
Originally Posted by pfeigl View Post
I don't really understand what you're saying. sda1 is the internal system drive. There are no externals. I saw hd in /mnt and thought it would be good to use. Its maddening that I have the other devices sorted out but I can't see my own HDD...

Peter
My previous post indicated there was a space ... in addition to this your /etc/fstab has no entry for / root so if this is your whole /etc/fstab the system is unlikely to boot. Can you post the output of
Code:
fdisk -l
l is a small L, you need to run with root rights use either su or sudo (I don't have the OS so am not sure which works in it).
Jonathan183 is offline   Reply With Quote
Old 04-11-2008   #27 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
OK. Here it is:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 30073 241561341 83 Linux
/dev/sda2 30074 30401 2634660 5 Extended
/dev/sda5 30074 30401 2634628+ 82 Linux swap
root@SlackBox:/#

Pretty simple huh?

Peter
pfeigl is offline   Reply With Quote
Old 04-11-2008   #28 (permalink)
Linux Guru
 
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,581
Quote:
Originally Posted by pfeigl View Post
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 30073 241561341 83 Linux
/dev/sda2 30074 30401 2634660 5 Extended
/dev/sda5 30074 30401 2634628+ 82 Linux swap
root@SlackBox:/#

Pretty simple huh?

Peter
You don't have the external hard drive connected ... lets fix the fstab entry so you can boot first ... /dev/sda1 is the root so something like this should work ...

Quote:
Originally Posted by pfeigl View Post
OK. I can read USB and CDROM but not HDD. Here is my latest fstab:

/dev/sda1 / ext3 defaults 0 1
/dev/sda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom auto noauto,user 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
/dev/sdg1 /mnt/usbdev auto noauto,user 0 0

Any thoughts? /hd exists in /mnt BTW.

Peter
This link may be of use for future mods to fstab. If you made a backup copy of fstab before modifying then restore it ... its worth taking a backup copy before you modify it in future.

Ed: once you get your system to boot again ... plug in the external drive and run fdisk -l again and post the output if you still need help getting it to mount. Also added entry for swap !
Jonathan183 is offline   Reply With Quote
Old 04-11-2008   #29 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Lightbulb As instructed...

I believe you were after this (or a reasonable facsimile):

Code:
/dev/sda1        / ext3                      defaults,user     0   1
/dev/cdrom      /mnt/cdrom       auto        noauto,user   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
/dev/sdg1       /mnt/usbdev     auto            noauto,user     0  0
/dev/hda5        swap             swap        defaults         0   0
~
Peter
pfeigl is offline   Reply With Quote
Old 04-11-2008   #30 (permalink)
Just Joined!
 
Join Date: Apr 2008
Location: Ontario
Posts: 76
Question We're getting somewhere!

I can access my HDD now! However, when I open it, it shows nothing and says there are no files and 1 folder. It also says the drive is not mounted. How can that be if it is the system drive? Is there a way to go about mounting it (automatically)?

Peter
pfeigl is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 02:17 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0