LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2014, 06:02 AM   #1
pon
Member
 
Registered: Aug 2014
Posts: 77

Rep: Reputation: Disabled
Smile how to access the removable disk in redhat


Hi all,

I am using redhat 5 which is installed through vmware in my windows computer. In red hat i am unable to access the pendrive.

way i:
Code:
I tried mount /dev/sdb
results :---> cant find /dev/sdb in /etc/fstab.
way ii:
when i tried to click on add USB in VirtualMachine settings that options were disabled.

when i run command : sudo su
results :---->
Code:
chase is not in the sudoers file, this incident will be reported
Any could tell suggestions to me to get rid of these problems ??/


Thanks

Pon
 
Old 10-16-2014, 09:07 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,223

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
There are instructions for doing this at the site below since you are using windows. Did you enable sudo in Red Hat? Not sure that is enabled by default

http://www.pendrivelinux.com/boot-a-...in-virtualbox/

Just re-read your post and I guess that's not what you are trying to do. If that's the case, I have no idea.

Last edited by yancek; 10-16-2014 at 09:12 AM.
 
Old 10-16-2014, 09:48 AM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,454

Rep: Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052Reputation: 2052
When the VM is running, do you see the drive listed at the top under Virtual Machine -> Removable Devices? That's usually how you attach a peripheral (including USB) device on the host to the guest.
 
Old 10-16-2014, 07:37 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,223

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
I checked on my machine, VirtualBox 4.3.16-1 booted into Salix and clicked Devices tab, mouse down to USB Devices and the two usb drives I had attached showed. Just clicked either and they opened.
 
Old 10-17-2014, 01:59 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
"sudo" is NOT!!! set up in rhel5
in the old legacy 5 series ( 5.11 is the current )

you use "su" and "su -" ( that DASH - makes a big difference )

mind you unless you BOUGHT the REQUIRED support contract you will NOT be able to install anything
-- NOTHING --
no updates, no software, no new web browser
-- using firefox2 in a firefox33 world will not work well
there are NO plugins for firefox 2
 
Old 10-18-2014, 02:04 AM   #6
pon
Member
 
Registered: Aug 2014
Posts: 77

Original Poster
Rep: Reputation: Disabled
#2 Mr.Yancek and John,

how to enable sudo in redhat or else how to check sudo is enabled, how to enter as root in terminal?

when i insert my USB, i am unable to see the removable disk option in my computer of redhat, when i click on my computer in redhat screen , it is showing options 4 options(drives) like floppy drive, cd/dvd drive but there is no removable disk?

even though it is not showing uSB , upon clicking any options floppy drive , cd/dvd drive it is showing the error dialog box, like

"Unable to mount -failed"

i am new to redhat , help me.

Thanks
Pon
 
Old 10-18-2014, 07:32 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,223

Rep: Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349Reputation: 1349
How to use root in Red Hat was shown above by John VV, enter one of the commands below in a terminal:

Code:
you use "su" and "su -" ( that DASH - makes a big difference )
Did you install a new version of VirtualBox? Red Hat 5 was released 7 years ago and an old version may not be capable. You need to access it through VirtualBox not the Red Hat in VirtualBox. Do you have the option I explained in my previous post?
 
  


Reply

Tags
linux boot, redhat, virtual machine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
San disk 16g usb being detected as Local disk and not as removable media Rohit_4739 General 1 07-31-2013 03:16 AM
Mount removable disk without root access and fstab entry - possible? FogSwimmer Linux - Hardware 2 08-31-2007 06:41 PM
Removable disk will not unmount czechknight93 Linux - Hardware 6 04-09-2004 01:54 PM
Removable disk problem! Braveheart1980 Linux - General 3 02-11-2004 03:58 AM
Continuous disk access with RedHat 8.0 dmadhava Linux - General 13 11-20-2002 09:18 PM


All times are GMT -5. The time now is 02:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration